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

:root {
    /* Dark mode French palette inspired by Paris 2024 */
    --bg-primary: #0F0F23;  /* Deep midnight blue */
    --bg-secondary: #1A1A35;  /* Slightly lighter dark */
    --bg-tertiary: #242447;  /* Card backgrounds */
    --bg-accent: #2D2D52;  /* Hover states */
    
    --text-primary: #E8E9F3;  /* Main text */
    --text-secondary: #B8BAD0;  /* Secondary text */
    --text-muted: #8B8FA8;  /* Muted text */
    
    --french-blue: #4D7FFF;  /* Brighter blue for dark mode */
    --olympic-blue: #66A3FF;  /* Even brighter accent */
    --french-red: #FF4D6B;  /* Bright red for contrast */
    --coral-accent: #FF8A9B;  /* Soft coral */
    --champagne-gold: #FFD700;  /* Bright gold */
    
    --border-color: #3A3A5C;
    --border-hover: #4D4D73;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(77, 127, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A1A35, #242447);
    --gradient-accent: linear-gradient(135deg, #4D7FFF, #66A3FF);
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

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

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--french-blue);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: -0.25rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--french-blue);
}

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

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

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: auto;
    margin-right: 20px;
    flex-wrap: wrap;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--text-secondary);
}

.lang-btn:hover {
    background: var(--bg-accent);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--french-blue);
    color: var(--bg-primary);
    border-color: var(--french-blue);
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, rgba(255, 215, 0, 0.03) 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 70%;
    height: 150%;
    background: linear-gradient(45deg, transparent 30%, rgba(77, 127, 255, 0.05) 50%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    height: fit-content;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    min-height: 7.4rem;
    opacity: 1;
}

.text-accent {
    color: var(--french-blue);
}

.text-highlight {
    background: linear-gradient(90deg, var(--french-red), var(--coral-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--bg-tertiary);
    color: var(--french-blue);
    border-color: var(--french-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(77, 127, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--french-blue);
    border-color: var(--french-blue);
}

.btn-secondary:hover {
    background: var(--french-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    max-width: 416px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 455px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Scattered French Icons */
.floating-icon {
    display: inline-block;
    font-size: 1.5rem;
    margin-left: 10px;
    animation: gentle-float 4s ease-in-out infinite;
    opacity: 0.7;
}

.small-icon {
    display: inline-block;
    font-size: 1.2rem;
    margin-left: 8px;
    animation: gentle-float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.tiny-icon {
    display: inline-block;
    font-size: 1rem;
    margin-left: 6px;
    animation: gentle-float 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
    opacity: 0.6;
}

.footer-icon {
    display: inline-block;
    margin-left: 10px;
    animation: gentle-float 5s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-5deg);
    }
    75% {
        transform: translateY(3px) rotate(5deg);
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--french-blue);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(77, 127, 255, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    border-radius: 2px;
}

.subtitle-english {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 20px;
    line-height: 1.5;
}

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

.lead-text {
    font-size: 1.25rem;
    color: var(--french-blue);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.highlight-box {
    background: var(--bg-tertiary);
    padding: 25px;
    border-left: 4px solid var(--french-red);
    margin: 2.5rem 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.english-hook {
    color: var(--french-red);
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 77, 107, 0.3);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-weight: 500;
    color: var(--french-blue);
}

/* Method Section */
.method {
    padding: 80px 0;
    background: var(--bg-primary);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.method-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 0 10px 0 100%;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-accent));
    border-color: var(--border-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1;
}

.method-card h3 {
    color: var(--french-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(77, 127, 255, 0.2);
    line-height: 1.3;
}

.method-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.english-text {
    color: var(--french-red);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-secondary);
}

/* Digital Teaching Emphasis */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--champagne-gold), var(--olympic-blue));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.badge-icon {
    margin-right: 8px;
}

.service-card.digital-emphasis {
    position: relative;
    border: 2px solid var(--champagne-gold);
}

.digital-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, var(--olympic-blue), var(--champagne-gold));
    color: var(--white);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.highlight-online {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(0, 102, 204, 0.1));
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.digital-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.highlight-digital {
    color: var(--olympic-blue);
    font-weight: 500;
}

/* Corporate-friendly elements */
.corporate-highlight {
    background: linear-gradient(90deg, rgba(10, 21, 81, 0.05), rgba(212, 175, 55, 0.05));
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 5px;
    font-weight: 500;
    border-left: 3px solid var(--champagne-gold);
}

.corporate-note {
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(10, 21, 81, 0.05), rgba(0, 102, 204, 0.05));
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--corporate-gray);
    text-align: center;
    font-weight: 500;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.service-card.special {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-card.special::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: subtle-glow 8s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.service-card h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--french-blue);
    line-height: 1.3;
}

.service-card.special h3 {
    color: var(--white);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.service-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location {
    font-weight: 600;
    color: var(--french-red);
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: var(--bg-primary);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.exp-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.exp-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.exp-item h3 {
    color: var(--french-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(77, 127, 255, 0.2);
    line-height: 1.3;
}

.exp-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.exp-item li {
    padding: 8px 0;
    line-height: 1.6;
}

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

.lang-badge {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--french-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(77, 127, 255, 0.3);
}

.contact-info p {
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 18px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--french-blue);
    text-shadow: 0 0 10px rgba(77, 127, 255, 0.3);
}

.contact-item a {
    color: var(--french-red);
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 77, 107, 0.2);
}

.contact-item a:hover {
    text-decoration: underline;
}


/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 100px,
        rgba(77, 127, 255, 0.03) 100px,
        rgba(77, 127, 255, 0.03) 101px
    );
    animation: geometric-slide 20s linear infinite;
}

@keyframes geometric-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(101px); }
}

.footer-content p {
    margin: 5px 0;
}

/* Navigation Menu - Always Mobile Style */
.nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 30px 0;
    z-index: 998;
}

.nav-menu.active {
    left: 0;
    display: flex;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu a {
    font-size: 1.2rem;
    padding: 10px 20px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0.5rem 20px;
    }
    
    .language-switcher {
        order: 2;
        margin-left: 0;
        margin-right: 0;
        gap: 2px;
        flex-wrap: nowrap;
    }
    
    .lang-btn {
        padding: 1px 3px;
        font-size: 8px;
        gap: 0;
        min-width: 24px;
    }
    
    .hamburger {
        order: 3;
    }
    
    .hero {
        padding: 140px 0 60px;
        height: 100vh;
        margin-top: 0;
        margin-bottom: 0;
        align-items: flex-start;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
        opacity: 1 !important;
        min-height: 6rem;
    }
    
    .hero-description {
        max-width: none;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-content,
    .experience-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .method-grid,
    .service-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .method-card,
    .service-card {
        padding: 30px 25px;
    }
    
}

@media (max-width: 480px) {
    .hero {
        padding: 160px 0 40px;
        height: 100vh;
        margin-top: 0;
        align-items: flex-start;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        opacity: 1 !important;
        min-height: 4.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .method-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .exp-item {
        padding: 25px 20px;
    }
    
    
    .contact-item {
        padding: 12px;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}