:root {
  /* ============================================
     AIRSON BREAKPOINT TOKENS (Section 16.1)
     ============================================ */
  --bp-mobile-sm:  375px;
  --bp-mobile:     390px;
  --bp-mobile-lg:  430px;
  --bp-tablet-sm:  600px;
  --bp-tablet:     768px;
  --bp-tablet-lg:  820px;
  --bp-tablet-xl:  1024px;
  --bp-desktop:    1280px;

  /* ============================================
     AIRSON BRANDING & THEME (v4.0 Spec)
     ============================================ */
  --airson-primary:   #F25C05; /* Airson Orange */
  --airson-text-primary:   #0F172A; /* Deep Slate 900 for supreme readability */
  --airson-text-secondary: #334155; /* Deep Slate 700 */
  --airson-text-muted:     #64748B; /* Slate 500 */
  --airson-bg-base:        #FFFFFF;
  --airson-bg-alt:         #F9FAFB;
  
  /* Fallback aliases for historical components */
  --color-primary-sf-blue: var(--airson-primary);
  --color-base-bg:         #FFF8EE; 
  --color-text-primary:    var(--airson-text-primary);
  --color-text-secondary:  var(--airson-text-secondary);
  --color-surface-glass:   rgba(255, 255, 255, 0.7);
  
  /* Design Tokens */
  --blur-heavy:        25px;
  --radius-card:       24px;
  --radius-pill:       9999px;
  --shadow-soft:       0 10px 40px rgba(0,0,0,0.05);
  --shadow-deep:       0 20px 60px rgba(0,0,0,0.12);

  /* ============================================
     AIRSON FLUID TYPE SCALE (Section 16.3)
     ============================================ */
  --text-display-lg:  clamp(36px, 6vw + 1rem, 88px);
  --text-display-md:  clamp(28px, 4vw + 1rem, 60px);
  --text-display-sm:  clamp(22px, 3vw + 0.5rem, 44px);
  --text-headline-lg: clamp(20px, 2.5vw, 32px);
  --text-body-lg:     clamp(15px, 1.2vw, 18px);
  --text-body-md:     clamp(14px, 1vw, 16px);
  --text-label-lg:    clamp(12px, 0.9vw, 14px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-base-bg, #FFF8EE);
    /* NEW: High-end Grid Background Pattern (Section 3.6) */
    background-image:
        linear-gradient(rgba(242, 92, 5, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 92, 5, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    color: var(--color-text-primary, #0F172A);
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    
    /* Safe Area Awareness (Section 16.2) */
    padding-top:    env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left:   env(safe-area-inset-left);
    padding-right:  env(safe-area-inset-right);
}

/* Pattern Overlay Animation for Footer & Special Sections */
.pattern-animated {
    position: relative;
    overflow: hidden;
}
.pattern-animated::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background-image: radial-gradient(circle, rgba(0, 122, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: rotatePattern 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes rotatePattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animated Floating Navbar */
.navbar-aether {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-radius: 20px !important;
    margin-top: 10px !important;
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.1);
}

/* --- Active Link Gradient (v40) --- */
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--airson-primary), #D44E00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900 !important;
    letter-spacing: -0.5px;
    position: relative;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--airson-primary);
    border-radius: 10px;
    animation: underlineGrow 0.3s ease forwards;
}
@keyframes underlineGrow {
    from { width: 0; left: 50%; }
    to { width: 100%; left: 0; }
}
@media (max-width: 991px) {
    .navbar-nav .nav-link.active {
        background: rgba(242, 92, 5, 0.1) !important;
        -webkit-text-fill-color: var(--airson-primary) !important;
        border-left: 4px solid var(--airson-primary);
    }
}

/* --- New Concept Trust Bar: 3D Depth Grid --- */
.trust-3d-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    perspective: 1000px;
}
.trust-logo-3d {
    background: #fff;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: rotateX(10deg) rotateY(-10deg);
}
.trust-logo-3d:hover {
    transform: rotateX(0deg) rotateY(0deg) translateZ(20px);
    box-shadow: 0 20px 40px rgba(242,92,5,0.1);
    border-color: var(--airson-primary);
}

/* Glassmorphism Containers */
.glass-container {
    background: var(--color-surface-glass);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-container:hover {
    background: var(--color-surface-hover);
    box-shadow: var(--shadow-deep);
    transform: translateY(-5px);
}

/* Typography Helpers */
.text-secondary {
    color: var(--color-text-secondary);
}

/* Accent Buttons */
.btn-primary {
    background: var(--color-primary-sf-blue);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 122, 255, 0.4);
}

/* ============================================
   BOTTOM NAVIGATION (Section 16.2 Spec)
   ============================================ */
.airson-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(15, 17, 19, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 599px) {
    .airson-bottom-nav { display: flex; }
    .site-main { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
    color: var(--airson-text-muted, #6B7280);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.bnav-item .material-symbols-outlined {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.bnav-item.active {
    color: var(--airson-primary, #F25C05);
}

.bnav-item.active .material-symbols-outlined {
    transform: scale(1.15);
}

/* ─── Bottom Nav Sub-Menu Popup ─── */
.bnav-submenu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 22, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.25);
    z-index: 1001;
    margin-bottom: 8px;
}

.bnav-submenu::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(20, 22, 25, 0.98);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-50%) rotate(45deg);
}

