/* LinguaFlow - Premium Modern Language Learning Platform Styles */
/* Main stylesheet for the site */

:root {
    /* Primary Colors - Educational & Professional */
    --primary-color: #1e3a5f;
    --primary-dark: #152d47;
    --primary-light: #2d4a6b;
    --secondary-color: #34495e;
    --accent-color: #8b2635;
    --accent-light: #a83a4a;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-medium: #34495e;
    --text-light: #7f8c8d;
    --text-white: #ffffff;
    --text-white-muted: rgba(255, 255, 255, 0.85);
    --text-white-light: rgba(255, 255, 255, 0.7);
    
    /* Background Colors */
    --bg-dark: #1e3a5f;
    --bg-dark-secondary: #152d47;
    --bg-dark-tertiary: #2c3e50;
    --bg-dark-quaternary: #34495e;
    --bg-dark-purple: #2c3e50;
    --bg-dark-purple-dark: #1e3a5f;
    --bg-dark-purple-light: #34495e;
    --bg-light: #f5f5f0;
    --bg-white: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.05);
    --bg-overlay-light: rgba(255, 255, 255, 0.1);
    --bg-overlay-dark: rgba(0, 0, 0, 0.1);
    
    /* Border Colors */
    --border-color: #d5d8dc;
    --border-white: rgba(255, 255, 255, 0.15);
    --border-white-light: rgba(255, 255, 255, 0.25);
    --border-white-medium: rgba(255, 255, 255, 0.35);
    
    /* Gradients - Subtle & Professional */
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #2c3e50 100%);
    --gradient-2: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-3: linear-gradient(135deg, #1e3a5f 0%, #8b2635 100%);
    --gradient-4: linear-gradient(135deg, #8b2635 0%, #a83a4a 100%);
    --gradient-5: linear-gradient(135deg, #34495e 0%, #1e3a5f 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    --gradient-dark-purple: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-tertiary) 100%);
    --gradient-dark-blue: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-tertiary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(30, 58, 95, 0.2);
    --shadow-glow-pink: 0 0 20px rgba(139, 38, 53, 0.2);
    --shadow-primary: 0 8px 24px rgba(30, 58, 95, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.125rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
    --spacing-3xl: 3.5rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 999px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var#070b0e;
    background: #f5f5f0;
    overflow-x: hidden;
    position: relative;
    font-size: 15px;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 58, 95, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Scroll Progress Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(30, 58, 95, 0.1);
    z-index: 10001;
    pointer-events: none;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.1s ease;
}

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

/* Header Styles - Premium */
header {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.3px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.logo:hover::after {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.375rem 0;
    letter-spacing: 0;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

nav a::after {
    display: none;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::before {
    width: 100%;
}

/* Active Nav Link */
nav a.active {
    color: var(--primary-color);
}

nav a.active::before {
    width: 100%;
}

/* ============================================
   BURGER MENU - MOBILE NAVIGATION
   ============================================ */

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.burger-menu:hover .burger-line {
    background: var(--accent-color);
}

/* Burger menu active state */
.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    /* Hide desktop navigation on mobile, show when active */
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 0 1.5rem;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1rem;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .main-nav a::before {
        display: none;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-color);
        padding-left: 1rem;
        background: rgba(30, 58, 95, 0.05);
    }
    
    /* Overlay when menu is open */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .main-nav.active::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION - MODERN 2026 DESIGN
   ============================================ */

/* New Hero Section with Interactive Globe */
.hero-globe {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: 
        linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(44, 62, 80, 0.85) 100%),
        url('../images/hero-background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-globe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 58, 95, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 62, 80, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-globe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-globe-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Ensure content is above background layers */
.hero-content-wrapper,
.globe-wrapper {
    position: relative;
    z-index: 3;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: white;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.hero-title-globe {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.title-word {
    display: inline-block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }

.title-word.accent {
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle-globe {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons-globe {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.hero-stats-globe {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat-item-globe {
    display: flex;
    flex-direction: column;
}

.stat-number-globe {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-globe {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Globe Styles */
.globe-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    min-height: 500px;
}

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.globe {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(30, 58, 95, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 
        inset -20px -20px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(30, 58, 95, 0.4),
        0 20px 80px rgba(0, 0, 0, 0.2);
}

/* Globe Lines (Longitude) */
.globe-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    left: 50%;
    top: 0;
    transform-origin: center;
    transform-style: preserve-3d;
}

.globe-line-1 { transform: translateX(-50%) rotateY(0deg); }
.globe-line-2 { transform: translateX(-50%) rotateY(30deg); }
.globe-line-3 { transform: translateX(-50%) rotateY(60deg); }
.globe-line-4 { transform: translateX(-50%) rotateY(90deg); }
.globe-line-5 { transform: translateX(-50%) rotateY(120deg); }

/* Latitude Lines */
.globe-sphere::before,
.globe-sphere::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    left: 0;
    transform-style: preserve-3d;
}

.globe-sphere::before {
    top: 25%;
    transform: rotateX(20deg);
}

.globe-sphere::after {
    top: 75%;
    transform: rotateX(-20deg);
}

/* Continents */
.continent {
    position: absolute;
    background: rgba(139, 38, 53, 0.914);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: continentPulse 3s ease-in-out infinite;
}

.continent-1 {
    width: 80px;
    height: 60px;
    top: 20%;
    left: 15%;
    transform: rotateY(20deg) rotateX(10deg);
    animation-delay: 0s;
}

.continent-2 {
    width: 100px;
    height: 70px;
    top: 30%;
    right: 20%;
    transform: rotateY(-30deg) rotateX(15deg);
    animation-delay: 0.5s;
}

.continent-3 {
    width: 70px;
    height: 50px;
    bottom: 25%;
    left: 25%;
    transform: rotateY(40deg) rotateX(-10deg);
    animation-delay: 1s;
}

.continent-4 {
    width: 90px;
    height: 65px;
    top: 50%;
    left: 10%;
    transform: rotateY(-20deg) rotateX(5deg);
    animation-delay: 1.5s;
}

.continent-5 {
    width: 85px;
    height: 55px;
    bottom: 15%;
    right: 15%;
    transform: rotateY(35deg) rotateX(-15deg);
    animation-delay: 2s;
}

.continent-6 {
    width: 75px;
    height: 50px;
    top: 10%;
    left: 50%;
    transform: rotateY(-10deg) rotateX(20deg);
    animation-delay: 2.5s;
}

@keyframes continentPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Language Markers */
.language-marker {
    position: absolute;
    font-size: 1.5rem;
    transform-style: preserve-3d;
    animation: markerFloat 4s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.language-marker:hover {
    transform: scale(1.3) !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.marker-1 {
    top: 25%;
    left: 20%;
    transform: rotateY(15deg) rotateX(10deg);
    animation-delay: 0s;
}

.marker-2 {
    top: 35%;
    right: 25%;
    transform: rotateY(-25deg) rotateX(12deg);
    animation-delay: 0.7s;
}

.marker-3 {
    top: 30%;
    left: 15%;
    transform: rotateY(20deg) rotateX(8deg);
    animation-delay: 1.4s;
}

.marker-4 {
    top: 45%;
    left: 22%;
    transform: rotateY(-15deg) rotateX(5deg);
    animation-delay: 2.1s;
}

.marker-5 {
    bottom: 30%;
    left: 28%;
    transform: rotateY(30deg) rotateX(-10deg);
    animation-delay: 2.8s;
}

.marker-6 {
    top: 15%;
    left: 45%;
    transform: rotateY(-5deg) rotateX(15deg);
    animation-delay: 3.5s;
}

@keyframes markerFloat {
    0%, 100% { transform: translateY(0) rotateY(var(--rotate-y, 0deg)) rotateX(var(--rotate-x, 0deg)); }
    50% { transform: translateY(-10px) rotateY(var(--rotate-y, 0deg)) rotateX(var(--rotate-x, 0deg)); }
}

/* Globe Shadow */
.globe-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
}

/* Scroll Indicator */
.scroll-indicator-hero {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: fadeInUp 1s ease 1s forwards;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-globe-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content-wrapper {
        align-items: center;
    }
    
    .hero-stats-globe {
        justify-content: center;
    }
    
    .globe-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-globe {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .globe-container {
        width: 250px;
        height: 250px;
    }
    
    .hero-stats-globe {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Old hero styles - keeping for compatibility */
.hero-modern {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #1e3a5f 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* 3D Canvas Background */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* Animated Gradient Orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.15) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44, 62, 80, 0.12) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 38, 53, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Bento Grid Layout */
.hero-bento {
    max-width: 1600px;
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, minmax(80px, auto));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Bento Card Base Styles */
.bento-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bento-card > * {
    position: relative;
    z-index: 1;
}

/* Title Block - Large (spans 7 columns, 3 rows) */
.bento-title {
    grid-column: 1 / 8;
    grid-row: 1 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.title-wrapper {
    width: 100%;
}

.title-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title-modern {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    position: relative;
    color: #ffffff;
    animation: titleReveal 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-accent {
    color: rgba(255, 255, 255, 0.95);
}

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

.hero-subtitle-modern {
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-weight: 400;
    max-width: 550px;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

/* CTA Block (spans 5 columns, 3 rows) */
.bento-cta {
    grid-column: 8 / 13;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-primary-modern {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 38, 53, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    background: var(--accent-light);
    box-shadow: 0 6px 16px rgba(139, 38, 53, 0.4);
}

.btn-primary-modern .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.bento-feature {
    grid-column: span 4;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.feature-1 {
    grid-column: 1 / 5;
    grid-row: 4 / 6;
}

.feature-2 {
    grid-column: 5 / 9;
    grid-row: 4 / 6;
}

.feature-3 {
    grid-column: 9 / 13;
    grid-row: 4 / 6;
}

.feature-icon-modern {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.bento-feature:hover .feature-icon-modern {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.feature-glow {
    display: none;
}

.bento-feature:hover .feature-glow {
    opacity: 1;
}

/* Visual Showcase Block */
.bento-visual {
    grid-column: 1 / 7;
    grid-row: 6 / 9;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

.visual-element {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: visualFloat 6s ease-in-out infinite;
}

.visual-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.visual-2 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.visual-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

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

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator-hero {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--text-white-muted) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-white-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Parallax Layers */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.layer-1 {
    background: radial-gradient(circle at 30% 30%, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
    animation: layerMove 20s ease-in-out infinite;
}

.layer-2 {
    background: radial-gradient(circle at 70% 70%, rgba(44, 62, 80, 0.05) 0%, transparent 50%);
    animation: layerMove 25s ease-in-out infinite reverse;
}

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

/* Scroll Reveal Animation */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Tilt Effect */
[data-tilt] {
    transition: transform 0.3s ease;
}

/* Decorative shapes for hero */
.hero-decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 38, 53, 0.1);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: rgba(44, 62, 80, 0.1);
    top: 50%;
    right: -15%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-background.png') center/cover;
    opacity: 0.12;
    z-index: 0;
    filter: blur(40px);
    transform: scale(1.1);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
    position: relative;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse 3s ease-in-out infinite;
}

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

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: expandLine 1.5s ease 0.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes expandLine {
    to { transform: scaleX(1); }
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: var(--shadow-sm);
}

.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: var(--accent-color);
    color: white;
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-light);
    box-shadow: 0 6px 16px rgba(139, 38, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

/* Hero Interactive Section - Premium */
.hero-interactive {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 30px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-interactive::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.accordion-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(149, 143, 143);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
}

.accordion-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::before {
    transform: scaleY(1);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.3);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
}

.accordion-content-inner {
    padding: 1.5rem;
    color: white;
    line-height: 1.9;
    font-size: 1rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Slider - Premium */
.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: slideRotate 10s linear infinite;
}

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

.slider-slide > * {
    position: relative;
    z-index: 1;
}

.slider-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.slider-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.slider-dot:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.6);
}

/* Content Blocks - Premium */
.content-block {
    padding: 3.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.content-block::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.content-block:nth-child(even) {
    background: #ffffff;
}

.content-block:nth-child(even)::after {
    top: auto;
    right: auto;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.02) 0%, transparent 70%);
}

.block-title,
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

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

.block-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Features Grid - Premium */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.3);
}

.feature-card:hover .feature-icon::before {
    width: 200px;
    height: 200px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Courses Section - Premium */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.course-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.course-card:hover::before {
    opacity: 0.05;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.course-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-image::after {
    opacity: 1;
}

.course-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.course-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

/* Testimonials - Premium */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: 'Playfair Display', serif;
    color: rgba(30, 58, 95, 0.08);
    line-height: 1;
    font-weight: 900;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left-width: 5px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Contact Form - Premium */
.contact-form {
    max-width: 600px;
    margin: 2.5rem auto;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 
        0 0 0 3px rgba(30, 58, 95, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer - Premium */
footer {
    background: var(--primary-color);
    color: white;
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    font-weight: 700;
}

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

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

.footer-section a {
    color: var(--text-white-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-section p {
    color: var(--text-white-muted);
    line-height: 1.8;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-white);
    padding-left: var(--spacing-lg);
}

.footer-section a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-white);
    color: var(--text-white-light);
    position: relative;
    z-index: 1;
}

/* Cookie Popup - Premium */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    display: none;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-white);
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cookie-text a {
    color: var(--accent-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: white;
}

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

.btn-cookie {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.4);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-white-medium);
}

.btn-cookie-decline:hover {
    background: var(--bg-overlay-light);
    border-color: var(--text-white);
}

/* Policy Pages - Premium */
.policy-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.policy-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 800;
}

.policy-page h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.policy-page p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.policy-page li {
    margin-bottom: 0.75rem;
}

/* Thanks Page - Premium */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.thanks-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.thanks-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.thanks-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.thanks-content p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MODERN HERO
   ============================================ */

@media (max-width: 1400px) {
    .hero-bento {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .bento-card {
        padding: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-bento {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(10, minmax(60px, auto));
    }
    
    .bento-title {
        grid-column: 1 / 7;
        grid-row: 1 / 4;
    }
    
    .bento-cta {
        grid-column: 1 / 7;
        grid-row: 4 / 6;
    }
    
    .feature-1 {
        grid-column: 1 / 3;
        grid-row: 6 / 8;
    }
    
    .feature-2 {
        grid-column: 3 / 5;
        grid-row: 6 / 8;
    }
    
    .feature-3 {
        grid-column: 5 / 7;
        grid-row: 6 / 8;
    }
    
    .bento-visual {
        grid-column: 1 / 7;
        grid-row: 8 / 10;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .block-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 1rem;
        min-height: auto;
    }
    
    .hero-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .bento-title,
    .bento-cta,
    .bento-feature,
    .bento-visual {
        grid-column: 1;
        grid-row: auto;
    }
    
    .bento-card {
        padding: 1.5rem;
    }
    
    .hero-title-modern {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon-modern {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .visual-element {
        width: 60px !important;
        height: 60px !important;
    }
    
    .scroll-indicator-hero {
        bottom: 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

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

    .block-subtitle {
        font-size: 1.2rem;
    }

    .features-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .content-block {
        padding: 4rem 1.5rem;
    }

    .contact-form {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        padding: 0.5rem;
    }
    
    .hero-bento {
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .bento-card {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .hero-title-modern {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    
    .title-label {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .hero-subtitle-modern {
        font-size: 0.9rem;
    }
    
    .btn-modern {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .feature-icon-modern {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-desc {
        font-size: 0.9rem;
    }
    
    .visual-container {
        padding: 1rem;
    }
    
    .visual-element {
        width: 40px !important;
        height: 40px !important;
    }
    
    .scroll-indicator-hero {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
    }

    .content-block {
        padding: 3rem 1rem;
    }

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

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

    .thanks-content {
        padding: 2.5rem 1.5rem;
    }

    .thanks-content h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   THEMATIC PAGES STYLES
   ============================================ */

/* Page Hero - Common Styles */
.page-hero {
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: var(--gradient-dark);
}

.page-hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white-muted);
    margin-bottom: var(--spacing-lg);
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-white-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Page Hero */
.about-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark-quaternary) 100%);
}

.about-hero .page-hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    animation: circleFloat 15s ease-in-out infinite;
    opacity: 0.6;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -10%;
    animation-delay: 10s;
}

@keyframes circleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Methods Page Hero */
.methods-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-tertiary) 50%, var(--bg-dark-purple-light) 100%);
}

.methods-hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.method-icon {
    font-size: 4rem;
    opacity: 0.3;
    animation: iconFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.method-icon-1 { animation-delay: 0s; }
.method-icon-2 { animation-delay: 2s; }
.method-icon-3 { animation-delay: 4s; }
.method-icon-4 { animation-delay: 6s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Teachers Page Hero */
.teachers-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-purple) 50%, var(--bg-dark-purple-dark) 100%);
}

.teachers-hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-overlay-light);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid var(--border-white-light);
    animation: avatarFloat 6s ease-in-out infinite;
}

.avatar-1 { animation-delay: 0s; }
.avatar-2 { animation-delay: 1.5s; }
.avatar-3 { animation-delay: 3s; }
.avatar-4 { animation-delay: 4.5s; }

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Content Sections */
.content-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(30, 58, 95, 0.1);
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Section title already defined above with .block-title */

/* About Page - Story Section */
.story-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding-right: 2rem;
}

.story-year {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.story-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(139, 38, 53, 0.1) 100%);
    pointer-events: none;
}

/* Values Section */
.values-section {
    background: var(--bg-white);
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Achievements Section */
.achievements-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

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

.stat-card {
    background: var(--bg-white);
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Section */
.why-section {
    background: var(--bg-white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    flex-shrink: 0;
}

.why-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.why-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.why-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Methods Page Styles */
.methodology-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.methodology-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.methodology-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.methodology-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.methodology-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.methodology-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.methodology-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.methodology-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 2s; }
.card-3 { animation-delay: 4s; grid-column: 1 / -1; }

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
}

/* Technologies Section */
.technologies-section {
    background: var(--bg-white);
}

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

.tech-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tech-card:hover::before {
    opacity: 0.05;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tech-card > * {
    position: relative;
    z-index: 1;
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

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

.tech-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Stages Section */
.stages-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.stages-timeline {
    position: relative;
    padding-left: 3rem;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.stage-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.stage-number {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stage-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.stage-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Features Showcase */
.features-section {
    background: var(--bg-white);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-showcase-item.reverse {
    direction: rtl;
}

.feature-showcase-item.reverse > * {
    direction: ltr;
}

.showcase-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showcase-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Teachers Page Styles */
.teachers-featured-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.teacher-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.teacher-photo {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(139, 38, 53, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.social-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.teacher-info {
    padding: 2rem;
}

.teacher-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.teacher-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.teacher-certificates {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(30, 58, 95, 0.1);
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.teacher-experience {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.teacher-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Qualifications Section */
.qualifications-section {
    background: var(--bg-white);
}

.qualifications-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qualification-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.qual-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.qual-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.qual-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.qualifications-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(30, 58, 95, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.qual-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.qual-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.qual-stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Approach Section */
.approach-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.approach-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.approach-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

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

.approach-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Join Section */
.join-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.join-text {
    padding-right: 2rem;
}

.join-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 58, 95, 0.05);
    border-radius: 8px;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-weight: 600;
    color: var(--text-dark);
}

.join-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.join-image img {
    width: 100%;
    height: auto;
    display: block;
}

.join-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.join-badge .badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

/* Active Nav Link */
nav a.active {
    color: var(--primary-color);
}

nav a.active::before {
    width: 100%;
}

/* Utility Classes for Consistent Styling */
.text-center {
    text-align: center;
}

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

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

.max-width-container {
    max-width: 800px;
    margin: 0 auto;
}

.max-width-large {
    max-width: 1200px;
    margin: 0 auto;
}

.image-rounded {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-rounded-lg {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Responsive for Thematic Pages */
@media (max-width: 1024px) {
    .story-grid,
    .why-content,
    .methodology-main,
    .qualifications-content,
    .join-content,
    .feature-showcase-item {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding-right: 0;
    }
    
    .join-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 1.5rem;
        min-height: 50vh;
    }
    
    .content-section {
        padding: 4rem 1.5rem;
    }
    
    .teachers-hero-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .teacher-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .methods-hero-visual {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .method-icon {
        font-size: 2.5rem;
    }
    
    .methodology-visual {
        grid-template-columns: 1fr;
    }
    
    .card-3 {
        grid-column: 1;
    }
    
    .stages-timeline {
        padding-left: 2rem;
    }
    
    .stage-item {
        padding-left: 2rem;
    }
    
    .stage-number {
        left: -1.75rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-showcase-item.reverse {
        direction: ltr;
    }
    
    .join-benefits {
        grid-template-columns: 1fr;
    }
}
