/* ==========================================
   NUEERA - PREMIUM LOGO-ALIGNED DESIGN
   Dark & Light Theme System
   ========================================== */

:root {
    /* ==========================================
       NEW THEME SYSTEM
       ========================================== */
    
    /* Light Theme (Default) */
    --bg-main: #FFFFFF;
    --bg-secondary: #F7F9FC;
    --bg-glass: rgba(0,0,0,0.04);

    --blue-primary: #1F6AFF;
    --blue-soft: #6EA0FF;
    --blue-glow: rgba(31,106,255,0.35);

    --orange-primary: #FF9A1F;
    --orange-soft: #FFBE6A;
    --orange-glow: rgba(255,154,31,0.35);

    --core-gold: #FFD166;
    --core-light: rgba(255,209,102,0.6);

    --text-primary: #0B0F14;
    --text-secondary: #333b45;;
    --text-muted: #6B7280;

    --border-soft: rgba(0,0,0,0.08);
    --border-active: rgba(31,106,255,0.35);

    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 14px 40px rgba(0,0,0,0.12);

    /* Effect Styles (Glows) */
    --effect-glow-blue: 0 0 40px rgba(31,106,255,0.35);
    --effect-glow-orange: 0 0 40px rgba(255,154,31,0.35);
    --effect-glow-core: 0 0 60px rgba(255,209,102,0.6);

    /* Component Specific Tokens */
    --bg-navbar: rgba(255, 255, 255, 0.7);
    --bg-mobile-btn: rgba(0, 0, 0, 0.05);
    --border-mobile-btn: rgba(0, 0, 0, 0.1);

    /* ==========================================
       LEGACY MAPPING (Bridges new theme to existing CSS)
       ========================================== */
    --bg-primary: var(--bg-main);
    --bg-tertiary: #F0F2F5;
    
    --accent-blue: var(--blue-primary);
    --accent-blue-dark: #104099;
    --accent-blue-light: var(--blue-soft);
    
    --accent-orange: var(--orange-primary);
    --accent-orange-light: var(--orange-soft);
    --accent-orange-dark: #cc7a18;
    
    --glow-blue: var(--blue-glow);
    --glow-orange: var(--orange-glow);
    
    --text-tertiary: var(--text-muted);
    
    --border-color: var(--border-soft);
    --border-light: var(--border-active);
    
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: var(--border-soft);
    
    /* ==========================================
       MOTION TOKENS
       ========================================== */
    --motion-instant: 80ms;
    --motion-fast: 160ms;
    --motion-base: 240ms;
    --motion-slow: 360ms;
    --motion-xslow: 600ms;
    --motion-ambient: 10s;

    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing System (Premium Luxury) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 96px;
    
    /* Transitions */
    --transition: all var(--motion-base) var(--ease-standard);
    --transition-fast: all var(--motion-fast) var(--ease-out);

    /* Glass Shine - Light Theme (Stronger visibility) */
    --glass-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

/* Dark Theme Override */
[data-theme="dark"] {
    --bg-main: #0B0F14;
    --bg-secondary: #101622;
    --bg-glass: rgba(255,255,255,0.06);

    --blue-primary: #4D8DFF;
    --blue-soft: #78A8FF;
    --blue-glow: rgba(77,141,255,0.45);

    --orange-primary: #FF9A1F;
    --orange-soft: #FFB257;
    --orange-glow: rgba(255,154,31,0.45);

    --text-primary: #FFFFFF;
    --text-secondary: #282b30;
    --text-muted: #8B949E;

    --border-soft: rgba(255,255,255,0.08);
    --border-active: rgba(77,141,255,0.45);

    --shadow-soft: 0 12px 40px rgba(0,0,0,0.5);
    
    /* Effect Styles (Glows) - Dark Mode */
    --effect-glow-blue: 0 0 40px rgba(77,141,255,0.45);
    --effect-glow-orange: 0 0 40px rgba(255,154,31,0.45);
    --effect-glow-core: 0 0 60px rgba(255,209,102,0.6);

    /* Component Specific Tokens - Dark */
    --bg-navbar: var(--bg-glass);
    --bg-mobile-btn: rgba(255, 255, 255, 0.05);
    --border-mobile-btn: rgba(255, 255, 255, 0.1);

    /* Glass Shine - Dark Theme (Subtle) */
    --glass-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0), transparent);

    /* Legacy Mapping for Dark */
    --bg-primary: var(--bg-main);
    --bg-tertiary: #1a233b;
    
    --accent-blue: var(--blue-primary);
    --accent-blue-light: var(--blue-soft);
    
    --accent-orange: var(--orange-primary);
    --accent-orange-light: var(--orange-soft);
    
    --glow-blue: var(--blue-glow);
    --glow-orange: var(--orange-glow);
    
    --text-tertiary: var(--text-muted);
    
    --border-color: var(--border-soft);
    --border-light: var(--border-active);
    
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: var(--border-soft);
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

/* Custom Text Selection */
::selection {
    background: var(--accent-blue);
    color: #ffffff;
    text-shadow: none;
}

::-moz-selection {
    background: var(--accent-blue);
    color: #ffffff;
    text-shadow: none;
}

/* ==========================================
   RESPONSIVE TYPOGRAPHY SCALING
   ========================================== */

/* Desktop (default) */
:root {
    --heading-1: 3.5rem;
    --heading-2: 2.25rem;
    --heading-3: 1.5rem;
    --body-lg: 1.125rem;
    --body-md: 1rem;
    --body-sm: 0.95rem;
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --heading-1: 2.5rem;
        --heading-2: 1.75rem;
        --heading-3: 1.2rem;
        --body-lg: 1.05rem;
        --body-md: 0.95rem;
        --body-sm: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --heading-1: 2rem;
        --heading-2: 1.5rem;
        --heading-3: 1.1rem;
        --body-lg: 1rem;
        --body-md: 0.95rem;
        --body-sm: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --heading-1: 1.5rem;
        --heading-2: 1.2rem;
        --heading-3: 1rem;
        --body-lg: 0.95rem;
        --body-md: 0.9rem;
        --body-sm: 0.8rem;
    }
}
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 6px;
    z-index: 2000;
    z-index: 2002;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Data Flow Background Layer */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 168, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 168, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

.hero-container {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

h1, h2 {
    /* Bolder gradient: Deep Blue -> Vibrant Blue -> Vibrant Orange -> Deep Orange */
    background: linear-gradient(135deg, #0038a8 0%, var(--blue-primary) 35%, var(--orange-primary) 65%, #e65100 100%);
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite alternate;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 1px rgba(0,0,0,0.1));
}

h1:hover, h2:hover {
    animation-duration: 3s;
}

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

h1 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Typography Utilities */
.body-l { font-size: 1.125rem; line-height: 1.6; }
.body-s, small { font-size: 0.875rem; line-height: 1.5; }
.ui-label { font-size: 0.75rem; font-weight: 500; }
.ui-caption { font-size: 0.75rem; font-weight: 400; }

/* ==========================================
   IMAGE & ASSET OPTIMIZATION
   ========================================== */

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

img[src*="logo"] {
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

html[data-theme="light"] img[src*="logo"] {
    filter: brightness(1) contrast(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hero wallpaper optimization */
.hero-background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive images */
picture {
    display: block;
}

picture img {
    width: 100%;
    height: 100%;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-blue-light);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 50%, var(--accent-blue) 100%);
    background-size: 200% auto;
    animation: shimmer 8s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   BUTTONS & CTAs
   ========================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--motion-base) var(--ease-out);
    text-align: center;
    white-space: nowrap;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:active {
    transform: scale(0.96);
    transition: transform var(--motion-instant) var(--ease-out);
}

@keyframes btnPulse {
    0% { box-shadow: 0 8px 24px var(--glow-blue), 0 0 0 0 var(--blue-glow); }
    50% { box-shadow: 0 8px 24px var(--glow-blue), 0 0 0 8px rgba(31, 106, 255, 0); }
    100% { box-shadow: 0 8px 24px var(--glow-blue), 0 0 0 0 rgba(31, 106, 255, 0); }
}


.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: #ffffff;
    box-shadow: 0 8px 24px var(--glow-blue);
    animation: btnPulse 3s infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}
/* Magnetic Button Base Transition */
.btn-primary { transition: transform var(--motion-fast) linear, box-shadow var(--motion-base) var(--ease-out), background var(--motion-base) var(--ease-out); will-change: transform; }

@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 36px var(--glow-blue);
        animation: none;
    }
    .btn-primary:hover::before {
        left: 100%;
    }
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--blue-primary);
    color: var(--blue-primary);
}

@media (hover: hover) {
    .btn-secondary:hover {
        background: var(--glow-orange);
        transform: translateY(-2px);
    }
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

@media (hover: hover) {
    .btn-ghost:hover {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2001;
    background: rgba(255,255,255,0.2);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
    padding: 0 32px;
    display: flex;
    align-items: center;
    transition: background var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), padding var(--motion-fast) var(--ease-standard);
}

[data-theme="dark"] .navbar {
    background: rgba(10,14,39,0.45);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
}

.nav-left { justify-self: start; display: flex; align-items: center; gap: 1rem; }
.nav-center { justify-self: center; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.logo {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(0, 168, 255, 0.2));
}

.logo-icon {
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    transition: var(--transition);
    position: relative;
    box-shadow: none;
}

.logo-icon img {
    width: auto;
    height: 200%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 168, 255, 0.15));
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.logo:hover .logo-icon {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: scale(1.05);
}

.logo span {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    transition: color var(--motion-fast) var(--ease-out);
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: transparent;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
}

.nav-links a.active {
    text-shadow: 0 0 10px var(--effect-glow-blue);
}

.nav-links a.active::after {
    box-shadow: 0 0 12px var(--effect-glow-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    box-shadow: 0 0 8px var(--effect-glow-blue);
    transition: width var(--motion-fast) var(--ease-out);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Navbar scrolled (glassmorphic) */

/* Theme toggle and CTA */
.nav-right .theme-toggle { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--bg-glass); 
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}
.nav-right .theme-toggle:hover { 
    background: var(--bg-tertiary); 
    color: var(--accent-blue); 
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.2);
}
.nav-right .theme-toggle:active { transform: scale(0.92); }

.nav-right .btn-primary.nav-cta-btn { 
    height: auto; 
    padding: 12px 20px; 
    border-radius: 10px; 
    background: linear-gradient(135deg, var(--orange-primary), var(--core-gold));
    color: #0B0F14;
    font-size: 0.95rem;
    box-shadow: none;
}
.nav-right .btn-primary.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--orange-glow);
}

