/* =====================================
   Drive-Well Academy - State of the Art Styles
   Luxury Automotive Theme with Modern Effects
   ===================================== */

/* Custom Properties */
:root {
    /* Colors - Red & White Brand Palette */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --accent: #ffffff;
    --accent-glow: #fee2e2;
    --red: #dc2626;
    --red-dark: #991b1b;
    --red-light: #f87171;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --light: #ffffff;
    --text: #ffffff;
    --text-muted: #cbd5e1;
    
    /* Gradients - Red Theme */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-accent: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-red-white: linear-gradient(135deg, #dc2626 0%, #ffffff 100%);
    
    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Crimson Pro', serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 10vw, 120px);
    
    /* Effects */
    --blur: 10px;
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.5);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    --z-cursor: 10000;
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
    position: relative;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Smooth scroll with offset for fixed header */
html {
    scroll-padding-top: 100px;
}

/* Performance optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

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

/* Container Queries Support */
@supports (container-type: inline-size) {
    .container {
        container-type: inline-size;
    }
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--red);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(220, 38, 38, 0.5);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

body:hover .cursor {
    transform: scale(1.5);
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    margin-bottom: 40px;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text);
    display: block;
}

.loader-accent {
    color: var(--red);
}

.loader-subtitle {
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
    opacity: 0;
    transform: scale(0);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(15, 23, 42, 0.95);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Floating AI Assistant Button */
.ai-assistant-float {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: aiPulse 2s infinite;
    opacity: 0;
    transform: scale(0);
}

.ai-assistant-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, var(--red-dark) 0%, #991b1b 100%);
}

.ai-assistant-float .ai-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: var(--font-display);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.ai-assistant-float .ai-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(15, 23, 42, 0.95);
}

