/* Global Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --background-light: #f3f4f6;
    --background-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

ol, ul {
    padding-left: 0;
} 

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.edu-section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

:root {
    --primary: #4361ee;
    --primary-light: #4895ef;
    --primary-dark: #3f37c9;
    --primary-gradient: linear-gradient(135deg, #4361ee, #4895ef);
    --accent: #f72585;
    --accent-light: #ff4d6d;
    --success: #10b981;
    --warning: #fbbf24;
    --error: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-dark: #f1f5f9;
    --border: #e2e8f0;
    --border-focus: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06);
    --shadow-outline: 0 0 0 3px rgba(66, 153, 225, 0.5);
    --glow-primary: 0 0 15px rgba(67, 97, 238, 0.5);
    --glow-accent: 0 0 15px rgba(247, 37, 133, 0.5);
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    --font-mono: 'JetBrains Mono', monospace;
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary: #4895ef;
    --primary-light: #4cc9f0;
    --primary-dark: #4361ee;
    --primary-gradient: linear-gradient(135deg, #4895ef, #4cc9f0);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --background: #0f172a;
    --background-alt: #1e293b;
    --background-dark: #0f172a;
    --border: #334155;
    --border-focus: #475569;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.18);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -2px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 10px 10px -5px rgba(0,0,0,0.14);
    --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.18);
    --shadow-outline: 0 0 0 3px rgba(72, 149, 239, 0.5);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--background);
    transition: background-color var(--transition);
}

/* Test Mode Banner */
.test-mode-banner {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    z-index: 999;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
    animation: bannerGlow 2s ease-in-out infinite alternate;
}

@keyframes bannerGlow {
    0% {
        box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
    }
    100% {
        box-shadow: 0 2px 20px rgba(239, 68, 68, 0.6);
    }
}

.test-mode-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.test-mode-icon {
    font-size: 18px;
    animation: rotate 3s linear infinite;
}

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

.test-mode-text {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Adjust hero section to account for banner */
.edu-hero {
    margin-top: 120px; /* 80px navbar + 40px banner */
}

/* Navbar Styles */
.edu-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: all var(--transition);
}

[data-theme="dark"] .edu-navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.edu-navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.edu-navbar__container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.edu-navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    text-decoration: none;
}

.edu-navbar__logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-navbar__logo-img {
    height: 40px;
    width: auto;
    z-index: 2;
    transition: transform var(--transition);
}

.edu-navbar__logo:hover .edu-navbar__logo-img {
    transform: scale(1.05) rotate(5deg);
}

.edu-navbar__logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: var(--border-radius-full);
    filter: blur(8px);
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition);
}

.edu-navbar__logo:hover .edu-navbar__logo-glow {
    opacity: 0.3;
    transform: scale(1.2);
}

.edu-navbar__logo-text {
    display: flex;
    flex-direction: column;
    position: relative;
}

.edu-navbar__logo-text h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.edu-navbar__logo-text h2 span {
    color: var(--primary);
    transition: color var(--transition);
}

.edu-navbar__logo-bar {
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-gradient);
    transition: width var(--transition-fast);
}

.edu-navbar__logo:hover .edu-navbar__logo-bar {
    width: 100%;
}

/* Menu Styles */
.edu-navbar__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.edu-navbar__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all var(--transition);
}

.edu-navbar__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
    color: var(--text-tertiary);
}

.edu-navbar__link-text {
    transition: transform var(--transition);
}

.edu-navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-full);
    transition: width var(--transition);
}

.edu-navbar__link:hover {
    color: var(--primary);
}

.edu-navbar__link:hover .edu-navbar__link-icon {
    color: var(--primary);
    transform: translateY(-2px);
}

.edu-navbar__link:hover::after {
    width: 100%;
}

.edu-navbar__link.active {
    color: var(--primary);
}

.edu-navbar__link.active .edu-navbar__link-icon {
    color: var(--primary);
}

.edu-navbar__link.active::after {
    width: 100%;
}