/* Mobile hamburger button */
.mobile-menu-btn { display:none; background: rgba(255,255,255,0.03); border-radius: 10px; padding:10px; border:1px solid transparent; }
.mobile-menu-btn { display:none; background: var(--bg-mobile-btn); border-radius: 10px; padding:10px; border:1px solid transparent; }
.mobile-menu-btn span { display:block; width:20px; height:2px; background:var(--accent-blue); margin:4px 0; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity:0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* darker glass for contrast */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 2005;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    /* faint circuit grid pattern */
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-inner { 
    width: 80vw; 
    max-width: 360px;
    height: 100%; 
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    padding: 2.5rem 1.5rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.open .mobile-menu-inner {
    transform: translateX(0);
}
.mobile-menu-top { 
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    z-index: 10;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
    background: #333;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-nav-links { 
    list-style:none; 
    padding:0; 
    margin:0; 
    display:flex; 
    flex-direction:column; 
    gap: 1.4rem; /* tighter spacing */
    align-items: flex-start;
    overflow-y: auto; 
    max-height: 80vh;
}

.mobile-nav-links a { 
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0.2rem 0 0.2rem 1.2rem;
    letter-spacing: -0.02em;
    position: relative;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-orange));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a:focus, 
.mobile-nav-links a.active { 
    color: transparent; 
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(0,168,255,0.5);
}

.mobile-nav-links a:hover::before, .mobile-nav-links a:focus::before, .mobile-nav-links a.active::before {
    height: 60%;
}

.mobile-nav-links a.active {
    text-shadow: 0 0 12px var(--effect-glow-blue);
}

.mobile-menu-footer { 
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}
.btn-block { display:block; width:100%; }

/* Stagger animation for mobile links */
.mobile-nav-links li { 
    opacity:0; 
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-emphasis), transform 0.5s var(--ease-emphasis); 
}
.mobile-menu-overlay.open .mobile-nav-links li { 
    opacity:1; 
    transform: translateY(0); 
}

/* Prevent background scroll when mobile menu open */
.lock-scroll { overflow: hidden; height: 100%; }

.nav-cta {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.theme-toggle:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.theme-toggle svg {
    animation: themeIconAnim 0.5s var(--ease-emphasis);
}

@keyframes themeIconAnim {
    0% { transform: rotate(-90deg) scale(0.5); opacity: 0; }
    100% { transform: rotate(0) scale(1); opacity: 1; }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    background: var(--bg-mobile-btn);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-mobile-btn);
    border-radius: 12px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    padding: 0;
    gap: 0;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    background: var(--bg-tertiary);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.15);
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: var(--transition);
    margin: 3px 0;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 85vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem 6rem;
    background-color: var(--bg-primary);
    width: 100%;
    box-sizing: border-box;
}

/* Hero Layout Grid */
.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Darkened overlay for improved contrast */
    background: transparent;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 168, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url('../assets/images/home.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-background::before {
    display: none;
}

.hero-background::after {
    display: none;
}

/* Mobile: disable fixed background for better performance */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    z-index: 1;
    will-change: transform, opacity;
}

.glow-orb-blue {
    width: 500px;
    height: 500px;
    background: var(--glow-blue);
    top: 10%;
    left: 5%;
    animation: floatSlow var(--motion-ambient) ease-in-out infinite, breathe var(--motion-ambient) ease-in-out infinite;
}

.glow-orb-orange {
    width: 600px;
    height: 600px;
    background: var(--core-gold);
    filter: blur(120px);
    opacity: 0.35;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: breathe var(--motion-ambient) ease-in-out infinite;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 168, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}

/* ==========================================
   PREMIUM GLASS MORPHISM CARDS SLIDER
   ========================================== */

.hero-cards-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 3;
    pointer-events: auto;
    flex-wrap: wrap;
}

.slider-card {
    width: 140px;
    height: 140px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all var(--motion-xslow) var(--ease-emphasis);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    animation: slideInUp var(--motion-xslow) var(--ease-out) forwards;
    opacity: 0;
}

.slider-card-1 { animation-delay: 0.1s; }
.slider-card-2 { animation-delay: 0.2s; }
.slider-card-3 { animation-delay: 0.3s; }
.slider-card-4 { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-card:hover {
    /* No scaling — subtle lift and glow only */
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-active);
    box-shadow: var(--shadow-hover), var(--effect-glow-blue);
    transform: translateY(-8px);
    opacity: 1;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .slider-card:hover { transform: none; box-shadow: var(--shadow-soft); }
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    will-change: transform, opacity;
    animation: orbits 8s linear infinite;
}

@keyframes orbits {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Reveal utility: only uses transform & opacity for performant animations */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
    will-change: transform, opacity;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero background image optimized for performance */
.hero-background { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg-img { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; object-position: center; transform: translateZ(0); will-change: transform; }

/* Mobile responsive hero background fixes */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll; /* Fixed attachment doesn't work well on mobile */
    }
    .hero-bg-img {
        top: 0; /* Remove negative offset on mobile */
        height: 100%; /* Fit within viewport */
        object-position: center top; /* Better positioning for mobile screens */
    }
    .glow-orb { filter: blur(18px); opacity: 0.22; }
    .card-glow { filter: blur(10px); }
    .navbar.scrolled { box-shadow: 0 6px 18px rgba(2,6,23,0.18); }
}

@media (max-width: 480px) {
    .hero-bg-img {
        object-position: center center; /* Center the image on very small screens */
    }
    .glow-orb { display: none; }
    .card-glow { display: none; }
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.card-content i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(0, 168, 255, 0.2));
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.5px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-primary);
    display: block;
    text-decoration: underline;
    text-decoration-color: var(--orange-primary);
    text-decoration-thickness: 4px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    /* page-load animation controlled via `body.hero-animated` */
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color:#ffffff;;
    margin-bottom: 2rem;
    line-height: 1.7;
    /* page-load animation controlled via `body.hero-animated` */
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    /* page-load animation controlled via `body.hero-animated` */
    width: 100%;
    max-width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all var(--motion-base) var(--ease-out);
}

.hero-buttons .btn i {
    transition: transform 0.4s ease;
    font-size: 0.9rem;
}

.hero-buttons .btn:hover i {
    transform: translateX(4px);
}

/* ==========================================
   PREMIUM HERO SECTION - ENHANCED DESIGN
   ========================================== */

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.12), rgba(255, 154, 31, 0.12)) !important;
    border: 1px solid rgba(31, 106, 255, 0.3) !important;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-shine {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff;
    animation: shine 2s ease-in-out infinite;
}

.premium-title {
    font-size: clamp(2.5rem, 6.5vw, 4.5rem) !important;
    color: #ffffff;;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.8px;
}

.gradient-future-large {
           background: linear-gradient(135deg, #1f6aff 0%, #ffffff 40%, #fffefc 80%, #f2a036 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 4s ease infinite;
}

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

.premium-subtitle {
    font-size: 1.2rem !important;
    color: var(--text-secondary);
    margin-bottom: 2.5rem !important;
    line-height: 1.8;
    max-width: 550px;
    font-weight: 400;
}

/* Enhanced Buttons */
.premium-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    width: 100%;
}

.premium-cta {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 2.5rem !important;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 30px rgba(31, 106, 255, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.premium-cta:hover::before {
    left: 100%;
}

.premium-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(31, 106, 255, 0.5) !important;
}

.btn-arrow {
    display: inline-flex;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-cta:hover .btn-arrow {
    transform: translateX(5px);
}

.premium-secondary {
    background: transparent !important;
    border: 2px solid rgba(162, 162, 162, 0.3) !important;
    color:#ffffff !important;;
    padding: 0.9rem 2rem !important;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-secondary:hover {
    background: rgba(31, 106, 255, 0.08) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.2) !important;
}

/* Hero Metrics Section */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(31, 106, 255, 0.15);
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
}

.metric-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(152deg, #ffffff, #f8feff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.metric-label {
    font-size: 0.85rem;
    color:#ffffff;;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(31, 106, 255, 0.2);
    display: none;
}

/* Premium Visual Section */
.premium-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-visual-container.enhanced {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 106, 255, 0.3);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all var(--motion-base) var(--ease-standard);
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 106, 255, 0.6);
    box-shadow: 0 15px 50px rgba(31, 106, 255, 0.2);
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.card-text p {
    margin: 0;
    line-height: 1.4;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white !important;
}

.card-desc {
    font-size: 0.8rem;
    color: white !important;
}

/* Floating Card Positions */
.floating-card-1 {
    top: 20%;
    right: 10%;
    width: 280px;
}

.floating-card-2 {
    bottom: 25%;
    left: 5%;
    width: 280px;
}

.floating-card-3 {
    bottom: 10%;
    right: 5%;
    width: 280px;
}

/* Floating Animations */
@keyframes float-up {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

@keyframes float-up-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animated-float {
    animation: float-up 3.5s ease-in-out infinite;
}

.animated-float-delayed {
    animation: float-up-delayed 3.5s ease-in-out infinite 0.3s;
}

/* Hero Visual Center Elements */
.hero-visual-center {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-core {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(31, 106, 255, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.2);
    animation: pulse-core 3s ease-in-out infinite;
}

@keyframes pulse-core {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(31, 106, 255, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(31, 106, 255, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.3); }
}

.visual-ring {
    position: absolute;
    border: 2px solid rgba(31, 106, 255, 0.2);
    border-radius: 50%;
    animation: rotate-ring linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(31, 106, 255, 0.25);
    animation-duration: 8s;
}

.ring-2 {
    width: 260px;
    height: 260px;
    border-color: rgba(255, 154, 31, 0.15);
    animation-duration: 12s;
    animation-direction: reverse;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    border-radius: 50%;
    animation: pulse-wave 2s ease-out infinite;
}

@keyframes pulse-wave {
    0% { 
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% { 
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Hero Stats Section */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* page-load animation controlled via `body.hero-animated` */
    width: 100%;
    max-width: 100%;
    text-align: left;
}

/* Page-load friendly keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeLift12 {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Disable hero glow and particle visuals for the hero (per motion spec) */
.hero .glow-orb,
.hero canvas#hero-particles,
.hero canvas {
    display: none !important;
}

/* Hero page-load animation states (triggered by adding `hero-animated` on body) */
.hero-title, .hero-subtitle, .hero-badge, .hero-buttons, .hero-stats {
    opacity: 0; transform: translateY(12px); will-change: transform, opacity;
}

body.hero-animated .hero-title {
    animation: fadeLift12 700ms var(--ease-emphasis) 0ms both;
}

body.hero-animated .hero-subtitle {
    animation: fadeIn 500ms var(--ease-emphasis) 120ms both;
    transform: none;
}

body.hero-animated .hero-badge {
    animation: fadeIn 400ms var(--ease-emphasis) 200ms both;
}

body.hero-animated .hero-buttons {
    animation: fadeIn 400ms var(--ease-emphasis) 280ms both;
}

/* Hero stats appear together with a single fade */
body.hero-animated .hero-stats {
    animation: fadeIn 300ms var(--ease-emphasis) 320ms both;
}

/* Reduced motion: reveal immediately */
@media (prefers-reduced-motion: reduce) {
    .hero-title, .hero-subtitle, .hero-badge, .hero-buttons, .hero-stats { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Generic reveal/in-view defaults used by ScrollAnimations */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity var(--motion-slow) var(--ease-emphasis), transform var(--motion-slow) var(--ease-emphasis); }

/* Service cards & process steps use the same reveal rules; stagger handled in JS */
.service-card.reveal, .process-step.reveal { opacity: 0; transform: translateY(12px); }
.service-card.reveal.in-view, .process-step.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity var(--motion-slow) var(--ease-emphasis), transform var(--motion-slow) var(--ease-emphasis); }

/* Testimonials: simple fade */
.testimonial-card.reveal { opacity: 0; transform: none; }
.testimonial-card.reveal.in-view { opacity: 1; transition: opacity var(--motion-slow) var(--ease-emphasis); }

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero stats heading and trusted line */
.hero-stats .stat-heading {
    grid-column: 1 / -1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    text-align: left;
}

.hero-stats .stat-trusted {
    grid-column: 1 / -1;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin-top: 0.8rem;
    text-align: left;
}

/* Hero Visual Elements */
.hero-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--motion-base) var(--ease-emphasis);
}

.hero-main-image:hover {
    transform: scale(1.05);
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.floating-3 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.floating-icon {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--motion-base) var(--ease-emphasis);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-active);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--effect-glow-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   WELCOME SECTION - FUTURISTIC DESIGN
   ========================================== */

.welcome-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(31, 106, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 154, 31, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.1), rgba(255, 154, 31, 0.1));
    border: 1px solid rgba(31, 106, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(31, 106, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(31, 106, 255, 0.4); }
}

.badge-shine {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff;
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1f6aff, #ff9a1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.welcome-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.gradient-future {
    background: linear-gradient(135deg, #1f6aff 0%, #c7a3a3 50%, #ff9a1f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.welcome-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.welcome-item {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 106, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--motion-base) var(--ease-standard);
    position: relative;
    overflow: hidden;
}

.welcome-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(31, 106, 255, 0.2), transparent);
    border-radius: 50%;
    transition: all var(--motion-base);
}

