/*
╔══════════════════════════════════════════════════════════════════════════════╗
║                    Kimet Law Office - Ultimate Redesign 2025                 ║
║                      Premium Modern Luxury Design System                     ║
║                                                                              ║
║  Version: 4.0 - The Ultimate Edition                                         ║
║  Features: Advanced Animations, 3D Effects, Glassmorphism, Particles        ║
║  Author: Designed for Excellence                                            ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/

/* ===== Import Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables - Ultimate Design System ===== */
:root {
    /* Premium Color Palette - Luxury Law Firm */
    --navy-900: #0A1628;
    --navy-800: #0f1f3a;
    --navy-700: #1e3a5f;
    --navy-600: #2a5298;
    --navy-500: #3d6db5;
    --navy-400: #5a8dd8;
    --navy-300: #7ba8e8;
    --navy-200: #a5c7f5;
    --navy-100: #d4e4ff;
    --navy-50: #f0f6ff;
    
    /* Royal Gold Palette */
    --gold-900: #8B6914;
    --gold-800: #A67C1B;
    --gold-700: #C19A2E;
    --gold-600: #D4AF37;
    --gold-500: #E0C55B;
    --gold-400: #EBD680;
    --gold-300: #F4E4C1;
    --gold-200: #F9F0D9;
    --gold-100: #FDF9ED;
    --gold-50: #FFFEF9;
    
    /* Electric Accent Colors */
    --electric-blue: #00D9FF;
    --electric-cyan: #00FFF0;
    --electric-purple: #8B5CF6;
    --electric-pink: #FF006E;
    
    /* Success & Status Colors */
    --emerald: #50C878;
    --crimson: #DC143C;
    --amber: #FFBF00;
    --platinum: #E5E4E2;
    
    /* Neutral Grays */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    /* Premium Gradients */
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1e3a5f 40%, #2a5298 100%);
    --gradient-hero-animated: linear-gradient(135deg, #0A1628 0%, #1e3a5f 25%, #2a5298 50%, #3d6db5 75%, #2a5298 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #E0C55B 50%, #F4E4C1 100%);
    --gradient-gold-shine: linear-gradient(135deg, #8B6914 0%, #D4AF37 50%, #F4E4C1 80%, #FFFEF9 100%);
    --gradient-electric: linear-gradient(135deg, #00D9FF 0%, #00FFF0 50%, #8B5CF6 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    --gradient-glass-dark: linear-gradient(135deg, rgba(10, 22, 40, 0.8), rgba(10, 22, 40, 0.4));
    --gradient-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0) 0%, rgba(10, 22, 40, 0.8) 100%);
    --gradient-radial: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    
    /* Advanced Shadows - Multi-layered */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 60px rgba(212, 175, 55, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(0, 217, 255, 0.6), 0 0 60px rgba(0, 217, 255, 0.3);
    --shadow-glow-electric: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 80px rgba(139, 92, 246, 0.4);
    --shadow-neon-gold: 0 0 5px var(--gold-600), 0 0 10px var(--gold-600), 0 0 20px var(--gold-600), 0 0 40px var(--gold-500);
    --shadow-neon-blue: 0 0 5px var(--electric-blue), 0 0 10px var(--electric-blue), 0 0 20px var(--electric-blue), 0 0 40px var(--electric-cyan);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-dark: rgba(10, 22, 40, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
    --glass-blur-heavy: blur(40px);
    
    /* Spacing Scale */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-3xl: 2rem;      /* 32px */
    --radius-4xl: 3rem;      /* 48px */
    --radius-full: 9999px;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Cairo', 'Inter', sans-serif;
    
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    --text-8xl: 6rem;        /* 96px */
    --text-9xl: 8rem;        /* 128px */
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Transitions - Advanced Easing */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-elastic: 800ms cubic-bezier(0.68, -0.6, 0.32, 1.6);
    
    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-notification: 1080;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: var(--navy-900);
    --bg-secondary: var(--navy-800);
    --bg-tertiary: var(--navy-700);
    --bg-elevated: var(--navy-600);
    --text-primary: var(--gray-50);
    --text-secondary: var(--gray-300);
    --text-tertiary: var(--gray-400);
    --border-color: var(--navy-600);
    --border-color-light: var(--navy-500);
}

/* Light Mode Variables (Default) */
[data-theme="light"], :root {
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    --bg-elevated: #ffffff;
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-tertiary: var(--gray-500);
    --border-color: var(--gray-200);
    --border-color-light: var(--gray-100);
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-arabic);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ===== Advanced Animations ===== */

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-glow-gold);
    }
    50% {
        box-shadow: var(--shadow-neon-gold);
    }
}