/* Action Buttons */
.edu-navbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.edu-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
    z-index: 1;
}

.edu-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

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

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

.edu-btn--outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

.edu-btn--outline:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.edu-btn--outline:hover::before {
    opacity: 1;
}

.edu-btn--primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.edu-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.edu-btn--primary:hover::before {
    opacity: 1;
}

.edu-btn--primary:active, .edu-btn--outline:active {
    transform: translateY(0);
}

/* Theme Toggle */
.edu-navbar__theme-toggle {
    position: relative;
    margin-left: 0.5rem;
}

.edu-theme-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.edu-theme-toggle__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    background: var(--background-alt);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.edu-theme-toggle__label:hover {
    background: var(--background-dark);
    color: var(--primary);
}

.edu-theme-toggle__sun {
    opacity: 1;
    transform: rotate(0deg);
    transition: all var(--transition);
}

.edu-theme-toggle__moon {
    position: absolute;
    opacity: 0;
    transform: rotate(90deg);
    transition: all var(--transition);
}

[data-theme="dark"] .edu-theme-toggle__sun {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .edu-theme-toggle__moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile Toggle Button */
.edu-navbar__mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.edu-navbar__mobile-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.edu-navbar__mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--background);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .edu-navbar__mobile-menu {
    background: var(--background-alt);
}

.edu-navbar__mobile-menu.active {
    right: 0;
}

.edu-navbar__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.edu-navbar__mobile-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    transition: all var(--transition);
}

.edu-navbar__mobile-close:hover {
    background: var(--background-dark);
    color: var(--primary);
}

.edu-navbar__mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.edu-navbar__mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.edu-navbar__mobile-link:hover,
.edu-navbar__mobile-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    padding-left: 0.5rem;
}

.edu-navbar__mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.edu-btn--outline-mobile {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.edu-btn--outline-mobile:hover {
    background: var(--primary);
    color: white;
}

.edu-btn--primary-mobile {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.edu-btn--primary-mobile:hover {
    box-shadow: var(--shadow-md), var(--glow-primary);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle Animation */
.edu-navbar__mobile-toggle.active .edu-navbar__mobile-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.edu-navbar__mobile-toggle.active .edu-navbar__mobile-line:nth-child(2) {
    opacity: 0;
}

.edu-navbar__mobile-toggle.active .edu-navbar__mobile-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Body Overlay when Mobile Menu is Open */
.edu-body-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.edu-body-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .edu-navbar__container {
        padding: 0 1.5rem;
    }
    
    .edu-navbar__menu {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .edu-navbar__container {
        padding: 0 1rem;
    }
    
    .edu-navbar__menu {
        gap: 1rem;
    }
    
    .edu-navbar__link-text {
        font-size: 0.9rem;
    }
    
    .edu-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .edu-navbar__menu {
        display: none;
    }
    
    .edu-navbar__actions {
        display: none;
    }
    
    .edu-navbar__mobile-toggle {
        display: flex;
    }
    
    .edu-navbar__logo-text h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .edu-navbar__container {
        padding: 0 0.75rem;
    }
    
    .edu-navbar__logo-text h2 {
        font-size: 1.1rem;
    }
    
    .edu-navbar__mobile-menu {
        max-width: 100%;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Utility Classes */
.edu-animate-fade {
    animation: fadeIn var(--transition) forwards;
}

.edu-animate-slide {
    animation: slideIn var(--transition) forwards;
}

/* Accessibility Styles */
.edu-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles for Accessibility */
/* a:focus, button:focus, input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
} */

/* Skip to content link for accessibility */
.edu-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1001;
    transition: top var(--transition);
}

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

/* Hero Section - Futuristic Morphic Design */
.edu-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.02) 90%);
    overflow: hidden;
    z-index: 1;
}

/* Floating particles background effect */
.edu-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(var(--primary-rgb), 0.2) 0%, transparent 25%),
        radial-gradient(circle at 15% 85%, rgba(var(--accent-rgb), 0.15) 0%, transparent 30%);
    z-index: -1;
}