.welcome-item:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 106, 255, 0.4);
    box-shadow: 0 10px 40px rgba(31, 106, 255, 0.15);
}

.welcome-item:hover::before {
    right: -30%;
    top: -30%;
}

.welcome-item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.3);
}

.gradient-icon-1 { background: linear-gradient(135deg, #1f6aff, #00d4ff); }
.gradient-icon-2 { background: linear-gradient(135deg, #ff9a1f, #ffbe6a); }
.gradient-icon-3 { background: linear-gradient(135deg, #6ea0ff, #00d4ff); }

.welcome-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.welcome-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* ==========================================
   ENHANCED FEATURE CARDS
   ========================================== */

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(31, 106, 255, 0.03) 100%);
    z-index: 0;
}

.feature-card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(31, 106, 255, 0.1) 100%);
    border-radius: 0 20px 0 100px;
    opacity: 0;
    transition: opacity var(--motion-base);
}

.feature-card:hover .feature-card-corner {
    opacity: 1;
}

.feature-icon {
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    position: relative;
    z-index: 2;
}

.feature-card p {
    position: relative;
    z-index: 2;
}

/* Gradient icon variations */
.gradient-icon-blue {
    background: linear-gradient(135deg, #1f6aff, #00d4ff) !important;
    box-shadow: 0 8px 30px rgba(31, 106, 255, 0.4) !important;
}

.gradient-icon-orange {
    background: linear-gradient(135deg, #ff9a1f, #ffbe6a) !important;
    box-shadow: 0 8px 30px rgba(255, 154, 31, 0.4) !important;
}

.gradient-icon-cyan {
    background: linear-gradient(135deg, #00d4ff, #0099ff) !important;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4) !important;
}

.gradient-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4) !important;
}

.gradient-icon-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e) !important;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4) !important;
}

.gradient-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #06b6d4) !important;
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4) !important;
}

/* Section header enhancement */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.1), rgba(255, 154, 31, 0.1));
    border: 1px solid rgba(31, 106, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-content-wrapper {
    animation: fadeInUp var(--motion-slow) var(--ease-out) 0.5s both;
    width: 100%;
    padding: 0 20px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-content-wrapper > * {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.75rem;
}

/* Footer layout and alignment */
.footer {
    background: linear-gradient(180deg, rgba(0,0,0,0.03), transparent);
    padding: 3rem 0 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: var(--text-tertiary);
    position: relative;
    z-index: 10;
}

.footer .container {
    display: block;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem 3rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.footer-section {
    min-width: 0;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-section p.tagline {
    margin: 0.5rem 0 1rem;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.18s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer .social-icons { justify-content: flex-start; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Responsive footer columns */
@media (max-width: 980px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer .social-icons { justify-content: center; }
}

/* ====== Brand motif and CTA microcopy ====== */
.motif-underline {
    height: 4px;
    width: 72px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    opacity: 0.95;
    margin: 0.8rem 0 1.2rem;
}

.glow-ring {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,168,255,0.12), 0 2px 8px rgba(255,149,0,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    vertical-align: middle;
}

.cta-microcopy {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* Intent CTA styles */
.intent-cta { display: inline-flex; flex-direction: column; align-items: flex-start; }
.intent-cta .btn { min-height: 52px; padding: 14px 20px; }

/* Progressive disclosure */
.more-info { max-height: 0; overflow: hidden; transition: max-height 0.36s ease; }
.more-info.open { max-height: 800px; }
.learn-more { background: transparent; border: none; color: var(--accent-blue); cursor: pointer; padding: 0; font-weight: 600; }

/* Mobile-first tap targets and focus */
button, .btn { touch-action: manipulation; }
button:focus, .btn:focus, a:focus { outline: 3px solid rgba(0,168,255,0.12); outline-offset: 2px; }

@media (max-width: 768px) {
    .btn { min-height: 56px; padding: 16px 22px; border-radius: 12px; }
    /* Ensure the hamburger is visible on small screens */
    .mobile-menu-btn { display: flex; width: 48px; height: 48px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-cards-slider, .card-glow { transition: none !important; animation: none !important; }
    .glow-orb { animation: none !important; opacity: 0.15; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    transition: var(--transition);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
    border-color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-tertiary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-blue);
}

/* ==========================================
   FORMS
   ========================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    height: 48px;
    transition: var(--transition);
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
    padding: 14px 16px;
}

.form-group select {
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px var(--glow-blue);
}

/* ==========================================
   PRICING CARDS
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--motion-base) var(--ease-out);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px -10px var(--glow-orange), inset 0 0 20px rgba(255, 149, 0, 0.05);
}

.pricing-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* ==========================================
   BLOG CARDS
   ========================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--motion-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-soft);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-blue);
    position: relative;
    overflow: hidden;
    transition: all var(--motion-base);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(31, 106, 255, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.blog-content {
    position: relative;
    z-index: 2;
}

.blog-category {
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 154, 31, 0.1), rgba(255, 154, 31, 0.05));
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 154, 31, 0.2);
}

.blog-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Testimonials and helper utilities */
.centered { text-align: center; }
.mt-3 { margin-top: 3rem; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-blue);
    padding-left: 1rem;
    color: var(--text-secondary);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.avatar-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.testimonial-person { margin: 0; font-weight: 600; }
.testimonial-title { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

.cta-section .container { text-align: center; }

/* ==========================================
   SECTIONS & GRIDS - BASE STYLES
   ========================================== */

.section {
    padding: 96px 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Smooth Section Blending */
.section + .section {
    border-top: 1px solid transparent;
    position: relative;
}
.section + .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent-blue);
    opacity: 0.15;
}

#who-we-are .section-visual {
    background-image: url('../assets/images/about.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-section {
    padding: 96px 24px;
    width: 100%;
    box-sizing: border-box;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--motion-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: var(--shadow-soft);
}

@keyframes glassShine {
    0% { left: -100%; }
    30% { left: 200%; }
    100% { left: 200%; }
}

/* Glass Sliding Shine Effect */
.service-card::after, .why-item::after, .blog-card::after, .pricing-card::after, .team-card::after, .testimonial-card::after, .slider-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--glass-shine);
    transform: skewX(-20deg);
    animation: glassShine 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 10;
    pointer-events: none;
}
.service-card:hover::after, .why-item:hover::after, .blog-card:hover::after, .pricing-card:hover::after, .team-card:hover::after, .testimonial-card:hover::after {
    left: 200%;
    transition: 0.7s ease-in-out;
}

/* Disable glass shine on mobile for performance */
@media (max-width: 768px) {
    .service-card::after, .why-item::after, .blog-card::after, .pricing-card::after, .team-card::after, .testimonial-card::after, .slider-card::after {
        display: none;
    }
}

.service-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.why-choose-section {
    padding: 96px 24px;
    width: 100%;
    box-sizing: border-box;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all var(--motion-base) var(--ease-out);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.why-item:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.process-section {
    padding: 96px 24px;
    width: 100%;
    box-sizing: border-box;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    flex: 0 1 auto;
    min-width: 150px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--accent-orange);
    flex: 0 0 auto;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, rgba(255, 149, 0, 0.1) 100%);
    border-radius: 16px;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-feature i {
    color: var(--accent-blue);
}

.cta-main-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: var(--effect-glow-blue);
}

.cta-subtitle {
    margin-bottom: 2rem;
}

/* Enhanced CTA Styling */
.premium-cta-badge {
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.15), rgba(255, 154, 31, 0.15)) !important;
    border: 1px solid rgba(31, 106, 255, 0.3) !important;
    animation: badgePulse 3s ease-in-out infinite;
}

.cta-badge-shine {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff;
    animation: shine 2s ease-in-out infinite;
}

.cta-glow-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(31, 106, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-glow-2 {
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 154, 31, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.cta-main-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.2), rgba(255, 154, 31, 0.2));
    border-radius: 10px;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.pulse-btn {
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(31, 106, 255, 0.4); }
    50% { box-shadow: 0 0 40px rgba(31, 106, 255, 0.6); }
}

.footer-brand-accent {
    color: var(--accent-orange);
}

/* Enhanced Service Card Styling */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(31, 106, 255, 0.05) 100%);
    z-index: 0;
}

.service-card-gradient-1 {
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--bg-glass), var(--bg-glass)), 
                      linear-gradient(135deg, #1f6aff, #00d4ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-card-gradient-2 {
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--bg-glass), var(--bg-glass)), 
                      linear-gradient(135deg, #ff9a1f, #ffbe6a);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-card-gradient-3 {
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--bg-glass), var(--bg-glass)), 
                      linear-gradient(135deg, #a855f7, #ec4899);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-card-gradient-4 {
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--bg-glass), var(--bg-glass)), 
                      linear-gradient(135deg, #00d4ff, #0099ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-card-gradient-5 {
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--bg-glass), var(--bg-glass)), 
                      linear-gradient(135deg, #ec4899, #f43f5e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-icon-blue {
    background: linear-gradient(135deg, #1f6aff, #00d4ff);
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.3);
}

.service-icon-orange {
    background: linear-gradient(135deg, #ff9a1f, #ffbe6a);
    box-shadow: 0 8px 25px rgba(255, 154, 31, 0.3);
}

.service-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.service-icon-cyan {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.service-icon-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.footer-brand-accent {
    color: var(--accent-orange);
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: var(--bg-glass);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.05), transparent);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.05), transparent);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
}

