/* =============================================
   ZAIRAH CREATIVES — Main Stylesheet
   Responsive: Mobile (320px) → Tablet (768px) → Desktop (1200px+)
   ============================================= */

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --primary:      #1a3a5c;
    --primary-dark: #0d2137;
    --secondary:    #4a9fd4;
    --accent:       #2c5f8d;
    --text-dark:  #1a1a2e;
    --text-mid:   #495057;
    --text-light: #6c757d;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f4f7fb;
    --bg-light2: #eef2f7;

    --shadow-xs: 0 1px 4px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 10px rgba(0,0,0,.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,.12);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.15);

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 20px;

    --ease: all .3s ease;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;

    /* navbar height reference */
    --nav-h: 68px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .75rem;
}

.section-description {
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto .5rem;
}

.text-center  { text-align: center; }
.text-white,
.text-white.section-title,
.text-white.section-description { color: var(--text-white) !important; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.section-padding { padding: clamp(48px, 8vw, 96px) 0; }
.bg-light    { background: var(--bg-light); }
.bg-light2   { background: var(--bg-light2); }
.bg-gradient { background: linear-gradient(135deg, var(--primary-dark), var(--accent)); }

.section-header { margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,58,92,.08);
    transition: box-shadow .3s ease, background .3s ease;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,.99);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.logo img {
    height: clamp(36px, 5vw, 48px);
    width: auto;
    object-fit: contain;
    /* white background logo on white nav — no filter needed */
}

/* Desktop nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: nowrap;
}

.nav-menu li a {
    font-size: clamp(.78rem, 1vw, .88rem);
    font-weight: 500;
    color: var(--text-mid);
    padding: 7px 11px;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--ease);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
    background: rgba(26,58,92,.07);
}

.nav-menu li a.btn-cta {
    margin-left: .4rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 9px 18px;
    border-radius: 24px;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .01em;
}

.nav-menu li a.btn-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,58,92,.28);
}

/* =============================================
   MOBILE MENU BACKDROP
   ============================================= */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 46, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    transition: opacity .35s ease;
}

.menu-backdrop.active {
    opacity: 1;
}

/* =============================================
   HAMBURGER BUTTON
   ============================================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1.5px solid rgba(26,58,92,.15);
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(26,58,92,.08);
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,58,92,.22);
    transform: translateY(-1px);
}

.mobile-menu-toggle:active {
    transform: scale(.94);
}

/* The three bars */
.mobile-menu-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 3px;
    transition: transform .35s cubic-bezier(.23,1,.32,1),
                opacity .25s ease,
                width .3s ease,
                background .25s ease;
    transform-origin: center;
    position: absolute;
}

.mobile-menu-toggle .bar-1 { transform: translateY(-6px); }
.mobile-menu-toggle .bar-2 { transform: translateY(0); }
.mobile-menu-toggle .bar-3 { transform: translateY(6px); width: 13px; }

/* Hover — all bars go full width & turn white */
.mobile-menu-toggle:hover .bar {
    background: #fff;
    width: 20px;
}

/* Active (open) state — morph to X */
.mobile-menu-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,58,92,.3);
}

.mobile-menu-toggle.active .bar { background: #fff; width: 20px; }
.mobile-menu-toggle.active .bar-1 { transform: rotate(45deg) translateY(0); }
.mobile-menu-toggle.active .bar-2 { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active .bar-3 { transform: rotate(-45deg) translateY(0); width: 20px; }

/* =============================================
   BUTTONS — fully responsive, all screen sizes
   ============================================= */

/* ── Base button ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* fluid padding: tighter on mobile, comfortable on desktop */
    padding: clamp(10px, 2vw, 13px) clamp(18px, 3.5vw, 28px);
    border-radius: 30px;
    /* fluid font: readable on all screens */
    font-size: clamp(.82rem, 1.8vw, .95rem);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.3;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: var(--ease);
    /* prevent text overflow on narrow screens */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* prevent shrinking in flex containers */
    flex-shrink: 0;
    /* ensure minimum tappable size (WCAG 2.5.5) */
    min-height: 44px;
    /* GPU compositing for smooth animations */
    will-change: transform, box-shadow;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

/* ── Primary ── */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 3px 12px rgba(26,58,92,.18);
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,58,92,.30);
    color: #fff;
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(26,58,92,.2); }

