/* ============================================================================
   Labo Group — Design System & Global Styles
   ============================================================================
   CSS Custom Properties → Base → Typography → Components → Layouts → Animations
   Color Palette: Labotek Corporate Blue — Deep Navy + Blue + Gold
   ============================================================================ */

/* ——— Google Fonts loaded via <link rel="preconnect"> in <head> for fast parallel loading ——— */

/* ——— CSS Custom Properties ————————————————————————————————————————————————— */
:root {
    /* Primary Colors — Deep Navy Base */
    --color-navy-900: #060e1a;
    --color-navy-800: #0B1D3A;
    --color-navy-700: #0F2647;
    --color-navy-600: #162D50;
    --color-navy-500: #1E3A5F;
    --color-navy-400: #2A4D78;
    --color-navy-300: #3D6B9E;
    --color-navy-200: #6B9BCF;
    --color-navy-100: #A8C8E8;
    --color-navy-50:  #E0ECF7;

    /* Accent — Labotek Steel Blue */
    --color-blue-600: #4A6A96;
    --color-blue-500: #5A7AAA;
    --color-blue-400: #6C8AB5;
    --color-blue-300: #8DA5C8;
    --color-blue-200: #B3C6DE;
    --color-blue-100: #E0EAF5;

    /* Accent — Warm Gold (secondary accent) */
    --color-gold-600: #0f4bb5;
    --color-gold-500: #1458d4;
    --color-gold-400: #1864EA;
    --color-gold-300: #3b82f6;
    --color-gold-200: #60a5fa;
    --color-gold-100: #dbeafe;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-info: #6C8AB5;
    --color-info-light: #E0EAF5;

    /* Neutrals — Cool-tinted */
    --color-white: #ffffff;
    --color-gray-50:  #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    --color-black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4A6A96 0%, #5A7AAA 50%, #6C8AB5 100%);
    --gradient-gold: linear-gradient(135deg, #1458d4 0%, #1864EA 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-navy-900) 0%, var(--color-navy-800) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(6,14,26,0.95) 0%, rgba(11,29,58,0.85) 50%, rgba(108,138,181,0.55) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    --gradient-card: linear-gradient(145deg, rgba(11,29,58,0.85) 0%, rgba(6,14,26,0.95) 100%);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.2), 0 2px 4px -2px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.25), 0 4px 6px -4px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.15);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.5);
    --shadow-glow-blue: 0 0 20px rgba(108,138,181,0.35), 0 0 60px rgba(108,138,181,0.12);
    --shadow-glow-gold: 0 0 20px rgba(24,100,234,0.35), 0 0 60px rgba(24,100,234,0.12);
    --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 1000;
    --z-modal-backdrop: 1100;
    --z-modal: 1200;
    --z-toast: 1300;

    /* Container */
    --container-max: 1280px;
    --container-narrow: 960px;
    --container-wide: 1440px;

    /* Primary & Accent Semantic Aliases */
    --color-primary: var(--color-blue-400);
    --color-primary-400: var(--color-blue-400);
    --color-primary-500: var(--color-blue-500);
    --color-primary-600: var(--color-blue-600);
    --color-gold: var(--color-gold-400);
    --color-btn-primary: #1864EA;
    --color-btn-primary-hover: #1253c4;
    --gradient-btn-primary: linear-gradient(135deg, #1864EA 0%, #0f4ec2 100%);
    --gradient-btn-primary-hover: linear-gradient(135deg, #226ef3 0%, #1253c4 100%);
    --shadow-btn-primary: 0 4px 15px rgba(24, 100, 234, 0.4);
    --shadow-btn-primary-hover: 0 8px 25px rgba(24, 100, 234, 0.55);
    --color-danger: var(--color-error);
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;
    --color-green-400: #34d399;
    --color-green-500: #10b981;
    --color-orange-400: #8DA5C8;
    --color-orange-500: #6C8AB5;
    --color-amber-400: #3b82f6;
    --color-navy-950: #040811;

    /* Spacing & Typography Fallbacks */
    --space-7: 1.75rem;
    --text-md: 1rem;
    --font-sans: var(--font-body);
    --font-heading: var(--font-display);
    --navbar-height: 80px;

    /* Theme Adaptive Surfaces & Text (Dark Mode Defaults) */
    --bg-body: var(--color-navy-900);
    --bg-primary: var(--color-navy-900);
    --bg-secondary: var(--color-navy-800);
    --bg-card: var(--color-navy-800);
    --bg-input: rgba(11, 29, 58, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-color: var(--color-gray-200);
    --text-muted: var(--color-gray-400);

    /* Section-specific: Press / News */
    --press-border: rgba(255, 255, 255, 0.08);
    --press-ink-lead: #ffffff;
    --press-ink-muted: #94a3b8;
    --press-accent: var(--color-blue-400);
    --press-bg-paper: var(--color-navy-900);
    --press-border-highlight: rgba(108, 138, 181, 0.4);
    --press-gold: var(--color-gold-400);
    --press-bg-card: var(--color-navy-800);

    /* Section-specific: Testimonials / Reviews */
    --rev-card-bg: var(--color-navy-800);
    --rev-card-border: rgba(108, 138, 181, 0.2);
    --rev-card-border-hover: rgba(108, 138, 181, 0.5);
    --rev-text-main: #f8fafc;
    --rev-text-muted: #94a3b8;
    --rev-gold: var(--color-gold-400);
    --rev-accent: var(--color-blue-400);
}

/* â”€â”€â”€ Admin Themes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html[data-admin-theme="ocean"] {
    --color-navy-900: #021a24;
    --color-navy-800: #042f40;
    --color-navy-700: #074760;
    --color-blue-600: #0891b2;
    --color-blue-500: #06b6d4;
    --color-blue-400: #22d3ee;
    --color-gold-600: #e11d48;
    --color-gold-500: #f43f5e;
    --color-gold-400: #fb7185;
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-gold: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    --gradient-dark: linear-gradient(180deg, #021a24 0%, #042f40 100%);
    --gradient-hero: linear-gradient(135deg, rgba(2,26,36,0.92) 0%, rgba(7,71,96,0.85) 50%, rgba(8,145,178,0.7) 100%);
}
html[data-admin-theme="forest"] {
    --color-navy-900: #061a12;
    --color-navy-800: #0a291c;
    --color-navy-700: #0f3f2a;
    --color-blue-600: #059669;
    --color-blue-500: #10b981;
    --color-blue-400: #34d399;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-dark: linear-gradient(180deg, #061a12 0%, #0a291c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(6,26,18,0.92) 0%, rgba(15,63,42,0.85) 50%, rgba(5,150,105,0.7) 100%);
}
html[data-admin-theme="midnight"] {
    --color-navy-900: #020617;
    --color-navy-800: #0f172a;
    --color-navy-700: #1e293b;
    --color-blue-600: #3b82f6;
    --color-blue-500: #60a5fa;
    --color-blue-400: #93c5fd;
    --color-gold-600: #94a3b8;
    --color-gold-500: #cbd5e1;
    --color-gold-400: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    --gradient-dark: linear-gradient(180deg, #020617 0%, #0f172a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(2,6,23,0.92) 0%, rgba(15,23,42,0.85) 50%, rgba(59,130,246,0.7) 100%);
}

/* â”€â”€â”€ User Light Mode Override â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html.theme-light {
    --color-navy-900: #f8fafc;
    --color-navy-800: #ffffff;
    --color-navy-700: #f1f5f9;
    --color-navy-600: #e2e8f0;
    
    --color-gray-50:  #0f172a;
    --color-gray-100: #1e293b;
    --color-gray-200: #334155;
    --color-gray-300: #475569;
    --color-gray-400: #64748b;
    --color-white: #0f172a;
    
    --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);

    /* Theme Adaptive Surfaces & Text (Light Mode) */
    --bg-body: #f8fafc;
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-color: #0f172a;
    --text-muted: #64748b;
    --color-primary: var(--color-blue-600);
    --color-primary-400: var(--color-blue-600);

    /* Light Mode: Press / News */
    --press-border: rgba(0, 0, 0, 0.08);
    --press-ink-lead: #0f172a;
    --press-ink-muted: #475569;
    --press-accent: var(--color-blue-600);
    --press-bg-paper: #f8fafc;
    --press-border-highlight: rgba(108, 138, 181, 0.35);
    --press-gold: #1864EA;
    --press-bg-card: #ffffff;

    /* Light Mode: Testimonials / Reviews */
    --rev-card-bg: #ffffff;
    --rev-card-border: rgba(0, 0, 0, 0.08);
    --rev-card-border-hover: rgba(108, 138, 181, 0.45);
    --rev-text-main: #0f172a;
    --rev-text-muted: #475569;
    --rev-gold: #1864EA;
    --rev-accent: var(--color-blue-600);
}

html.theme-light .card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
html.theme-light .card-glass {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
html.theme-light .stat-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
html.theme-light .stat-value {
    color: #0f172a;
}
html.theme-light .stat-label {
    color: #64748b;
}

html.theme-light .section-dark {
    background: #f8fafc;
    color: #334155;
}
html.theme-light .section-darker {
    background: #f1f5f9;
    color: #334155;
}
html.theme-light .section-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
html.theme-light .section-title {
    color: #0f172a;
}
html.theme-light .section-subtitle {
    color: #64748b;
}
html.theme-light .section-label {
    color: var(--color-blue-600);
}

html.theme-light .btn-secondary {
    background: rgba(24, 100, 234, 0.08);
    color: #1864EA;
    border-color: rgba(24, 100, 234, 0.2);
}
html.theme-light .btn-secondary:hover {
    background: rgba(24, 100, 234, 0.15);
    color: #1253c4;
}
html.theme-light .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
html.theme-light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
html.theme-light .navbar-menu a {
    color: var(--color-gray-600);
}
html.theme-light .navbar-menu a:hover {
    color: var(--color-gray-900);
    background: rgba(0,0,0,0.04);
}
html.theme-light .navbar-menu a.active {
    color: var(--color-blue-600);
    background: rgba(108,138,181,0.06);
}
html.theme-light .navbar-icon-btn {
    background: rgba(0,0,0,0.04);
    color: var(--color-gray-600);
    border-color: rgba(0,0,0,0.08);
}
html.theme-light .navbar-icon-btn:hover {
    background: rgba(0,0,0,0.08);
    color: var(--color-gray-900);
    border-color: rgba(0,0,0,0.12);
}
html.theme-light .nav-dropdown-menu {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
html.theme-light .nav-dropdown-menu a {
    color: var(--color-gray-600);
}
html.theme-light .nav-dropdown-menu a:hover {
    background: rgba(0,0,0,0.04);
    color: var(--color-gray-900);
}
html.theme-light .notif-dropdown {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
html.theme-light .notif-dropdown-header {
    border-bottom-color: rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
    color: var(--color-gray-900);
}
html.theme-light .notif-item {
    border-bottom-color: rgba(0,0,0,0.04);
}
html.theme-light .notif-item:hover {
    background: rgba(0,0,0,0.03);
}
html.theme-light .notif-item-msg {
    color: var(--color-gray-600);
}

/* Light Mode — Split Hero & Overlays */
html.theme-light .hero-split {
    background: #f8fafc;
}
html.theme-light .hero-split .hero-bg-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 10% 50%, rgba(108,138,181,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 30%, rgba(24,100,234,0.06) 0%, transparent 60%),
        #f8fafc;
}
html.theme-light .hero-content h1,
html.theme-light .hero-content h2,
html.theme-light .hero-title {
    color: #0f172a !important;
}
html.theme-light .hero-content p,
html.theme-light .hero-subtitle {
    color: #475569 !important;
}
html.theme-light .hero-badge {
    background: rgba(108, 138, 181, 0.08) !important;
    border: 1px solid rgba(108, 138, 181, 0.25) !important;
    color: var(--color-blue-600) !important;
}

html.theme-light .management-overlay {
    background: linear-gradient(to top, rgba(5, 13, 26, 0.95) 0%, rgba(5, 13, 26, 0.7) 45%, transparent 100%) !important;
}
html.theme-light .management-name {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}
html.theme-light .management-role {
    color: #6C8AB5 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* Light Mode â€” Site Footer */
html.theme-light .site-footer {
    background: #f1f5f9;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: #475569;
}
html.theme-light .footer-heading {
    color: #0f172a;
}
html.theme-light .footer-brand p,
html.theme-light .footer-links a {
    color: #475569;
}
html.theme-light .footer-links a:hover {
    color: var(--color-blue-600);
}
html.theme-light .footer-social a {
    background: rgba(0,0,0,0.06);
    color: #334155;
}
html.theme-light .footer-social a:hover {
    background: var(--gradient-primary);
    color: #ffffff;
}
html.theme-light .footer-bottom {
    border-top-color: rgba(0,0,0,0.08);
    color: #64748b;
}
html.theme-light .footer-bottom a {
    color: #64748b;
}
html.theme-light .footer-bottom a:hover {
    color: #0f172a;
}

html.theme-light .cms-content {
    color: #334155;
}
html.theme-light .cms-content strong {
    color: #0f172a;
}
html.theme-light .form-control {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}
html.theme-light .form-label {
    color: #334155;
}

/* Light Mode — Benefit & Perk Cards */
html.theme-light .benefit-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
html.theme-light .benefit-card:hover {
    border-color: rgba(108, 138, 181, 0.4) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.12), 0 0 20px rgba(108, 138, 181, 0.1) !important;
}
html.theme-light .benefit-card h3 {
    color: #0f172a !important;
}
html.theme-light .benefit-card p {
    color: #475569 !important;
}
html.theme-light .benefit-icon-box {
    background: rgba(108, 138, 181, 0.1) !important;
    border: 1px solid rgba(108, 138, 181, 0.25) !important;
    color: var(--color-blue-600) !important;
}

/* Light Mode — Sector Scroll Cards */
html.theme-light .sector-scroll-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
html.theme-light .sector-scroll-card:hover {
    border-color: rgba(108, 138, 181, 0.35) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(108, 138, 181, 0.06) !important;
}
html.theme-light .sector-scroll-card h3 {
    color: #0f172a !important;
}
html.theme-light .sector-scroll-card p {
    color: #64748b !important;
}

/* Light Mode — Timeline Cards */
html.theme-light .timeline-content {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}
html.theme-light .timeline-content p {
    color: #475569 !important;
}
html.theme-light .timeline-item::after {
    background-color: #ffffff !important;
}

/* Light Mode — Commitment & Initiative Cards */
html.theme-light .commit-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
html.theme-light .commit-card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .commit-card h3 {
    color: #0f172a !important;
}
html.theme-light .commit-card p {
    color: #475569 !important;
}

/* Light Mode — Culture Value Cards */
html.theme-light .culture-val-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
html.theme-light .culture-val-card h3 {
    color: #0f172a !important;
}
html.theme-light .culture-val-card p {
    color: #475569 !important;
}

/* Light Mode — Alternating Services Layout */
html.theme-light .service-alt-visual {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
html.theme-light .service-alt-content .service-number {
    color: rgba(108, 138, 181, 0.15) !important;
}
html.theme-light .service-alt-content h3 {
    color: #0f172a !important;
}
html.theme-light .service-alt-content p {
    color: #475569 !important;
}

/* Light Mode — CTA Section */
html.theme-light .cta-forge {
    background: #f8fafc !important;
}
html.theme-light .cta-forge-inner {
    background: #ffffff !important;
    border: 1px solid rgba(108, 138, 181, 0.25) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 0 30px rgba(108, 138, 181, 0.06) !important;
}
html.theme-light .cta-forge-inner h2 {
    color: #0f172a !important;
}
html.theme-light .cta-forge-inner p {
    color: #475569 !important;
}

/* Light Mode — Data Tables */
html.theme-light .table-wrapper {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
html.theme-light .data-table th {
    background: #f8fafc;
    color: #475569;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
html.theme-light .data-table td {
    color: #334155;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.theme-light .data-table tbody tr:hover {
    background: #f8fafc;
}

/* ─── Light Mode: Comprehensive Admin, Employee & Dashboard UI ──────────── */
html.theme-light .admin-body,
html.theme-light .admin-main {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

html.theme-light .admin-sidebar {
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.03);
}
html.theme-light .admin-sidebar-brand {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .admin-sidebar-brand a {
    color: #0f172a !important;
}
html.theme-light .admin-sidebar-brand .brand-label {
    color: #64748b !important;
}
html.theme-light .sidebar-nav-label {
    color: #64748b !important;
}
html.theme-light .sidebar-nav a {
    color: #475569 !important;
}
html.theme-light .sidebar-nav a:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}
html.theme-light .sidebar-nav a.active {
    color: var(--color-blue-600) !important;
    background: rgba(108, 138, 181, 0.1) !important;
    border-left-color: var(--color-blue-600) !important;
    font-weight: 600;
}

html.theme-light .admin-topbar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
html.theme-light .admin-topbar h1 {
    color: #0f172a !important;
}
html.theme-light .admin-topbar-user {
    color: #334155 !important;
}
html.theme-light .admin-universal-search-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #334155 !important;
}
html.theme-light .admin-universal-search-btn:hover {
    background: rgba(108, 138, 181, 0.12) !important;
    border-color: var(--color-blue-400) !important;
    color: #0f172a !important;
}
html.theme-light .admin-universal-search-btn kbd {
    background: rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #475569 !important;
}
html.theme-light .admin-theme-toggle {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: var(--color-gold-600) !important;
}
html.theme-light .admin-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .admin-sidebar-toggle {
    color: #0f172a !important;
}

/* Light Mode: Cards, Stats & Panels */
html.theme-light .dashboard-card,
html.theme-light .admin-card,
html.theme-light .card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}
html.theme-light .dashboard-stat-value {
    color: #0f172a !important;
}
html.theme-light .dashboard-stat-label {
    color: #64748b !important;
}

/* Light Mode: Form Inputs, Selects & Controls */
html.theme-light .form-control,
html.theme-light input[type="text"],
html.theme-light input[type="email"],
html.theme-light input[type="password"],
html.theme-light input[type="number"],
html.theme-light input[type="date"],
html.theme-light input[type="file"],
html.theme-light input[type="search"],
html.theme-light select,
html.theme-light textarea {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}
html.theme-light .form-control:focus,
html.theme-light input:focus,
html.theme-light select:focus,
html.theme-light textarea:focus {
    border-color: var(--color-blue-500) !important;
    box-shadow: 0 0 0 3px rgba(108, 138, 181, 0.18) !important;
    outline: none;
}
html.theme-light .form-control::placeholder,
html.theme-light input::placeholder,
html.theme-light textarea::placeholder {
    color: #94a3b8 !important;
}
html.theme-light .form-label {
    color: #334155 !important;
    font-weight: 600;
}
html.theme-light .form-help,
html.theme-light .form-hint,
html.theme-light small {
    color: #64748b !important;
}

/* Light Mode: Tables */
html.theme-light .admin-table,
html.theme-light .data-table {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .admin-table th,
html.theme-light .data-table th {
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
    font-weight: 700;
}
html.theme-light .admin-table td,
html.theme-light .data-table td {
    color: #334155 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}
html.theme-light .admin-table tr:hover td,
html.theme-light .data-table tbody tr:hover td,
html.theme-light .data-table tbody tr:hover {
    background: #f1f5f9 !important;
}

/* Light Mode: Buttons & Badges */
html.theme-light .btn-primary {
    background: #1864EA !important;
    background: var(--gradient-btn-primary) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-btn-primary) !important;
    border: none !important;
}
html.theme-light .btn-primary:hover {
    background: #1253c4 !important;
    background: var(--gradient-btn-primary-hover) !important;
    box-shadow: var(--shadow-btn-primary-hover) !important;
    color: #ffffff !important;
}
html.theme-light .btn-outline {
    border-color: #1864EA !important;
    color: #1864EA !important;
    background: transparent !important;
}
html.theme-light .btn-outline:hover {
    background: #1864EA !important;
    color: #ffffff !important;
    border-color: #1864EA !important;
    box-shadow: 0 4px 15px rgba(24, 100, 234, 0.35) !important;
}
html.theme-light .badge-outline {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #475569 !important;
}
html.theme-light .badge-gray {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
}

/* Light Mode: Modals & Dialogs */
html.theme-light .modal-content,
html.theme-light .admin-modal {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}
html.theme-light .modal-header {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .modal-footer {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* Light Mode: Notice Tabs & Buttons */
html.theme-light .notice-tab-btn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #475569 !important;
}
html.theme-light .notice-tab-btn.active,
html.theme-light .notice-tab-btn:hover {
    background: var(--color-blue-500) !important;
    color: #ffffff !important;
    border-color: var(--color-blue-500) !important;
}

/* Light Mode: Empty State */
html.theme-light .empty-state {
    color: #64748b !important;
}
html.theme-light .empty-state h3 {
    color: #0f172a !important;
}

/* Light Mode: Breadcrumb */
html.theme-light .breadcrumb a {
    color: var(--color-blue-600) !important;
}
html.theme-light .breadcrumb .separator {
    color: #94a3b8 !important;
}
html.theme-light .breadcrumb .current {
    color: #64748b !important;
}

/* Light Mode: Page Header */
html.theme-light .page-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .page-header h1 {
    color: #0f172a !important;
}

/* Light Mode: Alert / Notice items */
html.theme-light .notice-item-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .notice-item-title {
    color: #0f172a !important;
}
html.theme-light .notice-item-excerpt {
    color: #475569 !important;
}
html.theme-light .notice-item-date {
    color: #64748b !important;
}

/* Light Mode: Live Chat */
html.theme-light .chat-sidebar,
html.theme-light .chat-main {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .chat-user-item {
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
    color: #334155 !important;
}
html.theme-light .chat-user-item:hover,
html.theme-light .chat-user-item.active {
    background: #f1f5f9 !important;
}
html.theme-light .message-bubble.incoming {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}
html.theme-light .message-bubble.outgoing {
    background: var(--color-blue-500) !important;
    color: #ffffff !important;
}


/* â”€â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-gray-200);
    background-color: var(--color-navy-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

::selection {
    background-color: var(--color-blue-500);
    color: var(--color-white);
}

/* â”€â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-white);
}

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
h5 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
h6 { font-size: var(--text-base); margin-bottom: var(--space-2); }

p { margin-bottom: var(--space-4); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--color-gold-400);
}

.text-muted {
    color: var(--color-gray-400);
}

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

.section-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-blue-400);
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(108, 138, 181, 0.1);
    border: 1px solid rgba(108, 138, 181, 0.2);
    border-radius: var(--radius-full);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-blue-400);
    border-radius: 50%;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    max-width: 600px;
    line-height: var(--leading-relaxed);
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}

/* â”€â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.container-wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--space-24) 0;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-dark {
    background-color: var(--color-navy-800);
}

.section-darker {
    background-color: var(--color-navy-900);
}

.section-gradient {
    background: linear-gradient(180deg, var(--color-navy-800) 0%, var(--color-navy-900) 100%);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

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

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-col {
    flex-direction: column;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* â”€â”€â”€ Announcement Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.announcement-bar {
    background: var(--color-blue-600);
    background: linear-gradient(90deg, var(--color-blue-600), var(--color-navy-400));
    color: var(--color-white);
    position: relative;
    z-index: 1000;
}
.announcement-link:hover {
    text-decoration: underline !important;
}

/* â”€â”€â”€ Navbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
    background: rgba(6, 14, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #4A6A96, #6C8AB5, #1864EA, #6C8AB5, #4A6A96) 1;
}

.navbar.scrolled {
    background: rgba(6, 14, 26, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-2) 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03) inset;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-wide);
}

/* â”€â”€ Brand â”€â”€ */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-white);
    flex-shrink: 0;
}

.navbar-logo {
    height: 36px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.navbar-brand:hover .navbar-logo {
    opacity: 0.85;
}

.navbar-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--color-white);
    box-shadow: var(--shadow-glow-blue);
}

.navbar-brand .brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
    letter-spacing: -0.02em;
}

.navbar-brand .brand-text span {
    color: var(--color-blue-400);
}

/* â”€â”€ Navigation Links â”€â”€ */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.navbar-menu a {
    color: var(--color-gray-300);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.navbar-menu a:hover {
    color: var(--color-white);
    background: rgba(255,255,255,0.06);
}

.navbar-menu a.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.08);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--color-blue-400);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* â”€â”€ Nav Dropdown â”€â”€ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--color-white);
}

/* â”€â”€ Navbar Actions â”€â”€ */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

/* â”€â”€ Icon Buttons (bell, theme, logout) â”€â”€ */
.navbar-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    color: var(--color-gray-300);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 14px;
    position: relative;
    text-decoration: none;
}

.navbar-icon-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--color-white);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ── Theme Toggle Button & Icon Rules (Pure CSS Zero-Flash) ── */
.theme-toggle-btn .light-icon,
.theme-toggle-btn .dark-icon {
    display: none;
    transition: transform var(--transition-fast);
}