.ai-assistant-float:hover .ai-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes aiPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(220, 38, 38, 0.7);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 2px solid rgba(220, 38, 38, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo-text .accent {
    color: var(--red);
}

.logo-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.cta-nav {
    background: var(--gradient-primary);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 120px clamp(20px, 5vw, 60px) 80px;
    isolation: isolate;
    background: 
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    max-width: 1600px;
    margin: 0 auto;
    gap: 60px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/automatic-car.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

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

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

.hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 2;
    position: relative;
    animation: heroFadeIn 1.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(220, 38, 38, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    margin: 0;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    50% {
        box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
}

.badge-text {
    font-size: 14px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    color: var(--red);
}

.badge-icon {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--text);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
}

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

.title-line {
    display: block;
    overflow: hidden;
}

.line-1 {
    animation: slideInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.line-2 {
    animation: slideInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-muted);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.7;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.hero-feature-item i {
    color: var(--red);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hero-feature-item span {
    color: var(--text);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
    font-weight: 400;
}

/* Red L-Plate Visual */
.l-plate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.l-plate {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: 5px solid white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(220, 38, 38, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    position: relative;
    animation: lPlatePulse 2s ease-in-out infinite;
    transform-style: preserve-3d;
}

.l-plate::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    animation: lPlateGlow 2s ease-in-out infinite;
}

.l-letter {
    font-size: 84px;
    font-weight: 900;
    color: white;
    font-family: var(--font-display);
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: -3px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.l-plate-large {
    width: 150px;
    height: 150px;
    background: #dc2626;
    border: 4px solid white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    margin-bottom: 20px;
}

.l-letter-large {
    font-size: 90px;
    font-weight: 900;
    color: white;
    font-family: var(--font-display);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
}

@keyframes lPlatePulse {
    0%, 100% {
        transform: scale(1) rotateY(0deg);
        box-shadow: 
            0 20px 60px rgba(220, 38, 38, 0.5),
            0 0 0 2px rgba(255, 255, 255, 0.3),
            inset 0 2px 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.08) rotateY(5deg);
        box-shadow: 
            0 30px 80px rgba(220, 38, 38, 0.7),
            0 0 0 3px rgba(255, 255, 255, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
}

@keyframes lPlateGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* SEO Keywords Banner */
.seo-keywords-banner {
    max-width: 1100px;
    margin: 50px auto 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.seo-keywords-content {
    text-align: center;
    margin-bottom: 30px;
}

.seo-intro {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.6;
}

.seo-highlight {
    color: var(--red);
    font-weight: 700;
    font-family: var(--font-display);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    position: relative;
    display: inline-block;
}

.seo-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.6;
}

.seo-cta {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--text);
    font-weight: 600;
    margin-top: 15px;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.seo-keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.seo-keyword-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.seo-keyword-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.seo-keyword-badge:hover::before {
    left: 0;
}

.seo-keyword-badge:hover {
    transform: translateY(-3px);
    border-color: var(--red);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.seo-keyword-badge i {
    color: var(--red);
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.seo-keyword-badge:hover i {
    color: white;
}

.seo-keyword-badge span {
    color: var(--text);
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    text-transform: lowercase;
}

.seo-keyword-badge:hover span {
    color: white;
}

/* SEO Keywords Integration in About Section */
.seo-keywords-integration {
    margin: 30px 0;
    padding: 30px;
    background: rgba(220, 38, 38, 0.05);
    border-left: 4px solid var(--red);
    border-radius: 10px;
}

.seo-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

.seo-text strong {
    color: var(--red);
    font-weight: 700;
    font-family: var(--font-display);
    position: relative;
    padding: 0 2px;
}

.seo-text strong::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.4;
    border-radius: 1px;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    animation: statsFadeIn 1s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

@keyframes statsFadeIn {
    to {
        opacity: 1;
    }
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    filter: drop-shadow(0 2px 10px rgba(220, 38, 38, 0.3));
    display: block;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.btn-primary, .btn-secondary {
    position: relative;
    padding: 15px 40px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.btn-primary:hover .btn-glow,
.btn-secondary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; }
    100% { opacity: 0; top: 20px; }
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.wheel {
    background: var(--red);
}

/* Professional Hero Slideshow */
.hero-slideshow {
    position: relative;
    flex: 0 0 auto;
    width: min(550px, 45vw);
    height: min(400px, 35vw);
    z-index: 1;
    opacity: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(220, 38, 38, 0.2);
    animation: fadeInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1s;
    will-change: transform, opacity;
}

@keyframes slideshowGlow {
    0%, 100% {
        box-shadow: 
            0 30px 80px rgba(0, 0, 0, 0.6),
            0 0 0 2px rgba(220, 38, 38, 0.3),
            0 0 60px rgba(220, 38, 38, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 40px 100px rgba(0, 0, 0, 0.7),
            0 0 0 3px rgba(220, 38, 38, 0.5),
            0 0 80px rgba(220, 38, 38, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
}

.slideshow-container {
    position: relative;
    height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-slide.active .slide-image img {
    transform: scale(1.05);
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text);
}

.slide-placeholder i {
    font-size: 80px;
    color: var(--red);
    opacity: 0.7;
}

.slide-placeholder span {
    font-size: 18px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
    pointer-events: none;
}

.hero-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h3 {
    font-size: 24px;
    font-family: var(--font-display);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer !important;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto !important;
}

.slideshow-nav:hover {
    background: var(--gradient-primary);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

.slideshow-dots .dot.active {
    background: var(--red);
    border-color: white;
    width: 30px;
    border-radius: 6px;
}

/* Trust Badge Overlay */
.slideshow-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(220, 38, 38, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.slideshow-badge i {
    font-size: 16px;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(220, 38, 38, 0.6);
    }
}

/* Container - Modern Responsive Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    width: 100%;
}

/* Container Queries Support (Modern Browsers) */
@supports (container-type: inline-size) {
    .container {
        container-type: inline-size;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: var(--red);
    opacity: 0.5;
}

.section-tag::before {
    right: calc(100% + 20px);
}

.section-tag::after {
    left: calc(100% + 20px);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

/* Package Comparison Table */
.package-comparison {
    margin: 80px 0;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.comparison-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background: rgba(220, 38, 38, 0.1);
}

.comparison-table th {
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table .feature-col {
    text-align: left;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    width: 200px;
}

.comparison-table .package-col {
    min-width: 180px;
    position: relative;
}

.package-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.package-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-display);
}

.package-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--red);
    font-family: var(--font-display);
}

.package-period {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-package {
    background: rgba(220, 38, 38, 0.15);
    border: 2px solid rgba(220, 38, 38, 0.4);
    position: relative;
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(220, 38, 38, 0.05);
}

.comparison-table td {
    padding: 18px 15px;
    text-align: center;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table .feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text);
    padding-left: 20px;
}

.comparison-table td i {
    color: var(--red);
    font-size: 16px;
}

.comparison-table .action-row {
    border-top: 2px solid rgba(220, 38, 38, 0.3);
}

.comparison-table .action-row td {
    padding: 25px 15px;
}

.package-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.package-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.package-btn.featured-btn {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.package-btn.featured-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.comparison-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.comparison-note i {
    color: var(--red);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

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

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

.service-card.featured {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
}

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

.service-card:hover h3 {
    color: var(--red);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-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 ease, height 0.6s ease;
}

.service-card:hover .service-icon::before {
    width: 200%;
    height: 200%;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

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

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-from {
    font-size: 14px;
    color: var(--text-muted);
}

.price-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

/* Educational Content Section */
.education {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-soft) 0%, var(--dark) 100%);
    position: relative;
}

.education .section-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.education-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 18px;
}

.tab-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Guides Tab */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.education-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.education-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
}

.education-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
    font-family: var(--font-display);
}

.education-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.education-list {
    list-style: none;
    margin-bottom: 25px;
}

.education-list li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-list li i {
    color: var(--red);
    font-size: 14px;
}

.education-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    transition: all 0.3s ease;
}

.education-link:hover {
    gap: 12px;
    color: var(--red-light);
}

/* Tips Tab */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: white;
    font-family: var(--font-display);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.tip-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text);
    font-family: var(--font-display);
    margin-top: 10px;
}

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

/* Theory Test Tab */
.theory-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.theory-main h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text);
    font-family: var(--font-display);
}

.theory-main > p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.theory-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.theory-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
    font-family: var(--font-display);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.theory-resources {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 15px;
    padding: 30px;
}

.theory-resources h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text);
    font-family: var(--font-display);
}

.theory-resources ul {
    list-style: none;
}

.theory-resources li {
    padding: 12px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.theory-resources li i {
    color: var(--red);
    font-size: 16px;
}

.theory-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theory-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.theory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.theory-card i {
    font-size: 36px;
    color: var(--red);
    margin-bottom: 15px;
}

.theory-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
    font-family: var(--font-display);
}

.theory-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Safety Tab */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.safety-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.safety-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.safety-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
}

.safety-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
    font-family: var(--font-display);
}

.safety-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.safety-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.safety-tag {
    padding: 6px 15px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--red);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-stats-inline {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inline-stat {
    display: flex;
    flex-direction: column;
}

.inline-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inline-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-visual {
    position: relative;
}

.visual-container {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.frame-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    opacity: 0.3;
}

.instructor-card {
    background: var(--gradient-dark);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.card-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.card-info h4 {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.instructor-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.instructor-badges .badge {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--red);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.element-1 {
    top: 20%;
    left: -20px;
    animation: float-element 8s infinite ease-in-out;
}

.element-2 {
    bottom: 30%;
    right: -20px;
    animation: float-element 10s infinite ease-in-out;
    animation-delay: 2s;
}

.element-3 {
    top: -20px;
    right: 20%;
    animation: float-element 12s infinite ease-in-out;
    animation-delay: 4s;
}

@keyframes float-element {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(90deg); }
    50% { transform: translate(-10px, 10px) rotate(180deg); }
    75% { transform: translate(15px, 5px) rotate(270deg); }
}

/* Trust Badges Section */
.trust-badges {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.trust-badge-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.trust-badge-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.badge-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.badge-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: all 0.4s ease;
    z-index: 1;
}

.trust-badge-card:hover .badge-glow {
    opacity: 0.5;
    width: 120px;
    height: 120px;
}

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

.trust-badge-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.trust-badge-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-verified i {
    font-size: 14px;
}

/* Newsletter Section */
.newsletter {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.newsletter-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.newsletter-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--red);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.newsletter-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    line-height: 1.2;
}

.newsletter-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 16px;
}

.newsletter-benefits i {
    color: var(--red);
    font-size: 14px;
}

.newsletter-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsletter-input-group {
    position: relative;
}

.newsletter-input-group input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.newsletter-submit-btn {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.newsletter-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.newsletter-privacy {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.newsletter-privacy i {
    font-size: 10px;
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text);
    border: 2px dashed rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(220, 38, 38, 0.5);
}

.gallery-placeholder i {
    font-size: 48px;
    color: var(--red);
    opacity: 0.7;
}

.gallery-placeholder span {
    font-size: 14px;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-align: center;
    padding: 0 20px;
}

.video-placeholder {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(220, 38, 38, 0.2) 100%);
}

.video-placeholder i {
    font-size: 64px;
    opacity: 0.9;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.gallery-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.6);
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-video {
    width: 90vw;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.lightbox-video iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100001;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gradient-primary);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 50%, var(--dark) 100%);
    position: relative;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    height: 400px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.quote-icon {
    font-size: 48px;
    color: var(--red);
    opacity: 0.3;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--red);
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

