.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
/* Desktop image */
    .desktop-img {
        display: block;
    }

    /* Mobile image */
    .mobile-img {
        display: none;
    }

    .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .18);
    }
    .hero-logo {
        position: absolute;
        left: 50%;
        bottom: 60px;
        transform: translateX(-50%);
        z-index: 2;
        img {
            width: 340px;
            max-width: 90%;
            height: auto;
            display: block;
        }
    }
    @media (max-width: 768px) {
        height: 60vh;
        .hero-logo {
            bottom: 30px;
            img {
                width: 220px;
            }
        }
    }
    @media (max-width: 576px) {
               height: 521px;
		.desktop-img {
            display: none;
        }

        .mobile-img {
            display: block;
        }

        .hero-logo {
            top: 20%;
            img {
                width: 180px;
            }
        }
    }
}


/* ================= PROJECT DETAILS ================= */

.project-details-section {
    width: 100%;
    background: #b8ae9d;
    padding: 46px 40px;
    .project-details-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .detail-box {
            flex: 1;
            text-align: center;
            padding: 20px;
            &:not(:last-child) {
                border-right: 1px solid rgba(255, 255, 255, .45);
            }
            h3 {
                font-family: "Gilroy", sans-serif;
                font-size: 22px;
                font-weight: 300;
                color: #ffffff;
                margin-bottom: 14px;
                letter-spacing: .5px;
            }
            p {
                font-family: "Avenir", sans-serif;
                font-size: 18px;
                font-weight: 400;
                color: #ffffff;
                line-height: 1.5;
            }
        }
    }
}


/* ================= TABLET ================= */

@media(max-width:992px) {
    .project-details-section {
        padding: 22px 24px;
        .project-details-container {
            .detail-box {
                h3 {
                    font-size: 20px;
                }
                p {
                    font-size: 16px;
                }
            }
        }
    }
}

@media(max-width:576px) {
    .project-details-section {
        padding: 0;
        .project-details-container {
            flex-direction: column;
            .detail-box {
                width: 100%;
                padding: 20px;
                border-right: none !important;
                border-bottom: 1px solid rgba(255, 255, 255, .35);
                &:last-child {
                    border-bottom: none;
                }
                h3 {
                    font-size: 18px;
                    margin-bottom: 8px;
                }
                p {
                    font-size: 15px;
                }
            }
        }
    }
}


/* ================= ABOUT HEADING ================= */

.about-heading-section {
    width: 100%;
    padding: 60px 20px;
    .about-heading-container {
        max-width: 980px;
        margin: auto;
        text-align: center;
        .heading {
            font-size: 56px;
            font-weight: 300;
            color: #624a2e;
            margin-bottom: 28px;
            letter-spacing: 1px;
        }
        p {
            font-family: "Avenir", sans-serif;
            font-size: 17px;
            line-height: 1.9;
            color: #0d1a27;
            max-width: 800px;
            margin: auto;
        }
    }
}

@media(max-width:768px) {
    .about-heading-section {
        padding: 45px 20px;
        .about-heading-container {
            .heading {
                font-size: 38px;
            }
            p {
                font-size: 15px;
                line-height: 1.7;
            }
        }
    }
}


/* ================= PROJECT GALLERY ================= */

:root {
    --bg-cream: #f5f2eb;
    --tab-inactive: #0d1a27;
    --tab-active: #b8ae9d;
    --center-w: 896px;
    --center-h: 498px;
    --side-w: 785px;
    --side-h: 429px;
    --gap: 20px;
    /* horizontal margin on each side of every slide */
}

.gallery-section {
    background: var(--bg-cream);
    padding: 50px 0 70px;
    text-align: center;
    overflow: hidden;
}

.gallery-title {
    font-size: 56px;
    letter-spacing: 4px;
    color: #624a2e;
    font-weight: 300;
    margin-bottom: 45px;
    text-transform: uppercase;
}


/* ---------- SLIDER: exactly 3 slides visible ---------- */

.slider-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: var(--center-h);
    overflow: hidden;
    /* clips left/right slides that extend past this edge */
    display: flex;
    align-items: center;
}

.gallery-group {
    position: absolute;
    inset: 0;
    display: none;
}

.gallery-group.active-group {
    display: block;
}

.slider-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    /* WEB ONLY: duration reduced from .6s -> .4s so the slide
       transition feels quicker on desktop. Mobile keeps its own
       duration inside the @media (max-width:900px) block below —
       that block is completely untouched. */
    transition: transform .4s ease;
    will-change: transform;
}

.slide-item {
    flex: 0 0 auto;
    width: var(--side-w);
    height: var(--side-h);
    margin: 0 calc(var(--gap) / 2);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); */
    background: #000;
    filter: brightness(.75);
    /* WEB ONLY: durations reduced from .6s/.5s -> .4s so the size +
       brightness change happens faster on desktop. Mobile keeps its
       own duration inside the @media (max-width:900px) block below —
       that block is completely untouched. */
    transition: width .4s ease, height .4s ease, filter .4s ease, box-shadow .4s ease;
}