@keyframes glowBlue {
    0%, 100% {
        box-shadow: var(--shadow-glow-blue);
    }
    50% {
        box-shadow: var(--shadow-neon-blue);
    }
}

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

@keyframes morphing {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Particle Animation */
@keyframes particleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -1000px) rotate(360deg);
        opacity: 0;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown var(--transition-slow) ease-out;
}

.animate-slide-in-right {
    animation: slideInRight var(--transition-slow) ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft var(--transition-slow) ease-out;
}

.animate-scale-in {
    animation: scaleIn var(--transition-slow) ease-out;
}

.animate-scale-in-bounce {
    animation: scaleInBounce var(--transition-bounce) ease-out;
}

.animate-rotate-in {
    animation: rotateIn var(--transition-slow) ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-glow-blue {
    animation: glowBlue 2s ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.animate-morphing {
    animation: morphing 8s ease-in-out infinite;
}

/* Delay Classes */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-6xl);
    font-weight: var(--font-black);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
}

h3 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
}

h4 {
    font-size: var(--text-3xl);
}

h5 {
    font-size: var(--text-2xl);
}

h6 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

a {
    color: var(--gold-600);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--gold-500);
    text-decoration: none;
}

/* ===== Utility Classes ===== */

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-6);
}

/* Flex Utilities */
.flex {
    display: flex;
}

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

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

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

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

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Text Utilities */
.text-center {
    text-align: center;
}

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

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

/* ===== Components ===== */

/* 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-arabic);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--navy-900);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-secondary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-outline {
    background: transparent;
    color: var(--gold-600);
    border: 2px solid var(--gold-600);
}

.btn-outline:hover {
    background: var(--gold-600);
    color: white;
    border-color: var(--gold-600);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow-blue);
}

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

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

/* Cards */
.card {
    background: var(--bg-elevated);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.card-glass {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: white;
}

.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
}

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Glow Effects */
.glow-gold {
    box-shadow: var(--shadow-glow-gold);
}

.glow-blue {
    box-shadow: var(--shadow-glow-blue);
}

.glow-electric {
    box-shadow: var(--shadow-glow-electric);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        font-size: 15px;
    }
    
    h1 {
        font-size: var(--text-5xl);
    }
    
    h2 {
        font-size: var(--text-4xl);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .container {
        padding: 0 var(--space-4);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }
}
:root {
    --primary-navy: #1a1a2e;
    --secondary-navy: #16213e;
    --tertiary-navy: #0f3460;
    --primary-gold: #ffd700;
    --secondary-gold: #b8860b;
    --primary-blue: #4a90e2;
    --secondary-blue: #357abd;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #c0c0c0;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, var(--tertiary-navy) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.logo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-gold);
    border-right-color: var(--primary-gold);
    animation: ringRotate 1.5s linear infinite;
}

.loading-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    animation: ringRotate 2s linear infinite reverse;
}

.scales-animation {
    position: relative;
    z-index: 2;
    font-size: 5rem;
    color: var(--primary-gold);
    animation: scalesPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.4));
}

.loading-text {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite;
}