/* Animated mesh gradient overlay */
.edu-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 225deg at 50% 50%,
        rgba(var(--primary-rgb), 0.05) 0deg,
        rgba(var(--accent-rgb), 0.05) 90deg,
        rgba(var(--success-rgb), 0.05) 180deg,
        rgba(var(--primary-light-rgb), 0.05) 270deg
    );
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: rotateGradient 30s linear infinite;
    z-index: -1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hero content with parallax effect */
.edu-hero__content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.edu-hero__content::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3), rgba(var(--primary-light-rgb), 0.1));
    border-radius: var(--border-radius-2xl);
    filter: blur(20px);
    opacity: 0.5;
    transform: rotate(-15deg);
    animation: floatElement 8s ease-in-out infinite;
    z-index: -1;
}

/* Morphing title with gradient animation */
.edu-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    background-size: 300% 300%;
    background-image: linear-gradient(
        -60deg,
        var(--primary) 0%,
        var(--primary-light) 30%, 
        var(--accent) 60%,
        var(--primary-dark) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
}

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

/* Stunning subtitle with staggered reveal */
.edu-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    transform: translateZ(20px);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.edu-hero__subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--background) 0%, transparent 100%);
    animation: revealText 2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes revealText {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/* Innovative CTA button with liquid effect */
.edu-hero__cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    position: relative;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 6px 20px -10px rgba(var(--primary-rgb), 0.5);
    transform: translateZ(30px);
}

.edu-hero__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: all 0.6s;
}

.edu-hero__cta:hover {
    transform: translateY(-3px) translateZ(30px);
    box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.6);
}

.edu-hero__cta:hover::before {
    left: 100%;
}

.edu-hero__cta:active {
    transform: translateY(0) translateZ(30px);
}

/* 3D floating stats cards */
.edu-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-left: clamp(2rem, 5vw, 4rem);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.edu-stat__card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 
        0 10px 30px -15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(var(--primary-rgb), 0.05);
    text-align: center;
    transition: all var(--transition);
    overflow: hidden;
    transform: translateZ(0);
    animation: floatElement calc(6s + var(--delay, 0s)) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.edu-stat__card:nth-child(1) {
    --delay: 0s;
}

.edu-stat__card:nth-child(2) {
    --delay: 0.5s;
}

.edu-stat__card:nth-child(3) {
    --delay: 1s;
}

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

.edu-stat__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent) 50%,
        var(--primary-light) 100%
    );
    opacity: 0;
    transition: opacity var(--transition);
}

.edu-stat__card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

.edu-stat__card:hover::before {
    opacity: 1;
}

.edu-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
}

.edu-stat__number::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    width: 2rem;
    height: 2px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    border-radius: var(--border-radius-full);
}

.edu-stat__label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-top: 0.75rem;
    opacity: 0.8;
}

/* Dynamic particle dots decorations */
.edu-hero__particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.edu-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.3);
    animation: moveParticle 15s infinite linear;
}

@keyframes moveParticle {
    0% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(var(--x1, 100px), var(--y1, -100px));
    }
    66% {
        transform: translate(var(--x2, -150px), var(--y2, 150px));
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .edu-hero {
        padding: 8rem 4% 4rem;
    }
    
    .edu-hero__stats {
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .edu-hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 7rem;
    }
    
    .edu-hero__content {
        max-width: 80%;
        margin-bottom: 4rem;
    }
    
    .edu-hero__stats {
        margin-left: 0;
        width: 100%;
        max-width: 800px;
    }
    
    .edu-hero__content::before {
        left: 50%;
        transform: translateX(-50%) rotate(-15deg);
    }
}

@media (max-width: 768px) {
    .edu-hero__title {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }
    
    .edu-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .edu-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .edu-stat__card {
        padding: 1.5rem 1rem;
    }
    
    .edu-stat__number {
        font-size: 2rem;
    }
    
    .edu-stat__label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .edu-hero__content {
        max-width: 100%;
    }
    
    .edu-hero__stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        /* margin: 0 auto; */
    }
    
    .edu-stat__card {
        padding: 1.75rem;
    }
    
    .edu-stat__card:not(:last-child) {
        margin-bottom: 1rem;
    }
}