.bnav-item.bnav-expanded .bnav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.bnav-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bnav-submenu-link:hover,
.bnav-submenu-link:active {
    background: rgba(242, 92, 5, 0.15);
    color: var(--airson-primary, #F25C05);
}

.bnav-submenu-link .material-symbols-outlined {
    font-size: 18px;
    color: var(--airson-primary, #F25C05);
}

/* Bottom nav overlay to close sub-menus */
.bnav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: transparent;
    display: none;
}
.bnav-overlay.active {
    display: block;
}

/* ============================================
   MD3 ELEVATION SCALE (Section 03 Spec)
   ============================================ */
:root {
  --elevation-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --elevation-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  --elevation-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  --elevation-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  --elevation-5: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

/* ============================================
   MOBILE & IPAD STANDARDS (Module 03)
   ============================================ */
@media (max-width: 1024px) {
    .floating-bubble { display: none !important; }
}
@media (pointer: coarse) {
    #heroParticles { display: none !important; }
    /* Safari Mobile 100vh fix usage */
    .hero-view-height { height: calc(var(--vh, 1vh) * 100) !important; }
}

/* MD3 Interaction: Pressed States & Ripple Logic (Foundation) */
.btn-dark, .btn-primary, .nav-link {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark:active, .btn-primary:active {
    transform: scale(0.96) !important;
    filter: brightness(0.9);
}

/* Material Design 3 Elevation Elevation transitions */
.tech-slide-card:hover { transform: translateY(-8px); box-shadow: var(--elevation-2) !important; }
/* ============================================
   HERO LOGIC COMPONENT (Module 02.4)
   ============================================ */
.hero-logic .layer-node { transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; }
.hero-logic .layer-node:hover { transform: rotateY(0deg) rotateX(0deg) translateZ(100px) !important; border-color: var(--airson-primary) !important; box-shadow: var(--elevation-5) !important; z-index: 10 !important; }

@keyframes floatDataNode { 
    0%, 100% { transform: rotateY(-25deg) rotateX(15deg) translateY(0); } 
    50% { transform: rotateY(-25deg) rotateX(15deg) translateY(-30px); } 
}
.floating-1 { animation: floatDataNode 7s infinite ease-in-out; }
.floating-2 { animation: floatDataNode 7s infinite ease-in-out 1.5s; }
.floating-3 { animation: floatDataNode 7s infinite ease-in-out 3s; }

@keyframes floatAnnotation { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
.floating-4 { animation: floatAnnotation 4s infinite ease-in-out; }

.hero-logic .btn-dark { background: #121214; border: none; }
.hero-logic .btn-dark:hover { background: var(--airson-primary); transform: translateY(-5px); }

@keyframes scrollTech { 0% { transform: translateX(0); } 100% { transform: translateX(-25%); } }
.marquee-content { animation: scrollTech 40s linear infinite; }
.marquee-content:hover { animation-play-state: paused; }

.tech-slide-card { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; border-radius: 0 !important; }
.tech-slide-card:hover { transform: translateY(-8px); box-shadow: var(--elevation-2) !important; }

@keyframes gradientPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   SERVICE PAGE DESIGN SYSTEM (v38 Spec)
   ============================================ */

/* Warm Light Pattern Background */
.airson-pattern-bg {
    background-color: var(--color-base-bg, #FFF8EE);
    background-image:
        linear-gradient(rgba(242, 92, 5, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 92, 5, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Deep Warm Pattern Background (replaces pure black) */
.airson-dark-pattern-bg {
    background-color: #1C1208;
    background-image:
        radial-gradient(rgba(242, 92, 5, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    color: #ffffff;
}

/* Service Page Hero */
.service-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #FFF8EE 0%, #FFF0E0 40%, rgba(242,92,5,0.08) 100%);
}
.service-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(242, 92, 5, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 92, 5, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Service Cards */
.service-feature-card {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(242, 92, 5, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}
.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(242, 92, 5, 0.1);
    border-color: rgba(242, 92, 5, 0.2);
}

/* Process Step */
.process-step {
    position: relative;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.process-step:hover { border-color: var(--airson-primary); }
.process-step-number {
    width: 48px; height: 48px;
    background: var(--airson-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FAQ Accordion */
.service-faq .accordion-item { border: 1px solid rgba(0,0,0,0.06); margin-bottom: 0.75rem; }
.service-faq .accordion-button { font-weight: 700; font-size: 1.05rem; background: #ffffff; color: var(--airson-text-primary); }
.service-faq .accordion-button:not(.collapsed) { background: rgba(242,92,5,0.04); color: var(--airson-primary); box-shadow: none; }
.service-faq .accordion-button:focus { box-shadow: none; }

/* CTA Banner Section */
.service-cta-section {
    background: linear-gradient(135deg, var(--airson-primary) 0%, #D44E00 100%);
    position: relative;
    overflow: hidden;
}
.service-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ============================================
   AIRSON RESPONSIVE NAVIGATION (v37.5 Spec)
   ============================================ */

/* 1. DESKTOP NAVIGATION (992px+) */
@media (min-width: 992px) {
    .mega-menu-panel {
        position: absolute !important;
        top: calc(100% + 15px) !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        width: 90vw !important;
        max-width: 1100px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        box-shadow: var(--shadow-deep) !important;
        border-radius: 24px !important;
        padding: 0 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: block !important;
        z-index: 1050;
    }

    .mega-menu-static.show .mega-menu-panel,
    .mega-menu-panel.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) !important;
    }

    .mobile-accordion-panel, .d-lg-none {
        display: none !important;
    }

    .dropdown-toggle::after {
        display: none !important; /* Unified MD3 Look */
    }
}

/* 2. MOBILE & TABLET NAVIGATION (Below 992px) — RIGHT-TO-LEFT SLIDE */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 320px;
        height: 100vh;
        background: #ffffff;
        z-index: 2050; /* Above overlay */
        display: flex !important;
        flex-direction: column;
        padding: 85px 20px 40px;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.08);
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }

    .nav-overlay {
        position: fixed;
        top: 0; left: 0; bottom: 0; right: 0;
        background: rgba(0,0,0,0.45);
        backdrop-filter: blur(2px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Flutter-Pretty Unified Toggle */
    .navbar-nav .nav-link {
        padding: 12px 18px !important;
        margin-bottom: 10px;
        border-radius: 16px; 
        background: rgba(242, 92, 5, 0.05);
        display: flex !important;
        align-items: center !important;
        justify-content: start !important;
        gap: 14px;
        font-weight: 700;
        font-size: 1rem !important; /* FIXED DEVICE-WISE FONT */
        color: var(--airson-text-primary) !important;
        min-height: 48px;
        border: 1px solid rgba(242, 92, 5, 0.1);
        text-align: left !important;
    }

    .navbar-nav .nav-link .material-symbols-outlined {
        font-size: 20px;
        min-width: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--airson-primary);
    }

    /* Accordion Hierarchy */
    .mobile-accordion-panel {
        padding-left: 20px;
        margin-top: -5px;
        margin-bottom: 5px;
        border-left: 2.5px solid rgba(242, 92, 5, 0.08);
        display: none;
    }
    
    .mobile-l2-accordion {
        padding-left: 28px;
        border-left: 1.5px dashed rgba(242, 92, 5, 0.1);
        margin-bottom: 10px;
        display: none;
    }
    
    .mobile-accordion-panel.show, .mobile-l2-accordion.show {
        display: block;
        animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideDownFade {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nested-pill {
        padding: 10px 14px !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.95rem !important;
        color: var(--airson-text-secondary) !important;
        min-height: 44px !important;
    }

    /* Hide Desktop Panels on Mobile */
    .mega-menu-panel {
        display: none !important;
    }
}

/* 3. UNIVERSAL UI COMPONENTS */
.mobile-close-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: var(--airson-primary);
    box-shadow: var(--elevation-1);
    z-index: 2100;
    border: none;
    cursor: pointer;
}

.btn-login-nav {
    font-size: 0.85rem !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background: #fafafa !important;
    color: var(--airson-text-primary) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    min-height: 40px !important;
}

.btn-login-nav:hover {
    background: var(--airson-primary) !important;
    color: #ffffff !important;
    border-color: var(--airson-primary) !important;
    transform: translateY(-2px);
}

/* 4. PREMIUM SOFTWARE HOVER STATES (v4.0) */
.table-hover tbody tr:hover * {
    background-color: rgba(242, 92, 5, 0.04) !important;
    color: var(--airson-text-primary) !important;
}
.btn-primary:hover, .btn-dark:hover {
    box-shadow: 0 10px 20px rgba(242, 92, 5, 0.3) !important;
    transform: translateY(-2px);
}
.btn-outline-primary:hover, .btn-outline-dark:hover {
    background-color: var(--airson-primary) !important;
    color: #fff !important;
    border-color: var(--airson-primary) !important;
    box-shadow: 0 10px 20px rgba(242, 92, 5, 0.2) !important;
    transform: translateY(-2px);
}
.transform-scale-up {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.transform-scale-up:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: var(--elevation-5) !important;
    border-color: rgba(242, 92, 5, 0.4) !important;
}

/* ============================================
   APPLE STYLE CURSOR & CLICK EVENT
   ============================================ */
body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='shadow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='1.5' flood-color='rgba(0,0,0,0.4)'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23shadow)' fill='%231d1d1f' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round' d='M8,4 L8,24 L12.5,18.5 L19.5,18.5 Z'/%3E%3C/svg%3E"), auto !important;
}

.apple-click-ring {
    position: fixed;
    border: 2px solid rgba(29, 29, 31, 0.5);
    background-color: rgba(29, 29, 31, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 9999999;
    animation: appleRipple 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleRipple {
    0% {
        width: 0px;
        height: 0px;
        opacity: 1;
    }
    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
        border-width: 0.5px;
    }
}

/* ============================================
   CLS PREVENTION — Reserve space for late-loading sections
   ============================================ */
#globalFootprint {
    min-height: 520px;
    contain: layout;
}

/* Flag images in globalFootprint — explicit dimensions prevent CLS */
#globalFootprint img {
    width: auto;
    height: auto;
    display: inline-block;
}

/* ============================================
   LAZY LOADING IMAGE STYLES
   ============================================ */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ============================================ */

/* ─── Small Mobile (375px and below) ─── */
@media (max-width: 375px) {
    .display-1, .display-2, .display-3 { font-size: 2rem !important; }
    .display-4, .display-5 { font-size: 1.5rem !important; }
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-professional { padding: 100px 0 40px !important; min-height: 70vh !important; }
    .hero-slider-wrapper { transform: none !important; }
    .heroSwiper { height: 280px !important; }
}

/* ─── Mobile (up to 576px) ─── */
@media (max-width: 576px) {
    .display-1, .display-2, .display-3 { font-size: 2.2rem !important; letter-spacing: -1px !important; }
    .display-4, .display-5 { font-size: 1.6rem !important; }
    
    /* Hero Section */
    .hero-professional { 
        padding: 100px 0 50px !important; 
        min-height: auto !important; 
    }
    .hero-slider-wrapper { 
        transform: none !important; 
    }
    .heroSwiper { height: 300px !important; }
    
    /* Stats Section */
    .col-md-3.border-end { border-right: none !important; border-bottom: 1px solid #eee; }
    
    /* Footer */
    .footer .d-flex.justify-content-between { 
        flex-direction: column !important; 
        gap: 12px; 
        text-align: center; 
    }
    .footer .d-flex.gap-3 { 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    
    /* Global Footprint */
    #globalFootprint { min-height: auto; }
    #globalFootprint .row.g-4 .col-lg-4 { margin-bottom: 0; }
    
    /* Service Cards */
    .p-5 { padding: 1.5rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    
    /* Back to top — avoid overlap with bottom nav */
    #backToTop { bottom: 80px !important; }
}

/* ─── Tablet Portrait (577px – 768px) ─── */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-slider-wrapper { transform: none !important; }
    .heroSwiper { height: 380px !important; }
    .display-3 { font-size: 2.5rem !important; }
}

/* ─── Tablet Landscape (769px – 1024px) ─── */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider-wrapper { 
        transform: perspective(1000px) rotateY(-4deg) scale(0.97) !important; 
    }
    .heroSwiper { height: 450px !important; }
}

/* ─── Footer responsive ─── */
@media (max-width: 767px) {
    .footer .row.g-4 > div { margin-bottom: 1.5rem; }
    .footer .d-flex.justify-content-between {
        flex-direction: column;
        align-items: center !important;
        gap: 10px;
        text-align: center;
    }
}

/* ─── Print Styles ─── */
@media print {
    .airson-bottom-nav,
    #preloader,
    #backToTop,
    #whatsapp-cta-float,
    #whatsapp-tooltip,
    .navbar { display: none !important; }
    body { background: white !important; }
}
