/* ============================================================
                                                                                                                                                                                                                                                                                                                   UPTD PPA PAGE
                                                                                                                                                                                                                                                                                                                ============================================================ */

.uptd-page {
    overflow: hidden;

    color: #252525;

    background: #fff;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   HERO
                                                                                                                                                                                                                                                                                                                ============================================================ */

.uptd-hero {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding: 90px 0;

    background: linear-gradient(135deg, #063b59 0%, #075477 48%, #08759b 100%);

    color: #fff;
}

.uptd-hero-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.08;

    background-image: radial-gradient(circle, #fff 1px, transparent 1px);

    background-size: 28px 28px;
}

.uptd-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -170px;
    bottom: -260px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}

.uptd-eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: #e6c47d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;
}

.uptd-eyebrow span {
    width: 25px;

    height: 1px;

    background: #e6c47d;
}

.uptd-hero h1 {
    margin: 0;

    font-size: clamp(42px, 5vw, 67px);

    font-weight: 300;

    line-height: 1.08;

    letter-spacing: -2px;
}

.uptd-hero h1 strong {
    font-weight: 800;

    color: #e6c47d;
}

.uptd-hero-description {
    max-width: 680px;

    margin: 25px 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;

    line-height: 1.9;
}

.uptd-hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.uptd-btn-primary,
.uptd-btn-outline {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 21px;

    border-radius: 50px;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}

.uptd-btn-primary {
    background: #e1b968;

    color: #173b4e;
}

.uptd-btn-primary:hover {
    transform: translateY(-3px);

    background: #f0cc87;

    color: #173b4e;
}

.uptd-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);

    color: #fff;
}

.uptd-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);

    color: #fff;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   HERO VISUAL
                                                                                                                                                                                                                                                                                                                ============================================================ */

.uptd-hero-visual {
    position: relative;

    height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.uptd-circle {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 50%;
}

.circle-one {
    width: 390px;
    height: 390px;
}

.circle-two {
    width: 290px;
    height: 290px;
}

.uptd-visual-card {
    position: relative;

    z-index: 2;

    width: 285px;

    padding: 38px 32px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 28px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.05)
    );

    backdrop-filter: blur(15px);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.uptd-visual-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 23px;

    border-radius: 19px;

    background: #e2bd72;

    color: #17415a;

    font-size: 27px;
}

.uptd-visual-card > span {
    display: block;

    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.uptd-visual-card h3 {
    margin: 7px 0 12px;

    font-size: 25px;

    font-weight: 800;
}

.uptd-visual-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;

    line-height: 1.7;
}

.uptd-visual-line {
    display: flex;

    gap: 5px;

    margin-top: 25px;
}

.uptd-visual-line span {
    height: 3px;

    border-radius: 10px;

    background: #e2bd72;
}

.uptd-visual-line span:nth-child(1) {
    width: 35px;
}

.uptd-visual-line span:nth-child(2) {
    width: 15px;

    opacity: 0.6;
}