/* Add these RGB variables to your :root */
:root {
    --primary-rgb: 67, 97, 238;
    --primary-light-rgb: 72, 149, 239;
    --primary-dark-rgb: 63, 55, 201;
    --accent-rgb: 247, 37, 133;
    --success-rgb: 16, 185, 129;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .edu-hero {
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.08) 0%, rgba(15, 23, 42, 0.1) 90%);
}

[data-theme="dark"] .edu-stat__card {
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 
        0 10px 30px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

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

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

:root {
    --primary: #3f51b5;
    --secondary: #f50057;
    --text-dark: #333;
    --text-light: #666;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.15);
    --btn-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Teachers Section */
.edu-teachers {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, #fff, #f9f9ff);
    overflow: hidden;
    position: relative;
}

.edu-section__title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.edu-teachers__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

.edu-teachers__slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.edu-teachers__track {
    position: relative;
    height: 550px;
    perspective: 1000px;
}

.edu-teacher__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-slow), transform 0.8s var(--transition-slow);
    z-index: 1;
}

.edu-teacher__slide.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    z-index: 2;
}

.edu-navbar__mobile-buttons a {
    text-decoration: none;

}
.edu-navbar__actions a {
    text-decoration: none;
}

.edu-teacher__cards {
    position: relative;
    width: 400px;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 1s var(--transition-slow);
}

.edu-teacher__slide.active .edu-teacher__cards {
    animation: cardEntrance 1s var(--transition-slow) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateX(-80px) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

.edu-teacher__card {
    position: absolute;
    width: 450px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.6s var(--transition-slow);
    backface-visibility: hidden;
    margin-left: 70px;
}

.edu-teacher__slide.active .edu-teacher__card--main {
    animation: cardMainEntrance 0.8s var(--transition-slow) forwards;
}

.edu-teacher__slide.active .edu-teacher__card--back-1 {
    animation: cardBack1Entrance 0.8s var(--transition-slow) 0.1s forwards;
}

.edu-teacher__slide.active .edu-teacher__card--back-2 {
    animation: cardBack2Entrance 0.8s var(--transition-slow) 0.2s forwards;
}

@keyframes cardMainEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }
}

@keyframes cardBack1Entrance {
    0% {
        opacity: 0;
        transform: translateX(-20px) translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-40px) translateY(0) scale(0.9);
    }
}

@keyframes cardBack2Entrance {
    0% {
        opacity: 0;
        transform: translateX(-40px) translateY(0) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateX(-80px) translateY(0) scale(0.8);
    }
}

.edu-teacher__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.edu-teacher__card:hover img {
    transform: scale(1.05);
}

.edu-teacher__card--main {
    z-index: 3;
    transform: scale(1.1);
}

.edu-teacher__card--back-1 {
    z-index: 2;
    transform: translateX(-80px) scale(0.9);
    filter: brightness(0.9);
}

.edu-teacher__card--back-2 {
    z-index: 1;
    transform: translateX(-130px) scale(0.8);
    filter: brightness(0.8);
}

.edu-teacher__tags {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: calc(100% - 40px);
}

.edu-teacher__tag {
    padding: 8px 16px;
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.edu-teacher__tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.edu-teacher__content {
    flex: 1;
    padding-left: 5rem;
    max-width: 550px;
    opacity: 0;
    transform: translateX(30px);
}

.edu-teacher__slide.active .edu-teacher__content {
    animation: contentEntrance 0.8s ease 0.3s forwards;
}

@keyframes contentEntrance {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.edu-teacher__quote {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
}


.edu-teacher__author {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.edu-teacher__info {
    color: var(--text-light);
    font-size: 1.1rem;
}

.edu-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--btn-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-slider__btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: var(--primary);
    color: white;
}

.edu-slider__btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.3), var(--btn-shadow);
}

.edu-slider__btn--prev {
    left: -30px;
}