/* FAQ Section */
.faq {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-soft) 0%, var(--dark) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(220, 38, 38, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: var(--red);
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-item.active .faq-question {
    background: rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

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

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    padding-top: 20px;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-lead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

.contact-method:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateX(10px);
}

.contact-method:not(a) {
    cursor: default;
}

.contact-method:not(a):hover {
    transform: none;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    font-size: 18px;
    color: var(--text);
}

.coverage-area {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.coverage-area h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-tag {
    padding: 8px 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text);
}

/* Google Maps Container */
.map-container {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.map-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 15px;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) brightness(1);
}

.map-directions-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    background: var(--red-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    resize: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f59e0b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    padding-right: 25px;
}

.form-group textarea {
    min-height: 80px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input.has-value ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select.has-value ~ label,
.form-group textarea:focus ~ label,
.form-group textarea.has-value ~ label {
    top: -20px;
    font-size: 12px;
    color: var(--red);
    transform: scale(0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--red);
    outline: none;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.submit-btn {
    align-self: flex-start;
    padding: 15px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-bottom-color: var(--red);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-bottom-color: rgba(34, 197, 94, 0.5);
}

/* Student Portal Section */
.student-portal {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
    min-height: 80vh;
}

/* Login Form */
.portal-login {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 0;
}

.login-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.login-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text);
    font-family: var(--font-display);
}