/* ==========================================
   ACCESSIBILITY & PERFORMANCE
   ========================================== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content { 
        align-items: center; 
        text-align: center;
    }
    
    .premium-buttons { 
        justify-content: center; 
    }

    .hero-buttons { 
        justify-content: center; 
    }
    
    .hero-stats { 
        text-align: center;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-metrics {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
        flex-wrap: wrap;
    }

    .metric-divider {
        display: none !important;
    }

    .metric-item {
        flex: 0 1 auto;
        min-width: auto;
        padding: 0 1rem;
    }
    
    .hero-visual { 
        display: flex;
        min-height: 420px;
        align-items: center;
        justify-content: center;
    }

    .premium-visual {
        display: flex;
        min-height: 420px;
        align-items: center;
        justify-content: center;
    }

    .hero-visual-container.enhanced {
        position: relative;
        width: 100%;
        max-width: 500px;
        height: 420px;
    }

    .floating-card {
        position: absolute;
        width: 220px;
    }

    .floating-card-1 {
        top: 10%;
        right: 5%;
        width: 220px;
    }

    .floating-card-2 {
        bottom: 20%;
        left: 0%;
        width: 220px;
    }

    .floating-card-3 {
        bottom: 5%;
        right: 5%;
        width: 220px;
    }

    .hero-visual-center {
        width: 280px;
        height: 280px;
    }

    .visual-core {
        width: 100px;
        height: 100px;
    }

    .ring-1 {
        width: 170px;
        height: 170px;
    }

    .ring-2 {
        width: 230px;
        height: 230px;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }

    .premium-title {
        font-size: 2.5rem !important;
    }

    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .premium-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 60px 20px;
    }

    .nav-links {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Navigation */
    .navbar { 
        height: 60px;
        padding: 0 1rem;
    }

    .logo {
        gap: 0.4rem;
        font-size: 1rem;
    }

    .logo-icon {
        width: auto;
        height: 40px;
    }

    .nav-links {
        display: none !important;
    }
    
    .nav-center {
        display: none;
    }

    .nav-right {
        display: flex;
        gap: 0.5rem;
        order: 2;
    }

    .nav-right .btn {
        display: none;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-left { order: 1; }
    .mobile-menu-btn { 
        order: 2; 
        margin-left: auto;
        display: flex !important;
    }

    /* Mobile Menu */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
    }

    .mobile-theme-toggle .theme-toggle {
        width: 100%;
        border-radius: 10px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 4rem 1rem 3rem;
    }

    .hero-background {
        background-attachment: scroll;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .premium-title {
        font-size: 1.8rem !important;
    }

    .hero-title {
        font-size: 1.65rem;
        letter-spacing: -0.5px;
    }

    .premium-subtitle {
        font-size: 1rem !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .premium-badge {
        font-size: 0.8rem !important;
        padding: 0.7rem 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 16px;
        margin-bottom: 1.5rem;
    }

    .premium-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .premium-cta,
    .premium-secondary {
        width: 100%;
        padding: 1rem 1.5rem !important;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .metric-item {
        padding: 0.5rem 0;
    }

    .metric-value {
        font-size: 1.75rem;
    }

    .metric-label {
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 1.2rem;
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-stats .stat-heading,
    .hero-stats .stat-trusted {
        grid-column: 1 / -1;
    }

    /* Premium Visual Mobile */
    .premium-visual {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-visual-container.enhanced {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .floating-card {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        padding: 0.8rem !important;
    }

    .card-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    .card-inner {
        gap: 0.8rem !important;
    }

    .card-title {
        font-size: 0.9rem !important;
    }

    .card-desc {
        font-size: 0.8rem !important;
    }

    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
    }

    .animated-float,
    .animated-float-delayed {
        animation: none;
    }

    .hero-visual-center {
        width: 180px;
        height: 180px;
        margin: 1rem 0;
    }

    .visual-core {
        width: 70px;
        height: 70px;
    }

    .ring-1 {
        width: 130px;
        height: 130px;
    }

    .ring-2 {
        width: 170px;
        height: 170px;
    }

    /* Sections */
    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards & Grids */
    .services-grid, .why-grid, .blog-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card, .why-item, .blog-card, .pricing-card {
        min-width: unset;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Buttons */
    .btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-ghost {
        width: 100%;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Tablet Optimization - 820px */
@media (max-width: 820px) and (min-width: 700px) {
    .hero {
        padding: 3.5rem 1.5rem 2.5rem;
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .premium-title {
        font-size: 2rem !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .premium-subtitle {
        font-size: 1.05rem !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
    }

    .premium-buttons {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .premium-cta,
    .premium-secondary {
        padding: 0.95rem 2rem !important;
        font-size: 0.95rem;
    }

    .hero-metrics {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        flex-wrap: nowrap;
    }

    .metric-item {
        flex: 1;
        min-width: auto;
        padding: 0 1rem;
    }

    .metric-value {
        font-size: 1.75rem;
    }

    .metric-label {
        font-size: 0.8rem;
    }

    .metric-divider {
        width: 1px;
        height: 35px;
        display: none;
    }

    .premium-visual {
        min-height: 380px;
    }

    .hero-visual-container.enhanced {
        max-width: 100%;
        height: 380px;
    }

    .floating-card {
        position: absolute;
        width: 200px;
    }

    .floating-card-1 {
        top: 15%;
        right: 3%;
        width: 200px;
    }

    .floating-card-2 {
        bottom: 18%;
        left: 2%;
        width: 200px;
    }

    .floating-card-3 {
        bottom: 3%;
        right: 3%;
        width: 200px;
    }

    .card-inner {
        gap: 0.8rem;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-desc {
        font-size: 0.75rem;
    }

    .hero-visual-center {
        width: 240px;
        height: 240px;
    }

    .visual-core {
        width: 90px;
        height: 90px;
    }

    .ring-1 {
        width: 150px;
        height: 150px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    /* Typography for extra-small screens */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0.75rem 1.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .premium-title {
        font-size: 1.4rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .premium-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.2rem !important;
        max-width: 100% !important;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .premium-badge {
        font-size: 0.75rem !important;
        padding: 0.6rem 1rem !important;
        margin-bottom: 1.2rem !important;
    }

    .premium-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .premium-cta,
    .premium-secondary {
        width: 100% !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.9rem;
    }

    .btn-arrow {
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 1rem;
        grid-template-columns: 1fr;
        padding: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(31, 106, 255, 0.1);
    }

    .metric-item {
        flex: 1;
        padding: 0.75rem 0;
        min-width: unset;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .metric-divider {
        display: none !important;
    }

    /* Premium Visual Mobile */
    .premium-visual {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-visual-container.enhanced {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .floating-card {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
    }

    .animated-float,
    .animated-float-delayed {
        animation: none;
    }

    .card-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .card-title {
        font-size: 0.85rem;
    }

    .card-desc {
        font-size: 0.7rem;
    }

    .hero-visual-center {
        width: 160px;
        height: 160px;
        margin: 0.5rem 0;
    }

    .visual-core {
        width: 60px;
        height: 60px;
    }

    .ring-1 {
        width: 110px;
        height: 110px;
    }

    .ring-2 {
        width: 150px;
        height: 150px;
    }

    /* Sections */
    .section {
        padding: 2rem 0.75rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    /* Cards */
    .service-card, .why-item, .blog-card, .pricing-card {  
        padding: 1.5rem 1rem;
    }

    /* Navbar */
    .navbar {
        height: 56px;
        padding: 0 0.75rem;
    }

    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    /* Process steps */
    .process-steps {
        gap: 1rem;
    }

    .process-step {
        min-width: 120px;
    }

    .step-number {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-content {
        gap: 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .mobile-nav-links a {
        font-size: 1.75rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* ==========================================
   UTILITIES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

.opacity-75 {
    opacity: 0.75;
}

/* ==========================================
   TESTIMONIALS PAGE
   ========================================== */

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--motion-base) var(--ease-out);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.testimonial-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    border-left: 4px solid var(--accent-blue);
    padding-left: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.testimonial-company {
    margin-top: 0.5rem;
}

.company-badge {
    background: var(--accent-blue);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-card.featured {
    border: 2px solid var(--accent-blue);
    box-shadow: var(--effect-glow-blue);
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.1), rgba(31, 106, 255, 0.05));
}

.testimonial-card.featured::before {
    content: "⭐ Featured";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Enhanced testimonial styling with glassmorphism */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(31, 106, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.testimonial-rating {
    animation: rateHover 2s ease-in-out infinite;
}

@keyframes rateHover {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.avatar-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.3);
}

.testimonial-person {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 !important;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 !important;
}

/* ==========================================
   ENHANCED BLOG SECTION
   ========================================== */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-section {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h3 {
    color: var(--accent-blue);
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
}

.stat-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================
   TEAM PAGE
   ========================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    transition: all var(--motion-base) var(--ease-out);
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-avatar {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.member-expertise {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.member-expertise h4 {
    color: var(--accent-orange);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.75rem 0;
}

.member-expertise ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-expertise li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.member-expertise li:before {
    content: "▸ ";
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.member-philosophy {
    background: var(--bg-primary);
    border-left: 4px solid var(--accent-blue);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   BLOG POST PAGE
   ========================================== */

.blog-post-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-post-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-post-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--accent-blue);
}

.blog-post-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.blog-post-content p {
    margin-bottom: 1rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1rem 0 1rem 2rem;
    padding: 0;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
}

.blog-highlight {
    background: rgba(0, 168, 255, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-highlight strong {
    color: var(--accent-blue);
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.blog-author {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.blog-author-avatar, .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.blog-author-info h4 {
    margin: 0 0 0.25rem 0;
}

.blog-author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-cta {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.related-posts {
    margin-top: 4rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post-card {
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--motion-base) var(--ease-out);
}

.related-post-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.related-post-category {
    display: inline-block;
    background: rgba(0, 168, 255, 0.15);
    color: var(--accent-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-post-card a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.related-post-card a:hover {
    text-decoration: underline;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--accent-blue);
    background: var(--bg-glass);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
}

/* Team Preview Card (About Page) */
.team-preview-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
    text-align: center;
    padding: 160px 0 var(--space-lg) 0;
    background-image: url('../assets/images/hero1.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #ffffff;
   
    font-size: 1.1rem;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown var(--motion-xslow) var(--ease-emphasis);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    padding: 8px 20px;
    margin: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb-item a:hover { color: var(--accent-blue); }
.breadcrumb-item.active { color: var(--accent-blue); font-weight: 600; }
.breadcrumb-separator { font-size: 0.7rem; opacity: 0.5; }

/* ==========================================
   MOBILE RESPONSIVE - CONTACT & PAGES
   ========================================== */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-container {
        padding: 0 1rem;
    }
    
    .blog-post-container,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ==========================================
   FORM VALIDATION STYLES
   ========================================== */

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}
.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.error-message::before {
    content: '\f071'; /* FontAwesome warning icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.form-success {
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.form-success i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: block;
}

/* ==========================================
   PRICING TOGGLE SWITCH
   ========================================== */

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--bg-main);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-light) 100%);
    border-color: transparent;
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--glow-blue);
    color: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-blue);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--motion-base) var(--ease-out);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: scrollBtnPulse 3s infinite;
    animation-delay: 0.5s;
}

.scroll-top-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--glow-blue);
    animation: none;
}

@keyframes scrollBtnPulse {
    0% { transform: translateY(0) scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
    50% { transform: translateY(0) scale(1.1); box-shadow: 0 10px 25px var(--glow-blue); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--glow-blue);
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.visible {);
    animation: none;
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--glow-blue);
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    height: 40px;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1.25rem;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
    }
}

/* ==========================================
   PAGE LOADER
   ========================================== */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 100px;
    height: 48px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: pulse-logo 2s infinite ease-in-out;
}

.loader-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-blue);
    border-right-color: var(--accent-orange);
    animation: spin-loader 1.5s linear infinite;
}

.loader-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-orange);
    border-left-color: var(--accent-blue);
    opacity: 0.5;
    animation: spin-loader 2s linear infinite reverse;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.6)); }
}

@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px var(--glow-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--motion-base) var(--ease-out);
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-tertiary);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

/* ==========================================
   HOME PAGE ENHANCEMENTS
   ========================================== */

.logo-strip {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(to right, rgba(255,255,255,0.01), rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    font-size: 2.5rem;
    color: var(--text-tertiary);
    opacity: 0.6;
}

.logo-grid i {
    transition: var(--transition);
}

.logo-grid i:hover {
    color: var(--accent-blue);
    opacity: 1;
    transform: scale(1.1);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all var(--motion-base) var(--ease-out);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.approach-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(31, 106, 255, 0.1), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--motion-base);
}

.approach-item:hover::before {
    opacity: 1;
}

.approach-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(31, 106, 255, 0.2);
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.05), rgba(31, 106, 255, 0.02));
}

.approach-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(31, 106, 255, 0.3);
    position: relative;
    z-index: 2;
}

/* ==========================================
   CASE STUDIES SECTION
   ========================================== */

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.case-study-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem;
    transition: all var(--motion-base) var(--ease-out);
}

.case-study-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case-study-item.reverse {
    direction: rtl;
}

.case-study-item.reverse .case-study-content {
    direction: ltr;
}

.case-study-image {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.case-study-image img, .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-study-item:hover .case-study-image img,
.case-study-item:hover .placeholder-image {
    transform: scale(1.05);
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.case-study-tag {
    background: rgba(0, 168, 255, 0.1);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-content h3 {
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
}

.case-study-metrics {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.cs-metric {
    display: flex;
    flex-direction: column;
}

.cs-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.cs-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .case-study-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-item.reverse {
        direction: ltr;
    }
    
    .case-study-image {
        height: 250px;
    }
    
    .case-study-content h3 {
        font-size: 1.75rem;
    }
}

/* ==========================================
   TIMELINE COMPONENT
   ========================================== */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 50%;
    text-align: right;
    padding-right: 3rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-content {
    width: 50%;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-primary);
}

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; margin-bottom: 3rem; padding-left: 50px; }
    .timeline-date { width: 100%; text-align: left; padding: 0; margin-bottom: 0.5rem; font-size: 1.2rem; }
    .timeline-content { width: 100%; padding: 0; text-align: left !important; }
    .timeline-item:nth-child(even) .timeline-content { text-align: left !important; padding-left: 0; padding-right: 0; }
    .timeline-item:nth-child(even) .timeline-date { padding-left: 0; }
    .timeline-dot { left: 20px; top: 0; transform: translate(-50%, 50%); }
}

/* ==========================================
   TEAM CARD STYLES
   ========================================== */

.team-card {
    background: linear-gradient(135deg, rgba(0,168,255,0.03), rgba(255,149,0,0.03));
    backdrop-filter: blur(14px);

    border-radius: 16px;
    padding: 14px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;

    box-shadow: var(--shadow-soft);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* gradient border */
.team-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 2px;

    background: linear-gradient(
        135deg,
        #0038a8 0%,
        var(--blue-primary) 35%,
        var(--orange-primary) 65%,
        #e65100 100%
    );

    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                   linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0.7;
    pointer-events: none;
    z-index: 1;

    transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

/* hover animation */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* glow increase on hover */
.team-card:hover::before {
    opacity: 1;
    box-shadow:
        0 0 20px rgba(31,106,255,0.35),
        0 0 40px rgba(255,154,31,0.25);
}

/* Stagger team card animations */
.team-card:nth-child(even) { animation-delay: 2s; }
.team-card:nth-child(3n) { animation-delay: 4s; }

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover), var(--effect-glow-blue), var(--effect-glow-orange);
    cursor: pointer;
}

.team-card:hover::before {
    opacity: 1;
    box-shadow: 
        0 0 30px rgba(31, 106, 255, 0.5),
        0 0 60px rgba(255, 154, 31, 0.4),
        inset 0 0 30px rgba(31, 106, 255, 0.15),
        0 0 100px rgba(31, 106, 255, 0.2);
}

.team-avatar {
    width: 100%;
    height: 300px; /* slightly smaller for better layout */
    border-radius: 12px;

    /* image display */
    object-fit: cover;
    object-position: center;
    display: block;

    /* styling */
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    margin-bottom: 8px; /* reduced gap */
    border: none;
    position: relative;
    z-index: 1;

    /* effects */
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* optional hover effect */
.team-avatar:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
/* hover effect *
.team-avatar:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.team-card:hover .team-avatar {
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

@supports (animation-timeline: view()) {
    .team-avatar {
        animation: avatar-parallax linear both;
        animation-timeline: view();
        animation-range: cover 0% cover 100%;
    }
    @keyframes avatar-parallax {
        from { translate: 0 -15px; }
        to { translate: 0 15px; }
    }
}

.team-card-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(248, 250, 251, 0.95), rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 106, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin: -3.5rem 1rem 1rem;
    box-shadow: 0 8px 32px rgba(31, 106, 255, 0.08), 0 4px 16px rgba(255, 154, 31, 0.04);
}

.team-role {
    display: block;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.team-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--text-tertiary);
    border: 1px solid var(--border-color);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 1.1rem;
}

.team-social a:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    background: linear-gradient(135deg, rgba(0,168,255,0.05), transparent);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

/* ==========================================
     NUEERA - GLASSY & FUTURISTIC UI PACK
     Final overrides to ensure premium motion & depth
     ========================================== */

/* Core Glass System (foundation) */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

/* Futuristic Glow System (controlled) */
@keyframes glowBreath {
    0%,100% { opacity: 0.35; }
    50% { opacity: 0.6; }
}
.core-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--core-light), transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    animation: glowBreath 10s ease-in-out infinite;
    pointer-events: none;
}

/* Glass hover lift (no scaling) */
.card {
    transition: transform 240ms cubic-bezier(0,0,0.2,1), box-shadow 240ms cubic-bezier(0,0,0.2,1), border-color 240ms;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-active);
}

/* Futuristic text appear (cinematic) */
.text-reveal {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
    animation: textIn 800ms cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes textIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Futuristic button pack (primary) */
.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--core-gold));
    color: #0B0F14;
    border-radius: 12px;
    padding: 14px 22px;
    transition: transform 240ms cubic-bezier(0,0,0.2,1), box-shadow 240ms cubic-bezier(0,0,0.2,1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--effect-glow-orange);
}
.btn-primary:active { transform: scale(0.96); }

/* Glass navbar (enterprise grade) */
.navbar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 240ms ease-out, background 240ms ease-out;
}
[data-theme="dark"] .navbar {
    background: rgba(10,14,39,0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255,255,255,0.85);
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(10,14,39,0.75);
}