.edu-slider__btn--next {
    right: -30px;
}

.edu-slider__dots {
    position: absolute;
    bottom: 0;
    margin-top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px;
}

.edu-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.edu-slider__dot:hover {
    background: #bbb;
}

.edu-slider__dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Animation Classes */
.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Media Queries */
@media (max-width: 1200px) {
    .edu-slider__btn--prev {
        left: 10px;
    }
    
    .edu-slider__btn--next {
        right: 10px;
    }
}

@media (max-width: 992px) {
    .edu-teacher__slide {
        flex-direction: column;
        height: auto;
        gap: 3rem;
        padding: 2rem 0;
    }

    .edu-teacher__content {
        padding-left: 0;
        text-align: center;
        max-width: 600px;
    }
    
    .edu-teacher__quote::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .edu-teacher__cards {
        width: 400px;
        height: 500px;
    }

    .edu-teacher__card {
        width: 350px;
        height: 400px;
    }
    
    .edu-teachers__track {
        height: 800px;
    }
}

@media (max-width: 576px) {
    .edu-section__title {
        font-size: 3.0rem;
        font-weight: 600;
    }
    
    .edu-teachers__subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .edu-teacher__cards {
        width: 350px;
        height: 400px;
    }

    .edu-teacher__card {
        width: 300px;
        height: 400px;
    }
    
    .edu-teacher__card--back-1 {
        transform: translateX(-70px) scale(0.9);
    }
    
    .edu-teacher__card--back-2 {
        transform: translateX(-120px) scale(0.8);
    }

    .edu-teacher__quote {
        font-size: 1.6rem;
    }
    
    .edu-teachers__track {
        height: 700px;
    }
    
    .edu-slider__btn {
        width: 45px;
        height: 45px;
    }
}

.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.why-choose-section {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-header {
    text-align: center;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: #1a365d;
    text-shadow: 0 0 15px rgba(61, 90, 254, 0.3);
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


.section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    /* color: rgba(255, 255, 255, 0.8); */
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-effect);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    min-height: 350px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--border-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

.feature-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transform: translateZ(15px);
}

.feature-description {
    /* color: rgba(255, 255, 255, 0.7); */
    line-height: 1.6;
    transform: translateZ(10px);
}

.hologram {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 150px;
    height: 150px;
    opacity: 0.2;
    transform: translateZ(5px);
    filter: blur(2px);
    transition: all 0.5s ease;
}

.feature-card:hover .hologram {
    opacity: 0.4;
    filter: blur(0);
}

.feature-card:nth-child(1) .hologram {
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
}

.feature-card:nth-child(2) .hologram {
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
}

.feature-card:nth-child(3) .hologram {
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
}

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

.floating-image {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}

/* Glowing Orbit Animation */
.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(61, 90, 254, 0.3);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.orbit:nth-child(1) {
    width: 300px;
    height: 300px;
}

.orbit:nth-child(2) {
    width: 500px;
    height: 500px;
    animation-duration: 30s;
    border-color: rgba(0, 200, 83, 0.3);
}

.orbit:nth-child(3) {
    width: 700px;
    height: 700px;
    animation-duration: 40s;
    border-color: rgba(255, 61, 0, 0.3);
}

.orbit-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
}

.orbit:nth-child(2) .orbit-point {
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.orbit:nth-child(3) .orbit-point {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

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

/* Interactive 3D Stats Counter */
.stats-counter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem 5%;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    perspective: 1000px;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    /* color: rgba(255, 255, 255, 0.8); */
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .orbit:nth-child(1) {
        width: 150px;
        height: 150px;
    }
    
    .orbit:nth-child(2) {
        width: 250px;
        height: 250px;
    }
    
    .orbit:nth-child(3) {
        width: 350px;
        height: 350px;
    }
    
    .stats-counter {
        flex-direction: column;
    }
}

/* Futuristic glowing buttons */
.cta-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: rgba(61, 90, 254, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    box-shadow: 0 0 25px var(--border-glow);
    transform: translateY(-5px);
}

/* Registration Form */
.edu-register {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f9 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Animation */
.edu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.edu-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.05);
    animation: float 8s infinite ease-in-out;
}

