* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Times New Roman", Times, serif;
}

body {
    font-family: "Franklin Gothic Medium";
}

.contactdiv {
    margin: 10px !important;
    margin-top: 100px !important;
}

/* Ajoutez une classe "active" pour afficher le menu déroulant */
.activ {
    display: block;
}

/* Conteneur du menu déroulant */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Contenu du menu déroulant (caché par défaut) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 90px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
}

/* Liens à l'intérieur du menu déroulant */
.dropdown-content .dropdown-item {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
}

/* Changement de couleur des liens du menu déroulant au survol */
.dropdown-content .dropdown-item:hover {
    background-color: #312f82;
    color: #fff;
}

/* Afficher le menu déroulant au survol */
.dropdown:hover .dropdown-content {
    display: block;
}

/*===========================MENU BURGER================================*/
/* Transition pour le hamburger et le menu */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100vw; /* Cache le menu hors de l'écran à droite */
    width: 100vw; /* Largeur du menu */
    height: 100%;
    background-color: #312f82;
    transition: transform 0.5s ease-in-out; /* Animation de la transformation */
    z-index: 1000; /* Place le menu au-dessus du contenu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger-menu.active {
    transform: translateX(-100vw); /* Amène le menu sur l'écran */
}

/* Autres styles pour les liens du menu */
.hamburger-menu a {
    padding: 10px;
    color: white;
    text-decoration: none;
    text-align: center;
    border-bottom: 1px solid white;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
    font-weight: bold;
}

.hamburger-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

/* Initial hidden state for hamburger menu */
.hamburger {
    display: none;
}

.hamburger-menu {
    display: none;
}

/*====================================== FORMULAIRE CONTACT ET IMAGE TELECONSEILLER ===================*/

.c2 {
    margin: 0;
    position: relative;
    width: 100%;
    height: auto; /* Ajusté pour être dynamique */
}

.image-container {
    height: 100%;
    background-size: cover;
    overflow: hidden; /* Pour éviter les débordements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-fluid {
    width: 100%;
    height: auto; /* Pour maintenir les proportions de l'image */
}

#contactform {
    background-color: white;
    border-left: 5px solid #312f82;
    padding: 30px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

#envoyer {
    padding: 17px;
    background-color: #312f82;
    border: none;
    color: white;
    width: 100%;
    font-size: larger;
}

#envoyer:hover {
    background-color: #b7a06b;
    transition: 0.7s;
    margin-top: 10px;
    font-weight: 700;
}

#textareas {
    width: 100%;
    padding: 15px;
    border: 1px solid gainsboro;
    outline: none;
}

#contactform input,
#contactform textarea {
    padding: 15px;
    border: 1px solid gainsboro;
    outline: none;
    width: 100%; /* Assure que les champs prennent la largeur complète */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack les inputs verticalement sur petits écrans */
    }

    #contactform {
        height: auto; /* Ajusté pour que le formulaire puisse s'adapter au contenu */
    }
}

/*=============================== header =============================*/

header {
    display: flex;
    flex-direction: column;
    z-index: 5000;
    width: 100%;
    position: fixed;
}

header .heads1 .nav1 {
    display: flex;
    justify-content: space-between;
    padding-top: 1em;
    width: 100%;
    background-color: #312f82;
}

header .heads1 .nav1 .nav1-left {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

header .heads1 .nav1 .nav1-left li i {
    font-size: clamp(0.4em, 1vw, 1.6em);
    padding: 0.4em;
}

header .heads1 .nav1 .nav1-left li {
    list-style: none;
    color: white;
}

header .heads1 .nav1 .nav1-left li a {
    font-size: clamp(0.1em, 1.1vw, 1.6em);
    text-decoration: none;
    color: white;
}

header .heads1 .nav1 .nav1-right {
    display: flex;
    justify-content: space-between;
    width: 20%;
}

header .heads1 .nav1 .nav1-right li {
    color: white;
    list-style: none;
}

header .heads1 .nav1 .nav1-right li i {
    font-size: clamp(0.4em, 1vw, 1.6em);
    padding: 0.4em;
}

header .heads1 .nav1 .nav1-right li a {
    color: white;
    text-decoration: none;
}

header .heads2 {
    display: flex;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    padding: 0em 2em;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

header .heads2 .navigue {
    display: flex;
    width: 40%;
    justify-content: space-between;
}

header .heads2 .navigue li {
    list-style: none;
}

header .heads2 .navigue li a {
    text-decoration: none;
    color: #312f82;
    font-weight: bolder;
}

header .heads2 .butt {
    background-color: #312f82;
    padding: 0.8em;
    border-radius: 4px;
    font-weight: bolder;
    color: white;
}

header .heads2 .butt:hover {
    background-color: #8887e2;
}

/*================== logo =======================*/
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 0.8em;
}

.logo .rond {
    width: 100px;
    display: flex;
    transform: scaleY(-1);
    position: relative;
    gap: 2px;
}

.logo .rond div {
    position: relative;
    color: #fff;
    display: inline-block;
    animation: animated 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

.logo .rond1 {
    height: 10px;
    width: 10px;
    background-color: #312f82;
    border-radius: 50%;
}

.logo .rond2 {
    height: 20px;
    width: 20px;
    background-color: #312f82;
    border-radius: 50%;
}

.logo .rond3 {
    height: 30px;
    width: 30px;
    background-color: #312f82;
    border-radius: 50%;
}

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

.logo p #span1 {
    font-size: 1.5em;
    font-weight: bold;
    color: #312f82;
}

.logo p #span2 {
    font-size: 0.5em;
    font-weight: bold;
    letter-spacing: 1.7em;
    color: #312f82;
}

