body {
    font-family: 'Open sans', sans-serif;
    margin: 0;
}

header {
    background-color: #006D5B;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.header-content img {
    border-radius: 50%;
    /* Arrondir l'image pour qu'elle soit circulaire */
    height: 120px;
    margin-right: 20px;
}

.header-text {
    display: flex;
    flex-direction: column;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

header p {
    margin: 0;
    font-size: 14px;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
    /* Nécessaire pour positionner le menu déroulant */
}

nav ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: flex;
    /* Affichage horizontal par défaut */
}

nav li {
    margin: 10px 10px;
}

nav a {
    color: white;
    padding: 10px;
    text-decoration: none;
}

/* Styles du menu hamburger */
.menu-toggle {
    display: none;
    /* Caché par défaut */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    border-radius: 2px;
}

/* Menu caché par défaut pour les petits écrans */
.navbar {
    display: flex;
}

.navbar ul {
    display: flex;
}

/* Menu déroulant sur les petits écrans */
.navbar.active ul {
    display: block;
    width: 100%;
    background-color: #006D5B;
    position: absolute;
    top: 60px;
    /* Ajuster selon la hauteur du header */
    left: 0;
    text-align: center;
    border-radius: 25px;
}

.navbar ul li {
    margin: 10px 0;
}

.navbar ul a {
    color: white;
    font-size: 18px;
}



.hero {
    background: url('sand-dune.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 200px 20px;
    /* Augmenter la hauteur en ajustant le padding */
    height: 35vh;
    /* Ajuster la hauteur à 100% de la hauteur de l'écran */
}

.hero h3 {
    padding-bottom: 0px;
}

.hero p {
    padding-top: 200px;

    font-size: 40px;
    margin: 10px 0 0;
}

.consultation-reasons {
    display: flex;
    max-width: 60%;
    margin: 0 auto;
    padding: 40px 00px;
    text-align: center;
    border-radius: 25px;
}

.consultation-reasons img {
    max-width: 20%;
    height: auto;
    width: auto;
    margin-left: -20%;

}

.consultation-reasons h2 {
    font-size: 32px;
    margin: 0 0 20px;
}

.consultation-reasons p {
    font-size: 18px;
    /* Ajuster la taille du texte si nécessaire */
    margin: 10px 0;
}

.services {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    border-radius: 25px;
    /* Arrondir les angles de la section services */
    flex-wrap: wrap;
    /* Permet le retour à la ligne des éléments */
}

.service {
    width: 30%;
    background-color: #CECECE;
    padding: 20px;
    border-radius: 25px;
    /* Arrondir les angles des services */
    margin: 10px 0;
    /* Ajouter de la marge entre les services */
    text-align: center;
    /* Centrer le texte dans la section service */
}

.service-icon {
    width: 50px;
    /* Largeur des icônes */
    height: 50px;
    /* Hauteur des icônes */
    margin-bottom: 10px;
    /* Espace entre l'icône et le titre */
}

.service h3 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #006D5B;
    /* Couleur du titre */
}

.service ul {
    list-style: disc inside;
    padding-left: 20px;
    text-align: left;
    /* Justifier le texte de la liste */
}

.service li {
    margin: 5px 0;
    /* Justifier le texte dans chaque élément de liste */
    text-align: left;
}

.about {
    padding: 40px 20px;
    background-color: #CECECE;
    border-radius: 25px;
    /* Arrondir les angles de la section about */
    max-width: 60%;
    /* Définir une largeur maximale pour la section */
    margin: 0 auto;
    /* Centrer la section horizontalement */
    display: flex;
    align-items: center;
}


.about-content {
    display: flex;
    align-items: flex-start;
    /* Aligner les éléments au début du conteneur flex */
    gap: 20px;
    /* Espacement entre l'image et le texte */
}

.visage {
    border-radius: 25px;
    width: 40%;
    margin-right: 20px;
    margin-top: 50px;
    /* Ajustez cette valeur pour positionner l'image plus haut */
}

.about-text {
    text-align: justify;
    /* text-justify: inter-word; */

    max-width: 60%;
}

.about h2 {
    font-size: 32px;
    margin: 0 0 20px;
}

.about p {
    font-size: 18px;
    margin: 10px 0;
}

.contact {
    padding: 40px 20px;
    background-color: #f1f1f1;
    border-radius: 25px;
    /* Arrondir les angles de la section contact */
    max-width: 900px;
    /* Définir une largeur maximale pour la section */
    margin: 20px auto;
    /* Centrer la section horizontalement avec une marge au-dessus */
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin: 0 0 20px;
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

.contact-info a {
    color: #006D5B;
    text-decoration: none;
}

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

footer {
    background-color: #006D5B;
    color: white;
    text-align: center;
    padding-bottom: 0;
    padding-top: 10px;
}

/* Styles pour les images ANCCEF et CF78 */
.small-logo {
    height: 3em;
    /* Ajuste la hauteur à environ deux lignes de texte */
    margin-left: 10px;
    /* Espace entre le texte et l'image, si nécessaire */
    vertical-align: middle;
    /* Aligne l'image avec le milieu du texte */
}

.column {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.column iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        /* Afficher le menu toggle sur les petits écrans */
    }

    .navbar {
        display: none;
        /* Masquer le menu par défaut sur les petits écrans */
    }

    .service {
        width: 100%;
        /* Utiliser 100% pour les petits écrans */
        margin: 10px 0;
        padding: 20px 0px;
        max-width: 90%;

    }


    .about {
        display: flex;
        padding: 5px;
        border-radius: 25px;
        /* Arrondir les angles de la section services */
        flex-wrap: wrap;
        /* Permet le retour à la ligne des éléments */
        max-width: 90%;

    }

    .about-content {
        flex-direction: column;
        align-items: center;

    }

    .visage {
        height: auto;
        width: 90%;

        margin-right: 0;
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .about-text {
        max-width: 90%;
    }

    .about h2 {
        text-align: center;
    }



    .consultation-reasons {
        max-width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .consultation-reasons img {
        max-width: 90%;
        margin-left: 0;
    }

    .hero {
        height: 3 5vh;
    }

    .hero h3 {
        padding-bottom: 0px;
    }

    .hero p {
        padding-top: 150px;

    }

}

.btn-custom-rdv {
    display: inline-block;
    background-color: #006d5b;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-custom-rdv:hover {
    background-color: #004f44;
}