html.theme-dark .theme-toggle-btn .light-icon,
html:not(.theme-light) .theme-toggle-btn .light-icon {
    display: inline-block !important;
}

html.theme-light .theme-toggle-btn .dark-icon {
    display: inline-block !important;
}

html.theme-light .theme-toggle-btn .light-icon {
    display: none !important;
}

/* ── CTA buttons (Dashboard / Admin Panel) ── */
.navbar-cta-btn {
    font-size: var(--text-xs) !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* â”€â”€ Notification Wrapper â”€â”€ */
.nav-notif-wrap {
    position: relative;
}

/* â”€â”€ Notification Badge â”€â”€ */
.notif-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-error);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(239,68,68,0.4);
    pointer-events: none;
}

/* â”€â”€ Notification Dropdown â”€â”€ */
.notif-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    background: rgba(6, 14, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
    z-index: 9999;
    overflow: hidden;
}

.notif-dropdown-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
    color: var(--color-white);
}

.notif-dropdown-header .btn {
    font-size: 11px;
    padding: 4px 10px;
}

.notif-list {
    max-height: 360px;
    overflow-y: auto;
}

/* â”€â”€ Notification Items â”€â”€ */
.notif-empty {
    padding: 24px 20px;
    text-align: center;
    color: var(--color-gray-400);
    font-size: 13px;
}

