/* ============================================================
   GREENICONHOMES.COM — MASTER STYLESHEET
   Merged: Main Site CSS + Preloader CSS
   Strategy:
     • Preloader variables scoped to #preloader — zero bleed
     • Main :root variables untouched and authoritative
     • Preloader reset removed (*, body overrides deleted)
     • Preloader body styles removed (site body is authoritative)
     • All @keyframe names namespaced to avoid collisions
     • Preloader lives in its own clearly marked zone
     • Full functionality of both preserved independently
   ============================================================ */


/* ============================================================
   SECTION A — ROOT VARIABLES (Main Site — Authoritative)
   ============================================================ */
:root {

    /* Topbar / Navbar dimensions */
    --topbar-height:  64px;
    --navbar-height:  78px;

    /* Brand colours */
    --brand-green:    #16a34a;
    --dark-grey:      #374151;

    /* Footer / section theme */
    --bg-primary:     #001f3f;
    --bg-secondary:   #002b5b;
    --accent-green:   #228b22;
    --text-primary:   #ffffff;
    --text-secondary: #c0c0c0;
    --shadow-color:   rgba(0, 0, 0, 0.3);
    --border-color:   rgba(255, 255, 255, 0.1);
    --cta-hover:      #1b5e20;
}

/* Light-mode overrides */
.light-mode {
    --bg-primary:     #ffffff;
    --bg-secondary:   #f8f9fa;
    --accent-green:   #228b22;
    --text-primary:   #1a1a1a;
    --text-secondary: #555555;
    --shadow-color:   rgba(0, 0, 0, 0.08);
    --border-color:   rgba(0, 0, 0, 0.1);
    --cta-hover:      #1b5e20;
}


/* ============================================================
   SECTION B — GLOBAL RESET (Main Site)
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-gutter: stable;
     scroll-behavior: smooth;                /* ← ADD */
    -webkit-text-size-adjust: 100%;         /* ← ADD */
    text-size-adjust: 100%;                 /* ← ADD */
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #ffffff;
    font-family: 'Inter', 'Poppins', system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    -webkit-font-smoothing: antialiased;    /* ← ADD */
    -moz-osx-font-smoothing: grayscale;     /* ← ADD */
    text-rendering: optimizeLegibility;     /* ← ADD */
}

/* ── Global interactive tap polish ── */
a, button, label, input, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── All media fluid ── */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;}
    
}
    
    /* Prevent any element causing horizontal scroll */
* {
    min-width: 0;
}

* ── 2. SAFE AREA (iPhone notch / home bar) ─────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    .sticky-contact {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
    }
    .footer-bottom {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .nav-links {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}



section,
.hero-banner,
.company-profile,
.image-gallery,
.cta-section,
.video-gallery,
.milestones-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ============================================================
   SECTION C — TOPBAR
   ============================================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1100;
    transition: transform .35s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.topbar.hide {
    transform: translateY(-100%) translateZ(0);
    -webkit-transform: translateY(-100%) translateZ(0);
}

.topbar-inner {
    max-width: 1300px;
    margin: auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================
   SECTION D — BRAND
   ============================================================ */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.company-name {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--brand-green);
}

.company-name span {
    color: var(--dark-grey);
    font-weight: 600;
}


/* ============================================================
   SECTION E — CONTACTS
   ============================================================ */
.contacts {
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 1101;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all .25s ease;
    position: relative;
}

.contact-item:hover {
    transform: translateY(-2px);
    color: #15803d;
}


/* ============================================================
   SECTION F — WHATSAPP GLOW
   ============================================================ */
.whatsapp-item {
    position: relative;
}

.whatsapp-item i {
    color: #25D366;
    transition: all 0.35s ease;
}

.whatsapp-item:hover i {
    transform: translateY(-2px) scale(1.12);
    filter: drop-shadow(0 0 6px rgba(37,211,102,0.6))
            drop-shadow(0 0 12px rgba(37,211,102,0.35));
}

.whatsapp-item::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37,211,102,0.18) 0%,
        rgba(37,211,102,0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.35s ease;
    pointer-events: none;
}

.whatsapp-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .whatsapp-item:active i {
        transform: scale(0.92);
    }
}

/* ============================================================
   MOBILE SPACING FIX — PREVENT ICON COLLISION
   (Safe: does NOT affect desktop)
============================================================ */
@media (max-width: 768px) {

    /* Give contacts breathing space */
    .contacts {
        margin-left: 8px; /* ← key professional shift */
        gap: 12px; /* slightly tighter but clean */
        flex-shrink: 0;
        flex-wrap: nowrap;
        overflow: visible;
    }

    /* Ensure brand never gets squeezed */
    .brand {
        min-width: 0;
    }

    /* Allow very slight text flexibility on small phones */
    .company-name {
        font-size: 16px;
    }

}

/* Extra-small phones (elite polish) */
@media (max-width: 480px) {

    .contacts {
        margin-left: 14px; /* more breathing room */
        gap: 14px;
    }

    .company-name {
        font-size: 15px;
    }

    .contact-item {
        font-size: 13px;
        flex-shrink: 0;
        min-width: 36px;
        min-height: 44px;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .contacts {
        gap: 10px;
        margin-left: 6px;
    }

    .company-name {
        font-size: 15px;
    }

    .contact-item {
        font-size: 13px;
        min-width: 34px;
    }
}

/* ============================================================
   SECTION G — NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: var(--topbar-height);
    height: var(--navbar-height);
    width: 100%;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    transition: all .35s ease;
}

.navbar.scrolled {
    height: 64px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1300px;
    margin: auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================
   SECTION H — NAV LINKS (Desktop)
   ============================================================ */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap;
    z-index: 1500;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    padding: 6px 0;
    transition: color .25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--brand-green);
    transition: width .3s ease;
    pointer-events: none;
}