.service-card {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

main {
    display: flex;
    flex-direction: column;
}

/*======================= Banner-Global========================*/
.banner-global {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    color: white;
    margin-bottom: 1em;
    width: 100%;
    padding-top: 12rem;
}

.banner-global .text-banner-global {
    height: 80%;
    width: 95%;
    background-color: #312f82;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    padding: 6em 0;
    border-radius: 25px;
    box-shadow: 10px 10px 0 rgba(46, 42, 135, 0.5);
}

.banner-global .text-banner-global h1 {
    font-size: clamp(2em, 4vw, 2.5em);
}

/*=========================== footer ===========================*/

footer {
    background-image: url("../images/footerr.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
    color: aliceblue;
}

footer .logo {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

footer .contain {
    height: 100%;
    width: 100%;
    background-color: rgba(56, 88, 249, 0.5);
    padding: 0.7em 8em;
}

footer .logo .rond {
    width: 100px;
    display: flex;
    transform: scaleY(-1);
    position: relative;
    gap: 2px;
}

footer .logo .rond div {
    position: relative;
    color: #fff;
    display: inline-block;
    animation: animated 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

footer .logo .rond1 {
    height: 10px;
    width: 10px;
    background-color: #312f82;
    border-radius: 50%;
}

footer .logo .rond2 {
    height: 20px;
    width: 20px;
    background-color: #312f82;
    border-radius: 50%;
}

footer .logo .rond3 {
    height: 30px;
    width: 30px;
    background-color: #312f82;
    border-radius: 50%;
}

footer .logo p {
    display: flex;
    flex-direction: column;
}

footer .logo p #span1 {
    font-size: 1.5em;
    font-weight: bold;
    color: #312f82;
}

footer .logo p #span2 {
    font-size: 0.5em;
    font-weight: bold;
    letter-spacing: 1.71em;
    color: #312f82;
}

.paragraphe {
    font-size: 2em;
    font-weight: bolder;
    text-align: center;
    width: 60%;
    margin: 0 auto;
}

.contain .social-media {
    margin: 0;
    display: inline-block;
    /* margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center; */
}

.contain .social-media a i {
    border: 2px solid wheat;
    color: wheat;
    border-radius: 50%;
    padding: 0.5em;
    font-size: 0.8em;
    margin: 1.3em 0.5em;
}

.contain .social-media i:hover {
    color: #0d00ff;
    cursor: pointer;
    border: 2px solid #0d00ff;
    transform: scale(0.9);
}

#ligne1 {
    color: #fff;
    margin-bottom: 2em;
    background-color: #f5901d;
}

.footer__column {
    float: left;
    width: 33.33%;
    padding-bottom: 1em;
}

.footer__column h3 {
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: bolder;
    color: #0d00ff;
    font-weight: 800;
    margin-bottom: 0.6em;
}

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

.footer__column {
    list-style: none;
}

.footer__column ul li a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1em;
    cursor: pointer;
}

.footer__column article h1 {
    font-size: 1.2em;
}

.footer__column article h1 a {
    color: #f8f8f8;
    text-decoration: none;
}

.footer__column article .read_more {
    text-decoration: none;
    text-transform: lowercase;
}

.footer__secondary {
    border-top: 1px solid #e9ebec;
    padding: 1.2em 0;
}

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

.footer__secondary ul li {
    float: left;
    margin-right: 1.8em;
    font-size: 0.9em;
}

.footer__secondary ul li a {
    text-decoration: none;
}

#ligne2 {
    margin-top: 1em;
    margin-bottom: 1em;
    width: 100%;
    color: #fff;
}

.footer__column button .fa-people-group {
    font-size: 1.3em;
    padding: 0.2em;
    color: #fff;
}