.notif-item {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.notif-item:hover {
    background: rgba(255,255,255,0.04);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-blue-400);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-item-title .fa-circle {
    font-size: 6px;
}

.notif-item-msg {
    font-size: 13px;
    color: var(--color-gray-300);
    line-height: 1.45;
}

.notif-item-time {
    font-size: 11px;
    color: var(--color-gray-500);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile-only elements — hidden on desktop */
.mobile-only-logout,
.mobile-only-auth,
.navbar-backdrop {
    display: none !important;
}


/* Mobile nav toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
    background: none;
    border: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
    pointer-events: none;
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* â”€â”€â”€ Hero Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) translateX(100px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: var(--space-32);
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-blue-300);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-blue-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-300);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-10);
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-400);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-blue-400), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* â”€â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #1864EA !important;
    background: var(--gradient-btn-primary) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: var(--shadow-btn-primary) !important;
}

.btn-primary:hover {
    background: #1253c4 !important;
    background: var(--gradient-btn-primary-hover) !important;
    box-shadow: var(--shadow-btn-primary-hover) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: var(--color-white);
}

.btn-gold {
    background: #1864EA;
    color: #ffffff !important;
    border: 1px solid #1864EA;
    box-shadow: 0 4px 15px rgba(24, 100, 234, 0.35);
}

.btn-gold:hover {
    background: #1251bf;
    border-color: #1251bf;
    box-shadow: 0 8px 25px rgba(24, 100, 234, 0.45);
    color: #ffffff !important;
}

.btn-outline {
    background: transparent;
    color: #1864EA;
    border: 1px solid #1864EA;
}

.btn-outline:hover {
    background: #1864EA;
    border-color: #1864EA;
    box-shadow: 0 4px 15px rgba(24, 100, 234, 0.35);
    color: #ffffff !important;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff !important;
}

.btn-danger:hover {
    box-shadow: 0 8px 25px rgba(239,68,68,0.4);
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff !important;
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
    color: #ffffff !important;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-icon {
    padding: var(--space-2);
    width: 40px;
    height: 40px;
}

.btn-group {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* â”€â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(108,138,181,0.25);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(108,138,181,0.15), 0 0 60px rgba(108,138,181,0.05);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.card-body {
    padding: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-white);
}

.card-text {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Glass Card Variant */
.card-glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Service Card */
.service-card {
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(108,138,181,0.1);
    border: 1px solid rgba(108,138,181,0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-blue-400);
    margin: 0 auto var(--space-5);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.1);
}

/* Benefit / Perk Card Base */
.benefit-card {
    background: linear-gradient(145deg, rgba(15,38,71,0.9), rgba(6,14,26,0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 138, 181, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(108, 138, 181, 0.12);
}

.benefit-card .benefit-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue-500), var(--color-gold-400));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.benefit-card:hover .benefit-accent {
    opacity: 1 !important;
}

.benefit-card h3 {
    margin: 2px 0 0 0;
    font-size: var(--text-lg);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--color-gray-300);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
    flex-grow: 1;
}

.benefit-icon-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(108, 138, 181, 0.18), rgba(24, 100, 234, 0.12));
    border: 1px solid rgba(108, 138, 181, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-blue-400);
}

/* Stat Card */
.stat-card {
    text-align: center;
    padding: var(--space-8);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-value .suffix {
    color: var(--color-blue-400);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* â”€â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-300);
    margin-bottom: var(--space-2);
}

.form-label .required {
    color: var(--color-error);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-white);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-blue-400);
    box-shadow: 0 0 0 3px rgba(108,138,181,0.2);
    background: rgba(255,255,255,0.08);
}

.form-control::placeholder {
    color: var(--color-gray-500);
}

.form-control.is-invalid {
    border-color: var(--color-error);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: var(--space-10);
}