.login-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.login-form .form-group {
    position: relative;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.login-form .form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--red);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--red-light);
}

.login-btn {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
    background: rgba(255, 255, 255, 0.03);
    padding: 0 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.signup-link {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.signup-link a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Student Dashboard */
.portal-dashboard {
    padding: 40px 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-welcome h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--text);
    font-family: var(--font-display);
}

.dashboard-welcome h2 span {
    color: var(--red);
}

.dashboard-welcome p {
    color: var(--text-muted);
    font-size: 16px;
}

.logout-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--red);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--text);
    font-family: var(--font-display);
}

.stat-info p {
    color: var(--text-muted);
    font-size: 14px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h3 {
    font-size: 20px;
    color: var(--text);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: var(--red);
}

.section-link {
    color: var(--red);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 10px;
}

.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lesson-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.lesson-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
}

.lesson-item.completed {
    opacity: 0.7;
}

.lesson-date {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lesson-date.past {
    background: rgba(255, 255, 255, 0.1);
}

.date-day {
    font-size: 24px;
    font-weight: 600;
    color: white;
    font-family: var(--font-display);
    line-height: 1;
}

.lesson-date.past .date-day {
    color: var(--text);
}

.date-month {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.lesson-date.past .date-month {
    color: var(--text-muted);
}

.lesson-info {
    flex: 1;
}

.lesson-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
    font-family: var(--font-display);
}

.lesson-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lesson-info i {
    color: var(--red);
    font-size: 12px;
}

.lesson-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-display);
}

.lesson-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
}

.lesson-btn.secondary {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 20px;
    font-size: 16px;
}

.empty-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 14px;
    transition: all 0.3s ease;
}

.empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

.sidebar-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: var(--red);
}

.progress-ring {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-bar {
    fill: none;
    stroke: var(--red);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 254.469;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text span {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-display);
}

.progress-text small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.progress-item span:first-child {
    color: var(--text-muted);
}

.progress-item span:last-child {
    color: var(--text);
    font-weight: 600;
}

.resource-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-links li a:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--red);
    padding-left: 16px;
}