.slide-item.is-center {
    width: var(--center-w);
    height: var(--center-h);
    filter: brightness(1);
    /* box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); */
    z-index: 5;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    font-size: 12px;
    color: #f2ede4;
    font-family: Arial, sans-serif;
    text-align: left;
    line-height: 1.3;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent);
    opacity: 0;
    transition: opacity .4s ease;
}

.slide-item.is-center .caption {
    opacity: 1;
}

/* ---------- DESKTOP/WEB NAV ARROWS (WEB ONLY, new) ----------
   These are visible by default now (desktop/tablet, >900px width).
   The @media (max-width:900px) block further below overrides size,
   position, and background specifically for mobile — that override
   already existed and is untouched; it simply wins at <=900px
   because it appears later in the stylesheet. */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(13, 26, 39, 0.55);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    z-index: 20;
    cursor: pointer;
    padding: 0;
    transition: background .3s ease;
}
.slider-nav:hover {
    background: rgba(13, 26, 39, 0.8);
}
.slider-nav-prev {
    left: 24px;
}
.slider-nav-next {
    right: 24px;
}

.gallery-lightbox {
    display: none;
}


/* ---------- TABS ---------- */

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: var(--tab-inactive);
    color: #fff;
    font-family: Gilroy, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s ease;
}

.tab-btn:hover {
    background: var(--tab-active);
}

.tab-btn.active {
    background: var(--tab-active);
    color: #fff;
}


/* scale everything down proportionally on smaller screens */

@media (max-width:1400px) {
     :root {
        --center-w: 560px;
        --center-h: 311px;
        --side-w: 492px;
        --side-h: 268px;
    }
}

@media (max-width:900px) {
     :root {
        --center-w: 320px;
        --center-h: 178px;
        --side-w: 90px;
        --side-h: 96px;
    }
    .gallery-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    .slide-item {
        border-radius: 8px;
        /* MOBILE FIX: width/height must NOT animate anymore.
           Only "filter" (brightness) animates now.
           This stops size and position from animating together,
           which was causing the shrink/glitch on mobile.
           Desktop (above 900px) is completely untouched.
           SPEED: duration bumped from .5s -> .75s so the brightness
           change stays in sync with the slower position slide below. */
        transition: filter .75s ease;
    }
    .slider-track {
        /* smoother position-only transition on mobile.
           SPEED: duration bumped from .5s -> .75s (see matching JS
           change in goToStep(), which is what actually drives this
           at runtime via inline style — this CSS value is kept in
           sync as a fallback/consistency value). */
        transition: transform .75s ease;
    }
    .tab-btn {
/*         min-width: 120px; */
		width: 138.35px;
        padding: 0 14px;
        font-size: .7rem;
        height: 36px;
    }

    /* ---------- MOBILE NAV ARROWS (new) ---------- */
    .slider-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(13, 26, 39, 0.55);
        color: #fff;
        font-size: 20px;
        line-height: 1;
        z-index: 20;
        cursor: pointer;
        padding: 0;
    }
    .slider-nav:active {
        background: rgba(13, 26, 39, 0.8);
    }
    .slider-nav-prev {
        left: 6px;
    }
    .slider-nav-next {
        right: 6px;
    }

    /* ---------- MOBILE LIGHTBOX (new) ---------- */
    .gallery-lightbox.active {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.92);
    }
    .gallery-lightbox img {
        max-width: 92%;
        max-height: 85vh;
        object-fit: contain;
        border-radius: 8px;
    }
    .gallery-lightbox-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        border: none;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 28px;
        line-height: 1;
        border-radius: 50%;
        cursor: pointer;
    }
}


/* ================= FEATURES SECTION ================= */

.features-section {
    width: 100%;
    background: #b8ae9d;
    padding: 60px 20px;
    .features-container {
        max-width: 900px;
        margin: auto;
        text-align: center;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 55px;
            font-weight: 300;
            color: #ffffff;
            margin-bottom: 60px;
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 50px 30px;
            .feature-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                img {
                    width: 103px;
                    height: 54px;
                    object-fit: contain;
                    margin-bottom: 18px;
                }
                p {
                    font-family: "Avenir", sans-serif;
                    font-size: 21px;
                    color: #ffffff;
                    font-weight: 400;
                }
            }
        }
    }
}

@media(max-width:992px) {
    .features-section {
        .features-container {
            h2 {
                font-size: 42px;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
                .feature-item {
                    img {
                        width: 85px;
                        height: 45px;
                    }
                    p {
                        font-size: 18px;
                    }
                }
            }
        }
    }
}


/* ================= MOBILE ================= */

@media(max-width:576px) {
    .features-section {
        padding: 45px 20px;
        .features-container {
            h2 {
                font-size: 32px;
                margin-bottom: 40px;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px 20px;
                .feature-item {
                    img {
                        width: 70px;
                        height: 38px;
                        margin-bottom: 12px;
                    }
                    p {
                        font-size: 15px;
                        line-height: 1.4;
                    }
                }
            }
        }
    }
}


