/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Fond blanc */
    color: #333;
}

/* Header Styles */
header {
    background: #ffffff; /* Fond blanc */
    color: #003366; /* Texte en bleu foncé */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

header .logo-left {
    position: absolute;
    left: 20px;
    top: 20px;
    height: 80px; /* Augmenter la hauteur pour une meilleure visibilité */
}

header .logo-right {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 60px;
}

header h1 {
    margin: 0;
    font-size: 1.8em; /* Augmenter la taille du texte */
    color: #003366;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1); /* Ombre subtile pour un effet de profondeur */
    padding-bottom: 20px;
}

/* Responsive Design pour le header */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 80px; /* Assure une hauteur minimale pour le header */
    }

    header .logo-left {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
        margin: 0;
        z-index: 1;
    }

    header .logo-right {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
        margin: 0;
        z-index: 1;
    }

    header h1 {
        padding: 10px 80px; /* Augmente l'espace pour les logos */
        font-size: 1.1em;
        margin: 0;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 2; /* Assure que le texte est au-dessus des logos */
    }
}

/* Section Styles */
section {
    padding: 40px 20px;
    background: #fff;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 1200px;
}

section h2 {
    text-align: center; /* Centre le titre */
    font-size: 2em;
    color: #003366;
    margin-bottom: 20px;
}

/* Introduction Styles */
#introduction {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
    align-items: center;
    padding-right: 100px; 
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */

}

#introduction .content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

#introduction .text {
    width: 50%;
    padding-right: 30px;
    color: #1a1a1a;
}

#introduction h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.highlight-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 500;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
}

.description {
    font-size: 1.1em;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0056b3;
    color: white;
    border: none;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.btn-secondary {
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#introduction .image {
    width: 45%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#introduction .image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.overlay-content {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: #0056b3;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Types de Formations Styles */
#types-formations {
    padding: 40px 20px;
    border-radius: 8px;
    color: #333;
}

.formations-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.formation-card {
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Profils d'apprenants */
.profiles-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.profile-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.profile-image {
    margin-bottom: 12px;
}

.profile-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.profile-card h3 {
    font-size: 1.2rem;
    color: #0f46a9;
    margin-bottom: 0.75rem;
}

.profile-card p {
    font-size: 0.95rem;
    color: #34495e;
    margin-bottom: 0.75rem;
}

.profile-card ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.profile-card ul li + li {
    margin-top: 0.25rem;
}

/* Pédagogie & Plateforme */
.pedagogie-section {
    padding: 4rem 0;
    background: #ffffff;
}

.pedagogie-card {
    background: #f9fbff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(15, 70, 169, 0.06);
    height: 100%;
}

.pedagogie-card h3 {
    font-size: 1.2rem;
    color: #0f46a9;
    margin-bottom: 0.75rem;
}

.pedagogie-card p {
    font-size: 0.95rem;
    color: #34495e;
    margin: 0;
}

/* Ressources */
.ressources-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.ressource-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.ressource-card h3 {
    font-size: 1.2rem;
    color: #0f46a9;
    margin-bottom: 0.75rem;
}

.ressource-card ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.ressource-card ul li + li {
    margin-top: 0.25rem;
}

.formation-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px; /* Réduire la taille des images */
    object-fit: cover;
}

.formation-content {
    padding: 20px;
}

.formation-content h3 {
    font-size: 1.8em;
    margin-top: 0;
    color: #004494;
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
}

.formation-content p {
    margin: 10px 0;
}

/* Video Presentation Styles */
#video-presentation {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 1200px;
    text-align: center; /* Centre le texte */
    position: relative; /* Pour positionner le bouton au centre */
}

#video-presentation .content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left; /* Alignement à gauche du texte */
}

#video-container {
    flex: 1;
    margin-right: 20px; /* Espacement entre la vidéo et le texte */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#video-container video {
    width: 100%;
    border-radius: 8px;
    height: 500px; /* Augmenter la hauteur de la vidéo pour la rendre plus visible */
    object-fit: cover; /* S'assure que la vidéo couvre l'espace disponible */
}