.footer__column button {
    background-color: #312f82;
    padding: 0.8em;
    border-radius: 4px;
    font-weight: bolder;
    color: white;
}

.footer__column button:hover {
    background-color: #8887e2;
}

h6 {
    font-size: 1em;
    font-weight: bolder;
    color: #e9ebec;
    text-align: center;
}

@keyframes animated {
    0%,
    40%,
    100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(1em);
    }
}

footer .footer__column .pop {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9000;
}

footer .footer__column .pop .pop-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    height: 80%;
    width: 50%;
    overflow-y: scroll;
    /**/
}

@media (max-width: 768px) {
    footer .footer__column .pop .pop-content {
        width: 90%;
    }
}

footer .footer__column .pop .pop-content div h3,
footer .footer__column .pop .pop-content h1,
footer .footer__column .pop .pop-content div #ccc {
    color: #312f82;
    text-align: center;
}

footer .footer__column .pop .pop-content div p,
footer .footer__column .pop .pop-content p {
    color: #333;
    text-align: justify;
}

footer .footer__column .pop .pop-content .close---btn {
    display: block;
    cursor: pointer;
    background-color: #312f82;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 auto;
}

/*====================== respnsive ========================*/
@media screen and (max-width: 768px) {
    #borderse {
        border-left: 2px solid #312f82 !important;
    }
}
#borderse {
    border-left: 5px solid #312f82 !important;
}
#mission {
    font-size: clamp(30px, 4vw, 57px) !important;
    margin-left: 20px !important;
}

/*============================================= RESPONSIVE ====================================================*/

@media (max-width: 768px) {
    .heads1 {
        display: none;
    }

    .banner .overlay .cass .openFormBtn {
        height: 2em;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-menu {
        display: none;
        flex-direction: column;
        background-color: #312f82;
    }

    .hamburger-menu a {
        padding: 10px;
        color: white;
        text-decoration: none;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .hamburger.active + .hamburger-menu {
        display: flex;
    }

    .heads2 {
        display: flex;
        /* flex-direction: row;
        align-items: flex-start; */
        padding: 10px;
    }

    header .heads2 .navigue {
        display: none;
    }
    .place--btn {
        display: none;
    }

    /*=========================== FOOTER=====================================*/
    footer .row .clearfix .footer__column:nth-child(1),
    footer .row .clearfix .footer__column:nth-child(2) {
        display: none;
    }

    footer {
        margin-top: 10em;
    }

    footer .contain {
        height: 100%;
        width: 100%;
        background-color: rgba(56, 88, 249, 0.5);
        padding: 0.7em 1em;
    }

    footer .row .clearfix {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    footer .row .clearfix .footer__column {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 780px) and (max-width: 1030px) {
    .heads1 {
        display: none;
    }

    .banner .overlay .cass .openFormBtn {
        height: 2em;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-menu {
        display: none;
        flex-direction: column;
        background-color: #312f82;
    }

    .hamburger-menu a {
        padding: 10px;
        color: white;
        text-decoration: none;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .hamburger.active + .hamburger-menu {
        display: flex;
    }

    .heads2 {
        display: flex;
        /* flex-direction: row;
        align-items: flex-start; */
        padding: 10px;
    }

    header .heads2 .navigue {
        display: none;
    }
    .place--btn {
        display: none;
    }

    /* Footer Section */
    footer .row .clearfix .footer__column:nth-child(1),
    footer .row .clearfix .footer__column:nth-child(2) {
        display: none;
    }

    footer {
        margin-top: -28em;
    }

    footer .contain {
        height: 100%;
        width: 100%;
        background-color: rgba(56, 88, 249, 0.5);
        padding: 0.7em 1em;
    }

    footer .contain {
        height: 100%;
        width: 100%;
        background-color: rgba(56, 88, 249, 0.5);
        padding: 0.7em 1em;
    }

    footer .row .clearfix {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        text-align: center;
    }

    .c2 {
        margin-bottom: 30em;
    }
    .form-row {
        flex-direction: column; /* Stack les inputs verticalement sur petits écrans */
    }

    #contactform {
        height: auto; /* Ajusté pour que le formulaire puisse s'adapter au contenu */
    }
}

@media screen and (max-width: 768px) {
    .r1 {
        justify-content: center !important;
    }
    .contactdiv {
        margin: 0px !important;
        margin-top: 0px !important;
    }
    .contactdiv h2 {
        font-size: 40px !important;
    }
}
#addressez {
    border-left: 5px solid #312f82 !important;
}
#addressez h2,
p {
    margin-left: 23px !important;
}
@media screen and (min-width: 768px) {
    #addressez {
        margin-left: 77px;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1.2s ease-out forwards;
}
