/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gold-accent: #d4af37;
    --gold-light: #f4e397;
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Dark Theme Colors */
    --dark-bg: #0a0b1e;
    --dark-surface: #161830;
    --dark-surface-light: #1e2142;
    --dark-text: #e2e8f0;
    --dark-text-secondary: #94a3b8;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 8rem;
    --container-max-width: 1440px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --neutral-50: var(--dark-bg);
    --neutral-100: var(--dark-surface);
    --neutral-200: var(--dark-surface-light);
    --neutral-800: var(--dark-text);
    --neutral-900: var(--dark-text);
    --neutral-600: var(--dark-text-secondary);
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.8;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

[data-theme="dark"] body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* ===========================
   CUSTOM CURSOR
   =========================== */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    opacity: 0.8;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.05s ease;
}

/* ===========================
   LOADING SCREEN
   =========================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-animation {
    text-align: center;
    color: white;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

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

@keyframes loadingDots {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.loading-animation p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===========================
   NAVIGATION
   =========================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 0 2rem;
}

[data-theme="dark"] nav {
    background: rgba(10, 11, 30, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .nav-link {
    color: var(--dark-text-secondary);
}

.nav-link:hover {
    color: var(--gold-accent);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--neutral-600);
}

.theme-toggle:hover {
    background: var(--gold-accent);
    color: white;
    transform: scale(1.1);
}

.menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-button span {
    width: 25px;
    height: 3px;
    background: var(--neutral-700);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

[data-theme="dark"] .menu-button span {
    background: var(--dark-text);
}

/* ===========================
   SIDEBAR (Mobile)
   =========================== */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: var(--transition-smooth);
    padding: 2rem 0;
}

[data-theme="dark"] .sidebar {
    background: rgba(10, 11, 30, 0.95);
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-close {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--neutral-600);
    margin-left: auto;
}

.sidebar-close:hover {
    background: var(--gold-accent);
    color: white;
}

.sidebar-links {
    list-style: none;
    padding: 2rem 0;
}

.sidebar-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

[data-theme="dark"] .sidebar-link {
    color: var(--dark-text);
}

.sidebar-link:hover {
    background: var(--glass-bg);
    border-left-color: var(--gold-accent);
    color: var(--gold-accent);
}

/* ===========================
   HERO SECTION - PREMIUM DESIGN
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

/* Advanced Background System */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    z-index: -1;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='grain' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='white' opacity='0.08'/%3E%3Ccircle cx='80' cy='40' r='1' fill='white' opacity='0.06'/%3E%3Ccircle cx='40' cy='60' r='1.5' fill='white' opacity='0.08'/%3E%3Ccircle cx='90' cy='90' r='1' fill='white' opacity='0.06'/%3E%3Ccircle cx='10' cy='80' r='1.5' fill='white' opacity='0.08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grain)'/%3E%3C/svg%3E");
    opacity: 0.4;
    animation: particleFloat 25s ease-in-out infinite;
    z-index: 3;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/cover no-repeat;
    z-index: 4;
    animation: waveMotion 8s ease-in-out infinite;
}

