:root {
    --primary: #4F46E5;
    --primary-dark: #4338ca;
    --secondary: #EC4899;
    --accent: #8B5CF6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: none;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(236, 72, 153, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
    padding: 5rem 0;
}

/* Add scroll padding for anchor links */
html {
    scroll-padding-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.center {
    text-align: center;
}

.eyebrow {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.about-image {
    min-height: 400px;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background-color: #e5e7eb;
}

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

.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--light);
}

.spanish-icon {
    color: #eab308;
    background: #fef9c3;
}

.german-icon {
    color: #ef4444;
    background: #fee2e2;
}

.japanese-icon {
    color: #ec4899;
    background: #fce7f3;
}

.english-icon {
    color: #3b82f6;
    background: #dbeafe;
}

.french-icon {
    color: #8b5cf6;
    background: #ede9fe;
}

.sanskrit-icon {
    color: #f97316;
    background: #ffedd5;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.program-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.learn-more:hover {
    gap: 0.75rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Stats */
.stats-section {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 30%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 30%), linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="140" height="140" xmlns="http://www.w3.org/2000/svg"><path d="M70 0 L140 70 L70 140 L0 70 Z" fill="none" stroke="white" stroke-opacity="0.05" stroke-width="2"/></svg>');
    opacity: 0.7;
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.stats-header .section-title {
    color: var(--white);
}

.stats-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.stat-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.25);
}

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

.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease, background 0.35s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.06) rotate(3deg);
    background: rgba(255, 255, 255, 0.28);
}

.stat-icon i {
    width: 36px;
    height: 36px;
    stroke-width: 2.2;
}

.stat-number {
    font-size: 3.8rem;
    font-weight: 700;
    font-family: var(--font-serif);
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.stat-hint {
    display: block;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

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

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--gray);
    margin-bottom: 0.75rem;
    text-decoration: none;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        gap: 1.25rem;
    }

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

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .hero {
        min-height: 500px;
        height: auto;
        padding-top: 80px;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .section {
        padding: 3rem 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .about-text {
        padding-top: 1rem;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stats-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

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

    .programs-section {
        padding: 3rem 0;
    }

    .programs-grid {
        gap: 1.5rem;
    }

    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-grid {
        gap: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }
}