.video-text {
    flex: 1;
    max-width: 600px; /* Largeur maximale du texte */
}

#video-presentation h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

#video-presentation h2:after {
    content: '';
    width: 50px;
    height: 3px;
    background: #0056b3;
    display: block;
    margin: 10px auto 0;
}

#video-presentation p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

#video-presentation ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

#video-presentation ul li {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

/* Centrage du bouton */
#video-presentation .btn {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

/* Testimonials Styles */
/* Testimonials Styles */
#temoignages {
    background: #f9f9f9;
    padding: 40px 20px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 1200px;
    text-align: center;
}

#temoignages h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

#temoignages h2:after {
    content: '';
    width: 50px;
    height: 3px;
    background: #0056b3;
    display: block;
    margin: 10px auto 0;
}

.testimonial {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.profile-pic {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    margin: 0;
    font-size: 1.2em;
}

.rating {
    margin-top: 10px;
}

.rating span {
    color: gold;
    font-size: 1.2em;
}

/* Footer multi-colonnes inspiré sites institutionnels */
.footer-links {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    margin-top: 1rem;
}

.footer-links h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    margin-right: 0.35rem;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.25);
}

/* Team section */
.team-section {
    padding: 60px 20px;
    background: #f9fbff;
}

.team-section .section-subtitle {
    margin-bottom: 2.5rem;
}

.team-grid {
    margin-top: 2rem;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0056b3, #28a745);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.team-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.team-stats li + li {
    margin-top: 0.35rem;
}

/* Section "Comment ça marche" sur la page d'accueil */
.how-it-works {
    padding: 60px 20px;
    background: #ffffff;
}

.how-card {
    background: #f9fbff;
    border-radius: 16px;
    padding: 24px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    height: 100%;
}

.how-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
}

.how-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.how-text {
    font-size: 0.95rem;
    color: #555;
}

/* FAQ section */
.faq-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list details {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

.faq-list summary {
    font-weight: 600;
    cursor: pointer;
}

.faq-list p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #555;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #0056b3; /* Bouton bleu */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background-color: #004494;
}

/* Responsivité pour mobile */
@media (max-width: 768px) {
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-pic {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* Advantages of Training Styles */
/* Styles pour les sections déroulantes */
details {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 0;
    padding: 10px;
    transition: background 0.3s;
}

details[open] {
    background: #e0e0e0;
}

summary {
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

summary::marker {
    color: #0056b3;
}

details p {
    margin: 10px 0 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 60%);
}

.contact-section .card {
    border-radius: 16px;
}

.contact-section h1,
.contact-section h2,
.contact-section h3 {
    color: #003366;
}

.contact-section .text-primary {
    color: #0056b3 !important;
}

.contact-section .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.contact-section .btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.contact-map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #0056b3; /* Bouton bleu */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background-color: #004494;
}

/* Centrer le bouton dans la section avantages */
#avantages-formation {
    text-align: center; /* Centrer le contenu textuel */
}

#avantages-formation .btn {
    display: inline-block;
    margin-top: 20px; /* Marge supérieure pour espacement */
    margin-left: auto; /* Centre horizontalement */
    margin-right: auto; /* Centre horizontalement */
}


/* Form Styles */
#formulaire-inscription {
    background: #f9f9f9;
    padding: 40px 20px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 600px;
}

#inscription-form {
    display: flex;
    flex-direction: column;
}

#inscription-form label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

#inscription-form input,
#inscription-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

#inscription-form button {
    background: #003366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background 0.3s;
}

#inscription-form button:hover {
    background: #002244;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background: #003366; /* Dark blue color */
    color: #fff;
    margin-top: 20px;
}