.edu-bubble:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.edu-bubble:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 15%;
    animation-delay: 1s;
    background: rgba(255, 101, 132, 0.05);
}

.edu-bubble:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 25%;
    right: 10%;
    animation-delay: 2s;
}

.edu-bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
    background: rgba(255, 101, 132, 0.05);
}

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

.edu-section__title {
    font-size: 3.0rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a365d;
    position: relative;
    color: #1a365d;
    z-index: 1;
}


.edu-section__title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.edu-register__form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    transform: translateY(0);
    opacity: 1;
}

.edu-register__form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.edu-form__group {
    margin-bottom: 1.5rem;
    position: relative;
}

.edu-form__input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid transparent;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.edu-form__input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.edu-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* Label animation */
.edu-form__label {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    padding: 0 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
    z-index: 2;
}

.edu-form__input:focus + .edu-form__label,
.edu-form__input:not(:placeholder-shown) + .edu-form__label {
    top: -0.7rem;
    left: 1rem;
    font-size: 0.8rem;
    background-color: var(--background-white);
    color: var(--primary-color);
}

.edu-form__submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.edu-form__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.edu-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(80, 70, 229, 0.3);
}

.edu-form__submit:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Select styling */
.edu-form__select-container {
    position: relative;
}

.edu-form__select-container::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    font-size: 0.8rem;
}

select.edu-form__input {
    appearance: none;
    cursor: pointer;
}

/* Form success state */
.edu-form__success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.edu-form__success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.edu-form__success h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.edu-form__success p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

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

.animate-slideInUp {
    animation: slideInUp 0.8s forwards;
}

.animate-fadeIn {
    animation: fadeIn 1s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .edu-register {
        padding: 5rem 5%;
    }

    .edu-section__title {
        font-size: 2rem;
    }

    .edu-register__form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .edu-register {
        padding: 4rem 5%;
    }

    .edu-section__title {
        font-size: 1.8rem;
    }

    .edu-register__form {
        padding: 1.5rem;
    }

    .edu-form__input {
        padding: 1rem;
    }

    .edu-form__submit {
        padding: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1A1A2E;
        --background-white: #2A2A3C;
        --text-dark: #f0f0f0;
        --text-light: #b0b0b0;
    }

    .edu-bubble:nth-child(1),
    .edu-bubble:nth-child(3) {
        background: rgba(108, 99, 255, 0.1);
    }

    .edu-bubble:nth-child(2),
    .edu-bubble:nth-child(4) {
        background: rgba(255, 101, 132, 0.1);
    }

    .edu-form__input {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .edu-form__input:focus + .edu-form__label,
    .edu-form__input:not(:placeholder-shown) + .edu-form__label {
        background-color: var(--background-white);
    }
}

/* Student showcase */

.student-showcase {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    overflow: hidden;
}

.showcase-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a365d;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s forwards 0.3s;
}

.showcase-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.student-card {
    width: 100%;
    max-width: 900px;
    min-height: 380px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
}