/* gradient bottom bar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    pointer-events: none;
}

/* Futuristic scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: all 360ms cubic-bezier(0,0,0.2,1);
}
.reveal.visible, .reveal.in-view { opacity: 1; transform: translateY(0); }

/* Glass slider for teams/images */
.glass-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
/* ==================================================
     NUEERA - Global Design Tokens & Premium Styles
     Appended: 2026-02-08 — brand-aligned tokens + UI
     ================================================== */

:root {
    /* ===== BRAND COLORS ===== */
    --brand-blue: #1f3a5f;
    --brand-blue-soft: rgba(31,58,95,0.12);

    --brand-gold: #f5b23c;
    --brand-gold-soft: rgba(245,178,60,0.18);

    /* ===== BACKGROUNDS ===== */
    --bg-main: #ffffff;
    --bg-soft: #f7f9fc;
    --bg-section: #fbfcfe;

    /* ===== TEXT ===== */
    --text-primary: #1b2430;
    --text-secondary: #5b6573;
    --text-muted: #8b94a3;

    /* ===== GLASS / CARD ===== */
    --glass-bg: rgba(255,255,255,0.75);
    --glass-border: rgba(31,58,95,0.12);

    /* ===== GRADIENTS ===== */
    --gradient-brand: linear-gradient(135deg, #1f3a5f, #f5b23c);

    --gradient-soft: radial-gradient(circle at center, rgba(245,178,60,0.25), rgba(31,58,95,0.12), transparent 65%);

    /* ===== SHADOWS ===== */
    --shadow-soft: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-premium: 0 20px 60px rgba(31,58,95,0.15);

    /* ===== RADIUS ===== */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* ===== TRANSITION ===== */
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Global Base Styling (overrides placed late to ensure application) */
body {
    margin: 0;
    font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
}

section {
    padding: 96px 24px;
}

/* Premium Section Background (Hero / Important Areas) */
.section-premium {
    background: var(--gradient-soft), var(--bg-main);
}

/* Glass Cards (Services, Features, SaaS Blocks) */
.card-premium {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

/* Buttons (Rich & Professional) */
.btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(245,178,60,0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

/* Typography (Luxury Spacing) */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }

h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

p { color: var(--text-secondary); }

/* Grid System (Clean & Scalable) */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
}

/* Accent Utilities (Match Logo Glow) */
.text-gold { color: var(--brand-gold); }
.text-blue { color: var(--brand-blue); }

.glow-gold { box-shadow: 0 0 30px rgba(245,178,60,0.4); }
.glow-blue { box-shadow: 0 0 30px rgba(31,58,95,0.35); }

/* End of appended premium tokens/styles */

/* ===============================================
     NUEERA - Luxury Dark Mode Theme
     Appended: 2026-02-08 — deep navy-charcoal, soft contrast
     Use via: <body class="dark"> or [data-theme="dark"]
     =============================================== */

body.dark,
[data-theme="dark"] {
    /* ===== BRAND COLORS ===== */
    --brand-blue: #6fa8ff;
    --brand-blue-soft: rgba(111,168,255,0.18);

    --brand-gold: #f5b23c;
    --brand-gold-soft: rgba(245,178,60,0.22);

    /* ===== BACKGROUNDS ===== */
    --bg-main: #0b0f1a;
    --bg-soft: #11162a;
    --bg-section: #0f1424;

    /* ===== TEXT ===== */
    --text-primary: #eef1f6;
    --text-secondary: #b6bdd0;
    --text-muted: #8a92a8;

    /* ===== GLASS / CARD ===== */
    --glass-bg: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.12);

    /* ===== GRADIENTS ===== */
    --gradient-brand: linear-gradient(135deg, #6fa8ff, #f5b23c);

    --gradient-soft: radial-gradient(circle at center, rgba(245,178,60,0.25), rgba(111,168,255,0.12), transparent 65%);

    /* ===== SHADOWS ===== */
    --shadow-soft: 0 12px 40px rgba(0,0,0,0.6);
    --shadow-premium: 0 20px 60px rgba(0,0,0,0.85);
}

/* Dark Mode Base Styling */
body.dark, [data-theme="dark"] {
    background: var(--bg-main);
    color: var(--text-primary);
}

/* Premium Dark Sections (Hero / Focus Areas) */
body.dark .section-premium,
[data-theme="dark"] .section-premium {
    background: var(--gradient-soft), var(--bg-main);
}

/* Dark Glass Cards (Ultra Premium) */
body.dark .card-premium,
[data-theme="dark"] .card-premium {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

body.dark .card-premium:hover,
[data-theme="dark"] .card-premium:hover {
    box-shadow: 0 0 0 1px rgba(111,168,255,0.25), 0 20px 60px rgba(0,0,0,0.85);
}

/* Dark Team Cards (Premium Gradient Borders) */
body.dark .team-card,
[data-theme="dark"] .team-card {
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.05), rgba(255, 154, 31, 0.05));
    backdrop-filter: blur(14px);
}

body.dark .team-card::before,
[data-theme="dark"] .team-card::before {
    box-shadow: 
        0 0 25px rgba(31, 106, 255, 0.4),
        0 0 50px rgba(255, 154, 31, 0.25),
        inset 0 0 25px rgba(31, 106, 255, 0.12);
}

body.dark .team-card:hover,
[data-theme="dark"] .team-card:hover {
    box-shadow: var(--shadow-hover), 0 0 40px rgba(31, 106, 255, 0.35), 0 0 60px rgba(255, 154, 31, 0.25);
}

body.dark .team-card:hover::before,
[data-theme="dark"] .team-card:hover::before {
    box-shadow: 
        0 0 40px rgba(31, 106, 255, 0.6),
        0 0 80px rgba(255, 154, 31, 0.45),
        inset 0 0 40px rgba(31, 106, 255, 0.2),
        0 0 120px rgba(31, 106, 255, 0.3);
}

/* Dark Team Card Content (Premium Glass) */
body.dark .team-card-content,
[data-theme="dark"] .team-card-content {
    background: rgba(11, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(31, 106, 255, 0.12), 0 4px 16px rgba(255, 154, 31, 0.08);
}

body.dark .team-bio,
[data-theme="dark"] .team-bio {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Buttons (Dark Mode Luxury Feel) */
body.dark .btn-primary,
[data-theme="dark"] .btn-primary {
    background: var(--gradient-brand);
    color: #0b0f1a;
}

body.dark .btn-primary:hover,
[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 0 40px rgba(245,178,60,0.45);
}

body.dark .btn-outline,
[data-theme="dark"] .btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-primary);
}

body.dark .btn-outline:hover,
[data-theme="dark"] .btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

/* Typography Adjustments (Dark Comfort) */
body.dark p,
[data-theme="dark"] p { color: var(--text-secondary); }

body.dark h1, body.dark h2, body.dark h3,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 {
    color: var(--text-primary);
}

/* Subtle Glow Utilities */
body.dark .glow-blue,
[data-theme="dark"] .glow-blue { box-shadow: 0 0 32px rgba(111,168,255,0.45); }

body.dark .glow-gold,
[data-theme="dark"] .glow-gold { box-shadow: 0 0 32px rgba(245,178,60,0.45); }

/* Smooth global theme transition */
body { transition: background 0.6s ease, color 0.6s ease; }

/* Optional: JS toggle example (commented for reference)
     // document.body.classList.toggle('dark');
*/


.glass-slide { scroll-snap-align: start; min-width: 260px; }

/* Futuristic icon motion */
.icon { transition: transform 160ms ease-out; display:inline-flex; align-items:center; justify-content:center; }
@media (hover: hover) { .icon:hover { transform: translateY(-2px); } }

/* Mobile optimization rules (critical) */
@media (max-width: 768px) {
    .core-glow { display: none !important; }
    .card:hover { transform: none !important; }
    .btn-primary { transition: none !important; }
}


/* ========== Dark mode safety & root background fixes ========== */
/* Fix 1: make sure html and body both use the theme background and text color */
html, body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100%;
}