/* ================= PROJECT STATUS ================= */

.project-status-section {
    width: 100%;
    background: #f5f2eb;
    padding: 60px 20px;
    .project-status-container {
        max-width: 1440px;
        margin: auto;
        text-align: center;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 55px;
            font-weight: 300;
            color: #624a2e;
            margin-bottom: 40px;
        }
        .status-gallery {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 32px;
            .status-image {
                width: 468px;
                height: 331px;
                overflow: hidden;
                background: #56a0e5;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                    transition: .4s;
                }
                &:hover {
                    img {
                        transform: scale(1.05);
                    }
                }
            }
        }
        .status-info {
            h3 {
                font-family: "Gilroy", sans-serif;
                font-size: 21px;
                font-weight: 300;
                color: #624a2e;
                margin-bottom: 8px;
            }
            p {
                font-family: "Avenir", sans-serif;
                font-size: 17px;
                font-weight: 400;
                color: #624a2e;
            }
        }
    }
}


/* ================= TABLET ================= */

@media (max-width: 992px) {
    .project-status-section {
        .project-status-container {
            h2 {
                font-size: 42px;
            }
            .status-gallery {
                gap: 12px;
                .status-image {
                    width: calc(33.33% - 8px);
                    height: 220px;
                }
            }
            .status-info {
                h3 {
                    font-size: 19px;
                }
                p {
                    font-size: 16px;
                }
            }
        }
    }
}


/* ================= MOBILE ================= */

@media (max-width: 576px) {
    .project-status-section {
        padding: 45px 20px;
        .project-status-container {
            h2 {
                font-size: 34px;
                margin-bottom: 30px;
            }
            .status-gallery {
                flex-direction: column;
                align-items: center;
                .status-image {
                    width: 100%;
                    height: 240px;
                }
            }
            .status-info {
                margin-top: 24px;
                h3 {
                    font-size: 18px;
                }
                p {
                    font-size: 15px;
                }
            }
        }
    }
}


/* ================= LOCATION SECTION ================= */

.location-section {
    width: 100%;
    background: #f5f2eb;
    .location-heading {
        padding: 50px 20px 40px;
        text-align: center;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 55px;
            font-weight: 300;
            color: #624a2e;
        }
    }
    .location-map {
        width: 100%;
        height: 90vh;
        max-height: 500px;
        iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        .location-map-img {
            height: 100%;
            width: 100%;
        }
    }
}

@media (max-width:992px) {
    .location-section {
        .location-heading h2 {
            font-size: 42px;
        }
        .location-map {
            height: 550px;
        }
    }
}

@media (max-width:576px) {
    .location-section {
        .location-heading {
            padding: 35px 20px 25px;
            h2 {
                font-size: 34px;
            }
        }
        .location-map {
            height: 350px;
        }
    }
}


/* ================= PROJECT INFORMATION ================= */

.project-information-section {
    width: 100%;
    background: #f5f2eb;
    padding: 60px 20px;
    .project-information-container {
        max-width: 1100px;
        margin: auto;
        text-align: center;
        h2 {
            font-family: "Gilroy", sans-serif;
            font-size: 55px;
            font-weight: 300;
            color: #624a2e;
            margin-bottom: 45px;
        }
        .project-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 25px;
            .info-btn {
                min-width: 260px;
                height: 58px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-decoration: none;
                background: #0d1a27;
                color: #ffffff;
                font-family: "Gilroy", sans-serif;
                font-size: 22px;
                font-weight: 300;
                border-radius: 12px;
                transition: .3s ease;
                &:hover {
                    background: #b8ae9d;
                    transform: translateY(-3px);
                }
            }
        }
    }
}

.slider-nav:hover {
    background: #B8AE9D;
}
.slider-nav:active {
    background: #B8AE9D;
}
/* ================= TABLET ================= */

@media(max-width:992px) {
    .project-information-section {
        .project-information-container {
            h2 {
                font-size: 42px;
            }
            .project-buttons {
                gap: 18px;
                .info-btn {
                    min-width: 200px;
                    font-size: 18px;
                }
            }
        }
    }
}


/* ================= MOBILE ================= */

@media(max-width:576px) {
    .project-information-section {
        padding: 45px 20px;
        .project-information-container {
            h2 {
                font-size: 34px;
                margin-bottom: 30px;
            }
            .project-buttons {
                flex-direction: column;
                gap: 16px;
                .info-btn {
                    width: 100%;
                    min-width: unset;
                    height: 54px;
                    font-size: 18px;
                }
            }
        }
    }
}


/* ================= CONTACT SECTION ================= */

.contact-section {
    .contact-heading {
        padding: 0 !important;
        text-align: center;
        padding-bottom: 44px !important;
    }
}
.gallery-disclaimer {
    font-family: 'Gilroy', sans-serif;
    text-align: center;
    font-size: 11px;
    color: #3d3d3d;
    margin: 20px auto 0;
    max-width: 470px;
    line-height: 1.5;
    padding: 0 15px;
}