.resource-links li a i {
    color: var(--red);
    width: 20px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-label {
    color: var(--text-muted);
    font-size: 14px;
}

.profile-value {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.profile-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, var(--dark-soft) 0%, #000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(220, 38, 38, 0.5);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Specific social media colors on hover */
.social-link[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.social-link[href*="youtube"]:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-link[href*="whatsapp"]:hover {
    background: #25D366;
    border-color: #25D366;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 5px;
}

.cert-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.cert-badge i {
    color: var(--red);
}

/* Footer SEO Keywords Section */
.footer-seo {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo-content h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text);
    font-family: var(--font-display);
    text-align: center;
    font-weight: 600;
}

.seo-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.seo-keyword-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: lowercase;
    font-weight: 400;
}

.seo-keyword-link:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

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

.footer-bottom p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-seo-text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-seo-text strong {
    color: var(--red);
    font-weight: 600;
    font-family: var(--font-display);
}

/* Magnetic Elements */
.magnetic-element {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scroll Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Performance Optimizations */
.service-card,
.testimonial-card,
.contact-method {
    will-change: transform;
}

/* Enhanced Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--red);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible improvements */
*:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text: #ffffff;
        --text-muted: #ffffff;
        --dark: #000000;
    }
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 15px;
    font-weight: 300;
}

/* Booking Section */
.booking {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.booking-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form label {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.08);
}

.booking-submit-btn {
    padding: 15px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.booking-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

/* Course Filters */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--red);
    color: white;
    transform: translateY(-2px);
}

.service-card.hidden {
    display: none;
}