select.form-control option {
    background-color: var(--color-navy-900);
    color: var(--color-white);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.form-help {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    margin-top: var(--space-1);
}

/* Password Visibility Toggle */
.password-toggle-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.password-toggle-wrapper .form-control {
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px 8px;
    color: var(--color-gray-400, #94a3b8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md, 6px);
    font-size: 0.95rem;
    line-height: 1;
    z-index: 2;
    transition: color var(--transition-fast, 0.15s ease), background-color var(--transition-fast, 0.15s ease);
}

.password-toggle-btn:hover {
    color: var(--color-blue-400, #60a5fa);
    background: rgba(255, 255, 255, 0.08);
}

.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--color-blue-400, #60a5fa);
    outline-offset: 1px;
}

html.theme-light .password-toggle-btn {
    color: #64748b;
}

html.theme-light .password-toggle-btn:hover {
    color: #5A7AAA;
    background: rgba(0, 0, 0, 0.05);
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-blue-500);
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

/* â”€â”€â”€ Alerts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    animation: slideDown var(--transition-base) ease-out;
}

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

.alert-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.2);
    color: var(--color-success);
}

.alert-error {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.2);
    color: var(--color-error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.alert-info {
    background: rgba(108,138,181,0.1);
    border-color: rgba(108,138,181,0.2);
    color: var(--color-info);
}

/* â”€â”€â”€ Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary { background: rgba(108,138,181,0.15); color: var(--color-blue-400); border: 1px solid rgba(108,138,181,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--color-success); border: 1px solid rgba(16,185,129,0.3); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--color-warning); border: 1px solid rgba(245,158,11,0.3); }
.badge-danger  { background: rgba(239,68,68,0.15); color: var(--color-error); border: 1px solid rgba(239,68,68,0.3); }
.badge-info    { background: rgba(108,138,181,0.15); color: var(--color-info); border: 1px solid rgba(108,138,181,0.3); }
.badge-gray    { background: rgba(148,163,184,0.15); color: var(--color-gray-400); border: 1px solid rgba(148,163,184,0.3); }

/* â”€â”€â”€ Tables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.06);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.data-table th {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}

.data-table td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--color-gray-300);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.table-actions {
    display: flex;
    gap: var(--space-2);
}

/* â”€â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-gray-400);
    background: rgba(255,255,255,0.03);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination a:hover {
    background: rgba(108,138,181,0.15);
    border-color: var(--color-blue-500);
    color: var(--color-blue-400);
}

.pagination .active {
    background: var(--gradient-primary);
    border-color: var(--color-blue-500);
    color: var(--color-white);
    font-weight: 600;
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* â”€â”€â”€ Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: var(--z-modal);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-navy-700);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: var(--space-6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-gray-400);
    cursor: pointer;
    font-size: var(--text-xl);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.modal-body {
    padding: var(--space-6);
}

.modal-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
}

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
    background: var(--color-navy-900);
    border-top: none;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    display: block;
    height: 80px;
    background: linear-gradient(135deg, var(--color-blue-600), var(--color-blue-400), var(--color-gold-500));
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    margin-bottom: var(--space-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-12);
}

.footer-brand p {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-top: var(--space-4);
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-blue-500);
    border-color: var(--color-blue-400);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.footer-links a {
    display: block;
    padding: var(--space-2) 0;
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-blue-400);
    padding-left: var(--space-2);
}

.footer-bottom {
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

.footer-bottom a {
    color: var(--color-gray-400);
}

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

/* ─── Page Header / Breadcrumb — Copper Forge Level 3 ──────────────── */
.page-header {
    padding: calc(var(--space-24) + 40px) 0 var(--space-16);
    background:
        radial-gradient(ellipse 70% 60% at 90% 20%, rgba(108, 138, 181, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(24, 100, 234, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-navy-800) 0%, var(--color-navy-900) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(108, 138, 181, 0.15);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 138, 181, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.page-header .section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    max-width: 700px;
    line-height: var(--leading-relaxed);
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-blue-400);
}

.breadcrumb .separator {
    color: rgba(108, 138, 181, 0.4);
    font-size: 10px;
}

.breadcrumb .current {
    color: var(--color-blue-400);
}

/* Light Mode Overrides for Page Header */
html.theme-light .page-header {
    background:
        radial-gradient(ellipse 70% 60% at 90% 20%, rgba(108, 138, 181, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom-color: rgba(108, 138, 181, 0.12);
}
html.theme-light .page-header h1 {
    color: #0f172a;
}
html.theme-light .page-header .section-subtitle {
    color: #475569;
}
html.theme-light .breadcrumb {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
html.theme-light .breadcrumb a {
    color: #64748b;
}
html.theme-light .breadcrumb a:hover {
    color: var(--color-blue-600);
}
html.theme-light .breadcrumb .current {
    color: var(--color-blue-600);
}

/* â”€â”€â”€ FAQ Accordion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(108,138,181,0.2);
}

.faq-question {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    background: rgba(255,255,255,0.02);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255,255,255,0.04);
}

.faq-question .faq-icon {
    transition: transform var(--transition-base);
    color: var(--color-blue-400);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-inner {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--color-gray-400);
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

/* â”€â”€â”€ Contact Info â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(108,138,181,0.1);
    border: 1px solid rgba(108,138,181,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-info-text p {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* â”€â”€â”€ Logo Strip / Partner Logos â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    padding: var(--space-10) 0;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.logo-strip:hover {
    opacity: 0.7;
    filter: grayscale(50%);
}

.logo-strip img {
    height: 40px;
    object-fit: contain;
}

/* â”€â”€â”€ Auth Pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(108, 138, 181, 0.08) 0%, transparent 60%), var(--color-navy-950);
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 138, 181, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(24, 100, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(11, 29, 58, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 138, 181, 0.25);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(108, 138, 181, 0.1);
    position: relative;
    z-index: 1;
}

.auth-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-8);
}

.auth-logo img {
    display: block;
    margin: 0 auto var(--space-4);
    max-width: 100%;
    height: auto;
}

.auth-logo .logo-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-2xl);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(108, 138, 181, 0.4);
}

.auth-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-2);
    text-align: center;
    color: var(--color-white);
}

.auth-subtitle {
    color: var(--color-gray-300);
    font-size: var(--text-sm);
    text-align: center;
    margin-bottom: var(--space-6);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    color: var(--color-gray-400);
}

.auth-footer a {
    color: var(--color-gold-400);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: var(--color-gold-300);
    text-decoration: underline;
}

/* Light Mode Overrides for Auth */
html.theme-light .auth-wrapper {
    background: radial-gradient(circle at 50% 20%, rgba(90, 122, 170, 0.05) 0%, transparent 60%), linear-gradient(135deg, #faf7f2 0%, #ede7df 100%) !important;
}
html.theme-light .auth-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(90, 122, 170, 0.06) !important;
}
html.theme-light .auth-title {
    color: #0f172a !important;
}
html.theme-light .auth-subtitle {
    color: #475569 !important;
}
html.theme-light .auth-footer {
    color: #64748b !important;
}
html.theme-light .auth-footer a {
    color: var(--color-gold-600) !important;
}

/* â”€â”€â”€ User Dashboard â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.dashboard-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.dashboard-stat {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.dashboard-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.dashboard-stat-icon.blue { background: rgba(108,138,181,0.15); color: var(--color-blue-400); }
.dashboard-stat-icon.gold { background: rgba(24, 100, 234, 0.15); color: #1864EA; }
.dashboard-stat-icon.green { background: rgba(16,185,129,0.15); color: var(--color-success); }
.dashboard-stat-icon.red { background: rgba(239,68,68,0.15); color: var(--color-error); }

.dashboard-stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-white);
}

.dashboard-stat-label {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
}

/* â”€â”€â”€ Admin Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--color-navy-800);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: var(--space-6) 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: var(--z-sticky);
    transition: transform var(--transition-base);
}

.admin-sidebar-brand {
    padding: 0 var(--space-6) var(--space-6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: var(--space-4);
}

.admin-sidebar-brand a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-white);
}

.admin-sidebar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-lg);
}

.admin-sidebar-brand .brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-base);
}

.admin-sidebar-brand .brand-label {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    display: block;
}

.sidebar-nav-label {
    padding: var(--space-4) var(--space-6) var(--space-2);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gray-500);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-nav a:hover {
    color: var(--color-white);
    background: rgba(255,255,255,0.04);
}

.sidebar-nav a.active {
    color: var(--color-blue-400);
    background: rgba(108,138,181,0.08);
    border-left-color: var(--color-blue-400);
}

.sidebar-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: var(--text-base);
    flex-shrink: 0;
}

.sidebar-nav .nav-badge {
    margin-left: auto;
    background: var(--color-error);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    background: var(--color-navy-900);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-8);
    background: rgba(10,22,40,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.admin-topbar h1 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-gray-300);
    font-size: var(--text-sm);
}

.admin-topbar-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-white);
}

.admin-content {
    padding: var(--space-8);
}

.admin-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Admin sidebar mobile toggle */
.admin-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: var(--text-xl);
    cursor: pointer;
    padding: var(--space-2);
}

/* â”€â”€â”€ Filters / Search Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input input {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-10);
}

.search-input .search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-500);
}

/* ─── Scroll Progress Bar ────────────────────────────────────────────── */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-blue-500), #1864EA);
    z-index: 99999;
    box-shadow: 0 0 12px rgba(108, 138, 181, 0.7), 0 0 24px rgba(24, 100, 234, 0.4);
    pointer-events: none;
    transition: width 0.08s ease-out;
}

/* ─── Floating Back-to-Top with Circular Progress Ring ───────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 38, 71, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s,
                box-shadow 0.35s ease,
                background-color 0.35s ease;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    outline: none;
    padding: 0;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.08);
    background: rgba(38, 30, 26, 0.95);
    color: #ffffff;
    box-shadow: 0 16px 36px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(108, 138, 181, 0.35);
    border-color: rgba(108, 138, 181, 0.4);
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

.scroll-top-btn i {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
    position: relative;
    z-index: 2;
}

.scroll-top-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.scroll-top-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3;
}

.scroll-top-circle-progress {
    fill: none;
    stroke: url(#scrollGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
    transition: stroke-dashoffset 0.1s linear;
}

html.theme-light .scroll-top-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    color: var(--color-blue-600);
}
html.theme-light .scroll-top-btn:hover {
    background: #ffffff;
    border-color: rgba(108, 138, 181, 0.4);
    box-shadow: 0 16px 36px -5px rgba(0, 0, 0, 0.2), 0 0 25px rgba(108, 138, 181, 0.25);
    color: var(--color-blue-600);
}
html.theme-light .scroll-top-circle-bg {
    stroke: rgba(0, 0, 0, 0.06);
}

/* ─── Upgraded Scroll Reveal Animations ─────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
}

/* Animation Variants */
.animate-on-scroll.animate-fade-left {
    transform: translateX(-40px);
}
.animate-on-scroll.animate-fade-right {
    transform: translateX(40px);
}
.animate-on-scroll.animate-scale-up {
    transform: scale(0.92) translateY(20px);
}
.animate-on-scroll.animate-blur-in {
    filter: blur(10px);
    transform: translateY(24px);
}

/* Stagger Delays */
.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.40s; }
.animate-on-scroll.delay-6 { transition-delay: 0.48s; }

/* ────────────────────────────────────────────────────────────────────────── */
.status-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    text-align: center;
}

.status-card {
    max-width: 500px;
    width: 100%;
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
}

.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
}