/* ── Secondary (outline) ── */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,58,92,.22);
}
.btn-secondary:active { transform: translateY(0); }

/* ── White (for dark/coloured backgrounds) ── */
.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.btn-white:hover,
.btn-white:focus-visible {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.btn-white:active { transform: translateY(0); }

/* ── Large modifier ── */
.btn-lg {
    padding: clamp(12px, 2.2vw, 15px) clamp(24px, 4vw, 36px);
    font-size: clamp(.88rem, 1.9vw, 1rem);
    min-height: 50px;
}

/* ── Small modifier (for tight spaces) ── */
.btn-sm {
    padding: 7px 16px;
    font-size: .8rem;
    min-height: 36px;
    gap: 5px;
}

/* ── Text link button ── */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(.88rem, 1.4vw, .95rem);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    padding: 4px 0;
    text-decoration: none;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.btn-text:hover,
.btn-text:focus-visible { color: var(--secondary); gap: 12px; }
.btn-text i { transition: transform .2s ease; }
.btn-text:hover i { transform: translateX(3px); }

/* ── Arrow link ── */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-weight: 600;
    font-size: clamp(.82rem, 1.3vw, .9rem);
    transition: var(--ease);
    text-decoration: none;
    padding: 4px 0;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.btn-link:hover,
.btn-link:focus-visible { color: var(--primary); gap: 10px; }
.btn-link i { transition: transform .2s ease; }
.btn-link:hover i { transform: translateX(3px); }

/* ── Focus ring (keyboard accessibility) ── */
.btn:focus-visible,
.btn-text:focus-visible,
.btn-link:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100svh;   /* svh for mobile browsers */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0a1a2e 0%, var(--primary) 40%, var(--accent) 75%, var(--secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(74,159,212,.12) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(44,95,141,.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle animated background dots */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 65% 50%, rgba(74,159,212,.12) 0%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(800px, 100%);
    margin-inline: auto;
    padding: calc(var(--nav-h) + 40px) 20px 80px;
}

.hero-logo {
    width: clamp(120px, 28vw, 200px);
    height: auto;
    margin: 0 auto 1.75rem;
    /* The logo has white background — add a subtle treatment */
    border-radius: var(--radius);
    padding: 12px 20px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 4.25rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.hero-subtitle {
    font-size: clamp(.95rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,.85);
    max-width: 620px;
    margin: 0 auto 2.25rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: clamp(.5rem, 2vw, .875rem);
    justify-content: center;
    flex-wrap: wrap;
    /* ensure buttons never overflow viewport */
    max-width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: heroScroll 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroScroll {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: .5; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: .9; }
}

/* =============================================
   ABOUT PREVIEW
   ============================================= */
.about-preview-content {
    padding-right: clamp(0px, 2vw, 1.5rem);
}

.about-preview-content p {
    color: var(--text-light);
    margin-bottom: .875rem;
    line-height: 1.8;
}

.about-preview-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1.25rem, 2.5vw, 1.875rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26,58,92,.06);
    transition: var(--ease);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74,159,212,.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.service-icon i { font-size: 1.3rem; color: #fff; }

.service-card h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--primary);
    margin-bottom: .6rem;
}

.service-card p {
    color: var(--text-light);
    font-size: .93rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* =============================================
   FEATURES / WHY CHOOSE US
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.feature-card {
    text-align: center;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, rgba(26,58,92,.06), rgba(74,159,212,.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.feature-icon i { font-size: 1.5rem; color: var(--primary); }

.feature-card h3 {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--primary);
    margin-bottom: .6rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: .92rem;
    line-height: 1.7;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { background: #fff; }

.cta-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    color: var(--primary);
    margin-bottom: .75rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: clamp(.95rem, 1.3vw, 1.1rem);
    margin-bottom: 1.75rem;
}

.cta-buttons {
    display: flex;
    gap: clamp(.5rem, 2vw, .875rem);
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.8);
    padding: clamp(40px, 6vw, 64px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.footer-logo {
    height: clamp(36px, 6vw, 52px);
    width: auto;
    margin-bottom: .875rem;
    /* logo on dark background — add brightness boost */
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .875rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid rgba(74,159,212,.3);
    display: inline-block;
}

.footer-col ul li { margin-bottom: .5rem; }

.footer-col ul li a {
    color: rgba(255,255,255,.55);
    font-size: .875rem;
    transition: var(--ease);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    transition: var(--ease);
}

.social-links a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1rem 0;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    animation: fadeInAnim .9s ease forwards;
}

@keyframes fadeInAnim { to { opacity: 1; } }

.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-up, .hero-scroll { animation: none !important; }
    .fade-in { opacity: 1; }
    .fade-in-up { opacity: 1; transform: none; }
}

/* =============================================
   ===  RESPONSIVE BREAKPOINTS  ===
   ============================================= */

/* ── Large desktops (1400px+) ── */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Tablet landscape / small desktop (1024-1199px) ── */
@media (max-width: 1199px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .nav-menu li a { font-size: .8rem; padding: 7px 9px; }
    .nav-menu li a.btn-cta { padding: 8px 15px; }
}

/* ── Tablet portrait (768-1023px) ── */
@media (max-width: 1023px) {
    /* Show hamburger + backdrop */
    .mobile-menu-toggle { display: flex; }
    .menu-backdrop { display: block; }

    /* ── Drawer panel ── */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        background: linear-gradient(180deg, var(--primary-dark) 0%, #0e2540 40%, #122d4e 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        z-index: 1050;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.23,1,.32,1),
                    opacity .3s ease,
                    visibility .4s;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -8px 0 40px rgba(0,0,0,.35);
        border-left: 1px solid rgba(255,255,255,.06);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* ── Drawer header (logo + close) ── */
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px 16px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        flex-shrink: 0;
    }

    .drawer-logo img {
        height: 36px;
        width: auto;
        object-fit: contain;
        filter: brightness(1.15);
    }

    .drawer-close {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.8);
        font-size: 1rem;
        cursor: pointer;
        transition: background .2s, color .2s, transform .2s;
        flex-shrink: 0;
    }

    .drawer-close:hover {
        background: rgba(255,255,255,.2);
        color: #fff;
        transform: rotate(90deg);
    }

    /* ── Nav links ── */
    .nav-menu li {
        width: 100%;
        text-align: left;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity .35s ease, transform .35s ease;
    }

    /* Stagger delays for each nav item */
    .nav-menu li:nth-child(2) { transition-delay: .05s; }
    .nav-menu li:nth-child(3) { transition-delay: .10s; }
    .nav-menu li:nth-child(4) { transition-delay: .15s; }
    .nav-menu li:nth-child(5) { transition-delay: .20s; }
    .nav-menu li:nth-child(6) { transition-delay: .25s; }
    .nav-menu li:nth-child(7) { transition-delay: .30s; }
    .nav-menu li:nth-child(8) { transition-delay: .35s; }
    .nav-menu li:nth-child(9) { transition-delay: .40s; }
    .nav-menu li:nth-child(10){ transition-delay: .45s; }

    /* Animate in when drawer opens */
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li a {
        color: rgba(255,255,255,.78);
        font-size: 1rem;
        font-weight: 500;
        padding: 13px 24px;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background .2s, color .2s, padding-left .2s;
        border-bottom: 1px solid rgba(255,255,255,.05);
        position: relative;
    }

    /* Left accent bar on hover/active */
    .nav-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        bottom: 20%;
        width: 3px;
        background: var(--secondary);
        border-radius: 0 3px 3px 0;
        transform: scaleY(0);
        transition: transform .2s ease;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(255,255,255,.07);
        color: #fff;
        padding-left: 30px;
    }

    .nav-menu li a:hover::before,
    .nav-menu li a.active::before {
        transform: scaleY(1);
    }

    /* ── Book a Consultation CTA inside drawer ── */
    .nav-menu li a.btn-cta {
        margin: 16px 20px 8px;
        width: calc(100% - 40px);
        background: linear-gradient(135deg, var(--secondary), #6bbde0);
        color: var(--primary-dark);
        font-weight: 700;
        font-size: .92rem;
        padding: 13px 20px;
        border-radius: 12px;
        justify-content: center;
        border-bottom: none;
        box-shadow: 0 4px 16px rgba(74,159,212,.3);
        letter-spacing: .01em;
    }

    .nav-menu li a.btn-cta:hover {
        background: linear-gradient(135deg, #6bbde0, var(--secondary));
        color: var(--primary-dark);
        padding-left: 20px;
        box-shadow: 0 6px 22px rgba(74,159,212,.45);
        transform: translateY(-1px);
    }

    .nav-menu li a.btn-cta::before { display: none; }

    /* ── Social row at the bottom of drawer ── */
    .drawer-social-row {
        display: flex !important;
        justify-content: center;
        gap: .75rem;
        padding: 20px 24px 28px !important;
        border-top: 1px solid rgba(255,255,255,.08);
        margin-top: auto;
        flex-direction: row !important;
        width: 100%;
    }

    .drawer-social-row a {
        width: 40px !important;
        height: 40px;
        background: rgba(255,255,255,.08) !important;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.65) !important;
        font-size: .95rem;
        transition: background .2s, color .2s, transform .2s, border-color .2s !important;
        border-bottom: none !important;
        padding: 0 !important;
    }

    .drawer-social-row a:hover {
        background: var(--secondary) !important;
        color: #fff !important;
        border-color: var(--secondary) !important;
        transform: translateY(-3px) !important;
        padding-left: 0 !important;
    }

    .drawer-social-row a::before { display: none !important; }

    /* ── Grid / layout adjustments ── */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2.5rem);
    }

    .about-preview-content { padding-right: 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: min(320px, 90%); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:first-child { grid-column: 1 / -1; }
}

/* ── Mobile landscape + large phones (600-767px) ── */
@media (max-width: 767px) {
    :root { --nav-h: 60px; }

    .hero-content {
        padding-top: calc(var(--nav-h) + 32px);
        padding-bottom: 64px;
    }

    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: min(300px, 88vw); justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-col:first-child { grid-column: auto; }

}

/* ── Small phones (320-599px) ── */
@media (max-width: 599px) {
    :root { --nav-h: 56px; }

    .section-padding { padding: 40px 0; }

    .hero-logo {
        width: clamp(100px, 55vw, 160px);
        padding: 8px 14px;
    }

    .features-grid { grid-template-columns: 1fr; }

    .btn {
        padding: 10px 20px;
        font-size: .875rem;
        min-height: 44px;
    }

    .btn-lg {
        padding: 12px 26px;
        font-size: .9rem;
        min-height: 48px;
    }

    .cta-buttons .btn { width: min(300px, 88vw); justify-content: center; }
    .grid-2 > *:first-child { order: 2; }
    .grid-2 > *:last-child  { order: 1; }

    .about-preview-image img { aspect-ratio: 16/9; }

    .footer-grid { gap: 1.25rem; }

    /* Full-width buttons on very small screens */
    .cta-buttons .btn,
    .hero-buttons .btn { width: min(300px, 88vw); justify-content: center; }
}

/* ── Ultra-narrow (below 360px) ── */
@media (max-width: 359px) {
    .container { padding-inline: 12px; }

    .nav-menu li a { font-size: 1rem; padding: 12px 20px; }

    .btn {
        padding: 9px 16px;
        font-size: .8rem;
        gap: 5px;
    }
    .btn-lg {
        padding: 10px 20px;
        font-size: .84rem;
    }
    .cta-buttons .btn,
    .hero-buttons .btn { width: 100%; }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .navbar, .hero-scroll { display: none !important; }
    .hero { min-height: auto; padding: 2rem 0; }
    * { animation: none !important; box-shadow: none !important; }
}