/* Responsivité pour mobile */
@media (max-width: 768px) {
    /* Introduction Section */
    #introduction {
        padding: 40px 20px;
    }

    #introduction .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    #introduction .text,
    #introduction .image {
        width: 100%;
        padding-right: 0;
    }

    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    .cta-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Types de Formations Section */
    .formations-container {
        flex-direction: column;
        gap: 20px;
    }

    .formation-card {
        width: 100%;
    }

    /* Video Presentation Section */
    #video-presentation {
        padding: 30px 10px;
    }

    #video-presentation .content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Centre le texte pour les mobiles */
    }

    #video-container {
        margin: 0 0 20px 0;
    }

    .video-text {
        width: 100%;
        max-width: 100%;
    }

    #video-presentation .btn {
        position: static;
        transform: none;
        margin-top: 20px;
    }

    /* Témoignages Section */
    #temoignages {
        padding: 30px 10px;
    }

    #temoignages p {
        font-size: 1em;
        margin: 15px 0;
    }

    /* Avantages de la Formation Section */
    #avantages-formation {
        padding: 30px 10px;
    }

    #avantages-formation ul li {
        font-size: 1em;
        padding: 10px;
    }

    /* Formulaire d'Inscription Section */
    #formulaire-inscription {
        padding: 30px 10px;
        max-width: 100%;
    }

    #inscription-form label {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #inscription-form input,
    #inscription-form select {
        padding: 8px;
    }

    #inscription-form button {
        padding: 10px;
        font-size: 1em;
    }

    /* Footer Section */
    footer {
        padding: 15px 10px;
    }
}

.places-disponibles {
    color: #000000; /* Rouge pour attirer l'attention */
    font-weight: bold;
    /* text-align: center; */
    margin: 40px 0 5px 0; /* Espacement au-dessus et en-dessous */
    font-size: 1em;
}

/* Styles pour la page de formation */
.formation-content {
    padding: 20px;
}

.concepts {
    margin-bottom: 30px;
}

.concepts h4 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.concepts p {
    color: #34495e;
    line-height: 1.6;
}

.download-section {
    margin: 40px 0;
}

.download-section .btn {
    padding: 15px 30px;
    font-size: 1.2em;
}

.qcm-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.question {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-check {
    margin: 10px 0;
}

.form-check-label {
    color: #34495e;
}

/* Animation pour le bouton de téléchargement */
#downloadBtn {
    transition: all 0.3s ease;
}

#downloadBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Style pour le diplôme */
.diploma {
    display: none;
    text-align: center;
    padding: 40px;
    background: linear-gradient(45deg, #f3f3f3, #ffffff);
    border: 2px solid #ffd700;
    border-radius: 15px;
    margin-top: 30px;
}

.diploma h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.diploma p {
    color: #34495e;
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Styles pour la page QCM */
.qcm-header {
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.qcm-header h1 {
    margin-bottom: 0.5rem;
}

.qcm-form {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 70, 169, 0.1);
}

.question-card {
    background: #f8f9fa;
    border: 2px solid #9bb5de;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.question-card:hover {
    border-color: #0f46a9;
    box-shadow: 0 5px 15px rgba(15, 70, 169, 0.1);
}

.question-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.question-number {
    background: #0f46a9;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.question-header h5 {
    margin: 0;
    color: #0f46a9;
    font-weight: 600;
}

.options {
    margin-left: 3rem;
}

.form-check {
    margin: 0.75rem 0;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.form-check:hover {
    background-color: #9bb5de;
}

.form-check-input:checked + .form-check-label {
    font-weight: 600;
    color: #0f46a9;
}

.form-check-label {
    cursor: pointer;
    padding-left: 0.5rem;
    line-height: 1.4;
    color: #000000;
}

/* Styles pour le diplôme */
.diploma-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 70, 169, 0.1);
}

.diploma-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 3px solid #0f46a9;
    border-radius: 15px;
}

.diploma-header {
    margin-bottom: 2rem;
}

.diploma-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0f46a9;
}

.diploma-header h3 {
    color: #0f46a9;
    margin: 0;
}

.diploma-content {
    margin-bottom: 2rem;
}

.diploma-content h4 {
    color: #0f46a9;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.diploma-content p {
    color: #000000;
    margin: 0.5rem 0;
}

.diploma-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.diploma-actions .btn {
    min-width: 150px;
}

/* Footer */
.main-footer {
    background: #0f46a9;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.main-footer h5 {
    color: #9bb5de;
    margin-bottom: 1rem;
}

.main-footer a {
    color: #9bb5de;
    text-decoration: none;
}