.status-icon.pending { background: rgba(24, 100, 234, 0.15); color: #1864EA; }
.status-icon.rejected { background: rgba(239,68,68,0.15); color: var(--color-error); }
.status-icon.suspended { background: rgba(239,68,68,0.15); color: var(--color-error); }
.status-icon.success { background: rgba(16,185,129,0.15); color: var(--color-success); }

/* ────────────────────────────────────────────────────────────────────────── */
.cms-content {
    color: var(--color-gray-300);
    line-height: var(--leading-relaxed);
}

.cms-content h2 { margin-top: var(--space-8); font-size: var(--text-3xl); }
.cms-content h3 { margin-top: var(--space-6); font-size: var(--text-xl); }
.cms-content p { margin-bottom: var(--space-4); }
.cms-content ul, .cms-content ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.cms-content li { margin-bottom: var(--space-2); list-style: disc; }
.cms-content ol li { list-style: decimal; }
.cms-content strong { color: var(--color-white); }
.cms-content a { color: var(--color-blue-400); text-decoration: underline; }

/* ────────────────────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: var(--space-16);
    color: var(--color-gray-500);
}

.empty-state-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--color-gray-400);
    margin-bottom: var(--space-2);
}

.empty-state p {
    font-size: var(--text-sm);
    max-width: 400px;
    margin: 0 auto var(--space-6);
}

/* ────────────────────────────────────────────────────────────────────────── */

/* Helper: any inline 2-col grid should stack on mobile */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .admin-sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1100;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        padding: 8px;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        z-index: 1050;
        background: transparent;
        border: none;
        color: var(--color-white);
        font-size: var(--text-xl);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1080;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .admin-sidebar-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Stack inline 2-col grids on tablets */
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* â”€â”€â”€ Floating Gallery Marquee â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.floating-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: var(--space-12) 0;
    position: relative;
    background: transparent;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* Prevent vertical page scroll while swiping the gallery */
    touch-action: pan-y pinch-zoom;
}
.floating-gallery-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.floating-gallery-wrapper::before,
.floating-gallery-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 2;
    pointer-events: none;
}
.floating-gallery-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-navy-900), transparent);
}
.floating-gallery-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-navy-900), transparent);
}
.floating-gallery-track {
    display: flex;
    gap: var(--space-6);
    width: max-content;
    cursor: grab;
    /* Prevent page scroll when swiping gallery horizontally */
    touch-action: pan-x;
    /* Hardware acceleration for smooth scrolling */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.floating-gallery-track:active {
    cursor: grabbing;
}
.floating-item {
    width: 350px;
    height: 250px;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid rgba(255,255,255,0.05);
}
.floating-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    transition: transform 0.5s ease;
    /* Prevent image drag on mobile */
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.floating-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
    z-index: 10;
    border-color: var(--color-blue-500);
}
.floating-item:hover img {
    transform: scale(1.08);
}

/* Management Gallery â€” Portrait Frame for People */
.management-floating-item {
    width: 270px;
    height: 360px;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.management-floating-item img {
    object-position: center 25% !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.management-floating-item:hover img {
    transform: scale(1.06);
}

.management-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-5);
    background: linear-gradient(to top, rgba(5, 13, 26, 0.95) 0%, rgba(5, 13, 26, 0.7) 45%, transparent 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 5;
}

.management-floating-item:hover .management-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.management-overlay-content {
    text-align: center;
    width: 100%;
}

.management-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.management-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6C8AB5 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

@keyframes floatingMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - (var(--space-6) / 2))); }
}