.nav-links a:hover { color: var(--brand-green); }
.nav-links a:hover::after { width: 100%; }


/* ============================================================
   SECTION I — BROCHURE BUTTON
   ============================================================ */
.brochure-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-green);
    color: white;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 14.8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(22,163,74,0.25);
}

.brochure-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.25);
}

.brochure-btn i {
    font-size: 15px;
}


/* ============================================================
   SECTION J — HAMBURGER
   ============================================================ */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1051;
}


/* ============================================================
   SECTION K — MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {

    .contact-item span { display: none; }

    .nav-links {
        position: fixed;
        top: calc(var(--topbar-height) + var(--navbar-height));
        right: -100%;
        width: 260px;
        max-width: 85vw;
        height: calc(100vh - var(--topbar-height) - var(--navbar-height));
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        gap: 22px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right .35s ease;
        display: flex;
        z-index: 1500;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
    }

    .nav-links.active { right: 0; }

    .hamburger {
        display: block;
        z-index: 1051;
    }
}

@media (max-width: 480px) {
    .company-name { font-size: 16px; }
    .logo { width: 46px; height: 46px; }
}


/* ============================================================
   SECTION L — HERO BANNER
   ============================================================ */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.hero-banner input { display: none; }

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

#slide1:checked ~ .s1,
#slide2:checked ~ .s2,
#slide3:checked ~ .s3 { opacity: 1; }

.content {
    position: relative;
    z-index: 2;
    max-width: 85%;
    padding: 20px;
}