/* Instructors Section */
.instructors {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.instructor-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.instructor-image {
    position: relative;
    margin-bottom: 20px;
}

.instructor-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.instructor-badge {
    position: absolute;
    bottom: 0;
    right: calc(50% - 60px);
    background: var(--red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.instructor-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.instructor-role {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.instructor-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.instructor-rating .stars {
    color: var(--red);
}

.rating-value {
    font-weight: 600;
    font-size: 18px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 14px;
}

.instructor-stats {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.instructor-stats .stat {
    display: flex;
    flex-direction: column;
}

.instructor-stats .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--red);
    font-family: var(--font-display);
}

.instructor-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-specialties {
    margin: 20px 0;
    text-align: left;
}

.instructor-specialties h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tag {
    padding: 5px 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 15px;
    font-size: 12px;
    color: var(--red);
}

.instructor-languages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
}

/* Pass Rate Badge */
.pass-rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.pass-rate-badge.success {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--red);
}

/* Resources/Blog Section */
.resources {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

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

.resource-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.resource-image {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.resource-category {
    display: inline-block;
    font-size: 12px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.resource-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.resource-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    gap: 12px;
    color: var(--red-light);
}

/* Button Tertiary */
.btn-tertiary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-tertiary:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Disable custom cursor on mobile */
    html, body {
        cursor: auto;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-slideshow {
        width: 100%;
        max-width: 500px;
        height: 350px;
        margin: 0 auto;
        position: relative;
    }
    
    .slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
    
    .slideshow-badge {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .l-plate-container {
        margin: 20px 0;
    }
    
    .l-plate {
        width: 100px;
        height: 100px;
    }
    
    .l-letter {
        font-size: 60px;
    }
    
    .hero-slideshow {
        width: 100%;
        height: 400px;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        position: relative;
        margin-top: 40px;
    }
    
    .slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .slide-content h3 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
    
    .slideshow-badge {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    /* Footer SEO Mobile */
    .footer-seo {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    .footer-seo-content h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .seo-keywords-list {
        gap: 8px;
    }
    
    .seo-keyword-link {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .footer-seo-text {
        font-size: 12px;
        padding: 0 15px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial-card {
        padding: 30px;
        height: auto;
    }
    
    .testimonials-carousel {
        height: auto;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    /* FAQ Mobile */
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .ai-assistant-float {
        bottom: 150px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .ai-assistant-float .ai-tooltip {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-float .whatsapp-tooltip {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-slideshow {
        width: 100%;
        max-width: 500px;
        height: 350px;
        margin: 0 auto;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* Trust Badges Mobile */
    .badges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-badge-card {
        padding: 30px 20px;
    }
    
    /* Newsletter Mobile */
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form-container {
        padding: 30px;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .gallery-filter-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    /* Package Comparison Mobile */
    .package-comparison {
        padding: 30px 15px;
        margin: 40px 0;
    }
    
    .comparison-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .comparison-table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .package-price {
        font-size: 22px;
    }
    
    .package-name {
        font-size: 14px;
    }
    
    .package-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    /* Educational Content Mobile */
    .education-tabs {
        gap: 10px;
        margin: 30px 0;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .education-grid,
    .tips-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-card,
    .tip-card,
    .safety-card {
        padding: 25px;
    }
    
    .theory-content {
        grid-template-columns: 1fr;
    }
    
    .theory-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: clamp(24px, 6vw, 40px);
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: clamp(15px, 3.5vw, 18px);
        margin-bottom: 25px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .hero-feature-item {
        padding: 12px 15px;
    }
    
    .hero-feature-item span {
        font-size: 14px;
    }
    
    /* SEO Keywords Banner Mobile */
    .seo-keywords-banner {
        padding: 25px 20px;
        margin: 30px auto;
    }
    
    .seo-intro {
        font-size: 15px;
    }
    
    .seo-cta {
        font-size: 18px;
    }
    
    .seo-keywords-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .seo-keyword-badge {
        padding: 15px 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .seo-keyword-badge span {
        font-size: 13px;
    }
    
    .seo-keywords-integration {
        padding: 20px;
    }
    
    .seo-text {
        font-size: 16px;
    }
    
    /* Student Portal Mobile */
    .portal-login {
        padding: 40px 20px;
    }
    
    .login-container {
        padding: 40px 25px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .lesson-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lesson-actions {
        width: 100%;
        margin-top: 15px;
    }
    
    .lesson-btn {
        width: 100%;
    }
    
    .progress-ring {
        width: 120px;
        height: 120px;
    }
    
    /* Booking Section Mobile */
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Course Filters Mobile */
    .course-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    /* Instructors Mobile */
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    /* Resources Mobile */
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero Actions Mobile */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions > * {
        width: 100%;
        justify-content: center;
    }
}
/* ===========================================
   MOBILE FIX FOR DRIVE-WELL ACADEMY
   Add this code to the END of your styles.css file
   =========================================== */

/* Mobile screens */
@media (max-width: 768px) {
    
    /* Hide the "Your Freedom Starts Here" box on mobile - it's covering the slideshow */
    .hero-right-message {
        display: none !important;
    }
    
    /* Fix hero section layout for mobile */
    .hero {
        flex-direction: column;
        padding: 100px 15px 40px !important;
        gap: 30px !important;
        min-height: auto !important;
    }
    
    /* Make hero content more compact on mobile */
    .hero-content {
        padding: 0 10px;
    }
    
    /* Smaller title on mobile */
    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    /* Smaller subtitle */
    .hero-subtitle {
        font-size: 15px !important;
    }
    
    /* Make AI assistant card smaller on mobile */
    .hero-ai-card {
        padding: 15px !important;
        margin: 20px 0 !important;
    }
    
    /* Make phone box smaller */
    .hero-phone {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .hero-phone a {
        font-size: 22px !important;
    }
    
    /* Fix action buttons */
    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
    }
    
    /* Make stats grid smaller */
    .hero-content > div[style*="grid"] {
        gap: 10px !important;
        margin-top: 30px !important;
    }
    
    .hero-content > div[style*="grid"] > div {
        padding: 12px !important;
    }
    
    .hero-content > div[style*="grid"] > div > div:first-child {
        font-size: 24px !important;
    }
    
    /* Make trust badges wrap better */
    .hero-content > div[style*="flex-wrap"] {
        justify-content: center !important;
        margin-top: 20px !important;
    }
    
    /* FIX SLIDESHOW - Make it visible and properly sized */
    .hero-slideshow {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px !important;
        margin-top: 20px !important;
        order: 1; /* Move slideshow up in the layout */
        position: relative !important;
        z-index: 1 !important;
    }
    
    .slideshow-container {
        height: 280px !important;
    }
    
    /* Make sure slides are visible */
    .hero-slide {
        height: 280px !important;
    }
    
    .hero-slide.active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
    }
    
    /* Move DVSA badge so it doesn't cover photos */
    .slideshow-badge {
        top: 10px !important;
        right: 10px !important;
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
    
    /* Hide navigation dots on mobile if too many */
    .slideshow-dots {
        bottom: 10px !important;
        max-width: 90%;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding: 5px 10px;
    }
    
    .slideshow-dots .dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
    }
    
    /* Navigation arrows */
    .slideshow-prev,
    .slideshow-next {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    
    .slideshow-prev {
        left: 5px !important;
    }
    
    .slideshow-next {
        right: 5px !important;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .hero {
        padding: 90px 10px 30px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-slideshow {
        height: 220px !important;
    }
    
    .slideshow-container {
        height: 220px !important;
    }
    
    .hero-slide {
        height: 220px !important;
    }
    
    /* Hide some elements on very small screens to reduce clutter */
    .hero-ai-card {
        display: none !important;
    }
}