.loading-dots span {
    animation: dotBounce 1.4s infinite ease-in-out both;
    display: inline-block;
    margin: 0 2px;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

/* ==================== ANIMATIONS ==================== */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes scalesPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.9;
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    color: var(--primary-blue);
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--primary-gold);
    margin-left: 10px;
    animation: scalesPulse 3s ease-in-out infinite;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 10px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    background: rgba(74, 144, 226, 0.05);
}

.nav-link.active {
    color: var(--primary-blue) !important;
    background: rgba(74, 144, 226, 0.1);
}

.navbar-toggler {
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-navy);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--secondary-gold), var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
    color: var(--primary-navy);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, var(--tertiary-navy) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gold {
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(74, 144, 226, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.floating-card i {
    font-size: 8rem;
    color: var(--primary-gold);
    animation: scalesPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.4));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    display: block;
    width: 40px;
    height: 60px;
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    position: relative;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator i {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    animation: fadeInDown 1.5s ease-in-out infinite;
}

/* ==================== STATISTICS SECTION ==================== */
.stats-section {
    padding: 80px 0;
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.stat-card:hover::before {
    animation: shimmer 1.5s infinite;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

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

/* ==================== SECTION STYLES ==================== */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-navy);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.about-badge i {
    margin-left: 10px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: var(--medium-gray);
    transform: translateX(-10px);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 1.5rem;
    margin-left: 15px;
}

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

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-navy);
    transform: rotateY(360deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.team-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.5);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.team-position {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    transform: translateY(-3px);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.author-rating {
    display: flex;
    gap: 3px;
}

.author-rating i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: var(--medium-gray);
    transform: translateX(-10px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
}

.footer-contact i {
    color: var(--primary-gold);
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-navy);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .floating-card {
        width: 200px;
        height: 200px;
    }

    .floating-card i {
        font-size: 5rem;
    }
}
                [data-theme="dark"] {
                    --bg-primary: #0D1B2A;
                    --bg-elevated: #1B263B;
                    --bg-secondary: #15202B;
                    --bg-tertiary: #1C2938;
                    --text-primary: #F7FAFC;
                    --text-secondary: #CBD5E0;
                    --text-tertiary: #A0AEC0;
                    --border-color: #2D3748;
                    --divider-color: #4A5568;
                }
        
                /* ========== Reset & Base Styles ========== */
                * {
                    margin: 0;
                    padding: 0;
                    box-sizing: border-box;
                }
        
                html {
                    font-size: 16px;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                }
        
                body {
                    font-family: var(--font-body);
                    background: var(--bg-primary);
                    color: var(--text-primary);
                    line-height: 1.6;
                    overflow-x: hidden;
                }
        
                /* ========== Dashboard Layout ========== */
                .dashboard-wrapper {
                    display: flex;
                    min-height: 100vh;
                }
        
                /* ========== Sidebar ========== */
                .sidebar {
                    width: 280px;
                    background: var(--gradient-hero);
                    color: white;
                    position: fixed;
                    top: 0;
                    right: 0;
                    height: 100vh;
                    overflow-y: auto;
                    z-index: 1000;
                    box-shadow: var(--shadow-2xl);
                    transition: var(--transition-base);
                }
        
                .sidebar::-webkit-scrollbar {
                    width: 6px;
                }
        
                .sidebar::-webkit-scrollbar-track {
                    background: rgba(255, 255, 255, 0.05);
                }
        
                .sidebar::-webkit-scrollbar-thumb {
                    background: rgba(255, 255, 255, 0.2);
                    border-radius: var(--radius-full);
                }
        
                .sidebar-header {
                    padding: var(--space-8);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                    text-align: center;
                }
        
                .sidebar-logo {
                    font-size: var(--text-3xl);
                    font-weight: var(--font-black);
                    background: var(--gradient-gold);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: var(--space-3);
                }
        
                .sidebar-user {
                    padding: var(--space-6);
                    background: rgba(255, 255, 255, 0.05);
                    backdrop-filter: blur(10px);
                    border-radius: var(--radius-2xl);
                    margin: var(--space-6);
                    text-align: center;
                    border: 2px solid rgba(255, 255, 255, 0.1);
                    transition: var(--transition-base);
                }
        
                .sidebar-user:hover {
                    background: rgba(255, 255, 255, 0.08);
                    border-color: var(--gold-600);
                    transform: translateY(-2px);
                }
        
                .user-avatar {
                    width: 80px;
                    height: 80px;
                    border-radius: var(--radius-full);
                    margin: 0 auto var(--space-4);
                    border: 3px solid var(--gold-600);
                    box-shadow: var(--shadow-glow-gold);
                    object-fit: cover;
                    transition: var(--transition-base);
                }
        
                .user-avatar:hover {
                    transform: scale(1.05);
                }
        
                .user-name {
                    font-size: var(--text-xl);
                    font-weight: var(--font-bold);
                    margin-bottom: var(--space-2);
                }
        
                .user-role {
                    font-size: var(--text-sm);
                    color: var(--gold-400);
                    font-weight: var(--font-semibold);
                }
        
                .sidebar-menu {
                    padding: var(--space-4);
                    list-style: none;
                }
        
                .menu-item {
                    margin-bottom: var(--space-2);
                }
        
                .menu-link {
                    display: flex;
                    align-items: center;
                    gap: var(--space-4);
                    padding: var(--space-4) var(--space-6);
                    color: rgba(255, 255, 255, 0.8);
                    text-decoration: none;
                    border-radius: var(--radius-xl);
                    transition: var(--transition-base);
                    position: relative;
                    overflow: hidden;
                }
        
                .menu-link::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 0;
                    height: 100%;
                    background: rgba(255, 255, 255, 0.1);
                    transition: var(--transition-base);
                    z-index: -1;
                }
        
                .menu-link:hover::before {
                    width: 100%;
                }
        
                .menu-link:hover {
                    color: white;
                    transform: translateX(-5px);
                }
        
                .menu-link.active {
                    background: var(--gradient-gold);
                    color: var(--navy-900);
                    box-shadow: var(--shadow-glow-gold);
                    font-weight: var(--font-bold);
                }
        
                .menu-icon {
                    width: 24px;
                    text-align: center;
                    font-size: var(--text-lg);
                }
        
                .menu-text {
                    flex: 1;
                    font-size: var(--text-base);
                }
        
                .menu-badge {
                    background: #DC143C;
                    color: white;
                    font-size: var(--text-xs);
                    padding: 2px 8px;
                    border-radius: var(--radius-full);
                    font-weight: var(--font-bold);
                    animation: pulse-badge 2s infinite;
                }
        
                @keyframes pulse-badge {
        
                    0%,
                    100% {
                        transform: scale(1);
                    }
        
                    50% {
                        transform: scale(1.1);
                    }
                }
        
                /* ========== Main Content ========== */
                .main-content {
                    flex: 1;
                    margin-right: 280px;
                    padding: var(--space-8);
                    background: var(--bg-primary);
                    min-height: 100vh;
                }
        
                /* ========== Top Bar ========== */
                .top-bar {
                    background: var(--bg-elevated);
                    border-radius: var(--radius-3xl);
                    padding: var(--space-6);
                    margin-bottom: var(--space-8);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    box-shadow: var(--shadow-lg);
                    border: 2px solid var(--border-color);
                    transition: var(--transition-base);
                }
        
                .top-bar:hover {
                    box-shadow: var(--shadow-xl);
                    border-color: var(--gold-600);
                }
        
                .page-title {
                    font-size: var(--text-4xl);
                    font-weight: var(--font-black);
                    background: var(--gradient-gold);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                    display: flex;
                    align-items: center;
                    gap: var(--space-4);
                }
        
                .top-bar-actions {
                    display: flex;
                    gap: var(--space-4);
                }
        
                /* ========== Buttons ========== */
                .btn {
                    padding: 0.75rem 1.5rem;
                    border-radius: var(--radius-xl);
                    border: none;
                    cursor: pointer;
                    font-weight: var(--font-bold);
                    font-family: var(--font-body);
                    transition: var(--transition-base);
                    display: inline-flex;
                    align-items: center;
                    gap: var(--space-2);
                    font-size: var(--text-base);
                    position: relative;
                    overflow: hidden;
                }
        
                .btn::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    border-radius: 50%;
                    background: rgba(255, 255, 255, 0.3);
                    transform: translate(-50%, -50%);
                    transition: width 0.6s, height 0.6s;
                }
        
                .btn:hover::before {
                    width: 300px;
                    height: 300px;
                }
        
                .btn:hover {
                    transform: translateY(-2px);
                    box-shadow: var(--shadow-lg);
                }
        
                .btn:active {
                    transform: translateY(0);
                }
        
                .btn-glass {
                    background: rgba(255, 255, 255, 0.1);
                    backdrop-filter: blur(10px);
                    border: 2px solid var(--border-color);
                    color: var(--text-primary);
                }
        
                .btn-primary {
                    background: var(--gradient-gold);
                    color: var(--navy-900);
                    box-shadow: var(--shadow-glow-gold);
                }
        
                .btn-outline-primary {
                    background: transparent;
                    border: 2px solid var(--gold-600);
                    color: var(--gold-600);
                }
        
                .btn-outline-primary:hover {
                    background: var(--gradient-gold);
                    color: var(--navy-900);
                }
        
                .btn-sm {
                    padding: 0.5rem 1rem;
                    font-size: var(--text-sm);
                }
        
                /* ========== Stats Grid ========== */
                .stats-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                    gap: var(--space-6);
                    margin-bottom: var(--space-8);
                }
        
                .stat-card {
                    background: var(--bg-elevated);
                    border-radius: var(--radius-3xl);
                    padding: var(--space-8);
                    border: 2px solid var(--border-color);
                    transition: var(--transition-base);
                    position: relative;
                    overflow: hidden;
                }
        
                .stat-card::before {
                    content: '';
                    position: absolute;
                    top: -50%;
                    right: -50%;
                    width: 200%;
                    height: 200%;
                    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
                    opacity: 0;
                    transition: var(--transition-slow);
                }
        
                .stat-card:hover::before {
                    opacity: 1;
                    animation: rotate 10s linear infinite;
                }
        
                @keyframes rotate {
                    from {
                        transform: rotate(0deg);
                    }
        
                    to {
                        transform: rotate(360deg);
                    }
                }
        
                .stat-card:hover {
                    transform: translateY(-5px);
                    box-shadow: var(--shadow-2xl);
                    border-color: var(--gold-600);
                }
        
                .stat-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-start;
                    margin-bottom: var(--space-6);
                }
        
                .stat-icon {
                    width: 60px;
                    height: 60px;
                    border-radius: var(--radius-2xl);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: var(--text-3xl);
                    background: var(--gradient-gold);
                    color: var(--navy-900);
                    box-shadow: var(--shadow-glow-gold);
                    transition: var(--transition-base);
                }
        
                .stat-card:hover .stat-icon {
                    transform: scale(1.1) rotate(5deg);
                }
        
                .stat-icon.blue {
                    background: var(--gradient-blue);
                    box-shadow: var(--shadow-glow-blue);
                }
        
                .stat-icon.green {
                    background: var(--gradient-green);
                    box-shadow: var(--shadow-glow-green);
                }
        
                .stat-icon.red {
                    background: var(--gradient-red);
                    box-shadow: var(--shadow-glow-red);
                }
        
                .stat-value {
                    font-size: var(--text-5xl);
                    font-weight: var(--font-black);
                    color: var(--text-primary);
                    margin-bottom: var(--space-2);
                    line-height: 1;
                }
        
                .stat-label {
                    font-size: var(--text-lg);
                    color: var(--text-secondary);
                    font-weight: var(--font-semibold);
                }
        
                .stat-change {
                    margin-top: var(--space-3);
                    font-size: var(--text-sm);
                    font-weight: var(--font-semibold);
                    display: flex;
                    align-items: center;
                    gap: var(--space-2);
                }
        
                .stat-change.positive {
                    color: var(--emerald-green);
                }
        
                .stat-change.negative {
                    color: var(--crimson-red);
                }
        
                /* ========== Charts Grid ========== */
                .charts-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
                    gap: var(--space-8);
                    margin-bottom: var(--space-8);
                }
        
                .chart-card {
                    background: var(--bg-elevated);
                    border-radius: var(--radius-3xl);
                    border: 2px solid var(--border-color);
                    overflow: hidden;
                    transition: var(--transition-base);
                }
        
                .chart-card:hover {
                    box-shadow: var(--shadow-xl);
                    border-color: var(--gold-600);
                }
        
                /* ========== Content Cards ========== */
                .content-card {
                    background: var(--bg-elevated);
                    border-radius: var(--radius-3xl);
                    border: 2px solid var(--border-color);
                    overflow: hidden;
                    margin-bottom: var(--space-8);
                    transition: var(--transition-base);
                }
        
                .content-card:hover {
                    box-shadow: var(--shadow-xl);
                    border-color: var(--gold-600);
                }
        
                .card-header {
                    padding: var(--space-6);
                    background: var(--bg-secondary);
                    border-bottom: 2px solid var(--border-color);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }
        
                .card-title {
                    font-size: var(--text-2xl);
                    font-weight: var(--font-bold);
                    color: var(--text-primary);
                    display: flex;
                    align-items: center;
                    gap: var(--space-3);
                }
        
                .card-actions {
                    display: flex;
                    gap: var(--space-3);
                }
        
                /* ========== Tables ========== */
                .table-container {
                    overflow-x: auto;
                }
        
                .data-table {
                    width: 100%;
                    border-collapse: collapse;
                }
        
                .data-table thead {
                    background: var(--bg-secondary);
                }
        
                .data-table th {
                    padding: var(--space-4) var(--space-6);
                    text-align: right;
                    font-weight: var(--font-bold);
                    color: var(--text-primary);
                    border-bottom: 2px solid var(--border-color);
                    font-size: var(--text-base);
                }
        
                .data-table td {
                    padding: var(--space-4) var(--space-6);
                    border-bottom: 1px solid var(--border-color);
                    color: var(--text-secondary);
                }
        
                .data-table tbody tr {
                    transition: var(--transition-fast);
                }
        
                .data-table tbody tr:hover {
                    background: var(--bg-secondary);
                }
        
                /* ========== Badges ========== */
                .badge {
                    display: inline-block;
                    padding: 0.25rem 0.75rem;
                    border-radius: var(--radius-full);
                    font-size: var(--text-xs);
                    font-weight: var(--font-bold);
                    text-transform: uppercase;
                }
        
                .badge-success {
                    background: rgba(80, 200, 120, 0.2);
                    color: var(--emerald-green);
                }
        
                .badge-warning {
                    background: rgba(245, 158, 11, 0.2);
                    color: #F59E0B;
                }
        
                .badge-danger {
                    background: rgba(220, 20, 60, 0.2);
                    color: var(--crimson-red);
                }
        
                .badge-info {
                    background: rgba(0, 217, 255, 0.2);
                    color: var(--electric-blue);
                }
        
                /* ========== Empty State ========== */
                .empty-state {
                    padding: var(--space-12);
                    text-align: center;
                }
        
                .empty-icon {
                    font-size: var(--text-6xl);
                    color: var(--text-tertiary);
                    margin-bottom: var(--space-6);
                    opacity: 0.5;
                }
        
                .empty-title {
                    font-size: var(--text-2xl);
                    color: var(--text-secondary);
                    font-weight: var(--font-semibold);
                }
        
                /* ========== Timeline ========== */
                .timeline {
                    position: relative;
                    padding-right: 2rem;
                    padding: var(--space-6);
                }
        
                .timeline::before {
                    content: '';
                    position: absolute;
                    right: calc(var(--space-6) + 1rem);
                    top: 0;
                    bottom: 0;
                    width: 2px;
                    background: var(--border-color);
                }
        
                .timeline-item {
                    position: relative;
                    margin-bottom: 2rem;
                }
        
                .timeline-marker {
                    position: absolute;
                    right: calc(var(--space-6) + 0.5rem);
                    top: 0.5rem;
                    width: 12px;
                    height: 12px;
                    background: var(--gold-600);
                    border-radius: 50%;
                    border: 3px solid var(--bg-elevated);
                    box-shadow: 0 0 0 3px var(--border-color);
                    animation: pulse-marker 2s infinite;
                    z-index: 1;
                }
        
                @keyframes pulse-marker {
        
                    0%,
                    100% {
                        box-shadow: 0 0 0 3px var(--border-color);
                    }
        
                    50% {
                        box-shadow: 0 0 0 6px var(--border-color);
                    }
                }
        
                .timeline-content {
                    background: var(--bg-secondary);
                    padding: var(--space-6);
                    border-radius: var(--radius-2xl);
                    margin-right: calc(var(--space-6) + 3rem);
                    border: 2px solid var(--border-color);
                    transition: var(--transition-base);
                }
        
                .timeline-content:hover {
                    border-color: var(--gold-600);
                    transform: translateX(-5px);
                    box-shadow: var(--shadow-lg);
                }
        
                .timeline-title {
                    font-weight: var(--font-bold);
                    color: var(--text-primary);
                    margin-bottom: var(--space-2);
                    font-size: var(--text-lg);
                }
        
                .timeline-text {
                    color: var(--text-secondary);
                    margin-bottom: var(--space-2);
                }
        
                .timeline-time {
                    font-size: var(--text-sm);
                    color: var(--text-tertiary);
                }
        
                /* ========== Animations ========== */
                .observe-animation {
                    opacity: 0;
                    transform: translateY(30px);
                    animation: fadeInUp 0.6s ease forwards;
                }
        
                .delay-100 {
                    animation-delay: 0.1s;
                }
        
                .delay-200 {
                    animation-delay: 0.2s;
                }
        
                .delay-300 {
                    animation-delay: 0.3s;
                }
        
                .delay-400 {
                    animation-delay: 0.4s;
                }
        
                .delay-500 {
                    animation-delay: 0.5s;
                }
        
                .delay-600 {
                    animation-delay: 0.6s;
                }
        
                .delay-700 {
                    animation-delay: 0.7s;
                }
        
                @keyframes fadeInUp {
                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }
        
                /* ========== Responsive Design ========== */
                @media (max-width: 1024px) {
                    .sidebar {
                        transform: translateX(100%);
                    }
        
                    .sidebar.active {
                        transform: translateX(0);
                    }
        
                    .main-content {
                        margin-right: 0;
                    }
        
                    .charts-grid {
                        grid-template-columns: 1fr;
                    }
                }
        
                @media (max-width: 768px) {
                    .stats-grid {
                        grid-template-columns: 1fr;
                    }
        
                    .top-bar {
                        flex-direction: column;
                        gap: var(--space-4);
                        align-items: flex-start;
                    }
        
                    .page-title {
                        font-size: var(--text-2xl);
                    }
        
                    .timeline-content {
                        margin-right: calc(var(--space-4) + 2rem);
                    }
                }
        
                @media (max-width: 480px) {
                    .main-content {
                        padding: var(--space-4);
                    }
        
                    .stat-card {
                        padding: var(--space-6);
                    }
        
                    .stat-icon {
                        width: 50px;
                        height: 50px;
                        font-size: var(--text-2xl);
                    }
        
                    .stat-value {
                        font-size: var(--text-4xl);
                    }
                }