@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
    }
    
    .hide-on-mobile {
        display: none !important;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }
    
    .profile-card {
        padding: var(--space-4) !important;
    }

    /* Live Chat Mobile Layout */
    .chat-container {
        flex-direction: column !important;
        height: 85vh !important;
    }
    .chat-sidebar {
        width: 100% !important;
        height: 250px !important;
        flex: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
    .chat-main {
        flex: 1 !important;
        height: 100% !important;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .hero-content { padding-top: var(--space-24); }
    .hero h1 { font-size: var(--text-4xl); }
    .hero-subtitle { font-size: var(--text-base); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; text-align: center; }

    /* â”€â”€ Mobile Nav Menu â”€â”€ */
    .navbar-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        padding: 10px;
        cursor: pointer;
        background: transparent;
        border: none;
        position: relative;
        z-index: 1005 !important;
        flex-shrink: 0;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: 320px;
        max-width: 85vw;
        flex-direction: column;
        align-items: stretch;
        padding: 85px var(--space-5) var(--space-6);
        background: #08111e !important;
        border-left: 1px solid rgba(255,255,255,0.12);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
        z-index: 1002 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        visibility: hidden;
        pointer-events: none;
    }
    .navbar-menu.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .navbar-backdrop {
        display: block !important;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(4, 9, 20, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 998 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .navbar-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Menu links â€” large, readable, high contrast */
    .navbar-menu a {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-lg);
        font-weight: 600;
        color: var(--color-white);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        display: block;
    }
    .navbar-menu a:hover,
    .navbar-menu a.active {
        color: var(--color-blue-400);
        background: rgba(108,138,181,0.1);
    }

    /* Nav dropdown on mobile — accordion inline expansion, completely prevents clipping */
    .navbar-menu .nav-dropdown {
        width: 100% !important;
        position: static !important;
    }

    .navbar-menu .nav-dropdown-toggle,
    .navbar-menu .nav-dropdown > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .navbar-menu .nav-dropdown-menu,
    .navbar-menu .nav-dropdown:hover .nav-dropdown-menu,
    .navbar-menu .nav-dropdown.open .nav-dropdown-menu,
    html.theme-light .navbar-menu .nav-dropdown-menu,
    html.theme-light .navbar-menu .nav-dropdown:hover .nav-dropdown-menu,
    html.theme-light .navbar-menu .nav-dropdown.open .nav-dropdown-menu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    /* Accordion collapsed by default */
    .navbar-menu .nav-dropdown-menu,
    .navbar-menu .nav-dropdown:not(.open) .nav-dropdown-menu {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: none !important;
        border-left: 3px solid var(--color-blue-400, #3b82f6) !important;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease, visibility 0.3s ease !important;
    }

    html.theme-light .navbar-menu .nav-dropdown-menu,
    html.theme-light .navbar-menu .nav-dropdown:not(.open) .nav-dropdown-menu {
        background: rgba(24, 100, 234, 0.05) !important;
        border-left: 3px solid #1864EA !important;
    }

    /* Accordion expanded on tap */
    .navbar-menu .nav-dropdown.open > .nav-dropdown-menu {
        max-height: 500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 6px 0 !important;
        margin: 6px 0 10px 0 !important;
    }

    .navbar-menu .nav-dropdown.open .nav-dropdown-toggle .fa-chevron-down,
    .navbar-menu .nav-dropdown.open .fa-chevron-down {
        transform: rotate(180deg) !important;
    }

    /* Sub-links inside accordion */
    .navbar-menu .nav-dropdown-menu a {
        display: block !important;
        padding: 10px 16px 10px 20px !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: var(--color-gray-300, #cbd5e1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        white-space: normal !important;
        word-break: break-word !important;
        transition: all 0.2s ease !important;
    }

    .navbar-menu .nav-dropdown-menu a:last-child {
        border-bottom: none !important;
    }

    .navbar-menu .nav-dropdown-menu a:hover,
    .navbar-menu .nav-dropdown-menu a.active {
        color: var(--color-blue-400, #60a5fa) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        padding-left: 24px !important;
    }

    html.theme-light .navbar-menu .nav-dropdown-menu a {
        color: #475569 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    }

    html.theme-light .navbar-menu .nav-dropdown-menu a:hover,
    html.theme-light .navbar-menu .nav-dropdown-menu a.active {
        color: #1864EA !important;
        background: rgba(24, 100, 234, 0.08) !important;
    }

    /* Hamburger button z-index must be above menu */
    .navbar-toggle {
        z-index: 1005 !important;
    }

    /* Reduce navbar padding on mobile — push items to edges */
    .navbar > div {
        padding: 0 0.75rem !important;
    }

    /* Navbar actions — push to right edge and stay above drawer backdrop */
    .navbar-actions {
        position: relative;
        z-index: 1004;
        display: flex;
        flex-direction: row;
        width: auto;
        gap: var(--space-2);
        flex-wrap: nowrap;
        margin-left: auto;
        align-items: center;
    }

    /* Shrink icon buttons on mobile */
    .navbar-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    /* Hide CTA label text on mobile — show icon only */
    .navbar-cta-btn .btn-label {
        display: none;
    }
    .navbar-cta-btn {
        padding: 0.3rem 0.5rem !important;
    }

    /* Hide logout from top bar on mobile — it's in the slide-out menu */
    .navbar-logout-btn {
        display: none !important;
    }

    /* Show the mobile logout link inside slide-out menu */
    .mobile-only-logout {
        display: block;
    }

    /* Mobile only auth buttons inside slide-out menu */
    .mobile-only-auth {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-4) var(--space-4);
        border-top: 1px solid rgba(255,255,255,0.08);
        margin-top: var(--space-2);
    }
    .mobile-only-auth .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .navbar-desktop-auth {
        display: none !important;
    }

    /* Notification dropdown — full width on mobile */
    .notif-dropdown {
        position: fixed;
        top: 56px;
        left: var(--space-4);
        right: var(--space-4);
        width: auto;
        z-index: 99999;
    }

    /* Light Mode mobile menu */
    html.theme-light .navbar-backdrop {
        background: rgba(15, 23, 42, 0.45) !important;
    }
    html.theme-light .navbar-menu {
        background: #ffffff !important;
        border-left: 1px solid rgba(0,0,0,0.1) !important;
        box-shadow: -15px 0 45px rgba(0,0,0,0.15) !important;
    }
    html.theme-light .navbar-menu a {
        color: #1e293b !important;
        border-bottom-color: rgba(0,0,0,0.06) !important;
    }
    html.theme-light .navbar-menu a:hover,
    html.theme-light .navbar-menu a.active {
        color: #1864EA !important;
        background: rgba(24, 100, 234, 0.08) !important;
    }
    html.theme-light .nav-dropdown-menu a {
        color: #475569 !important;
    }
    html.theme-light .navbar-toggle span {
        background: #0f172a !important;
    }
    html.theme-light .mobile-only-auth {
        border-top: 1px solid rgba(0,0,0,0.08) !important;
    }

    /* Stack inline 2-col grids */
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .page-header {
        padding: var(--space-24) 0 var(--space-10);
    }

    /* Admin panel mobile */
    .admin-content {
        padding: var(--space-4);
    }

    .admin-topbar {
        padding: var(--space-3) var(--space-4);
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        min-width: unset;
    }

    .admin-content-header {
        flex-direction: column;
        align-items: stretch;
    }

    /* Floating gallery â€” smaller items on mobile */
    .floating-item {
        width: 260px;
        height: 180px;
    }
    .management-floating-item {
        width: 210px;
        height: 290px;
    }
    .floating-gallery-wrapper {
        padding: var(--space-6) 0;
    }

    /* Tables â€” horizontal scroll */
    .table-responsive,
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Cards â€” full width */
    .card {
        margin-left: 0;
        margin-right: 0;
    }

    /* Sector cards header */
    .sector-card i {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: var(--space-6);
    }

    .stat-card { padding: var(--space-4); }
    .stat-value { font-size: var(--text-3xl); }

    /* Even smaller gallery on tiny phones */
    .floating-item {
        width: 200px;
        height: 140px;
    }
    .management-floating-item {
        width: 170px;
        height: 240px;
    }

    /* Full-width buttons */
    .btn-lg {
        width: 100%;
        text-align: center;
    }

    /* Section titles */
    .section-title {
        font-size: var(--text-2xl);
    }

    /* Dashboard grid single column */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* â”€â”€â”€ Print Styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media print {
    .navbar, .site-footer, .hero-bg, .hero-overlay, .hero-particles,
    .admin-sidebar, .admin-topbar, .btn, .modal, .modal-backdrop {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .admin-main {
        margin-left: 0;
    }
}

/* â”€â”€â”€ Reduced Motion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* â”€â”€â”€ Theme Overrides for Light Mode â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */


/* Hero Audio Toggle Button */
.hero-audio-toggle {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    font-size: 1rem;
}
.hero-audio-toggle:hover {
    background: var(--color-blue-600);
    border-color: var(--color-blue-400);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}
.hero-audio-toggle:active {
    transform: scale(0.95);
}
@media (max-width: 768px) {
    .hero-audio-toggle {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* ─── Custom Brand Cursor ─────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
    html, body {
        cursor: url('../images/cursor.png?v=6') 19 0, auto;
    }

    /* All clickable and interactive elements — top apex of lightning acts as the cursor pointer finger */
    a,
    button,
    [role="button"],
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    input[type="checkbox"],
    input[type="radio"],
    input[type="file"],
    input[type="range"],
    select,
    label,
    summary,
    [role="tab"],
    [role="link"],
    [role="checkbox"],
    [role="radio"],
    [role="switch"],
    [role="menuitem"],
    [onclick],
    [data-action],
    [data-bs-toggle],
    [data-toggle],
    .btn,
    .nav-link,
    .dropdown-item,
    .dropdown-toggle,
    .page-link,
    .pagination a,
    .cursor-pointer,
    .clickable,
    .password-toggle-btn,
    .admin-universal-search-btn,
    .admin-sidebar-toggle,
    .admin-theme-toggle,
    .modal-close,
    .faq-question,
    .faq-item,
    .chat-user-item,
    .dpr-card,
    .doc-card,
    .poll-option,
    .tag,
    .badge[onclick],
    [class*="filter-btn"],
    [class*="-tab"],
    [style*="cursor: pointer"],
    [style*="cursor:pointer"] {
        cursor: url('../images/cursor-pointer.png?v=6') 19 0, pointer !important;
    }

    /* Ensure icons, svgs, and nested spans inside clickable elements inherit lightning pointer */
    a *,
    button *,
    [role="button"] *,
    [onclick] *,
    label *,
    summary *,
    .btn *,
    .nav-link *,
    .cursor-pointer *,
    .clickable * {
        cursor: inherit;
    }

    /* Text selection fields */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    textarea,
    [contenteditable="true"] {
        cursor: text !important;
    }

    /* Disabled states */
    [disabled],
    .disabled,
    [aria-disabled="true"] {
        cursor: not-allowed !important;
    }
}

/* ─── Admin Topbar Universal Search Button ─────────────────────────────────── */
.admin-universal-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-gray-200);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.admin-universal-search-btn:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.45);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}
.admin-universal-search-btn .search-btn-text {
    display: inline;
}
.admin-universal-search-btn kbd {
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--color-gray-300);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-family: inherit;
}
@media (max-width: 768px) {
    .admin-universal-search-btn .search-btn-text {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEVEL 3 REDESIGN — Copper Forge Full Layout Overhaul
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero Split Layout (Homepage) ─────────────────────────────────────── */
.hero-split {
    background: var(--color-navy-900);
}

.hero-split .hero-bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 50%, rgba(74,106,150,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 30%, rgba(24, 100, 234, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(108,138,181,0.08) 0%, transparent 50%),
        var(--color-navy-900);
}

/* Subtle grain/noise texture overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* Noise on dark sections */
.section-dark,
.section-darker,
.section-gradient {
    position: relative;
}
.section-dark::after,
.section-darker::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    z-index: 0;
}
.section-dark > *,
.section-darker > * {
    position: relative;
    z-index: 1;
}

.hero-split .hero-particles {
    z-index: 2;
}

.hero-split .hero-particle {
    background: rgba(108,138,181,0.25);
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 3;
}

.hero-split-text {
    padding-top: var(--space-20);
    padding-bottom: var(--space-16);
    max-width: 620px;
}

.hero-split-text.hero-content {
    padding-top: var(--space-20);
}

.hero-split-text h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.hero-split .hero-badge {
    background: rgba(108, 138, 181, 0.12);
    border-color: rgba(108, 138, 181, 0.3);
}

/* ─ Split Hero Video Showcase — 16:9 Clean Section Fit ─ */
.hero-split-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) 0;
    width: 100%;
}

.hero-video-frame {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #050b14;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(108, 138, 181, 0.15);
    border: 1px solid rgba(108, 138, 181, 0.25);
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-video-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 138, 181, 0.45);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(108, 138, 181, 0.25);
}

.hero-video-frame .hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    display: block;
}

.hero-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--color-navy-700), var(--color-navy-900));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(108, 138, 181, 0.25);
}

/* Audio Toggle Button anchored inside Video Frame */
.hero-video-frame .hero-audio-toggle,
.hero-split .hero-audio-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-video-frame .hero-audio-toggle:hover,
.hero-split .hero-audio-toggle:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(108, 138, 181, 0.4);
}

/* Light Mode Overrides for Video Frame */
html.theme-light .hero-video-frame {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow:
        0 20px 45px -10px rgba(0, 0, 0, 0.10),
        0 0 25px rgba(90, 122, 170, 0.08) !important;
}

html.theme-light .hero-video-frame .hero-video {
    background: #ffffff !important;
}

html.theme-light .hero-video-frame:hover {
    border-color: rgba(90, 122, 170, 0.35) !important;
    box-shadow:
        0 25px 50px -10px rgba(0, 0, 0, 0.15),
        0 0 35px rgba(90, 122, 170, 0.15) !important;
}

html.theme-light .hero-video-frame .hero-audio-toggle {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

html.theme-light .hero-video-frame .hero-audio-toggle:hover {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* ─── Services Alternating Layout — Copper Forge Level 3 ──────────────── */
.services-alt {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.service-alt-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-10);
    align-items: center;
    background: linear-gradient(145deg, rgba(15, 38, 71, 0.75), rgba(15, 12, 10, 0.9));
    border: 1px solid rgba(108, 138, 181, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-alt-row:hover {
    border-color: rgba(108, 138, 181, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(108, 138, 181, 0.12);
}

.service-alt-row.reverse {
    grid-template-columns: 1fr 1.15fr;
    direction: rtl;
}

.service-alt-row.reverse > * {
    direction: ltr;
}

/* Visual Showcase */
.service-alt-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 320px;
    background: #090e17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-alt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-alt-row:hover .service-alt-img {
    transform: scale(1.06);
}

.service-alt-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--color-navy-700), var(--color-navy-900));
}

.service-alt-fallback i {
    font-size: 4rem;
    color: rgba(108, 138, 181, 0.3);
}

.service-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 12, 10, 0.85) 0%, rgba(15, 12, 10, 0.15) 50%, transparent 100%);
    pointer-events: none;
}

.service-visual-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(108, 138, 181, 0.35);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-gold-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.service-visual-pill {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 29, 58, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.service-visual-pill i {
    color: var(--color-gold-400);
}

/* Content Showcase */
.service-alt-content {
    padding: var(--space-2) 0;
}

.service-header-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.service-number-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(108, 138, 181, 0.18);
    border: 1px solid rgba(108, 138, 181, 0.35);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-gold-400);
}

.service-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-400);
}

.service-alt-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--color-white);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.service-alt-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-gray-300);
    margin-bottom: var(--space-5);
}

.service-deliv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: var(--space-5);
}