[data-theme="dark"] .hero-waves {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%230a0b1e'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%230a0b1e'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%230a0b1e'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Hero Container & Layout */
.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 5;
    position: relative;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.hero-text-section {
    color: white;
    z-index: 6;
}

/* Dynamic Greeting */
.hero-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.greeting-text {
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.greeting-sparkle {
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* Enhanced Typography */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 0.9;
    position: relative;
    font-variation-settings: "wght" 900;
    animation: titleEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.word-1 {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-light) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    display: inline-block;
    transition: all 0.3s ease;
}

.word-1:hover {
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

.word-2 {
    color: white;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    display: inline-block;
    transition: all 0.3s ease;
}

.word-2:hover {
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.title-underline {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold-accent), transparent);
    border-radius: 3px;
    animation: underlineGrow 1s ease-out 0.5s forwards;
}

@keyframes titleEntrance {
    from { 
        opacity: 0; 
        transform: translateY(50px) scale(0.95);
        filter: blur(5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes underlineGrow {
    to { width: 200px; }
}

.hero-subtitle {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Typing Animation Effect */
.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-para {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Premium CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid;
    cursor: pointer;
    transform-style: preserve-3d;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-button.secondary {
    color: white;
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

.cta-button.tertiary {
    color: white;
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.6);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(255, 255, 255, 0.1) inset;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Hero Visual Section */
.hero-visual-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    filter: saturate(1.1) contrast(1.1);
    transition: var(--transition-smooth);
}

/* Floating Educational Icons */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon::before {
    content: attr(data-icon);
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; }
.floating-icon:nth-child(3) { bottom: 25%; left: 20%; }
.floating-icon:nth-child(4) { bottom: 15%; right: 10%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-5deg); }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    z-index: 6;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

/* Advanced Animation Effects */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
    25% { transform: translateY(-30px) translateX(20px); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.5; }
    75% { transform: translateY(-40px) translateX(25px); opacity: 0.7; }
}

@keyframes waveMotion {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(20px); }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--glass-bg);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 1001;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-container-modal {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.video-container-modal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-animation.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   SECTION STYLES
   =========================== */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    position: relative;
}

[data-theme="dark"] .section-title {
    color: var(--dark-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

[data-theme="dark"] .section-subtitle {
    color: var(--dark-text-secondary);
}

/* ===========================
   GLASS MORPHISM EFFECT
   =========================== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   COURSE CATEGORIES
   =========================== */
.course-category {
    padding: var(--section-padding) 0;
    background: var(--neutral-100);
}

[data-theme="dark"] .course-category {
    background: var(--dark-surface);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.category-card {
    padding: 3rem 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
    transition: var(--transition-bounce);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-svg {
    width: 50px;
    height: 50px;
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

[data-theme="dark"] .category-card h3 {
    color: var(--dark-text);
}

.category-card p {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

[data-theme="dark"] .category-card p {
    color: var(--dark-text-secondary);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-bounce);
}

.category-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    background: #c4941f;
}

/* ===========================
   LEARNING BITES
   =========================== */
.learning-bites {
    padding: var(--section-padding) 0;
    background: var(--neutral-50);
}

[data-theme="dark"] .learning-bites {
    background: var(--dark-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-card {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: var(--transition-bounce);
    position: relative;
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.video-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .video-info {
    background: rgba(22, 24, 48, 0.9);
}

.video-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .video-info h3 {
    color: var(--dark-text);
}

.video-info p {
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

[data-theme="dark"] .video-info p {
    color: var(--dark-text-secondary);
}

.video-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--neutral-500);
}

[data-theme="dark"] .video-meta {
    color: var(--dark-text-secondary);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===========================
   TEACHERS SECTION
   =========================== */
.teachers {
    padding: var(--section-padding) 0;
    background: var(--neutral-100);
}

[data-theme="dark"] .teachers {
    background: var(--dark-surface);
}

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

.teacher-card {
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.teacher-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.teacher-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--neutral-200);
}

[data-theme="dark"] .teacher-image {
    border-color: var(--dark-surface-light);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.teacher-image:hover .teacher-overlay {
    opacity: 1;
}

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

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

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--gold-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-bounce);
    font-size: 0.9rem;
}

.social-links a:hover {
    transform: scale(1.2);
    background: #c4941f;
}

.teacher-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .teacher-info h3 {
    color: var(--dark-text);
}

.teacher-subject {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.teacher-quote {
    color: var(--neutral-600);
    font-style: italic;
    font-size: 0.95rem;
}

[data-theme="dark"] .teacher-quote {
    color: var(--dark-text-secondary);
}

/* ===========================
   FOUNDER SECTION
   =========================== */
.founder {
    padding: var(--section-padding) 0;
    background: var(--neutral-50);
}

[data-theme="dark"] .founder {
    background: var(--dark-bg);
}

.founder-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem;
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.founder-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gold-accent);
}

.founder-image {
    position: relative;
}

.founder-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .founder-image img {
    border-color: var(--dark-surface-light);
}

.founder-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: var(--gold-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid white;
}

[data-theme="dark"] .founder-badge {
    border-color: var(--dark-surface-light);
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

[data-theme="dark"] .founder-info h3 {
    color: var(--dark-text);
}

.founder-titles {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.title-tag {
    background: var(--gold-accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-description p {
    margin-bottom: 1rem;
    color: var(--neutral-700);
    line-height: 1.8;
}

[data-theme="dark"] .founder-description p {
    color: var(--dark-text-secondary);
}

.founder-mission {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--neutral-600);
}

[data-theme="dark"] .founder-mission {
    color: var(--dark-text-secondary);
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-bounce);
    border: 2px solid;
}

.social-link.youtube {
    color: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.social-link.facebook {
    color: #1877f2;
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.social-link.community {
    color: var(--gold-accent);
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.social-link.youtube:hover { background: #ff0000; color: white; }
.social-link.facebook:hover { background: #1877f2; color: white; }
.social-link.community:hover { background: var(--gold-accent); color: white; }

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 4rem 0 2rem;
}

[data-theme="dark"] footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-surface-light);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    line-height: 1.8;
    color: var(--neutral-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer-section h4 {
    color: var(--dark-text);
}

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

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

.footer-section ul li a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--gold-accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    color: var(--neutral-400);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-bounce);
}

[data-theme="dark"] .footer-social a {
    background: var(--dark-surface-light);
}

.footer-social a:hover {
    background: var(--gold-accent);
    color: white;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    color: var(--neutral-500);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--dark-surface-light);
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
    position: sticky;
    top: 80px;
    z-index: 999;
    margin-top: -60px;
    margin-bottom: 60px;
    padding: 1.5rem 0;
    border-radius: var(--border-radius-xl);
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--container-max-width) - 4rem);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    animation: statsSlideUp 1s ease-out 0.5s both;
    transform: translateY(100px);
    opacity: 0;
}

.stats-bar.visible {
    animation: statsSlideUp 0.8s ease-out forwards;
}

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

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    color: var(--neutral-800);
}

[data-theme="dark"] .stat-item {
    color: var(--dark-text);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold-accent), transparent);
    opacity: 0.6;
}

/* ===========================
   COURSE FINDER QUIZ MODAL
   =========================== */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.quiz-modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    transform: scale(0.8) translateY(50px);
    transition: var(--transition-smooth);
}

.quiz-modal.active .quiz-modal-content {
    transform: scale(1) translateY(0);
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.quiz-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-900);
}

[data-theme="dark"] .quiz-header h3 {
    color: var(--dark-text);
}

.quiz-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--neutral-700);
}

[data-theme="dark"] .quiz-modal-close {
    color: var(--dark-text);
}

.quiz-modal-close:hover {
    background: var(--gold-accent);
    color: white;
    transform: scale(1.1);
}

.quiz-body {
    padding: 2rem;
}

.quiz-question {
    margin-bottom: 2rem;
}

.quiz-question h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 1rem;
}

[data-theme="dark"] .quiz-question h4 {
    color: var(--dark-text);
}

.quiz-options {
    display: grid;
    gap: 0.8rem;
}

.quiz-option {
    padding: 1rem 1.5rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    background: var(--neutral-50);
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--neutral-700);
    font-weight: 500;
}