/* Fix 3: Ensure hero content sits above any wallpaper and provide a forced dark overlay for dark theme */
.hero { position: relative; }
.hero > .container { position: relative; z-index: 2; }

/* Safety dark overrides placed at the end to win specificity */
[data-theme="dark"] body {
    background-color: var(--bg-main) !important;
    color: var(--text-primary) !important;
}

/* Force a stronger overlay for hero in dark theme to ensure contrast over images */
[data-theme="dark"] .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,15,20,0.7) 0%, rgba(11,15,20,0.8) 50%, rgba(11,15,20,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Fix 5: ensure dark variables are present at the end (safety net) */
[data-theme="dark"] {
    --bg-main: #0B0F14;
    --bg-secondary: #101622;
    --bg-glass: rgba(255,255,255,0.06);

    --text-primary: #FFFFFF;
    --text-secondary: #C9D1D9;
    --text-muted: #8B949E;

    --border-soft: rgba(255,255,255,0.08);
    --border-active: rgba(77,141,255,0.45);
}

/* ==========================================
   ABOUT PAGE - PREMIUM UI BLUEPRINT
   ========================================== */

/* 1. About Hero */
.about-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-main);
    overflow: hidden;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/home2.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* 8-12% opacity rule */
    pointer-events: none;
    filter: grayscale(100%);
    z-index: 0;
}

.about-hero .container { position: relative; z-index: 1; }

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: fadeUp 600ms cubic-bezier(0.16,1,0.3,1) both;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: fadeIn 600ms ease-out both;
    animation-delay: 120ms;
}

/* 2. Who We Are Visual */
.abstract-shape {
    width: 300px;
    height: 300px;
    background: var(--bg-tertiary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4; /* 30-40% opacity rule */
    font-size: 5rem;
    color: var(--accent-blue);
}

/* Section Subtitle - Micro-copy Support Text */
.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(8px);
}

.section-content.in-view .section-subtitle {
    animation: fadeInLift 360ms var(--ease-out) forwards;
}

/* 3. Stats - Glass Cards */
.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 240ms var(--ease-out) forwards;
}

.stat-card.in-view {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. Vision & Mission Cards */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 3rem;
    transition: transform var(--motion-base) var(--ease-standard);
}

.vm-card:hover { 
    transform: translateY(-4px); 
}

.vm-microcopy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 1rem;
}

.vm-card h3 { 
    margin-bottom: 1rem; 
    color: var(--text-primary); 
}

/* 5. Journey Timeline - Premium */
.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Animated Progress Line */
.timeline-progress-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--accent-blue) 0%, 
        var(--accent-blue) 20%, 
        var(--accent-orange) 60%, 
        var(--accent-orange) 100%);
    border-radius: 3px;
    opacity: 0.3;
    z-index: 0;
}

.journey-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
}

/* Marker Design - Premium */
.journey-marker {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    opacity: 0.2;
    background: var(--accent-blue);
    opacity: 0.08;
    transition: all var(--motion-base) var(--ease-standard);
}

.marker-number {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    z-index: 2;
    transition: all var(--motion-base) var(--ease-standard);
}

.journey-item:hover .marker-ring {
    transform: scale(1.3);
    opacity: 0.15;
    box-shadow: 0 0 30px var(--glow-blue);
}

.journey-item:nth-child(2) .marker-ring,
.journey-item:nth-child(2) .marker-number {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.journey-item:nth-child(2) .marker-ring {
    background: var(--accent-orange);
}

.journey-item:nth-child(2):hover .marker-ring {
    box-shadow: 0 0 30px var(--glow-orange);
}

.journey-item:nth-child(3) .marker-ring,
.journey-item:nth-child(3) .marker-number {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.journey-item:nth-child(3) .marker-ring {
    background: var(--accent-blue);
}

/* Card Content */
.journey-content {
    flex: 1;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-soft);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all var(--motion-base) var(--ease-standard);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.journey-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--motion-base) var(--ease-standard);
}

.journey-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: color-mix(in srgb, var(--accent-blue) 30%, var(--border-soft) 70%);
}

.journey-content:hover::before {
    opacity: 1;
}

.journey-item:nth-child(2) .journey-content:hover {
    border-color: color-mix(in srgb, var(--accent-orange) 30%, var(--border-soft) 70%);
}

.journey-item:nth-child(2) .journey-content::before {
    background: linear-gradient(135deg, rgba(255, 154, 31, 0.05) 0%, transparent 100%);
}

/* Content Header */
.content-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Typography */
.journey-year {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.journey-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-blue);
    font-weight: 700;
    background: rgba(31, 106, 255, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.journey-item:nth-child(2) .journey-tag {
    color: var(--accent-orange);
    background: rgba(255, 154, 31, 0.1);
}

.journey-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.journey-content p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Milestone Badge */
.journey-milestone-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.1), rgba(255, 154, 31, 0.05));
    border: 1px solid color-mix(in srgb, var(--accent-blue) 20%, transparent 80%);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    position: relative;
    z-index: 1;
    transition: all var(--motion-fast) var(--ease-standard);
}

.journey-item:nth-child(2) .journey-milestone-badge {
    border-color: color-mix(in srgb, var(--accent-orange) 20%, transparent 80%);
    color: var(--accent-orange);
}

.journey-item:hover .journey-milestone-badge {
    background: linear-gradient(135deg, rgba(31, 106, 255, 0.15), rgba(255, 154, 31, 0.1));
    transform: scale(1.05);
}

/* 6. Values - 4 Equal Cards */
.value-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--motion-base) var(--ease-standard);
}

.value-card:hover { 
    transform: translateY(-4px); 
}

/* 7. Team Slider - Horizontal Glass */
.team-slider {
    display: flex;
    gap: 24px; /* Figma: gap 24px */
    overflow-x: auto;
    padding: 2rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.team-slider::-webkit-scrollbar { display: none; }

.team-card-slide {
    min-width: 320px;
    width: 320px; /* Figma width */
    scroll-snap-align: start;
    background: transparent; /* content is in .team-card */
    border: none;
    padding: 0;
    text-align: center;
}

.team-grid .team-card-slide { min-width: 0; width: auto; }
/* Entrance - team cards: fade in + translateY 12px, duration 360ms, no stagger */
.team-card.reveal { opacity: 0; transform: translateY(12px); }
.team-card.in-view, .team-card.visible { opacity: 1; transform: translateY(0); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }

/* When the section enters, reveal all cards together (no stagger)
   This ensures the header/section-in-view triggers a group reveal. */
#team-slider-section.in-view .team-card { opacity: 1; transform: translateY(0); transition-delay: 0s; }

/* Focus (keyboard) - matches Hover (Desktop) but keyboard-friendly */
.team-card:focus {
    outline: none;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-active);
}
.team-card:focus-visible { outline: 3px solid rgba(31,106,255,0.12); outline-offset: 4px; }