.service-deliv-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.service-deliv-item i {
    color: var(--color-gold-400);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.service-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(108, 138, 181, 0.18);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: center;
}

.service-metrics-strip .metric-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-gold-400);
    line-height: 1.2;
}

.service-metrics-strip .metric-lbl {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-400);
    margin-top: 2px;
}

.service-alt-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Light Theme Overrides for Services Alternating Layout */
html.theme-light .service-alt-row {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light .service-alt-row:hover {
    border-color: rgba(90, 122, 170, 0.35) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09) !important;
}

html.theme-light .service-alt-title {
    color: #0f172a !important;
}

html.theme-light .service-alt-desc {
    color: #334155 !important;
}

html.theme-light .service-number-pill {
    background: rgba(90, 122, 170, 0.1) !important;
    color: #5A7AAA !important;
    border-color: rgba(90, 122, 170, 0.25) !important;
}

html.theme-light .service-kicker {
    color: #5A7AAA !important;
}

html.theme-light .service-deliv-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}

html.theme-light .service-deliv-item i {
    color: #5A7AAA !important;
}

html.theme-light .service-metrics-strip {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html.theme-light .service-metrics-strip .metric-val {
    color: #5A7AAA !important;
}

html.theme-light .service-metrics-strip .metric-lbl {
    color: #64748b !important;
}

html.theme-light .service-visual-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #4A6A96 !important;
    border: 1px solid rgba(90, 122, 170, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

html.theme-light .service-visual-pill {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

html.theme-light .service-visual-pill i {
    color: #5A7AAA !important;
}

@media (max-width: 900px) {
    .service-alt-row {
        grid-template-columns: 1fr !important;
        gap: var(--space-6) !important;
        padding: var(--space-6) !important;
    }
    .service-alt-visual {
        min-height: 240px;
        aspect-ratio: 16 / 9;
    }
    .service-deliv-grid {
        grid-template-columns: 1fr !important;
    }
}

.service-alt-content .btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-alt-content .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(108,138,181,0.4);
}

/* ─── CTA Section Redesign — Diagonal Split with Animated Pattern ──── */
.cta-forge {
    position: relative;
    overflow: hidden;
    padding: var(--space-24) 0;
    background: var(--color-navy-900);
}

.cta-forge::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(74,106,150,0.15) 0%, transparent 50%),
        linear-gradient(315deg, rgba(24, 100, 234, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Animated diagonal lines */
.cta-forge-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.04;
    pointer-events: none;
}

.cta-forge-pattern::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(108,138,181,1) 40px,
        rgba(108,138,181,1) 41px
    );
    animation: cta-pattern-slide 20s linear infinite;
    pointer-events: none;
}

@keyframes cta-pattern-slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(56px, 56px); }
}

/* Glowing accent border */
.cta-forge-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(108,138,181,0.15);
    box-shadow:
        0 0 40px rgba(108,138,181,0.06),
        0 0 80px rgba(108,138,181,0.03),
        0 30px 60px rgba(0,0,0,0.3);
}