[data-theme="dark"] .quiz-option {
    background: var(--dark-surface-light);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text-secondary);
}

.quiz-option:hover {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.quiz-option.selected {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.2);
    color: var(--neutral-900);
}

[data-theme="dark"] .quiz-option.selected {
    color: var(--dark-text);
}

.quiz-progress {
    width: 100%;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

[data-theme="dark"] .quiz-progress {
    background: var(--dark-surface-light);
}

.quiz-progress-bar {
    height: 100%;
    background: var(--gold-accent);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.quiz-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.quiz-btn.primary {
    background: var(--gold-accent);
    color: white;
}

.quiz-btn.primary:hover {
    background: #c4941f;
    transform: translateY(-2px);
}

.quiz-btn.secondary {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

[data-theme="dark"] .quiz-btn.secondary {
    background: var(--dark-surface-light);
    color: var(--dark-text-secondary);
}

.quiz-btn.secondary:hover {
    background: var(--neutral-300);
    transform: translateY(-2px);
}

[data-theme="dark"] .quiz-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.quiz-result {
    text-align: center;
    padding: 2rem 0;
}

.quiz-result h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.quiz-result p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

[data-theme="dark"] .quiz-result p {
    color: var(--dark-text-secondary);
}

.recommended-course {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.recommended-course h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .recommended-course h5 {
    color: var(--dark-text);
}

/* ===========================
   RESPONSIVE DESIGN - HERO
   =========================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual-section {
        order: -1;
    }
    
    .hero-image-container {
        max-width: 400px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 80px);
        padding: 1rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        min-height: auto;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-tagline {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 1rem;
    }
    
    .hero-para {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .cta-button {
        justify-content: center;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .hero-image-container {
        max-width: 300px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .stats-bar {
        position: relative;
        top: auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .stats-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }
    
    .hero-greeting {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .greeting-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        max-width: 280px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .quiz-modal-content {
        width: 95%;
    }
    
    .quiz-header,
    .quiz-body {
        padding: 1.5rem;
    }
    
    .quiz-buttons {
        flex-direction: column;
    }
    
    .quiz-btn {
        width: 100%;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .hero-particles,
    .floating-icon,
    .bounce-animation,
    .typing-animation::after,
    .sparkle,
    .title-underline {
        animation: none !important;
    }
    
    .hero-title,
    .cta-button,
    .hero-image-container {
        transform: none !important;
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title .word-1 {
        -webkit-text-fill-color: #ffd700;
    }
    
    .hero-title .word-2 {
        color: #ffffff;
        text-shadow: 2px 2px 4px #000000;
    }
    
    .cta-button {
        border-width: 3px;
    }
    
    .stats-bar {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--gold-accent);
    }
}

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .hero-background,
    .floating-elements,
    .scroll-indicator,
    .video-modal,
    .quiz-modal {
        display: none !important;
    }
    
    .hero-content {
        color: black !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }
    
    .hideOnMobile {
        display: none;
    }
    
    .menu-button {
        display: flex;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.8rem 0;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .founder-content {
        padding: 2rem;
    }
    
    .founder-titles {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .custom-cursor,
    .custom-cursor-dot {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }
    
    .category-card,
    .teacher-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   PERFORMANCE OPTIMIZATIONS
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* High contrast support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.95);
        --glass-border: rgba(0, 0, 0, 0.3);
    }
    
    [data-theme="dark"] {
        --glass-bg: rgba(0, 0, 0, 0.95);
        --glass-border: rgba(255, 255, 255, 0.3);
    }
}