/* Focus tags: inline, muted color, underline-on-hover (fade) */
.team-tags { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.team-tag { font-size: 0.85rem; color: var(--text-muted); background: transparent; padding: 0; border-radius: 0; border: none; }
.team-tag:hover { text-decoration: underline; text-decoration-thickness: 1px; transition: color 160ms var(--ease-out), text-decoration-color 160ms; }

/* 8. Final CTA */
.about-cta {
    padding: 4rem 0;
    text-align: center;
}

/* ==========================
   BLOG PAGE STYLES
   ========================== */

/* Blog Hero */
.blog-hero { background-image: url('../assets/images/hero1.png'); background-size: cover; background-position: center; padding: 80px 0 40px; text-align: left; }
.blog-hero .container { max-width: 1100px; margin: 0 auto; }
.hero-title { font-size: 2.6rem; margin: 0 0 12px; color:#ffffff; animation: fadeUp 600ms var(--ease-out) both; }
.hero-subtitle { font-size: 1.05rem; margin: 0 0 8px; color: #ffffff; animation: fadeUp 600ms var(--ease-out) 120ms both; }
.hero-micro { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; animation: fadeUp 600ms var(--ease-out) 200ms both; }

/* Category Filter */
.category-filter { margin: 28px 0; }
.category-filter .category-filter-inner { display:flex; align-items:center; justify-content:space-between; padding:10px; border-radius:12px; position:relative; }
.category-pills { display:flex; gap:12px; overflow-x:auto; padding:6px 6px; scrollbar-width:none; }
.category-pills::-webkit-scrollbar { display:none; }
.pill { background: transparent; border: none; padding:8px 14px; border-radius:999px; font-weight:600; color:var(--text-secondary); cursor:pointer; position:relative; }
.pill.active { color:var(--text-primary); }
.pill:focus { outline: none; }
.pill-indicator { position:absolute; height:36px; border-radius:18px; background: linear-gradient(90deg, rgba(0,168,255,0.08), rgba(255,150,0,0.04)); transition: transform 160ms ease, width 160ms ease; pointer-events:none; left:6px; top:6px; }

/* Featured Article */
.featured-article { margin: 18px 0 28px; }
.featured-card { display:flex; gap:24px; padding:20px; border-radius:14px; align-items:center; }
.featured-media { width:360px; height:220px; background: linear-gradient(135deg,#e6f6ff,#fef6e6); border-radius:10px; flex-shrink:0; }
.featured-body { flex:1; }
.featured-category { display:inline-block; font-size:0.8rem; color:var(--accent-blue); text-transform:uppercase; margin-bottom:8px; }
.featured-title { font-size:1.6rem; margin:0 0 12px; }
.featured-excerpt { color:var(--text-secondary); margin-bottom:12px; }
.featured-meta { display:flex; gap:12px; align-items:center; color:var(--text-muted); }
.featured-meta .read-more { margin-left:auto; color:var(--accent-blue); text-decoration:underline; }

/* Article Grid */
.article-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: transparent; padding: 18px; border-radius: 12px; transition: transform 240ms var(--ease-out); }
.blog-card:hover { transform: translateY(-4px); }
.blog-image { width:64px; height:64px; border-radius:12px; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.04); font-size:1.5rem; margin-bottom:12px; }
.blog-content h3 { margin:0 0 8px; }
.blog-category { font-size:0.75rem; text-transform:uppercase; color:var(--text-muted); margin-bottom:6px; display:block; }
.blog-excerpt { color:var(--text-secondary); margin-bottom:12px; }
.blog-meta { color:var(--text-muted); display:flex; gap:12px; align-items:center; }

@media (max-width: 992px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card { flex-direction: column; }
    .featured-media { width:100%; height:220px; }
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .featured-media { height:180px; }
}

/* Blog CTA */
.blog-cta { margin:48px 0; padding:28px; border-radius:14px; display:flex; align-items:center; gap:24px; justify-content:space-between; background: linear-gradient(90deg, rgba(0,168,255,0.03), rgba(255,150,0,0.02)); }
.blog-cta h3 { margin:0; }
.blog-cta p { margin:0; color:var(--text-secondary); }
.blog-cta .btn-primary { box-shadow: var(--effect-glow-orange); }

/* Motion helpers (used above) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }

/* Article page specifics */
.article-hero { background-image: url('../assets/images/hero1.png'); background-size: cover; background-position: center; padding: 64px 0 28px; }
.article-hero-inner { max-width: 720px; margin: 0 auto; text-align: left; }
.back-link { display:inline-block; color:var(--accent-blue); font-weight:600; margin-bottom:18px; }
.article-hero .article-category { font-size:0.85rem; color:var(--text-muted); text-transform:uppercase; display:block; margin-bottom:12px; }
.article-title { font-size:2.2rem; line-height:1.05; margin:0 0 12px; animation: fadeUp 600ms var(--ease-out) both; }
.article-deck { font-size:1.05rem; color:var(--text-secondary); margin:0 0 12px; animation: fadeUp 600ms var(--ease-out) 120ms both; }
.article-meta { font-size:0.9rem; color:var(--text-muted); margin-bottom:10px; animation: fadeUp 600ms var(--ease-out) 200ms both; display:flex; gap:8px; align-items:center; }
.article-micro { font-size:0.8rem; color:var(--text-muted); margin-top:12px; }

.featured-image { max-width:720px; margin: 18px auto; border-radius:12px; overflow:hidden; }
.featured-image img { width:100%; height: auto; display:block; max-height:420px; object-fit:cover; }

.blog-post-container { max-width:720px; margin: 28px auto; }
.blog-post-content { font-size:1rem; line-height:1.72; color:var(--text-primary); }
.blog-post-content h2, .blog-post-content h3 { margin-top:28px; margin-bottom:12px; color:var(--text-primary); }
.blog-post-content p { margin-bottom:18px; }
.blog-highlight { border-left:3px solid var(--accent-blue); background: rgba(0,168,255,0.03); padding:12px 16px; border-radius:6px; margin:18px 0; }

.blog-post-footer { max-width:720px; margin: 36px auto 0; display:flex; gap:24px; align-items:flex-start; }
.blog-author { display:flex; gap:12px; align-items:center; }
.blog-author .blog-author-avatar { width:72px; height:72px; border-radius:8px; }
.author-info h4 { margin:0 0 6px; }
.author-info p { margin:0; color:var(--text-secondary); font-size:0.95rem; }

.related-posts-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-post-card { padding:12px; border-radius:10px; transition: transform 240ms var(--ease-out); }
.related-post-card:hover { transform: translateY(-4px); }

.blog-cta { max-width:720px; margin:44px auto; text-align:center; }
.blog-cta .btn-primary { padding:12px 22px; border-radius:10px; box-shadow: var(--effect-glow-orange); }

@media (max-width: 768px) {
    .article-title { font-size:1.6rem; }
    .blog-post-footer { flex-direction:column; align-items:flex-start; }
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .related-posts-grid { grid-template-columns: 1fr; }
    .article-hero-inner { padding: 0 12px; }
    .blog-post-container { padding: 0 12px; }
}

/* Author card (small glass) */
.author-card { display:inline-block; border-radius:12px; box-shadow: var(--shadow-soft); border:1px solid var(--border-soft); }
.author-card .blog-author { padding:12px 8px; display:flex; align-items:center; gap:12px; }
.author-card .author-info h4 { margin:0 0 4px; }
.author-card { animation: none; }


/* ==========================
   Team Grid (About page) - layout for 3 cards per row
   ========================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 28px 0;
    align-items: start;
}

/* Make sure slide wrapper doesn't force widths inside grid */
.team-grid .team-card-slide { min-width: 0; width: 100%; }

.team-card {
    text-align: center;
    overflow: hidden;
     background: linear-gradient(135deg, rgba(0,168,255,0.03), rgba(255,149,0,0.03));
    backdrop-filter: blur(14px);
    border-radius: 16px;

    padding: 14px 14px 18px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    position: relative;
    overflow: hidden;
    width: 100%;

    box-shadow: var(--shadow-soft);

    /* remove large gaps */
    gap: 6px;

    transition: transform .35s ease, box-shadow .35s ease;
}

.team-card .team-card-content { padding: 0 6px 12px; display: flex; flex-direction: column; align-items: center; }

.team-card h3 { 
    margin: 4px 0 4px;
    font-size: 1.25rem; 
    color: #4D8DFF;
    font-weight: 800; 
}
.team-card .team-role { 
    margin-bottom: 0.75rem; 
    color: #FF9A1F;
    font-weight: 700; 
}

.team-avatar {
    width: 100%;
    height: 340px; /* Fixed height for uniform grid */
    object-fit: cover;
    object-position: center;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.team-bio { margin-bottom: 1rem; }

/* Responsive: 2 columns on tablet, 1 column on mobile */
@media (max-width: 992px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; gap: 18px; }

    .team-card {
        padding: 5px; /* Reduce outer padding on mobile */
    }

    .team-avatar {
        height: 300px; /* Make image shorter on mobile for more compact cards */
        height: auto;
    }

    .team-card-content {
        margin: -3rem 0.5rem 1rem; /* Adjust overlap and reduce horizontal margin */
        padding: 1.25rem; /* Reduce inner padding */
    }
}

.about-cta .cta-text { 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem;
    color: var(--text-primary); 
}

.about-cta .cta-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-cta .btn {
    transition: all var(--motion-base) var(--ease-standard);
}

.about-cta .btn:hover {
    box-shadow: var(--shadow-hover), var(--effect-glow-blue);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    .vm-grid { grid-template-columns: 1fr; }
    .about-hero { padding: 140px 0 60px; }
    .about-hero h1 { font-size: 2.5rem; }
    
    /* Responsive Journey Timeline */
    .timeline-progress-line {
        left: 20px;
    }
    
    .journey-item {
        gap: 1.5rem;
        padding: 2rem 0;
        align-items: flex-start;
    }

    .journey-marker {
        margin-left: 0;
    }

    .journey-content {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .journey-year { font-size: 1.5rem; }
    .journey-tag { font-size: 0.7rem; padding: 0.3rem 0.7rem; }
    .journey-content h3 { font-size: 1.3rem; }
    .journey-content p { font-size: 0.9rem; }
    
    /* Abstract Shape */
    .abstract-shape { width: 200px; height: 200px; font-size: 3rem; }
    
    /* Team Grid */
    .team-grid { grid-template-columns: 1fr; }
    /* Team Slider - Mobile overrides per Figma: stack cards vertically, disable hover, reduce translateY */
    .team-slider { flex-direction: column; gap: 24px; padding: 1rem 0; align-items: center; }
    .team-card { width: 100%; min-width: auto; }
    .team-card:hover { transform: none !important; box-shadow: var(--shadow-soft) !important; }
    .team-card.reveal { transform: translateY(8px); }
}

/* ==========================================
     PREMIUM UI LAYERS - GLASS, DEPTH & MOTION
     Adds small, reusable tokens & components for
     a luxury, calm interaction language.
     ========================================== */

/* Glass utility (used sparingly on cards, navbar, modals) */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

/* HERO - slow ambient glow (opacity-only) */
@keyframes glowPulse {
    opacity: 0;
    transform: translateY(16px);
    transition: all 360ms cubic-bezier(0,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Slider used for team / previews (horizontal glass cards) */
.slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
    min-width: 220px;
}

@media (hover: hover) {
    .slider .slide:hover { box-shadow: var(--effect-glow-blue); transform: translateY(-6px); }
}

/* Micro-interactions */
.icon {
    transition: transform 160ms ease-out, color 160ms ease-out;
    display: inline-flex; align-items: center; justify-content: center;
}
.icon:active { transform: scale(0.96); }

/* Links: color fade only */
a { transition: color 160ms cubic-bezier(0,0,0.2,1); }

/* Mobile motion rules */
@media (max-width: 768px) {
    /* Disable hero glow on mobile */
    .hero-glow { animation: none !important; }

    /* Reduce animation/transition durations by ~40% */
    .btn-primary, .card, .reveal, .slider, .slide {
        transition-duration: calc(var(--motion-base) * 0.6) !important;
        transition-timing-function: var(--ease-out) !important;
    }

    /* Remove hover-only desktop effects */
    .btn-primary.magnetic { transition: none !important; }
    .icon { transition: none !important; }
}

@keyframes floatCard {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

/* ==========================================
   SERVICES PAGE - NEW DESIGN SYSTEM
   ========================================== */

/* 1. Services Hero */
.services-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/home_img.jpg'); /* Reusing subtle texture */
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    filter: grayscale(100%);
}

.services-hero .container { position: relative; z-index: 1; }

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeUp 600ms cubic-bezier(0.16,1,0.3,1) both;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeIn 600ms ease-out 120ms both;
}

.hero-micro {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    animation: fadeIn 600ms ease-out 240ms both;
}

/* ==========================================
   SERVICES PAGE - FIGMA COMPONENT ARCHITECTURE
   Auto-layout · Scalable · Dev-friendly
   ========================================== */

/* RESPONSIVE BREAKPOINTS
   Desktop: 1440px (2-column layouts)
   Tablet:  768px  (1-column layouts, horizontal scroll for nav)
   Mobile:  480px  (1-column, compact spacing)
*/

/* 1. HERO SECTION [data-component="hero/services"]
   Auto-layout: Vertical
   Padding: 96px 24px
   Gap: 24px
*/
.services-hero {
    padding: 96px 24px;
    text-align: center;
    background: var(--bg-main);
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 600ms var(--ease-out) both;
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeUp 600ms var(--ease-out) 120ms both;
}

.hero-micro {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    animation: fadeIn 600ms ease-out 240ms both;
}

/* 2. STICKY SERVICE NAV [data-component="nav/services"]
   Auto-layout: Horizontal (Pills)
   Padding: 12px
   Gap: 12px
   Active state variant support
*/
.service-nav-wrapper {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 0;
}

.service-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--motion-fast) var(--ease-standard);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.service-nav-link:hover {
    color: var(--accent-blue);
    background: rgba(0, 168, 255, 0.05);
    border-color: var(--border-soft);
}

.service-nav-link.active,
.service-nav-link:active,
.service-nav-link:focus {
    color: var(--accent-blue);
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--accent-blue);
}

/* 3. SERVICE BLOCK COMPONENT [data-component="service/block"]
   Title + Intro
   Challenge Card + Deliverables Card (2-column auto-layout)
   See: Card / Glass component below
*/
.service-block {
    scroll-margin-top: 140px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-soft);
}

.service-block:last-of-type {
    border-bottom: none;
}

.service-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.service-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* SERVICE CARDS GRID (Auto-layout: Horizontal, Wrap: Enabled)
   Desktop: 2 columns, 2rem gap
   Tablet:  1 column
   Mobile:  1 column, compact gap
*/
.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* CARD / GLASS COMPONENT [data-component="card/glass"]
   Auto-layout: Vertical
   Padding: 24px
   Radius: 16px
   Gap: 12px
*/
.service-card {
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
    transition: transform var(--motion-base) var(--ease-standard);
}

.service-card:hover {
    transform: translateY(-4px);
}

.challenge-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 0;
}