.main-footer a:hover {
    color: #ffffff;
}

/* Boutons généraux */
.btn-primary {
    background: #0f46a9;
    border-color: #0f46a9;
    color: #ffffff;
}

.btn-primary:hover {
    background: #9bb5de;
    border-color: #9bb5de;
    color: #000000;
}

.btn-success {
    background: #0f46a9;
    border-color: #0f46a9;
    color: #ffffff;
}

.btn-success:hover {
    background: #9bb5de;
    border-color: #9bb5de;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .module-item {
        flex-direction: column;
        text-align: center;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .evaluation-features {
        flex-direction: column;
        align-items: center;
    }
    
    .formation-card {
        padding: 2rem 1rem;
    }
    
    .hero-section-alt h2 {
        font-size: 2rem;
    }
    
    .hero-section-alt .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section-alt .image {
        margin-top: 2rem;
    }
    
    #formulaire-inscription form {
        padding: 1.5rem;
    }
    
    .qcm-header {
        padding: 1rem;
    }
    
    .qcm-form {
        padding: 1rem;
    }
    
    .question-card {
        padding: 1rem;
    }
    
    .options {
        margin-left: 1rem;
    }
    
    .diploma-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .diploma-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Animation pour les questions */
.question-card {
    animation: slideInUp 0.5s ease-out;
}

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

/* Style pour les alertes */
.alert {
    border-radius: 10px;
    border: none;
    margin-top: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Header Professionnel */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 70, 169, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    padding: 0.5rem 0;
}

.header-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f46a9;
    margin-left: 0.5rem;
}

.main-header .nav-link {
    color: #000000 !important;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 0.25rem;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: #0f46a9 !important;
    background-color: #9bb5de;
    transform: translateY(-1px);
}

.main-header .nav-link i {
    margin-right: 0.5rem;
}

.main-header .btn {
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.main-header .btn-outline-light {
    color: #0f46a9 !important;
    border-color: #0f46a9;
    background: transparent;
}

.main-header .btn-outline-light:hover {
    background: #0f46a9;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 70, 169, 0.3);
}

.main-header .btn-light {
    background: #0f46a9;
    color: #ffffff;
    border: none;
}

.main-header .btn-light:hover {
    background: #9bb5de;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 70, 169, 0.3);
}

/* Hero Section pour la page d'accueil */
.hero-section {
    background: linear-gradient(135deg, #0f46a9 40%, #9bb5de 60%);
    color: #ffffff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Variante héro formation (page formation.html) */
.hero-section-formation .hero-title {
    font-size: 2.6rem;
}

.hero-section-formation .hero-subtitle {
    max-width: 540px;
}

.hero-section-formation .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.hero-section-formation .hero-badge i {
    color: #ffd700;
}

@media (max-width: 767.98px) {
    .hero-section-formation .hero-title {
        font-size: 2.1rem;
    }

    .hero-section-formation .hero-subtitle {
        font-size: 1.05rem;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

.stat-item:nth-child(2) i {
    color: #ffd700;
}

.stat-item:nth-child(3) i {
    color: #ffd700;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 100%;
    height: auto;
}

.places-disponibles {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: #ffffff;
    /* border: 2px solid #ffd700; */
}

/* Responsive pour la page d'accueil */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Formation Section */
.formation-section {
    padding: 4rem 0;
    background: #ffffff;
}

.formation-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(15, 70, 169, 0.1);
}

.card-header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f46a9;
    margin-bottom: 1rem;
}

.section-title i {
    color: #0f46a9;
    margin-right: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

/* Modules */
.modules-container {
    margin-bottom: 3rem;
}

.module-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #0f46a9;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 70, 169, 0.1);
    background: #ffffff;
}

.module-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.module-content h4 {
    color: #0f46a9;
    font-weight: 600;
    margin-bottom: 1rem;
}

.module-content p {
    color: #000000;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.module-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #9bb5de;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Download Section */
.download-section {
    margin: 3rem 0;
}

.download-card {
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.download-content h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.download-icon {
    font-size: 4rem;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Evaluation Section */
.evaluation-section {
    margin-top: 3rem;
}

.evaluation-card {
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.evaluation-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.evaluation-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.evaluation-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    color: #ffffff;
}

.evaluation-action .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    background: #ffffff;
    color: #0f46a9;
    border: none;
    transition: all 0.3s ease;
}

.evaluation-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

/* Adaptation de l'ancienne section d'introduction */
.hero-section-alt {
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    color: #ffffff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section-alt .content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-section-alt h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffffff;
}

.hero-section-alt p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #ffffff;
}

.hero-section-alt .places-disponibles {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: #ffffff;
}

.hero-section-alt .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    background: #ffffff;
    color: #0f46a9;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-section-alt .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: #f8f9fa;
    color: #0f46a9;
}

.hero-section-alt .image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 100%;
    height: auto;
}

/* Ajustements pour les sections existantes */
#types-formations,
#video-presentation,
#temoignages,
#avantages-formation,
#formulaire-inscription {
    padding: 4rem 0;
}

#types-formations {
    background: #f8f9fa;
}

