/* Base Styles */
:root {
    /* --primary-color:#3498db; */
    --primary-color:#a3000d;
    --secondary-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --success-color: #27ae60;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 1.1rem;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #f8ae37;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
}

.nav-link {
    padding: 10px 15px;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

.nav-link.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}
.about-section a{
    text-align: center;
}
.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.about-features li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

/* Programs Section */
.programs-section {
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/stats-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    color: white;
}

.contact-info h2::after {
    background: white;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-group input.con{
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(0, 0, 0, 0.6);
    font-family: var(--font-primary);
    transition: var(--transition);
}
.form-group input.con:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}
.form-group input.con::placeholder {
    color: rgba(0, 0, 0, 0.6);
}
::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#formMessage {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

#formMessage.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
    display: block;
}

#formMessage.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}
/* Login Section */
.login-section {
    background-color: #f9f9f9;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.login-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.login-form h2 {
    text-align: left;
    margin-bottom: 30px;
}

.login-form h2::after {
    left: 0;
    transform: none;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.features-list li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 1.2rem;
}

.login-help {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-help a {
    color: var(--primary-color);
    font-weight: 500;
}

#loginMessage {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

#loginMessage.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
    display: block;
}

#loginMessage.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
    display: block;
}
/* Register Section */
.register-section {
    background-color: white;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.register-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.register-form h2 {
    text-align: left;
    margin-bottom: 30px;
}

.register-form h2::after {
    left: 0;
    transform: none;
}

.register-info {
    padding: 20px;
}

.register-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.register-info h2::after {
    left: 0;
    transform: none;
}

.conditions-list {
    margin: 30px 0;
}

.conditions-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.conditions-list li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 1.2rem;
}

.download-link {
    margin-top: 40px;
    text-align: center;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin: 0;
}

#registerMessage {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    display: none;
}

#registerMessage.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
    display: block;
}

#registerMessage.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--danger-color);
    display: block;
}
/* News Section */
/* Section Actualités */
.activities-section,
.news-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    overflow: hidden; /* Empêche le débordement */
}

.activities-section .news-carousel,
.news-section .news-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px; /* Ajout de padding pour les petits écrans */
}

.news-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
    padding-bottom: 10px; /* Espace pour l'ombre */
}

/* Style de base des cartes - Mobile first */
.news-card {
    flex: 0 0 calc(100% - 20px); /* 1 carte visible sur mobile */
    min-width: 0; /* Empêche le débordement */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 10px; /* Espacement sur les côtés */
}

/* Contenu des cartes */
.news-image {
    height: 180px; /* Hauteur réduite pour mobile */
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content {
    padding: 15px;
}

.news-date {
    color: #3498db;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.read-more {
    color: #3498db;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Contrôles du carrousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

/* États actifs/hover */
.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.read-more:hover {
    text-decoration: underline;
}
/* Section Tarifs - Base */
.pricing-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.pricing-section .section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
}

.pricing-notice {
    background-color: #fff8e1;
    padding: 12px 15px;
    border-left: 4px solid #ffc107;
    margin: 0 15px 25px;
    text-align: center;
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 15px 30px;
}

.pricing-card {
    background: white;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-card.highlight {
    border: 2px solid #a3000d;
}

.pricing-card h3 {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 15px;
}

.pricing-amount .amount {
    font-size: 2rem;
    font-weight: bold;
    color: #a3000d;
}

.pricing-amount .currency {
    font-size: 1rem;
    color: #666;
}

.pricing-description {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}
.pricing-description ol{
    padding: 10px;
}
.pricing-options {
    margin-bottom: 15px;
}

.pricing-options .option {
    margin-bottom: 12px;
}

.pricing-options h4 {
    color: #444;
    margin-bottom: 8px;
    font-size: 1rem;
}

.pricing-options ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pricing-options li {
    margin-bottom: 6px;
    color: #666;
    font-size: 0.9rem;
}

.additional-fee {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 15px;
    font-size: 0.9rem;
}

.pricing-notes {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #555;
    margin: 0 15px;
    line-height: 1.5;
}

.pricing-notes strong {
    color: #333;
}

/* Tablettes (768px et plus) */
@media (min-width: 768px) {
    .pricing-section {
        padding: 70px 0;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 0 25px 35px;
    }
    
    .pricing-card.highlight {
        grid-column: span 2;
    }
    
    .pricing-notice,
    .pricing-notes {
        margin: 0 25px 30px;
    }
}

/* Petits ordinateurs (992px et plus) */
@media (min-width: 992px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card.highlight {
        grid-column: span 1;
    }
    
    .pricing-card {
        padding: 25px;
    }
    
    .pricing-card h3 {
        font-size: 1.4rem;
    }
    
    .pricing-amount .amount {
        font-size: 2.3rem;
    }
}

/* Grands écrans (1200px et plus) */
@media (min-width: 1200px) {
    .pricing-grid {
        max-width: 1140px;
        margin: 0 auto 40px;
    }
    
    .pricing-notice,
    .pricing-notes {
        max-width: 1140px;
        margin: 0 auto 35px;
    }
    
    .pricing-card {
        padding: 30px;
    }
}

/* Très petits écrans (moins de 400px) */
@media (max-width: 400px) {
    .pricing-section {
        padding: 20px 0;
    }
    
    .pricing-card {
        padding: 15px;
    }
    
    .pricing-card h3 {
        font-size: 1.2rem;
    }
    
    .pricing-amount .amount {
        font-size: 1.8rem;
    }
    
    .pricing-options li {

        font-size: 0.85rem;
    }

}
/* Responsive - Tablette */
@media (min-width: 768px) {
    .news-card {
        flex: 0 0 calc(50% - 15px); /* 2 cartes visibles */
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
}

/* Responsive - Desktop */
@media (min-width: 992px) {
    .news-card {
        flex: 0 calc(33.333% - 20px); /* 3 cartes visibles */
    }
    
    .carousel-controls {
        gap: 20px;
        margin-top: 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* Correction pour très petits écrans */
@media (max-width: 400px) {
    .news-card {
        flex: 0 90%; /* Réduit encore la largeur */
        margin: 0 auto; /* Centrage */
    }
    
    .news-image {
        height: 150px;
    }
    .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    }

    .radio-group label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .radio-group input[type="radio"] {
        margin: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    .news-card {
        flex: 0 90%; /* Réduit encore la largeur */
        margin: 0 auto; /* Centrage */
    }
    
    .news-image {
        height: 150px;
    }
    .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    }

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        

    }

    .radio-group input[type="radio"] {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 15px;
        font-size: 1.2rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    .news-card {
        flex: 0 90%; /* Réduit encore la largeur */
        margin: 0 auto; /* Centrage */
    }
    
    .news-image {
        height: 150px;
    }
    .radio-group {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    }

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .radio-group input[type="radio"] {
        margin: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .login-grid {
    display: grid;
    grid-template-columns: 1fr;
    }
    .register-grid {
    grid-template-columns: 1fr;
}
}