.challenge-card > * {
    position: relative;
    z-index: 1;
}

.deliverables-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
}

/* Accent Border Top (Utility Classes) */
.deliverables-card.accent-blue {
    border-top: 4px solid var(--accent-blue);
}

.deliverables-card.accent-orange {
    border-top: 4px solid var(--accent-orange);
}

.deliverables-card.accent-gold {
    border-top: 4px solid var(--core-gold);
}

/* UI LABEL (Micro-copy) */
.ui-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* DETAIL LIST (Styled Bullet Points) */
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.accent-orange .detail-list li::before {
    color: var(--accent-orange);
}

.accent-gold .detail-list li::before {
    color: var(--core-gold);
}

/* 5. SUPPORTING SERVICES SECTION */
.supporting-services {
    background: var(--bg-secondary);
}

.supporting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.supporting-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.supporting-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.supporting-col li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 6. PROCESS COMPONENT [data-component="process/steps"]
   Auto-layout: Horizontal
   Wrap: Enabled
   Step width: 200px
   Gap: 24px
*/
.process-snapshot-section {
    text-align: center;
}

.process-snapshot {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.process-step-snap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.process-step-snap:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step-snap:nth-child(2) {
    animation-delay: 0.2s;
}

.process-step-snap:nth-child(3) {
    animation-delay: 0.3s;
}

.process-step-snap:nth-child(4) {
    animation-delay: 0.4s;
}

.process-step-snap:nth-child(5) {
    animation-delay: 0.5s;
}

.step-num {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 7. QUALIFICATION SECTION [data-component="qualification"]
   Grid: 2 columns (auto-layout)
   Desktop: 1fr 1fr
   Tablet:  1fr
   Mobile:  1fr
*/
.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.qual-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform var(--motion-base) var(--ease-standard);
}

.qual-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
}

.qual-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.qual-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qual-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.for-you li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.not-for-you li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* 8. CTA COMPONENT [data-component="cta/primary"]
   Auto-layout: Vertical
   Center aligned
   Gap: 16px
*/
.services-cta {
    text-align: center;
    padding: 6rem 3rem;
    background: var(--bg-main);
}

.services-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.services-cta p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-cta .btn {
    transition: all var(--motion-base) var(--ease-standard);
}

.services-cta .btn:hover {
    box-shadow: var(--shadow-hover), var(--effect-glow-blue);
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE RULES - TABLET (768px and below)
   ========================================== */
@media (max-width: 768px) {
    /* Hero */
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    /* Service Nav - Horizontal Scroll */
    .service-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0.5rem 0;
        scroll-behavior: smooth;
    }

    .service-nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Service Cards - Stack to 1 Column */
    .service-cards-grid,
    .qualification-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .challenge-card {
        min-height: 300px;
    }

    .service-header {
        margin-bottom: 2rem;
    }

    .service-block {
        padding: 60px 0;
    }

    /* Process Snapshot - Tighter Gap */
    .process-snapshot {
        gap: 1.5rem;
    }

    .process-step-snap {
        min-width: 100px;
    }

    /* CTA */
    .services-cta {
        padding: 4rem 1.5rem;
    }

    .services-cta h2 {
        font-size: 1.75rem;
    }

    .services-cta p {
        font-size: 1rem;
    }
}

/* ==========================================
   RESPONSIVE RULES - MOBILE (480px and below)
   ========================================== */
@media (max-width: 480px) {
    /* Hero */
    .services-hero {
        padding: 60px 16px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-micro {
        font-size: 0.8rem;
    }

    /* Service Cards - Compact Padding */
    .service-card {
        padding: 1.5rem;
    }

    .service-cards-grid {
        gap: 1rem;
    }

    .service-header h2 {
        font-size: 1.75rem;
    }

    .service-header p {
        font-size: 1rem;
    }

    /* Process Snapshot - Vertical Stack */
    .process-snapshot {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .process-step-snap {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }

    /* Qualification Cards */
    .qual-card {
        padding: 1.5rem;
    }

    .qual-card h3 {
        font-size: 1.1rem;
    }

    /* CTA */
    .services-cta {
        padding: 3rem 1rem;
    }

    .services-cta h2 {
        font-size: 1.5rem;
    }

    .services-cta p {
        font-size: 0.95rem;
    }
}

/* Respect reduced motion preference already present - keep this at end for specificity */
@media (prefers-reduced-motion: reduce) {
    .hero-glow, .slider, .slide, .card, .btn-primary, .reveal, .icon { animation: none !important; transition: none !important; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.55; }
}

.hero-glow {
    animation: glowPulse 10s ease-in-out infinite;
    pointer-events: none;
}

/* Cinematic hero text reveal */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-title {
    animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Buttons - primary rich interaction */
.btn-primary {
    transition: transform 240ms cubic-bezier(0,0,0.2,1),
                            box-shadow 240ms cubic-bezier(0,0,0.2,1);
}

@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--effect-glow-orange);
    }

    /* Optional magnetic effect (add class `.magnetic` on desktop-only CTAs) */
    .btn-primary.magnetic {
        will-change: transform;
        transition: transform 220ms cubic-bezier(0,0,0.2,1);
    }
    .btn-primary.magnetic:hover { transform: translateY(-3px); }
}

/* Generic card lift (no scaling) */
.card {
    background: var(--bg-glass);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    transition: transform 240ms cubic-bezier(0,0,0.2,1),
                            box-shadow 240ms cubic-bezier(0,0,0.2,1),
                            border-color 240ms;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-active);
}

/* Scroll reveal utility (consistent easing and duration) */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: all 360ms cubic-bezier(0,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Slider used for team / previews (horizontal glass cards) */
.slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
    min-width: 220px;
}

@media (hover: hover) {
    .slider .slide:hover { box-shadow: var(--effect-glow-blue); transform: translateY(-6px); }
}

/* Micro-interactions */
.icon {
    transition: transform 160ms ease-out, color 160ms ease-out;
    display: inline-flex; align-items: center; justify-content: center;
}
.icon:active { transform: scale(0.96); }

/* Links: color fade only */
a { transition: color 160ms cubic-bezier(0,0,0.2,1); }

/* Mobile motion rules */
@media (max-width: 768px) {
    /* Disable hero glow on mobile */
    .hero-glow { animation: none !important; }

    /* Reduce animation/transition durations by ~40% */
    .btn-primary, .card, .reveal, .slider, .slide {
        transition-duration: calc(var(--motion-base) * 0.6) !important;
        transition-timing-function: var(--ease-out) !important;
    }

    /* Remove hover-only desktop effects */
    .btn-primary.magnetic { transition: none !important; }
    .icon { transition: none !important; }
}

/* Respect reduced motion preference already present - keep this at end for specificity */
@media (prefers-reduced-motion: reduce) {
    .hero-glow, .slider, .slide, .card, .btn-primary, .reveal, .icon { animation: none !important; transition: none !important; }
}

/* ==========================================
   PREMIUM SCROLLBAR DESIGN
   ========================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 14px;
    width: 12px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    /* Premium Gradient: Deep Blue -> Vibrant Blue -> Vibrant Orange -> Deep Orange */
    background: linear-gradient(180deg, #0038a8 0%, var(--blue-primary) 35%, var(--orange-primary) 65%, #e65100 100%);
    background-size: 100% 200%;
    animation: scrollGradientShift 6s ease infinite;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1); /* Subtle inner border for depth */
    box-shadow: 0 0 20px rgba(31, 106, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: scrollGradientShift 4s ease infinite alternate;
    border-radius: 100px;
    border: 3px solid transparent;
    background-clip: content-box;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 0 20px var(--blue-glow);
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 35px rgba(31, 106, 255, 0.6), 0 0 25px rgba(255, 154, 31, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.15);
    animation-duration: 3s;
    border: 2px solid transparent;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.8), 0 0 30px var(--blue-glow), 0 0 15px var(--orange-glow);
}

/* Premium Scroll Gradient Animation */
@keyframes scrollGradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* Firefox - Premium Styling */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 106, 255, 0.8) transparent;
    scrollbar-color: var(--blue-primary) transparent;
}

/* Mobile Scrollbar Adjustment - Premium Thin Style */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        width: 6px;
    }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--blue-primary) 0%, var(--orange-primary) 100%);
        box-shadow: 0 0 15px rgba(31, 106, 255, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border: 1px solid transparent;
    }
    ::-webkit-scrollbar-thumb:hover {
        box-shadow: 0 0 25px rgba(31, 106, 255, 0.5), 0 0 15px rgba(255, 154, 31, 0.3);
    }
}
