/* Thèmes */
:root {
    /* Mode clair (défaut) */
    --primary-color: #0056b3;
    --primary-color-rgb: 0, 86, 179;
    --secondary-color: #007bff;
    --accent-color: #28a745;
    --accent-color-rgb: 40, 167, 69;
    --background-color: #f4f7f6;
    --text-color: #333;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    --nav-bg: #ffffff;
    --nav-text: #333333;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    /* Couleurs du thème clair (par défaut) */
    --bg-color: #f4f7f6;
    --text-color: #333;
    --nav-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --container-padding: 2rem;
    --section-spacing: 4rem;
    --card-spacing: 2rem;
}

/* Mode sombre */
[data-theme="dark"] {
    --primary-color: #4da6ff;
    --primary-color-rgb: 77, 166, 255;
    --secondary-color: #66b2ff;
    --accent-color: #5cb85c;
    --accent-color-rgb: 92, 184, 92;
    --background-color: #2c3e50;
    --text-color: #ecf0f1;
    --card-bg: #34495e;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    --nav-bg: #34495e;
    --nav-text: #ecf0f1;
    --border-color: #55708f;
    --bg-color: #2c3e50;
    --card-bg: #34495e;
    --border-color: #55708f;
    --shadow-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-section,
[data-theme="dark"] .argument-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .skill-node,
[data-theme="dark"] .intro-card {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .intro,
[data-theme="dark"] .coding-passion,
[data-theme="dark"] .coding-mission {
    color: var(--text-color);
}

[data-theme="dark"] .quick-intro {
    background: var(--card-bg);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 70px;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

nav.scrolled {
    background-color: rgba(var(--nav-bg), 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    nav {
        padding: 1rem;
    }
    
    nav .logo {
        font-size: 1.5rem;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        margin: 0;
    }
    
    nav.active ul {
        right: 0;
    }
    
    nav ul li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        text-align: left;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    
    nav ul li a:hover {
        background: var(--primary-color);
        color: white;
        transform: translateX(10px);
    }
    
    .mobile-menu-button {
        display: block;
        order: 1;
    }
    
    .lang-switcher {
        order: 0;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    nav.active .mobile-menu-overlay {
        display: block;
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

nav .logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 1px;
    flex: 0 0 auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

nav ul li a:hover::after {
    width: 100%;
    opacity: 1;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-menu-button:hover {
    color: var(--secondary-color);
}

/* Language Switcher Styles */
.lang-switcher {
    position: relative;
    margin-left: 1rem;
    z-index: 1001;
}

.lang-switcher-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-switcher-btn:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-top: 0.5rem;
    display: none;
    box-shadow: var(--card-shadow);
    min-width: 120px;
}

.lang-options.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.lang-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--primary-color);
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .lang-switcher {
        margin: 0.5rem 0;
        order: -1;
    }

    nav.active .lang-switcher {
        margin: 1rem 0;
    }

    .lang-options {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
    }

    .lang-switcher-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive navigation */
@media (max-width: 1200px) {
    nav {
        padding: 1rem 2rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    nav ul li a {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 992px) {
    nav {
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    nav.active ul {
        right: 0;
    }
    
    nav ul li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        background: var(--primary-color);
        color: white;
        transform: translateX(10px);
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 0.75rem;
    }
    
    nav .logo {
        font-size: 1.5rem;
    }
    
    nav ul {
        width: 100%;
        max-width: none;
    }
    
    .mobile-menu-button {
        font-size: 1.3rem;
    }
    
    .lang-switcher-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Overlay pour le menu mobile */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Animation pour le bouton du menu mobile */
.mobile-menu-button .menu-icon {
    transition: transform 0.3s ease;
}

.mobile-menu-button.active .menu-icon {
    transform: rotate(90deg);
}

/* Styles pour le contenu principal */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: padding 0.3s ease;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    body {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://www.axido.fr/wp-content/uploads/2021/07/shutterstock_1057841874.webp');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.status-banner {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-banner h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-list li i {
    font-size: 1.4rem;
    color: var(--accent-color);
    min-width: 24px;
}

/* Améliorations des sections principales */
.teaching-approach,
.subjects,
.testimonials,
.success-stats {
    padding: 5rem 0;
}

.teaching-approach h2,
.subjects h2,
.testimonials h2,
.success-stats h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.teaching-approach p,
.subjects p,
.testimonials p,
.success-stats p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.approach-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.approach-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.approach-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.approach-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
    flex-grow: 1;
}

/* Améliorations pour les témoignages */
.testimonial-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card .quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-card .quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card .author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.testimonial-card .rating {
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Améliorations pour les statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stat-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Media queries pour la responsivité */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 3rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .status-banner {
        padding: 1.5rem;
    }
    
    .status-banner h3 {
        font-size: 1.5rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .teaching-approach h2,
    .subjects h2,
    .testimonials h2,
    .success-stats h2 {
        font-size: 2.2rem;
    }
    
    .approach-card,
    .testimonial-card,
    .stat-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .teaching-approach h2,
    .subjects h2,
    .testimonials h2,
    .success-stats h2 {
        font-size: 2rem;
    }
    
    .approach-card,
    .testimonial-card,
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2.5rem;
    }
}

/* About Page Styles */
.grid-container {
    display: grid;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.argument-card h3 i {
    font-size: 1.6rem;
}

.argument-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.argument-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.argument-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.highlight-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.highlight-card h3,
.highlight-card ul li:before {
    color: white;
}

.testimonials-preview {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.testimonials-preview.animate-fade-in-delay {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonials-preview h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-quote {
    font-style: italic;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.testimonial-quote p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-quote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

.call-to-action {
    text-align: center;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(20px);
}

.call-to-action.animate-fade-in-delay {
    animation: fadeInUp 0.6s ease forwards;
}

.call-to-action h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button.secondary {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
}

.cta-button.secondary:hover {
    background: rgba(var(--primary-color-rgb), 0.2);
}

/* Animations */

/* Styles pour la page Pourquoi Moi */
.why-me {
    padding: var(--section-spacing);
    max-width: 1200px;
    margin: 0 auto;
}

.why-me h2 {
    text-align: center;
    color: var(--text-color);
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.argument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.argument-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.argument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.argument-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.argument-card i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.argument-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.argument-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-color);
}

.argument-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.testimonials-preview {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.testimonials-preview h3 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.call-to-action {
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.call-to-action h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive design pour la page Pourquoi Moi */
@media (max-width: 768px) {
    .why-me h2 {
        font-size: 2.2rem;
    }
    
    .argument-grid {
        grid-template-columns: 1fr;
    }
    
    .argument-card {
        padding: 1.5rem;
    }
    
    .testimonials-preview {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }
.delay-10 { animation-delay: 1s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .argument-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-me h2 {
        font-size: 2.2rem;
    }

    .argument-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-preview {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .why-me {
        padding: 2rem 1rem;
    }

    .why-me h2 {
        font-size: 2rem;
    }

    .argument-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        padding: 1.5rem;
    }
}

/* Styles pour la page Contact */
.contact {
    padding: var(--section-spacing) 0;
    max-width: 900px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--card-spacing);
    margin-bottom: var(--section-spacing);
}

.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-color);
    font-size: 1.05rem;
    word-break: break-word;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form-section {
    background: var(--card-bg);
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(var(--primary-color-rgb), 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form .btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
}

.contact-form .btn i {
    font-size: 1.3rem;
}

.contact-form .btn:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.5);
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact {
        padding: var(--section-spacing) 1.5rem;
    }

    .contact h2 {
        font-size: 2.2rem;
    }

    .contact-info-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 2.5rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }

    .contact-card i {
        font-size: 2.5rem;
    }

    .contact-card h4 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 1rem;
    }
    
    .contact-form .btn {
        width: 100%;
    }
}

/* Styles pour la page Compétences Pédagogiques */
.pedagogical-skills {
    padding: var(--section-spacing) 0;
    max-width: 900px;
    margin: 0 auto;
}

.pedagogical-skills h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.skill-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    margin-bottom: var(--section-spacing);
    border: 1px solid var(--border-color);
}

.skill-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.skill-section h4 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.skill-section ul {
    list-style: none;
    padding-left: 0;
}

.skill-section ul li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.6;
}

.skill-section ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive adjustments for skills page */
@media (max-width: 768px) {
    .pedagogical-skills {
        padding: var(--section-spacing) 1.5rem;
    }

    .pedagogical-skills h2 {
        font-size: 2.2rem;
    }

    .skill-section {
        padding: 2rem;
    }

    .skill-section h3 {
        font-size: 1.8rem;
    }

    .skill-section h4 {
        font-size: 1.3rem;
    }

    .skill-section ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pedagogical-skills h2 {
        font-size: 2rem;
    }

    .skill-section {
        padding: 1.5rem;
    }

    .skill-section h3 {
        font-size: 1.6rem;
    }

    .skill-section h4 {
        font-size: 1.2rem;
    }
}

/* Footer Styles */
footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .argument-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        padding: 1.5rem;
    }

    .call-to-action {
        padding: 2rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Ensure all cards and grids are responsive */
.presentation-grid,
.niveaux-grid,
.argument-grid,
.testimonials-grid,
.stats-grid,
.contact-info-cards {
    display: grid;
    gap: var(--card-spacing);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Make tables responsive */
@media (max-width: 768px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th, td {
        min-width: 160px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Add smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Style général des titres de section */
h2 {
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Amélioration de la lisibilité des paragraphes */
p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Styles des liens */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Styles des listes */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Style des boutons */
button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

/* Styles pour les cartes d'information (skills, contact) */
.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Styles spécifiques pour les listes de compétences/diplômes/expérience */
.detail-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.detail-list li {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    line-height: 1.6;
    color: var(--text-color);
}

.detail-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.detail-list li i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Media queries pour les styles généraux */
@media (max-width: 768px) {
    h2 {
        font-size: 2.2rem;
    }
    p {
        font-size: 1rem;
    }
    button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .info-card {
        padding: 1.5rem;
    }
    .info-card i {
        font-size: 2rem;
    }
    .info-card h3 {
        font-size: 1.3rem;
    }
     .detail-list li {
        padding: 0.8rem;
        font-size: 0.95rem;
     }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2rem;
    }
     p {
        font-size: 0.95rem;
    }
     button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
     }
    .info-card {
        padding: 1.2rem;
    }
    .info-card i {
        font-size: 1.8rem;
    }
     .info-card h3 {
        font-size: 1.2rem;
     }
     .detail-list li {
        padding: 0.6rem;
        font-size: 0.9rem;
     }
}