.cta-forge-inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(108,138,181,0.4), transparent 40%, transparent 60%, rgba(24, 100, 234, 0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.cta-forge-inner > * {
    position: relative;
    z-index: 2;
}

.cta-forge-inner h2 {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.cta-forge-inner p {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-forge-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.cta-forge-actions .btn {
    position: relative;
    z-index: 6;
    pointer-events: auto;
    cursor: pointer;
}

/* ─── Enhanced Card Gradient Border Glow ─────────────────────────────── */
.card {
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(108,138,181,0.0), transparent 40%, transparent 60%, rgba(108,138,181,0.0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s ease;
    z-index: -1;
}

.card:hover::before {
    background: linear-gradient(145deg, rgba(108,138,181,0.35), transparent 40%, transparent 60%, rgba(24, 100, 234, 0.2));
}

/* ─── Enhanced Button Micro-Animations ──────────────────────────────── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
}

/* ─── Staggered fade-in for service cards ─────────────────────────────── */
.service-alt-row.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}
.service-alt-row.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive Overrides for Level 3 ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        min-height: auto;
        padding-top: 100px;
    }

    .hero-split-text {
        padding-top: var(--space-4);
        padding-bottom: 0;
        text-align: center;
        max-width: 100%;
    }

    .hero-split-text h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .hero-split-text .hero-actions {
        justify-content: center;
    }

    .hero-split-text .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split-media {
        max-width: 500px;
        margin: 0 auto;
        padding-bottom: var(--space-16);
    }

    /* Universal Video Fit & Responsiveness */
    video {
        max-width: 100%;
    }
    .gallery-media video,
    video.gallery-media {
        object-fit: contain !important;
        background: #090e17;
        aspect-ratio: 16 / 9;
        height: auto !important;
        max-height: 280px;
    }
    html.theme-light .gallery-media video,
    html.theme-light video.gallery-media {
        background: #f1f5f9;
    }

    .service-alt-row {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .service-alt-row.reverse {
        direction: ltr;
    }

    .service-alt-content .service-number {
        font-size: var(--text-3xl);
    }

    .cta-forge-inner {
        padding: var(--space-10) var(--space-6);
    }
}

@media (max-width: 768px) {
    .hero-split-grid {
        padding-top: 80px;
    }

    .hero-split-text h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-split .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-split .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-geo { display: none; }

    .cta-forge-inner h2 {
        font-size: var(--text-2xl);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UNIVERSAL LIGHTBOX (Copper Forge Level 3)
   ═══════════════════════════════════════════════════════════════════════════ */
.forge-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(10, 8, 6, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.forge-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.forge-lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.forge-lightbox.active .forge-lightbox-dialog {
    transform: scale(1);
}
.forge-lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(108, 138, 181, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(108, 138, 181, 0.2);
}
.forge-lightbox-caption {
    margin-top: var(--space-4);
    padding: 8px 24px;
    background: rgba(11, 29, 58, 0.85);
    border: 1px solid rgba(108, 138, 181, 0.25);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.forge-lightbox-btn {
    position: absolute;
    background: rgba(11, 29, 58, 0.8);
    border: 1px solid rgba(108, 138, 181, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.forge-lightbox-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(108, 138, 181, 0.5);
}
.forge-lightbox-close {
    top: 24px;
    right: 24px;
}
.forge-lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.forge-lightbox-prev:hover {
    transform: translateY(-50%) scale(1.12);
}
.forge-lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.forge-lightbox-next:hover {
    transform: translateY(-50%) scale(1.12);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CONSULTATION HUB (Speed-Dial Widget)
   ═══════════════════════════════════════════════════════════════════════════ */
.forge-floating-hub {
    position: fixed;
    bottom: 92px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
}
.forge-hub-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5A7AAA 0%, #1864EA 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(108, 138, 181, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.forge-hub-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(108, 138, 181, 0.6), 0 0 25px rgba(108, 138, 181, 0.4);
}
.forge-hub-trigger::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(108, 138, 181, 0.5);
    animation: copper-hub-pulse 2.2s infinite;
    pointer-events: none;
}
@keyframes copper-hub-pulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.forge-hub-menu {
    position: absolute;
    bottom: 68px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.forge-floating-hub.open .forge-hub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.forge-hub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}
.forge-hub-label {
    padding: 6px 14px;
    background: rgba(11, 29, 58, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 138, 181, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}
.forge-hub-item:hover .forge-hub-label {
    background: rgba(108, 138, 181, 0.2);
    border-color: var(--color-gold-400);
    color: var(--color-gold-400);
}
.forge-hub-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.forge-hub-item:hover .forge-hub-icon-btn {
    transform: scale(1.15);
}
.hub-btn-callback {
    background: linear-gradient(135deg, #5A7AAA, #1864EA);
}
.hub-btn-whatsapp {
    background: linear-gradient(135deg, #10b981, #059669);
}
.hub-btn-phone {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* ═══════════════════════════════════════════════════════════════════════════
   QUICK CALLBACK MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.forge-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(10, 8, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.forge-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.forge-modal-card {
    width: 100%;
    max-width: 460px;
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 138, 181, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(108, 138, 181, 0.15);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.forge-modal-overlay.active .forge-modal-card {
    transform: scale(1);
}
.forge-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-gray-400);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.forge-modal-close:hover {
    color: var(--color-gold-400);
}

/* Light Mode Overrides for Floating Hub & Modals */
html.theme-light .forge-hub-label {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
html.theme-light .forge-modal-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 30px rgba(90, 122, 170, 0.1) !important;
}
html.theme-light .forge-modal-card h3 {
    color: #0f172a !important;
}
html.theme-light .forge-modal-card p {
    color: #475569 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT & PDF CASE STUDY STYLESHEET (@media print)
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
    /* Hide navigation, UI controls, footers, and widgets */
    .navbar,
    .footer,
    .page-header,
    .cta-forge,
    .forge-floating-hub,
    .scroll-progress-container,
    .back-to-top-ring,
    .btn,
    .breadcrumb,
    .forge-modal-overlay,
    .forge-lightbox {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #0f172a !important;
        font-family: Arial, sans-serif !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container, .container-narrow {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Print Corporate Header */
    .print-corporate-header {
        display: block !important;
        border-bottom: 2px solid #5A7AAA !important;
        padding-bottom: 15px !important;
        margin-bottom: 25px !important;
    }

    .project-specs-bar {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        color: #0f172a !important;
        page-break-inside: avoid !important;
    }

    .spec-box-value {
        color: #0f172a !important;
    }

    .card, .card-glass {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        color: #0f172a !important;
        page-break-inside: avoid !important;
    }

    h1, h2, h3, h4 {
        color: #0f172a !important;
        page-break-after: avoid !important;
    }

    .text-gradient {
        -webkit-text-fill-color: #5A7AAA !important;
        color: #5A7AAA !important;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
    }
}
.print-corporate-header {
    display: none;
}

/* ─── Global Interactive Estimator & State Hub Buttons ────────────── */
.estimator-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    transition: all 0.25s ease;
    text-decoration: none;
    outline: none;
}
.estimator-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(108, 138, 181, 0.4);
    transform: translateY(-1px);
}
.estimator-toggle-btn.active {
    background: linear-gradient(135deg, #5A7AAA, #1864EA) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(90, 122, 170, 0.4) !important;
}

/* Light Mode Overrides for Toggle Buttons */
html.theme-light .estimator-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
}
html.theme-light .estimator-toggle-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}
html.theme-light .estimator-toggle-btn.active {
    background: linear-gradient(135deg, #5A7AAA, #1864EA) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(90, 122, 170, 0.35) !important;
}

/* ─── Interactive Regional Hub Dossier (Dark & Light) ──────────────── */
.regional-hub-card {
    margin-top: var(--space-12);
    padding: var(--space-8) var(--space-10);
    border: 1px solid rgba(108, 138, 181, 0.25);
    border-radius: var(--radius-2xl);
}
.state-dossier-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    background: rgba(15, 38, 71, 0.75);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.dossier-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: #ffffff;
}
.dossier-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}
.dossier-stat-pill {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.dossier-stat-label {
    opacity: 0.75;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 3px;
}
.dossier-stat-val {
    font-weight: 700;
    color: #ffffff;
}
.dossier-stat-val.highlight {
    color: var(--color-gold-400);
}
.state-dossier-inner {
    padding: var(--space-6);
    background: rgba(26, 20, 16, 0.85);
    border: 1px solid rgba(108, 138, 181, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.dossier-inner-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-gold-400);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dossier-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
}
.dossier-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1f5f9;
    line-height: 1.4;
}
.dossier-list-item i {
    color: var(--color-gold-400);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.dossier-sla-box {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.dossier-sla-text {
    font-size: 0.88rem;
    color: #94a3b8;
}
.dossier-sla-text strong {
    color: #ffffff;
}

/* Light Theme Overrides for State Hub Dossier */
html.theme-light .state-dossier-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05) !important;
}
html.theme-light .dossier-title {
    color: #0f172a !important;
}
html.theme-light .dossier-desc {
    color: #334155 !important;
}
html.theme-light .dossier-stat-pill {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
html.theme-light .dossier-stat-label {
    color: #64748b !important;
}
html.theme-light .dossier-stat-val {
    color: #0f172a !important;
}
html.theme-light .dossier-stat-val.highlight {
    color: #5A7AAA !important;
}
html.theme-light .state-dossier-inner {
    background: #f8fafc !important;
    border: 1px solid rgba(90, 122, 170, 0.35) !important;
    box-shadow: 0 8px 25px rgba(90, 122, 170, 0.08) !important;
}
html.theme-light .dossier-inner-title {
    color: #4A6A96 !important;
}
html.theme-light .dossier-list-item {
    color: #0f172a !important;
    font-weight: 500 !important;
}
html.theme-light .dossier-list-item i {
    color: #5A7AAA !important;
}
html.theme-light .dossier-sla-box {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .dossier-sla-text {
    color: #475569 !important;
}
html.theme-light .dossier-sla-text strong {
    color: #0f172a !important;
}

@media (max-width: 860px) {
    .state-dossier-card {
        grid-template-columns: 1fr;
    }
}

/* ─── Corporate Compliance & Download Hub Cards ────────────────────── */
.doc-download-card {
    border: 1px solid rgba(108, 138, 181, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.doc-download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 138, 181, 0.45);
    box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.35), 0 0 20px rgba(108, 138, 181, 0.12);
}
html.theme-light .doc-download-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}
html.theme-light .doc-download-card:hover {
    border-color: rgba(90, 122, 170, 0.35) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .doc-download-card h4 {
    color: #0f172a !important;
}
html.theme-light .doc-download-card p {
    color: #475569 !important;
}

/* ─── Global Forge Project Cards ───────────────────────────────────── */
.forge-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(11, 29, 58, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(108, 138, 181, 0.18);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.forge-project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 138, 181, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(108, 138, 181, 0.16);
}
.forge-project-imgwrap {
    width: 100%;
    height: 270px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}
.forge-project-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.forge-project-card:hover .forge-project-imgwrap img {
    transform: scale(1.08);
}
.forge-project-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.forge-project-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.badge-category {
    background: rgba(108, 138, 181, 0.9);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.badge-year {
    background: rgba(6, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}
.forge-project-body {
    padding: var(--space-6) var(--space-7);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.forge-project-client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-gold-400);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.forge-project-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: var(--space-3);
    color: #ffffff;
    transition: color 0.3s ease;
}
.forge-project-card:hover .forge-project-title {
    color: var(--color-gold-400);
}
.forge-project-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: var(--space-5);
    flex: 1;
}
.forge-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.85rem;
}
.forge-project-loc {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.forge-project-link {
    color: var(--color-gold-400);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.forge-project-card:hover .forge-project-link {
    gap: 10px;
    color: var(--color-gold-300);
}

/* Light Theme Overrides for Forge Project Cards */
html.theme-light .forge-project-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
html.theme-light .forge-project-card:hover {
    border-color: rgba(90, 122, 170, 0.4) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.1), 0 0 20px rgba(90, 122, 170, 0.12) !important;
}
html.theme-light .forge-project-title {
    color: #0f172a !important;
}
html.theme-light .forge-project-card:hover .forge-project-title {
    color: #5A7AAA !important;
}
html.theme-light .forge-project-desc {
    color: #475569 !important;
}
html.theme-light .forge-project-footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}
html.theme-light .forge-project-loc {
    color: #64748b;
}
html.theme-light .forge-project-link {
    color: #5A7AAA;
}

/* ─── Featured Projects Landmark Metrics Strip ─────────────────────── */
.featured-projects-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    background: linear-gradient(145deg, rgba(15, 38, 71, 0.75), rgba(15, 12, 10, 0.9));
    border: 1px solid rgba(108, 138, 181, 0.22);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
}
.featured-metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
}
.featured-metric-box:not(:last-child) {
    border-right: 1px solid rgba(108, 138, 181, 0.15);
}
.feat-metric-val {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--color-gold-400);
    line-height: 1.2;
}
.feat-metric-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-400);
    margin-top: 4px;
}

html.theme-light .featured-projects-metrics {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
html.theme-light .featured-metric-box:not(:last-child) {
    border-right-color: rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .feat-metric-val {
    color: #5A7AAA !important;
}
html.theme-light .feat-metric-lbl {
    color: #64748b !important;
}

@media (max-width: 860px) {
    .featured-projects-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        padding: var(--space-4);
    }
    .featured-metric-box:nth-child(2) {
        border-right: none;
    }
}
@media (max-width: 540px) {
    .featured-projects-metrics {
        grid-template-columns: 1fr;
    }
    .featured-metric-box:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(108, 138, 181, 0.15);
        padding-bottom: var(--space-3);
    }
    html.theme-light .featured-metric-box:not(:last-child) {
        border-bottom-color: rgba(0, 0, 0, 0.08) !important;
    }
}

/* ─── 3D Premium Executive Stats Showcase ─────────────────────────────────── */
.stats-showcase-section {
    position: relative;
    padding: 56px 0 64px;
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.98) 0%, rgba(11, 29, 58, 0.92) 50%, rgba(6, 14, 26, 0.98) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.16);
    border-bottom: 1px solid rgba(59, 130, 246, 0.16);
    overflow: hidden;
}

html.theme-light .stats-showcase-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #f8fafc 100%);
    border-top: 1px solid rgba(203, 213, 225, 0.6);
    border-bottom: 1px solid rgba(203, 213, 225, 0.6);
}

/* Ambient glow reflections behind cards */
.stats-showcase-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.16) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

html.theme-light .stats-showcase-section::before {
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
}

.stats-3d-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

@media (max-width: 1080px) {
    .stats-3d-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .stats-3d-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 3D Stat Card */
.stat-3d-card {
    position: relative;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.58) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5), 
                0 4px 12px -2px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.14);
    padding: 26px 24px 22px;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    cursor: default;
    overflow: hidden;
    will-change: transform;
}

html.theme-light .stat-3d-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.08), 
                0 4px 10px -2px rgba(15, 23, 42, 0.04),
                inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* Top accent gleam line */
.stat-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--stat-accent, #3b82f6), transparent);
    opacity: 0.65;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.stat-3d-card:hover {
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65), 
                0 0 30px -4px var(--stat-glow, rgba(59, 130, 246, 0.4)),
                inset 0 1px 2px rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.22);
}

html.theme-light .stat-3d-card:hover {
    box-shadow: 0 24px 44px -10px rgba(15, 23, 42, 0.15), 
                0 0 28px -4px var(--stat-glow, rgba(59, 130, 246, 0.25)),
                inset 0 1px 1px rgba(255, 255, 255, 1);
    border-color: var(--stat-accent, #3b82f6);
}

.stat-3d-card:hover::before {
    opacity: 1;
    height: 4px;
}

/* 3D Preserved Layer Container */
.stat-3d-card-inner {
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

/* Header with 3D Icon Box & Badge */
.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    transform: translateZ(26px);
}

.stat-3d-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 10px 20px -4px var(--stat-glow, rgba(59, 130, 246, 0.45)),
                inset 0 1px 1px rgba(255, 255, 255, 0.45);
    transition: transform 0.3s ease;
}

.stat-3d-card:hover .stat-3d-icon-box {
    transform: scale(1.12) rotate(4deg);
}

.stat-micro-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--stat-accent, #60a5fa);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

html.theme-light .stat-micro-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

.stat-3d-card:hover .stat-micro-badge {
    background: var(--stat-accent, #3b82f6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px var(--stat-glow, rgba(59, 130, 246, 0.4));
}

/* Numbers */
.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
    transform: translateZ(20px);
}

.stat-number {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

html.theme-light .stat-number {
    color: #0f172a;
    text-shadow: none;
}

.stat-suffix {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--stat-accent, #38bdf8);
    margin-left: 2px;
}

/* Label & Animated Bar */
.stat-label-wrap {
    transform: translateZ(14px);
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gray-300, #cbd5e1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    line-height: 1.35;
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

html.theme-light .stat-label {
    color: #475569;
}

.stat-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

html.theme-light .stat-progress-bar {
    background: rgba(0, 0, 0, 0.06);
}

.stat-progress-fill {
    height: 100%;
    width: 45%;
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-3d-card:hover .stat-progress-fill {
    width: 100%;
}

/* Dynamic Sheen / Specular Light Reflection */
.stat-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}