.student-card:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.certificate-side {
    flex: 1;
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(45deg, #f9f9f9, #f1f1f1);
}

.certificate-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.student-card:nth-child(even) .certificate-img {
    transform: rotate(2deg);
}

.certificate-img:hover {
    transform: rotate(0) scale(1.03);
}

.info-side {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.student-name {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.student-details {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.score-boxes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.score-box {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.score-box:hover {
    transform: translateY(-5px);
}

.overall-score {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee0979 100%);
}

.cefr-level {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

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

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

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

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

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(238, 174, 202, 0.2) 0%, rgba(148, 187, 233, 0.2) 100%);
    z-index: 0;
}

.circle1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
}

.circle2 {
    width: 80px;
    height: 80px;
    bottom: 30px;
    right: 20px;
}

/* Card carousel animation */
.active-card {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Media Queries */
@media (max-width: 768px) {
    .student-card {
        flex-direction: column;
        max-width: 400px;
        transform: translateY(50px);
    }

    .student-card:nth-child(even) {
        flex-direction: column;
        transform: translateY(50px);
    }

    .certificate-side {
        width: 100%;
        padding: 1rem;
    }

    .certificate-img {
        max-width: 300px;
    }

    .info-side {
        width: 100%;
        padding: 1.5rem;
    }

    .student-name {
        font-size: 1.5rem;
    }

    .score-boxes {
        flex-direction: row;
    }

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

    .active-card {
        animation: fadeInUp 0.8s forwards;
    }
}

/* Contact section */
/* .header_contact {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  } */
  
  .container-branch {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .page-title {
    margin-top: 80px;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
  }
  
  .branches-container {
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.3s forwards;
  }
  
  .branches-list {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    min-width: 300px;
    margin: 0 auto;
  }
  
  .map-container {
    flex: 2;
    height: 400px;
    width: 500px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .map-cent {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  
  .branch-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .branch-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .branch-item:hover {
    transform: translateX(5px);
  }
  
  .branch-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
  }
  
  .branch-address {
    font-size: 14px;
    color: #636e72;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .branch-phone {
    font-size: 14px;
    color: #1e88e5;
    font-weight: 500;
  }
  
  .branch-hours {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
  }
  
  .active-branch {
    background-color: #f5f9ff;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #1e88e5;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 768px) {
    .branches-container {
      flex-direction: column;
    }
    
    .map-container {
      height: 300px;
      order: -1;
    }

    .map-cent {
      width: 300px;
      height: 200px;
      margin: 0 auto;
    }
    
    .branches-list {
      width: 100%;
    }
  }
  
  .nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .nav-link {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
  }
  
  .nav-link:hover {
    background-color: #f1f1f1;
  }
  
  .nav-link.active {
    color: #1e88e5;
    position: relative;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: #1e88e5;
  }

/* Footer */
.edu-footer {
    background: #121118;
    color: #121118;
    padding: 4rem 5% 2rem;
}

.edu-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.edu-footer__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.edu-footer__text {
    color: #fff;
    margin-bottom: 1rem;
}

.edu-footer__list, i {
    list-style: none;
}

.edu-footer__list li {
    margin-bottom: 0.75rem;
    color: #fff;
}

.edu-footer__list i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.edu-footer__social {
    display: flex;
    gap: 1rem;
}

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

.edu-social__link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.edu-footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
}

.edu-footer__list li a {
    color: #fff;
    list-style: none;
    text-decoration: none;
}

.edu-footer__list li a:hover {
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

/* Media Queries */
@media (max-width: 1200px) {
    .edu-hero__title {
        font-size: 3.5rem;
    }

    .edu-hero__stats {
        margin-left: 2rem;
    }
}

@media (max-width: 992px) {
    .edu-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .edu-hero__content {
        margin-bottom: 3rem;
    }

    .edu-hero__stats {
        margin-left: 0;
    }

    .edu-success {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .edu-navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 1rem;
    }

    .edu-navbar__menu.active {
        display: flex;
    }

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

    .edu-navbar__mobile-toggle span {
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition);
    }

    .edu-hero__title {
        font-size: 3rem;
    }

    .edu-hero__stats {
        grid-template-columns: 1fr;
    }

    .edu-stat__card {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .edu-section__title {
        font-size: 2rem;
    }

    .edu-hero__title {
        font-size: 2.5rem;
    }

    .edu-hero__subtitle {
        font-size: 1.1rem;
    }

    .edu-register__form {
        padding: 2rem;
    }

    .edu-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-white: #1f2937;
        --background-light: #111827;
        --text-primary: #f3f4f6;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    .edu-navbar {
        background: rgba(31, 41, 55, 0.95);
    }

    .edu-navbar.scrolled {
        background: rgba(31, 41, 55, 0.98);
    }

    .edu-feature__card,
    .edu-teacher__card,
    .edu-stat__card,
    .edu-register__form {
        background: var(--background-white);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