.content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-inline: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons button {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary             { background: #ffffff; color: black; }
.primary:hover       { background: #90EE90; transform: translateY(-2px); }
.secondary           { background: #228B22; color: white; }
.secondary:hover     { background: #90EE90; transform: translateY(-2px); }

.controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.controls label {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.controls label:hover { background: white; }

#slide1:checked ~ .controls label[for="slide1"],
#slide2:checked ~ .controls label[for="slide2"],
#slide3:checked ~ .controls label[for="slide3"] { background: #228b22; }

@media (max-width: 768px) {
    .hero-banner            { min-height: 62vh; margin-bottom: 10px; }
    .content                { padding: 16px 12px; max-width: 92%; }
    .content h1             { font-size: 1.65rem; line-height: 1.3; margin-bottom: 10px; letter-spacing: 0.8px; }
    .content p              { font-size: 0.93rem; line-height: 1.5; margin-bottom: 14px; }
    .cta-buttons            { gap: 0.7rem; }
    .cta-buttons button     { padding: 0.65rem 1.3rem; font-size: 0.9rem; }
    .controls               { bottom: 14px; }
    .controls label         { width: 11px; height: 11px; }
}

@media (max-width: 480px) {
    .hero-banner            { min-height: 55vh; }
    .content h1             { font-size: 1.45rem; line-height: 1.28; margin-bottom: 9px; }
    .content p              { font-size: 0.88rem; margin-bottom: 12px; }
    .cta-buttons button     { padding: 0.6rem 1.15rem; font-size: 0.87rem; border-radius: 5px; }
    .controls label         { width: 10px; height: 10px; }
}


/* ============================================================
   SECTION M — COMPANY PROFILE / SERVICES
   ============================================================ */
.company-profile {
    margin-top: 0;
    padding-bottom: 70px;
    background-color: #f8f9fa;
    text-align: center;
}

.company-profile .heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services-grid { grid-template-columns: 1fr; } }

.service-item {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.service-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 4px;
    background-color: #d32f2f;
    transition: width 0.5s ease;
}

.service-item:hover::before { width: 100%; }

.service-icon        { font-size: 3rem; color: #228b22; margin-bottom: 15px; }
.service-title       { font-size: 1.5rem; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; color: #222; }
.service-description { font-size: 1rem; color: #555; }

.visible { opacity: 1 !important; transform: scale(1) !important; }

.js .service-item { opacity: 0; transform: scale(0.9); }

@media (max-width: 768px) {
    .company-profile            { padding: 40px 15px; }
    .company-profile .heading   { font-size: 2rem; }
    .service-item               { max-width: 100%; }
}

@media (max-width: 480px) {
    .company-profile .heading { font-size: 1.8rem; }
    .service-icon             { font-size: 2.5rem; }
    .service-title            { font-size: 1.3rem; }
}

@media (max-width: 600px) {

    .company-profile {
        padding: 30px 14px 50px;
    }

    .company-profile .heading {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .service-item {
        padding: 16px 14px;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .service-description {
        font-size: 0.88rem;
        line-height: 1.55;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .company-profile            { padding: 22px 12px 38px; }
    .company-profile .heading   { font-size: 1.6rem; margin-bottom: 12px; }
    .service-item               { padding: 14px 13px; }
    .service-icon               { font-size: 2rem; margin-bottom: 8px; }
    .service-title              { font-size: 1.15rem; margin-bottom: 7px; }
    .service-description {
        font-size: 0.85rem;
        line-height: 1.52;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
    }
}
/* ============================================================
   SECTION N — IMAGE GALLERY
   ============================================================ */
.image-gallery {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 360px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    cursor: pointer;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i { transform: scale(1.15); }

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 1024px) { .gallery-item { flex: 1 1 45%; } }
@media (max-width: 768px)  {
    .gallery-item { flex: 1 1 100%; max-width: 90%; }
    .gallery-item img { height: 200px; }
}


/* ============================================================
   SECTION O — IMAGE MODAL
   ============================================================ */
.modal1 {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content1 {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.5s ease;
}

#modal-image  { width: 100%; max-height: 70vh; object-fit: contain; }

.modal-text   { padding: 20px; text-align: center; }

#modal-caption      { font-size: 1.5rem; font-weight: bold; color: #222; margin-bottom: 10px; }
#modal-instructions { font-size: 1rem; color: #555; }

.close {
    position: absolute;
    top: 15px; right: 15px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.close:hover { color: #ccc; }

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}


/* ============================================================
   SECTION P — CALL TO ACTION
   ============================================================ */
.cta-section {
    width: 100%;
    background-color: #228B40;
    padding: 30px 20px;
    margin-top: 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 10px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s ease;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
}

.cta-container.visible { opacity: 1; transform: translateY(0) scale(1); }

.cta-heading {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.cta-subtext {
    font-size: 1.18rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.cta-container.visible .cta-heading,
.cta-container.visible .cta-subtext { opacity: 1; transform: translateY(0); }


@media (max-width: 768px) {
    .cta-section    { padding: 28px 15px; }
    .cta-container  { padding: 28px 22px; }
    .cta-heading    { font-size: 2.1rem; margin-bottom: 14px; }
    .cta-subtext    { font-size: 1.05rem; margin: 0 auto 24px; }
    .cta-button     { padding: 13px 36px; font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .cta-section    { padding: 22px 12px; }
    .cta-container  { padding: 22px 18px; }
    .cta-heading    { font-size: 1.75rem; margin-bottom: 12px; }
    .cta-subtext    { font-size: 0.97rem; line-height: 1.6; margin: 0 auto 20px; }
    .cta-button     { padding: 12px 32px; font-size: 1rem; }
}

/* ── Button group wrapper ───────────────────────────────── */
.cta-buttons-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

/* ── Shared button base ─────────────────────────────────── */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 48px;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                background-color 0.35s ease,
                box-shadow 0.35s ease;
    white-space: nowrap;
    min-height: 54px;           /* 54px tap target — WCAG AA */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── Contact Us — white pill (existing style preserved) ── */
.cta-button--contact {
    background-color: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

.cta-button--contact:hover  {
    transform: translateY(-4px);
    background-color: #90EE90;
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}
.cta-button--contact:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* ── Call Us Now — gold/amber pill ───────────────────────── */
.cta-button--call {
    background-color: #D2B48C;
    color: #1a1a1a;
    box-shadow: 0 8px 24px rgba(255,215,0,0.45);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.cta-button--call::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

.cta-button--call:hover {
    transform: translateY(-4px);
    background-color: #FFC200;
    box-shadow: 0 14px 32px rgba(255,194,0,0.55);
}
.cta-button--call:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255,194,0,0.35);
}

/* Pulse ring on the call button — draws the eye ─────────── */
@keyframes cta-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255,215,0,0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(255,215,0,0);   }
    100% { box-shadow: 0 0 0 0   rgba(255,215,0,0);    }
}
.cta-button--call {
    animation: cta-pulse 2.2s infinite;
}
.cta-button--call:hover,
.cta-button--call:focus {
    animation: none;  /* stop pulse on interaction */
}

/* Call icon ─────────────────────────────────────────────── */
.cta-call-icon {
    font-size: 1.1em;
    line-height: 1;
    display: inline-block;
}

/* ── Tablet (max 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
    .cta-buttons-group {
        gap: 14px;
    }
    .cta-button {
        padding: 13px 36px;
        font-size: 1.05rem;
        min-height: 50px;
    }
}

/* ── Mobile (max 480px) ─────────────────────────────────── */
@media (max-width: 480px) {
    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 50px;
        border-radius: 50px;
        justify-content: center;
    }
}

/* ── Small mobile (max 360px) ───────────────────────────── */
@media (max-width: 360px) {
    .cta-button {
        max-width: 100%;
        font-size: 0.95rem;
        padding: 13px 20px;
    }
}

/* Safe area (iPhone notch) ─────────────────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    .cta-buttons-group {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .cta-button--call {
        animation: none;
    }
    .cta-button,
    .cta-button--contact,
    .cta-button--call {
        transition: none;
    }
}
/* ============================================================
   SECTION Q — VIDEO GALLERY
   ============================================================ */
.video-gallery {
    padding: 10px 0;
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
    text-align: center;
}

.gallery-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-card {
    flex: 0 1 calc(25% - 30px);
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    animation: cardEntrance 1s ease-out forwards;
    opacity: 0;
    transform: translateY(60px);
}

.video-card:nth-child(1) { animation-delay: 0.2s; }
.video-card:nth-child(2) { animation-delay: 0.4s; }
.video-card:nth-child(3) { animation-delay: 0.6s; }
.video-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes cardEntrance { to { opacity: 1; transform: translateY(0); } }

.video-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }

.thumbnail         { position: relative; height: 180px; overflow: hidden; }
.thumbnail img     { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-card:hover .thumbnail img { transform: scale(1.1); }

.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }

.video-info    { padding: 20px; text-align: left; }
.project-title { font-size: 1.4rem; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; }
.project-desc  { font-size: 0.95rem; color: #666; margin-bottom: 15px; }

.watch-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #228b22;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.watch-btn:hover { background: #1b5e20; transform: translateY(-2px); }

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-modal.active { display: flex; opacity: 1; }

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.modal-content iframe { width: 100%; height: 100%; border: none; }

.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover { background: rgba(0,0,0,0.8); }

@media (max-width: 1200px) { .video-card { flex: 0 1 calc(50% - 30px); } }
@media (max-width: 768px)  {
    .video-gallery  { padding: 60px 0; }
    .gallery-title  { font-size: 2.2rem; }
    .video-card     { flex: 0 1 100%; }
    .modal-content  { width: 92%; }
}


/* ============================================================
   SECTION R — MILESTONES
   ============================================================ */
.milestones-section {
    padding: 10px 20px;
    background: white;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    margin: 40px auto;
    max-width: 1400px;
    border-radius: 12px;
    text-align: center;
}

.milestones-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.milestones-title.visible { opacity: 1; transform: translateY(0); }

.milestones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.milestone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.milestone-item:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

.milestone-icon {
    font-size: 3.8rem;
    color: #228b22;
    margin-bottom: 20px;
    transition: transform 0.6s ease;
}

.milestone-item:hover .milestone-icon { transform: rotate(360deg) scale(1.15); }

.milestone-counter { font-size: 3.2rem; font-weight: 700; color: #1b1b1b; margin-bottom: 12px; }
.milestone-label   { font-size: 1.15rem; font-weight: 500; color: #555; text-transform: uppercase; letter-spacing: 0.8px; }

@media (max-width: 992px) {
    .milestones-section { padding: 60px 15px; }
    .milestones-title   { font-size: 2.2rem; }
    .milestone-counter  { font-size: 2.8rem; }
}


/* ============================================================
   SECTION S — FOOTER
   ============================================================ */
footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 60px 0 0;
    position: relative;
    overflow: visible;
    transform: none !important;
    will-change: auto;
    width: 100%;
    max-width: 100%;
}

.footer-newsletter {
    background: linear-gradient(to right, var(--bg-secondary), var(--bg-primary));
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.newsletter-tagline { font-size: 1.8rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px; }

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 0 16px;          /* ✅ prevents touching screen edge */
    box-sizing: border-box;   /* ✅ keeps width calculation correct */
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input:focus { border-color: var(--accent-green); box-shadow: 0 0 10px rgba(34,139,34,0.3); outline: none; }

.newsletter-btn {
    padding: 14px 28px;
    background: var(--accent-green);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;           /* ✅ prevents button from being squeezed */
    white-space: nowrap;      /* ✅ keeps text in one line */
}

/* ── 2. Tablet — slightly reduce max-width with safe padding ──────── */
@media (max-width: 768px) {

    .newsletter-tagline {
        font-size: 1.45rem;        /* slightly tighter on tablet */
    }

    .newsletter-form {
        max-width: 100%;           /* fill available width */
        padding: 0 4px;            /* tiny inner guard */
    }
}


/* ── 3. Mobile — stack input and button vertically ────────────────── */
@media (max-width: 540px) {

    .footer-newsletter {
        padding-left:  18px;
        padding-right: 18px;
    }

    .newsletter-tagline {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .newsletter-form {
        flex-direction: column;    /* stack vertically */
        gap: 12px;
        max-width: 100%;
        padding: 0;
    }

    .newsletter-input {
        width: 100%;               /* full width input */
        font-size: 0.95rem;
    }

    .newsletter-btn {
        width: 100%;               /* full width button */
        padding: 14px 20px;
        font-size: 1rem;
    }
}


/* ── 4. Extra-small phones (≤ 380px) ─────────────────────────────── */
@media (max-width: 380px) {

    .footer-newsletter {
        padding-left:  14px;
        padding-right: 14px;
    }

    .newsletter-tagline {
        font-size: 1.1rem;
    }
}



.footer-main {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column { display: flex; flex-direction: column; gap: 15px; }

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 40px; height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.footer-column:hover h4::after { width: 60px; }

.footer-column p { font-size: 0.95rem; color: var(--text-secondary); }

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover { color: var(--accent-green); transform: translateX(5px); }
.footer-link i     { font-size: 1rem; }

.footer-bottom {
    background: var(--bg-secondary);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom a { color: var(--text-secondary); text-decoration: none; margin: 0 10px; transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--accent-green); }

.footer-social { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.footer-social a { font-size: 1.2rem; color: var(--text-secondary); transition: color 0.3s ease, transform 0.3s ease; }
.footer-social a:hover { color: var(--accent-green); transform: scale(1.15); }

@media (max-width: 768px) {
    .footer-main                 { grid-template-columns: 1fr; }
    .footer-column               { border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .footer-column h4            { cursor: pointer; }
    .footer-column .links        { display: none; }
    .footer-column.active .links { display: block; }
}


/* ============================================================
   SECTION T — TOOLTIP
   ============================================================ */
.location-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.location-item { position: relative; }
.location-item:hover .tooltip { opacity: 1; transform: translateY(0); }

.tooltip {
    position: absolute;
    top: 100%; left: 50%;
    transform: translate(-50%, 10px);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--bg-primary);
}


/* ============================================================
   SECTION U — STICKY CONTACT ICONS
   ============================================================ */
.sticky-contact {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.contact-icon {
    background: var(--accent-green);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform .25s ease, background .25s ease;
    position: relative;
    z-index: 999999;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-icon i {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-icon:hover {
    transform: scale(1.1);
    background: var(--cta-hover);
}

@media (max-width: 768px) {
    .sticky-contact { bottom: 20px; right: 15px; }
}


/* ============================================================
   SECTION V — MODE SWITCH
   ============================================================ */
.mode-switch {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mode-switch:hover { color: var(--accent-green); }




/* ============================================================
   ██████████████████████████████████████████████████████████
   PRELOADER ZONE — Fully Isolated, Zero Site Conflict
   ██████████████████████████████████████████████████████████

   ISOLATION STRATEGY:
   ─ All variables are scoped inside #preloader { } — they do
     NOT override or pollute the main :root variables above.
   ─ The preloader reset (*, body overrides) has been REMOVED
     to prevent conflicts — the global reset above handles all.
   ─ All @keyframe names are prefixed with "pl-" to prevent
     collision with site @keyframes (modalFadeIn, cardEntrance,
     shimmer etc.)
   ─ Class names (.loader-card, .logo-wrapper, .brand-text,
     .progress-area, .particles, .leaf) are unique enough not
     to collide — verified against all classes above.
   ─ Preloader body demo styles REMOVED (not needed in production;
     site body rules are authoritative).
   ─ Preloader z-index: 99999 — safely above all site z-indexes.
   ============================================================ */


/* ── PRELOADER: Scoped custom properties ───────────────────
   These live INSIDE #preloader so they never override :root  */
#preloader {
    /* Scoped colour tokens — invisible outside this element */
    --pl-dark:    #0a3d1a;
    --pl-mid:     #0d5c2a;
    --pl-primary: #1a7a3a;
    --pl-light:   #39c45a;
    --pl-neon:    #5eff7a;
    --pl-pale:    #e8f5ee;

    /* Layout & behaviour */
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: radial-gradient(ellipse at 50% 40%,
        rgba(232, 245, 238, 0.98) 0%,
        rgba(255, 255, 255, 0.99) 60%,
        rgba(240, 250, 244, 1) 100%);
    overflow: hidden;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Exit state — JS adds this class */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Ambient radial glow — preloader background only */
#preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(26, 122, 58, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(94, 255, 122, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ── GLASS CARD ─────────────────────────────────────────── */
.loader-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 52px 56px 44px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    box-shadow:
        0 8px 40px rgba(10, 61, 26, 0.08),
        0 2px 8px rgba(10, 61, 26, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: pl-cardReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes pl-cardReveal {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── LOGO WRAPPER ───────────────────────────────────────── */
.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating arc rings */
.arc-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--pl-light);
    border-right-color: rgba(26, 122, 58, 0.3);
    animation: pl-arcSpin 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.arc-ring-2 {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: rgba(94, 255, 122, 0.35);
    border-left-color: transparent;
    animation: pl-arcSpin 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

@keyframes pl-arcSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* SVG logo mark */
.logo-svg {
    width: 80px;
    height: 86px;
    animation: pl-logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 16px rgba(26, 122, 58, 0.25));
}

@keyframes pl-logoPulse {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 4px 16px rgba(26, 122, 58, 0.20)); }
    50%       { transform: scale(1.04); filter: drop-shadow(0 6px 22px rgba(26, 122, 58, 0.38)); }
}

/* Neon ping dot */
.ping-dot {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pl-neon);
    box-shadow: 0 0 0 0 rgba(94, 255, 122, 0.6);
    animation: pl-pingPulse 1.8s ease-out infinite;
}

@keyframes pl-pingPulse {
    0%   { box-shadow: 0 0 0 0    rgba(94, 255, 122, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(94, 255, 122, 0);   }
    100% { box-shadow: 0 0 0 0    rgba(94, 255, 122, 0);   }
}

/* ── BRAND TEXT ─────────────────────────────────────────── */
.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    animation: pl-textFade 0.7s ease-out 0.35s both;
}

@keyframes pl-textFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--pl-dark);
    line-height: 1;
}

.brand-name span {
    color: var(--pl-primary);
}

.brand-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pl-primary);
    opacity: 0.7;
}

/* ── PROGRESS SYSTEM ────────────────────────────────────── */
.progress-area {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: pl-textFade 0.7s ease-out 0.5s both;
}

.progress-track {
    width: 100%;
    height: 2px;
    background: rgba(26, 122, 58, 0.12);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pl-mid), var(--pl-light), var(--pl-neon));
    border-radius: 99px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(94, 255, 122, 0.5);
    animation: pl-progressLoad 3.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes pl-progressLoad {
    0%   { width: 0%;   }
    30%  { width: 35%;  }
    60%  { width: 68%;  }
    85%  { width: 88%;  }
    100% { width: 100%; }
}

/* Shimmer sweep */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: pl-shimmerBar 1.4s ease-in-out 0.6s infinite;
}

@keyframes pl-shimmerBar {
    from { left: -60%; }
    to   { left: 110%; }
}

.loading-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pl-primary);
    opacity: 0.55;
}

/* ── LEAF PARTICLES ─────────────────────────────────────── */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 6px;
    height: 10px;
    border-radius: 50% 0 50% 0;
    opacity: 0;
}

.leaf:nth-child(1) { background: rgba(26,122,58,0.08);  left: 10%; top: 20%; animation: pl-floatLeaf 4.0s ease-in-out 0.2s infinite; }
.leaf:nth-child(2) { background: rgba(94,255,122,0.07); left: 85%; top: 60%; animation: pl-floatLeaf 5.0s ease-in-out 0.8s infinite; width: 4px; height: 7px; }
.leaf:nth-child(3) { background: rgba(26,122,58,0.06);  left: 50%; top: 80%; animation: pl-floatLeaf 3.5s ease-in-out 1.2s infinite; width: 5px; height: 8px; }
.leaf:nth-child(4) { background: rgba(94,255,122,0.06); left: 20%; top: 70%; animation: pl-floatLeaf 4.5s ease-in-out 0.5s infinite; }
.leaf:nth-child(5) { background: rgba(26,122,58,0.07);  left: 75%; top: 15%; animation: pl-floatLeaf 3.8s ease-in-out 1.5s infinite; width: 4px; height: 7px; }

@keyframes pl-floatLeaf {
    0%   { opacity: 0;   transform: translateY(0)     rotate(0deg);  }
    20%  { opacity: 1;                                                 }
    80%  { opacity: 0.6;                                               }
    100% { opacity: 0;   transform: translateY(-40px) rotate(25deg);  }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .arc-ring,
    .arc-ring-2          { animation: none; }
    .logo-svg            { animation: none; }
    .ping-dot            { animation: none; }
    .progress-fill       { animation: pl-progressLoad 1s linear 0.2s forwards; }
    .leaf                { display: none; }
}

/* ── PRELOADER RESPONSIVE ───────────────────────────────── */
@media (max-width: 480px) {
    .loader-card {
        padding: 40px 36px 36px;
        gap: 22px;
        border-radius: 20px;
        width: calc(100vw - 48px);
        max-width: 320px;
    }
    .logo-wrapper  { width: 90px;  height: 90px;  }
    .logo-svg      { width: 66px;  height: 72px;  }
    .brand-name    { font-size: 1.35rem;           }
    .progress-area { width: 170px;                 }
}

/* ============================================================
   END OF PRELOADER ZONE
   ============================================================ */
   
   /* ============================================================
   MOBILE RESPONSIVENESS POLISH — ADDITIVE ONLY
   Targets: Image Gallery, Modal, Video Gallery,
            Milestones, Footer, Global Images
   Zero original rules modified.
   ============================================================ */


/* ── GLOBAL: All images responsive ─────────────────────── */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ── SECTION N: IMAGE GALLERY ───────────────────────────── */
@media (max-width: 768px) {
    .image-gallery          { padding: 20px 14px; margin-top: 10px; }
    .gallery-container      { gap: 18px; }
    .gallery-caption        { font-size: 0.97rem; padding: 12px; }
}

@media (max-width: 480px) {
    .image-gallery          { padding: 16px 12px; }
    .gallery-item           { max-width: 100%; border-radius: 10px; }
    .gallery-item img       { height: 185px; }
    .gallery-container      { gap: 14px; }
    .gallery-caption        { font-size: 0.9rem; padding: 10px 12px; }
}


/* ── SECTION O: IMAGE MODAL ─────────────────────────────── */
@media (max-width: 768px) {
    .modal1                 { padding: 14px; }
    .modal-content1         { max-width: 96%; border-radius: 10px; }
    #modal-image            { max-height: 55vh; }
    #modal-caption          { font-size: 1.2rem; }
    #modal-instructions     { font-size: 0.9rem; }
    .modal-text             { padding: 14px; }
    .close                  { font-size: 2rem; top: 10px; right: 10px;
                              width: 36px; height: 36px;
                              display: flex; align-items: center;
                              justify-content: center;
                              background: rgba(0,0,0,0.5);
                              border-radius: 50%; }
}

@media (max-width: 480px) {
    #modal-caption          { font-size: 1.05rem; margin-bottom: 7px; }
    #modal-instructions     { font-size: 0.83rem; }
    .modal-text             { padding: 12px; }
    .close                  { font-size: 1.7rem; top: 8px; right: 8px; }
}


/* ── SECTION Q: VIDEO GALLERY ───────────────────────────── */
@media (max-width: 768px) {
    .video-gallery          { padding: 30px 14px; }
    .gallery-title          { font-size: 1.8rem; margin-bottom: 28px;
                              letter-spacing: 0.5px; }
    .thumbnail              { height: 195px; }
    .project-title          { font-size: 1.2rem; }
    .project-desc           { font-size: 0.9rem; margin-bottom: 12px; }
    .watch-btn              { padding: 9px 18px; font-size: 0.9rem; }
    .video-info             { padding: 15px; }
    .modal-content          { width: 95%; border-radius: 10px; }
}

@media (max-width: 480px) {
    .video-gallery          { padding: 22px 12px; }
    .gallery-title          { font-size: 1.5rem; margin-bottom: 20px; }
    .thumbnail              { height: 175px; }
    .project-title          { font-size: 1.1rem; margin-bottom: 7px; }
    .project-desc           { font-size: 0.85rem; margin-bottom: 10px; }
    .watch-btn              { padding: 8px 16px; font-size: 0.85rem; }
    .modal-close            { width: 36px; height: 36px; font-size: 1.8rem;
                              top: 10px; right: 10px; }
}


/* ── SECTION R: MILESTONES ──────────────────────────────── */
@media (max-width: 768px) {
    .milestones-section     { padding: 30px 14px; margin: 20px 12px;
                              border-radius: 10px; }
    .milestones-title       { font-size: 1.9rem; margin-bottom: 4px; }
    .milestones-container   { gap: 16px; }
    .milestone-item         { padding: 22px 16px; border-radius: 10px; }
    .milestone-icon         { font-size: 3rem; margin-bottom: 14px; }
    .milestone-counter      { font-size: 2.4rem; margin-bottom: 8px; }
    .milestone-label        { font-size: 1rem; }
}

@media (max-width: 480px) {
    .milestones-section     { padding: 22px 12px; margin: 14px 10px; }
    .milestones-title       { font-size: 1.6rem; }
    .milestones-container   { gap: 12px;
                              grid-template-columns: repeat(2, 1fr); }
    .milestone-item         { padding: 18px 12px; }
    .milestone-icon         { font-size: 2.4rem; margin-bottom: 10px; }
    .milestone-counter      { font-size: 2rem; margin-bottom: 6px; }
    .milestone-label        { font-size: 0.85rem; letter-spacing: 0.5px; }
}


/* ── SECTION S: FOOTER ──────────────────────────────────── */
@media (max-width: 768px) {
    footer                  { padding: 40px 0 0; }
    .footer-main            { padding: 40px 16px; gap: 24px; }
    .footer-column h4       { font-size: 1.05rem; }
    .footer-column p        { font-size: 0.88rem; }
    .footer-link            { font-size: 0.88rem; padding: 4px 0; }
    .footer-bottom          { padding: 16px 14px; font-size: 0.82rem; }
    .footer-bottom a        { margin: 0 6px; }
    .footer-social a        { font-size: 1.3rem; }
    .footer-social          { gap: 18px; margin-top: 12px; }
}

@media (max-width: 480px) {
    footer                  { padding: 30px 0 0; }
    .footer-main            { padding: 30px 14px; gap: 18px; }
    .newsletter-tagline     { font-size: 1.1rem; }
    .footer-column h4       { font-size: 1rem; }
    .footer-link            { font-size: 0.85rem; }
    .footer-bottom          { font-size: 0.78rem; flex-wrap: wrap;
                              line-height: 1.8; }
    .footer-bottom a        { margin: 2px 5px; display: inline-block; }
    .footer-social          { gap: 16px; }
    .footer-social a        { font-size: 1.2rem; }
}

/* ── OUR LOCATIONS: Always visible on mobile ────────────── */
@media (max-width: 768px) {
    .location-list.links {
        display: flex !important;  
You have made no changes to save.
        flex-direction: column;
        gap: 10px;
    }
}

/* ── 2. SAFE AREA (iPhone notch / home bar) ─────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    .sticky-contact {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
    }
    .footer-bottom {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .nav-links {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}


/* ── 3. TOPBAR — edge bleed & tap target polish ─────────── */
@media (max-width: 768px) {
    .topbar-inner {
        padding: 0 16px;
    }
    .brand {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .topbar-inner {
        padding: 0 12px;
    }
    .brand {
        gap: 7px;
    }
    /* Minimum 44px tap target on contact icons */
    .contact-item {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }
}


/* ── 4. NAVBAR — inner padding on small phones ──────────── */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 16px;
    }
    /* Brochure btn hidden on mobile to reduce clutter */
    .brochure-btn {
        display: none;
    }
    /* Hamburger minimum tap target */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 12px;
    }
}


/* ── 5. HERO BANNER — overflow & button edge guard ──────── */
@media (max-width: 768px) {
    .hero-banner {
        /* Prevent slide bleed on Android */
        -webkit-overflow-scrolling: touch;
        contain: layout style;
    }
    .cta-buttons {
        padding: 0 4px;
        width: 100%;
    }
    .cta-buttons button {
        /* 44px minimum tap target */
        min-height: 44px;
        flex: 1 1 auto;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 0 6px;
    }
    .cta-buttons button {
        max-width: 140px;
        font-size: 0.85rem;
    }
}


/* ── 6. COMPANY PROFILE — grid & padding edge guard ─────── */
@media (max-width: 600px) {
    .services-grid {
        padding: 0 2px;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        padding: 0;
        gap: 12px;
    }
    .company-profile {
        /* prevent section touching left/right edge */
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* ── 7. IMAGE GALLERY — container bleed fix ─────────────── */
@media (max-width: 768px) {
    .gallery-container {
        padding: 0 2px;
        width: 100%;
    }
    .gallery-item {
        /* GPU-accelerated hover on mobile */
        will-change: transform;
        transform: translateZ(0);
    }
}

@media (max-width: 480px) {
    .image-gallery {
        padding: 16px 14px;
    }
    .gallery-item {
        max-width: 100%;
        width: 100%;
    }
}


/* ── 8. IMAGE MODAL — full bleed safety ─────────────────── */
@media (max-width: 768px) {
    .modal1 {
        padding: 12px;
        align-items: center;
    }
    .modal-content1 {
        width: 100%;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Larger tap target for close */
    .close {
        min-width: 44px;
        min-height: 44px;
        line-height: 44px;
        text-align: center;
    }
}


/* ── 9. CTA SECTION — button full-width on tiny phones ──── */
@media (max-width: 480px) {
    .cta-button {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
        min-height: 48px;
        line-height: 1.4;
    }
    .cta-container {
        /* prevent internal overflow */
        overflow: hidden;
    }
}


/* ── 10. VIDEO GALLERY — card container padding ─────────── */
@media (max-width: 768px) {
    .video-gallery {
        padding: 28px 14px;
        overflow: hidden;
    }
    /* Video cards wrapper needs padding */
    .video-cards-wrapper,
    .video-grid,
    .cards-container {
        padding: 0 2px;
        width: 100%;
        gap: 16px;
    }
    .video-card {
        width: 100%;
        margin: 0;
    }
    /* Minimum tap target on watch button */
    .watch-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-gallery {
        padding: 20px 12px;
    }
    .play-icon {
        font-size: 2.8rem;
    }
    .modal-close {
        min-width: 44px;
        min-height: 44px;
    }
}


/* ── 11. MILESTONES — 2-col grid spacing fix ────────────── */
@media (max-width: 480px) {
    .milestones-section {
        /* prevent touching screen edges */
        margin-left: 12px;
        margin-right: 12px;
        width: calc(100% - 24px);
        max-width: 100%;
        box-sizing: border-box;
    }
    .milestones-container {
        width: 100%;
    }
    .milestone-item {
        /* prevent overflow in 2-col grid */
        min-width: 0;
        overflow: hidden;
    }
    .milestone-counter {
        /* prevent long numbers overflowing */
        word-break: break-word;
        hyphens: auto;
    }
}


/* ── 12. FOOTER — spacing, tap targets, edge safety ─────── */
@media (max-width: 768px) {
    .footer-main {
        padding: 36px 16px 24px;
    }
    /* Minimum tap target for all footer links */
    .footer-link {
        min-height: 44px;
        align-items: center;
        padding: 4px 0;
    }
    .footer-bottom {
        padding: 16px 16px;
        line-height: 1.8;
    }
    /* Prevent footer bottom links from touching edges */
    .footer-bottom p {
        padding: 0 8px;
    }
    /* Social icons — proper tap targets */
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Our Locations always visible */
    .location-list.links {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 28px 14px 20px;
        gap: 16px;
    }
    footer {
        /* Prevent any child overflowing */
        overflow-x: hidden;
    }
    .footer-bottom {
        padding: 14px 14px;
        font-size: 0.78rem;
    }
    .footer-bottom a {
        display: inline-block;
        margin: 3px 5px;
        min-height: 36px;
        line-height: 36px;
    }
}


/* ── 13. STICKY CONTACT ICONS — tap target & spacing ────── */
@media (max-width: 768px) {
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    .sticky-contact {
        gap: 12px;
        bottom: 20px;
        right: 14px;
    }
}

@media (max-width: 480px) {
    .contact-icon {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    .sticky-contact {
        gap: 10px;
        right: 12px;
    }
}


/* ── 14. TOOLTIP — disable on mobile (no hover) ─────────── */
@media (max-width: 768px) {
    .tooltip {
        display: none !important;
    }
}


/* ── 15. MODE SWITCH — minimum tap target ───────────────── */
@media (max-width: 768px) {
    .mode-switch {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
    }
}


/* ── 16. NEWSLETTER FORM — input tap target ─────────────── */
@media (max-width: 768px) {
    .newsletter-input {
        min-height: 48px;
    }
    .newsletter-btn {
        min-height: 48px;
    }
}


/* ── 17. PRELOADER — safe-area & edge fix on notch phones ── */
@media (max-width: 480px) {
    #preloader {
        padding: 20px env(safe-area-inset-right, 16px)
                 20px env(safe-area-inset-left, 16px);
    }
}

/* ── MOBILE NAV DRAWER — width, spacing & link gap fix ──── */
@media (max-width: 768px) {
    .nav-links {
        width: 220px;
        max-width: 75vw;
        padding: 20px 18px;
        gap: 4px;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 8px;
        font-size: 0.97rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .brochure-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 200px;
        max-width: 72vw;
        padding: 16px 14px;
        gap: 2px;
    }

    .nav-links a {
        padding: 9px 6px;
        font-size: 0.93rem;
    }
}
/* ── MOBILE NAV DRAWER — brochure as plain link ─────────── */
@media (max-width: 768px) {
    .brochure-btn {
        display: flex;
        background: transparent;
        color: #374151;
        padding: 10px 8px;
        border-radius: 0;
        font-size: 0.97rem;
        font-weight: 600;
        box-shadow: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        gap: 8px;
    }

    .brochure-btn i {
        color: var(--brand-green);
        font-size: 15px;
    }

    .brochure-btn:hover {
        background: transparent;
        color: var(--brand-green);
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .brochure-btn {
        font-size: 0.93rem;
        padding: 9px 6px;
    }
}
/* ── NAV DRAWER — height cut to content only ────────────── */
@media (max-width: 768px) {
    .nav-links {
        height: auto;
        max-height: calc(100vh - var(--topbar-height) - var(--navbar-height));
        overflow-y: auto;
        padding: 16px 18px 20px;
        gap: 2px;
        width: 220px;
        max-width: 75vw;
        border-bottom-left-radius: 14px;
        box-shadow: -6px 6px 30px rgba(0,0,0,0.12);
    }

    .nav-links a {
        width: 100%;
        padding: 11px 8px;
        font-size: 0.97rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .brochure-btn {
        margin-top: 6px;
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 0.92rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 200px;
        max-width: 72vw;
        padding: 14px 14px 18px;
        gap: 1px;
    }

    .nav-links a {
        padding: 10px 6px;
        font-size: 0.9rem;
    }

    .brochure-btn {
        padding: 9px 14px;
        font-size: 0.88rem;
        margin-top: 4px;
    }
}