.uptd-visual-line span:nth-child(3) {
    width: 8px;

    opacity: 0.35;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   LEGAL
                                                                                                                                                                                                                                                                                                                ============================================================ */

.legal-section {
    background: #f8fafb;
}

.legal-timeline {
    position: relative;

    max-width: 950px;

    margin: auto;
}

.legal-timeline::before {
    content: "";

    position: absolute;

    left: 32px;

    top: 20px;
    bottom: 20px;

    width: 1px;

    background: #d9c08b;
}

.legal-item {
    position: relative;

    display: flex;

    gap: 25px;

    margin-bottom: 28px;
}

.legal-number {
    position: relative;

    z-index: 2;

    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 7px solid #f8fafb;

    border-radius: 50%;

    background: #a77b2e;

    color: #fff;

    font-size: 11px;

    font-weight: 900;
}

.legal-content {
    flex: 1;

    padding: 20px 25px;

    border: 1px solid #e8e8e8;

    border-radius: 18px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
}

.legal-content span {
    color: #a77b2e;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.legal-content h3 {
    margin: 6px 0;

    color: #24475a;

    font-size: 17px;

    font-weight: 800;
}

.legal-content p {
    margin: 0;

    color: #777;

    font-size: 12px;

    line-height: 1.75;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   ABOUT
                                                                                                                                                                                                                                                                                                                ============================================================ */

.about-section {
    background: #fff;
}

.about-title {
    margin: 0 0 20px;

    color: #183c52;

    font-size: 40px;

    font-weight: 300;

    line-height: 1.2;
}

.about-title strong {
    font-weight: 800;

    color: #a77b2e;
}

.about-section p {
    color: #666;

    font-size: 14px;

    line-height: 1.9;
}

.about-lead {
    color: #333 !important;

    font-size: 16px !important;
}

.about-highlight {
    display: flex;

    gap: 16px;

    margin-top: 25px;

    padding: 20px;

    border-left: 3px solid #b68b3c;

    border-radius: 0 15px 15px 0;

    background: #faf7f0;
}

.about-highlight > i {
    color: #b68b3c;

    font-size: 20px;
}

.about-highlight strong {
    display: block;

    margin-bottom: 5px;

    color: #29485a;

    font-size: 13px;

    line-height: 1.6;
}

.about-highlight span {
    display: block;

    color: #777;

    font-size: 11px;

    line-height: 1.6;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   ABOUT VISUAL
                                                                                                                                                                                                                                                                                                                ============================================================ */

.about-visual {
    position: relative;

    min-height: 450px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.about-main-card {
    width: 330px;

    min-height: 390px;

    padding: 45px 35px;

    border-radius: 35px;

    background: linear-gradient(145deg, #073c59, #086b91);

    color: #fff;

    box-shadow: 0 30px 60px rgba(6, 59, 89, 0.18);
}

.about-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 30px;

    border-radius: 22px;

    background: #e3bd70;

    color: #17415a;

    font-size: 30px;
}

.about-main-card > span {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.about-main-card > strong {
    display: block;

    max-width: 230px;

    font-size: 29px;

    line-height: 1.25;
}

.about-stat {
    margin-top: 60px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-stat strong {
    display: block;

    color: #e3bd70;

    font-size: 20px;
}

.about-stat span {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;
}

.about-floating {
    position: absolute;

    right: 25px;
    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 17px;

    border-radius: 50px;

    background: #fff;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

    color: #315466;

    font-size: 11px;

    font-weight: 800;
}

.about-floating i {
    color: #b34e61;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   SERVICES
                                                                                                                                                                                                                                                                                                                ============================================================ */

.services-section {
    background: linear-gradient(180deg, #f8fafb, #fff);
}

.service-card {
    position: relative;

    height: 100%;

    padding: 32px;

    overflow: hidden;

    border: 1px solid #e9e9e9;

    border-radius: 23px;

    background: #fff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);

    transition: 0.35s ease;
}

.service-card::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background: rgba(167, 123, 46, 0.06);

    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(167, 123, 46, 0.3);

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
}

.service-card:hover::after {
    transform: scale(2);
}

.service-number {
    position: absolute;

    top: 23px;
    right: 25px;

    color: #ddd;

    font-size: 11px;

    font-weight: 900;
}

.service-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 23px;

    border-radius: 17px;

    background: rgba(167, 123, 46, 0.1);

    color: #a77b2e;

    font-size: 23px;

    transition: 0.3s ease;
}

.service-card:hover .service-icon {
    background: #a77b2e;

    color: #fff;

    transform: rotate(-4deg);
}

.service-card h3 {
    margin: 0 0 12px;

    color: #25485a;

    font-size: 19px;

    font-weight: 800;
}

.service-card p {
    min-height: 72px;

    margin: 0 0 20px;

    color: #777;

    font-size: 12px;

    line-height: 1.75;
}

.service-detail {
    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #a77b2e;

    font-size: 11px;

    font-weight: 800;

    transition: 0.25s ease;
}

.service-detail:hover {
    gap: 12px;

    color: #805c22;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   PROCESS
                                                                                                                                                                                                                                                                                                                ============================================================ */

.process-section {
    background: #fff;
}

.process-wrapper {
    display: flex;

    align-items: flex-start;

    justify-content: center;
}

.process-item {
    width: 190px;

    text-align: center;
}

.process-icon {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px;

    border: 1px solid #ead8b2;

    border-radius: 50%;

    background: #fffaf0;

    color: #a77b2e;

    font-size: 22px;
}

.process-item > span {
    display: block;

    margin-bottom: 5px;

    color: #aaa;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;
}

.process-item h4 {
    margin: 0 0 6px;

    color: #24475a;

    font-size: 15px;

    font-weight: 800;
}

.process-item p {
    margin: 0;

    color: #888;

    font-size: 10px;

    line-height: 1.6;
}

.process-line {
    width: 55px;

    height: 1px;

    margin-top: 34px;

    background: linear-gradient(90deg, #e0c68e, #eee);
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   CTA
                                                                                                                                                                                                                                                                                                                ============================================================ */

.uptd-cta {
    padding: 0 0 100px;
}

.cta-card {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 35px 40px;

    border-radius: 28px;

    background: linear-gradient(135deg, #073c59, #087397);

    color: #fff;

    box-shadow: 0 20px 55px rgba(7, 60, 89, 0.16);
}

.cta-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: #e3bd70;

    color: #17415a;

    font-size: 24px;
}

.cta-content {
    flex: 1;
}

.cta-content > span {
    color: #e3bd70;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}

.cta-content h2 {
    margin: 5px 0 7px;

    font-size: 24px;

    font-weight: 800;
}

.cta-content p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;

    line-height: 1.7;
}

.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 20px;

    border-radius: 50px;

    background: #fff;

    color: #17415a;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition: 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);

    background: #f8e7c1;

    color: #17415a;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   SERVICE MODAL
                                                                                                                                                                                                                                                                                                                ============================================================ */

.service-modal {
    overflow: hidden;

    border: 0;

    border-radius: 22px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.service-modal .modal-header {
    padding: 25px 28px;

    border: 0;

    background: linear-gradient(135deg, #073c59, #087397);

    color: #fff;
}

.service-modal .modal-header span {
    display: block;

    margin-bottom: 5px;

    color: #e3bd70;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}

.service-modal .modal-header h5 {
    margin: 0;

    font-size: 19px;

    font-weight: 800;
}

.service-modal .modal-body {
    padding: 28px;

    color: #666;

    font-size: 13px;

    line-height: 1.9;
}

.service-modal .modal-body p:last-child {
    margin-bottom: 0;
}

/* ============================================================
                                                                                                                                                                                                                                                                                                                   RESPONSIVE
                                                                                                                                                                                                                                                                                                                ============================================================ */

@media (max-width: 991.98px) {
    .uptd-hero {
        padding: 75px 0;
    }

    .uptd-hero-visual {
        height: 350px;
    }

    .uptd-circle.circle-one {
        width: 330px;
        height: 330px;
    }

    .uptd-circle.circle-two {
        width: 250px;
        height: 250px;
    }

    .about-visual {
        min-height: 400px;
    }

    .process-wrapper {
        flex-wrap: wrap;

        gap: 30px;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .uptd-hero {
        min-height: auto;

        padding: 65px 0;
    }

    .uptd-hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .uptd-hero-description {
        font-size: 13px;
    }

    .uptd-hero-visual {
        height: 330px;
    }

    .uptd-visual-card {
        width: 260px;

        padding: 30px 25px;
    }

    .uptd-section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    /* LEGAL */

    .legal-timeline::before {
        left: 24px;
    }

    .legal-item {
        gap: 15px;
    }

    .legal-number {
        width: 49px;
        height: 49px;

        border-width: 5px;

        font-size: 9px;
    }

    .legal-content {
        padding: 17px;
    }

    .legal-content h3 {
        font-size: 15px;
    }

    /* ABOUT */

    .about-main-card {
        width: 290px;

        min-height: 360px;
    }

    .about-floating {
        right: 5px;
    }

    .about-title {
        font-size: 32px;
    }

    /* SERVICE */

    .service-card {
        padding: 27px;
    }

    .service-card p {
        min-height: auto;
    }

    /* PROCESS */

    .process-wrapper {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 35px 10px;
    }

    .process-item {
        width: auto;
    }

    /* CTA */

    .cta-card {
        display: block;

        padding: 30px 25px;

        text-align: center;
    }

    .cta-icon {
        margin: 0 auto 20px;
    }

    .cta-content {
        margin-bottom: 22px;
    }

    .cta-content h2 {
        font-size: 21px;
    }
}

/* GALERI */

/* ============================================================
                                   SECTION
  ============================================================ */

.dpppa-gallery-section {
    position: relative;

    padding: 90px 0;

    background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);

    overflow: hidden;
}

/* ============================================================
                                   SECTION HEADING
                                ============================================================ */

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 15px;

    margin-bottom: 15px;

    border-radius: 50px;

    background: rgba(151, 36, 55, 0.08);

    color: #972437;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.5px;
}

.section-heading h2 {
    margin: 0;

    color: #242424;

    font-size: clamp(32px, 4vw, 46px);

    font-weight: 800;

    letter-spacing: -0.8px;
}

.section-heading h2 span {
    color: #972437;
}

.section-heading p {
    max-width: 650px;

    margin: 15px auto 0;

    color: #777;

    font-size: 15px;

    line-height: 1.8;
}

/* ============================================================
                                   WRAPPER
                                ============================================================ */

.gallery-wrapper {
    margin-bottom: 70px;
}

.attachment-wrapper {
    margin-bottom: 20px;
}

/* ============================================================
                                   SECTION TITLE
                                ============================================================ */

.gallery-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.gallery-header h3 {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 7px;

    color: #292929;

    font-size: 24px;

    font-weight: 800;
}

.gallery-header h3 i {
    color: #972437;

    font-size: 27px;
}

.gallery-header p {
    margin: 0;

    color: #888;

    font-size: 14px;
}

/* ============================================================
                                   GALLERY GRID
                                ============================================================ */

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}

/* ============================================================
                                   GALLERY ITEM
                                ============================================================ */

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 18px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ============================================================
                                   IMAGE
                                ============================================================ */

.gallery-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eee;
}

.gallery-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.06);
}

/* ============================================================
                                   OVERLAY
                                ============================================================ */

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(30, 10, 15, 0.42);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================================================
                                   ZOOM BUTTON
                                ============================================================ */

.gallery-view {
    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #972437;

    font-size: 23px;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    transform: scale(0.7);

    opacity: 0;

    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease,
        color 0.2s ease;
}

.gallery-item:hover .gallery-view {
    transform: scale(1);

    opacity: 1;
}

.gallery-view:hover {
    background: #972437;

    color: #fff;

    transform: scale(1.08) !important;
}

/* ============================================================
                                   ATTACHMENT LIST
                                ============================================================ */

.attachment-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

/* ============================================================
                                   ATTACHMENT CARD
                                ============================================================ */

.attachment-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 20px;

    background: #fff;

    border-radius: 18px;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.045);

    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.attachment-card:hover {
    transform: translateX(5px);

    border-color: rgba(151, 36, 55, 0.18);

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* ============================================================
                                   FILE ICON
                                ============================================================ */

.attachment-icon {
    flex: 0 0 58px;

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    font-size: 30px;
}

.attachment-icon.pdf {
    color: #d52d3e;

    background: rgba(213, 45, 62, 0.1);
}

/* ============================================================
                                   ATTACHMENT INFO
                                ============================================================ */

.attachment-info {
    flex: 1;

    min-width: 0;
}

.attachment-info h4 {
    margin: 0 0 5px;

    color: #2e2e2e;

    font-size: 16px;

    font-weight: 750;

    line-height: 1.45;
}

.attachment-info p {
    margin: 0 0 9px;

    color: #858585;

    font-size: 13px;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

/* ============================================================
                                   META
                                ============================================================ */

.attachment-meta {
    display: flex;

    align-items: center;

    gap: 15px;
}

.attachment-meta span {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #999;

    font-size: 11px;

    font-weight: 600;
}

.attachment-meta i {
    color: #972437;

    font-size: 14px;
}

/* ============================================================
                                   ACTION
                                ============================================================ */

.attachment-action {
    display: flex;

    align-items: center;

    gap: 8px;
}

.btn-attachment {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 10px 14px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.25s ease;
}

/* Preview */

.btn-preview {
    color: #555;

    background: #f3f3f3;
}

.btn-preview:hover {
    color: #333;

    background: #e8e8e8;
}

/* Download */

.btn-download {
    color: #fff;

    background: #972437;

    box-shadow: 0 5px 15px rgba(151, 36, 55, 0.18);
}

.btn-download:hover {
    color: #fff;

    background: #7d1d30;

    transform: translateY(-2px);
}

/* ============================================================
                                   LIGHTBOX
                                ============================================================ */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;

    visibility: visible;
}

/* Background */

.lightbox-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(8px);
}

/* Content */

.lightbox-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1200px;

    display: flex;

    align-items: center;

    justify-content: center;
}

/* Image */

.lightbox-content img {
    display: block;

    max-width: 100%;

    max-height: 88vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);

    animation: lightboxZoom 0.3s ease;
}

/* ============================================================
                                   CLOSE
                                ============================================================ */

.lightbox-close {
    position: absolute;

    top: -55px;

    right: 0;

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: #fff;

    font-size: 25px;

    cursor: pointer;

    transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
    background: #972437;

    transform: rotate(90deg);
}

/* ============================================================
                                   ANIMATION
                                ============================================================ */

@keyframes lightboxZoom {
    from {
        opacity: 0;

        transform: scale(0.9);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}

/* ============================================================
                                   TABLET
                                ============================================================ */

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .attachment-card {
        align-items: flex-start;
    }

    .attachment-action {
        flex-direction: column;
    }
}

/* ============================================================
                                   MOBILE
                                ============================================================ */

@media (max-width: 767.98px) {
    .dpppa-gallery-section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .gallery-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .gallery-header h3 {
        font-size: 21px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .gallery-image {
        aspect-ratio: 4 / 3;

        border-radius: 12px;
    }

    .gallery-view {
        width: 42px;

        height: 42px;

        font-size: 19px;
    }

    .attachment-card {
        display: grid;

        grid-template-columns: auto 1fr;

        gap: 13px;

        padding: 15px;
    }

    .attachment-icon {
        width: 48px;

        height: 48px;

        flex-basis: 48px;

        font-size: 24px;
    }

    .attachment-info h4 {
        font-size: 14px;
    }

    .attachment-info p {
        font-size: 11px;
    }

    .attachment-meta {
        gap: 10px;
    }

    .attachment-action {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }

    .btn-attachment {
        width: 100%;

        padding: 9px 10px;
    }

    .lightbox-close {
        top: -50px;

        right: 0;
    }
}

/* ============================================================
                                   SMALL MOBILE
                                ============================================================ */

@media (max-width: 420px) {
    .gallery-grid {
        gap: 9px;
    }

    .gallery-view {
        width: 38px;

        height: 38px;

        font-size: 17px;
    }
}