#video-presentation {
    background: #ffffff;
}

#temoignages {
    background: #f8f9fa;
}

#avantages-formation {
    background: #ffffff;
}

#formulaire-inscription {
    background: linear-gradient(135deg, #0f46a9 0%, #9bb5de 100%);
    color: #ffffff;
}

#formulaire-inscription h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #ffffff;
}

#formulaire-inscription form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

#formulaire-inscription label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#formulaire-inscription input,
#formulaire-inscription select {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #ffffff;
    color: #000000;
}

#formulaire-inscription button {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    color: #0f46a9;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#formulaire-inscription button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive pour la page d'accueil */
@media (max-width: 768px) {
    .hero-section-alt h2 {
        font-size: 2rem;
    }
    
    .hero-section-alt .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section-alt .image {
        margin-top: 2rem;
    }
    
    #formulaire-inscription form {
        padding: 1.5rem;
    }
}

/* Boutons principaux avec le bleu du logo */
.btn-logo-blue,
.main-header .btn-light,
.btn-primary,
#formulaire-inscription button,
#introduction .btn-primary,
.formation-content .btn-primary {
    background: #1560d7 !important;
    border-color: #1560d7 !important;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-logo-blue:hover,
.main-header .btn-light:hover,
.btn-primary:hover,
#formulaire-inscription button:hover,
#introduction .btn-primary:hover,
.formation-content .btn-primary:hover {
    background: #3a7be6 !important;
    border-color: #3a7be6 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(21,96,215,0.15);
}

/* Pour garder la cohérence sur les autres boutons secondaires */
.btn-outline-light {
    color: #1560d7 !important;
    border-color: #1560d7 !important;
    background: transparent !important;
}

.btn-outline-light:hover {
    background: #1560d7 !important;
    color: #fff !important;
    border-color: #1560d7 !important;
}

.qcm-header .text-primary {
    color: #fff !important;
}

.badge-places {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* background: linear-gradient(90deg, #1560d7 0%, #3a7be6 100%); */
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1.3rem;
    border-radius: 30px;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.10); */
    margin-bottom: 1rem;
    border: none;
    letter-spacing: 0.5px;
    /* animation: badgePulse 1.8s infinite alternate; */
}
.badge-places i {
    font-size: 1.2em;
    color: #fff;
    margin-right: 0.3em;
}
@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(243,156,18,0.3); }
    100% { box-shadow: 0 0 16px 6px rgba(243,156,18,0.18); }
}

/* Page Conditions générales d'utilisation */
.cgu-page {
    min-height: 60vh;
    background: #f8f9fa;
}
.cgu-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f46a9;
}
.cgu-section {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cgu-section h2 {
    font-size: 1.25rem;
    color: #0f46a9;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #9bb5de;
}
.cgu-section p,
.cgu-section ul {
    margin-bottom: 0.75rem;
    color: #333;
}
.cgu-section ul {
    padding-left: 1.5rem;
}
.cgu-section a {
    color: #0f46a9;
    text-decoration: none;
}
.cgu-section a:hover {
    text-decoration: underline;
}
