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

body {
    overflow-x: hidden;
    width: 100vw;
}

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.71em;
    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);
}

/* first block ------------------------------ */
.col {
    display: flex;
    margin: 1em 1w;
}
.col-sm {
    margin: 0 1em;
}
.col-sm .ln h1 {
    font-size: clamp(1.5em, 10vw, 5rem);
    color: #2f3a4a; /* Couleur bleu foncé */
    margin-left: 0.5em;
    text-wrap: nowrap;
    margin-left: 0.2em;

    /* font-size: clamp(1.5em,10vw,5rem);
    color: #2f3a4a;
    margin: 0;
    display: flex;
    align-items: center;
    border-left: .5rem solid #002bb9;
    padding-left:1rem ; */
}

.ln {
    border-left: 0.5rem solid rgb(92, 92, 214);
}
@media (max-width: 900px) {
    .col {
        margin: 0 0.5em;
    }
    #row-text {
        display: flex;
        flex-direction: column;
        margin: 0;
    }
}

@media (max-width: 640px) {
    .col {
        flex-direction: column;
        margin: 0 0.5em;
    }
    .col-sm {
        margin-left: 1em;
    }
    .col-sm h2 {
        margin-left: 0.7em;
        padding: 0 0.7em;
    }
}

/*=========================== METHODOLOGIE ============================*/

.block {
    width: 90%;
    margin: 15em auto 10em auto;
    overflow: hidden;
    height: 26em;
}

.block-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.block1 {
    flex: 1;
    max-width: 50%;
    height: 100%;
}

.block1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block2 {
    flex: 1;
    padding: 1rem;
    max-width: 50%;
}

.block2 .ln h2 {
    font-size: clamp(2em, 5vw, 4em);
    margin-left: 0.5em;
    color: #2f3a4a;
}

.block2 p {
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    text-align: justify;
    color: #6c7b8a;
}

/* Media query pour les écrans de moins de 768px */
@media (max-width: 768px) {
    .block-row {
        flex-direction: column;
    }

    .block1,
    .block2 {
        max-width: 100%;
        height: auto;
    }

    .block1 {
        flex: 1;
        width: 100%;
        height: 60%;
        padding: 1rem 1rem;
    }

    .block1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .block {
        height: auto;
        margin: 5em auto;
    }

    .block2 {
        padding: 1rem 1rem;
    }
}

/*======================= Ressource ==========================*/
.block-ressources {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    height: 46em;
}

.block-ressource {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: center;
    align-items: center;
}

.block-ressource1 {
    flex: 1;
    max-width: 50%;
    height: 90%;
}

.block-ressource1 img {
    height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-ressource2 {
    flex: 1;
    padding: 1rem;
    max-width: 50%; /* Le texte occupera également 50% de la largeur */
}

.block-ressource2 .ln h2 {
    font-size: clamp(2em, 5vw, 4em);
    margin-left: 0.5em;
    color: #2f3a4a;
}

.block-ressource2 p {
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    text-align: justify;
    color: #6c7b8a;
}

/* Responsive: Pour les petits écrans */
@media (max-width: 768px) {
    .block-ressources {
        height: auto;
    }
    .block-ressource {
        flex-direction: column;
    }

    .block-ressource1,
    .block-ressource2 {
        max-width: 100%;
        height: auto;
    }

    .block-ressource1 {
        flex: 1;
        width: 100%;
        height: 60%;
        padding: 1rem 1rem;
    }

    .block-ressource1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .block-text {
        height: 4em;
    }
}

/*========================== Citation ===========================*/
.block-text {
    background: rgb(15, 15, 70);
    margin: 2em 0;
    padding: clamp(80px, 2vw, 106px) 20vw;
    text-align: center;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-text p {
    color: white;
    font-size: clamp(1rem, 3vw, 2rem);
    letter-spacing: 0.1px;
}

/*============================= Pouquoi nous faire confiance ===============*/

.block-choose {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
}

.block-choos {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
}

.block-choos-block1 {
    flex: 1;
    max-width: 50%;
}

.block-choos-block1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-choos-block2 {
    flex: 1;
    padding: 1rem;
    max-width: 50%;
}

.block-choos-block2 .ln h2 {
    font-size: clamp(2em, 5vw, 4em);
    margin-left: 0.5em;
    color: #2f3a4a;
}

.block-choos-block2 p {
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    text-align: justify;
    color: #6c7b8a;
}

@media (max-width: 768px) {
    .block-choose {
        height: auto;
    }
    .block-choos {
        flex-direction: column;
    }

    .block-choos-block1,
    .block-choos-block2 {
        max-width: 100%;
    }

    .block-choos-block1 img {
        height: auto;
    }
}

/*============================== notre Equipe d'experts=======================*/

.block-equipe {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 1em auto;
    overflow: hidden;
}

.block-equipe-block1 {
    flex: 1;
    max-width: 50%;
    order: 2;
}

.block-equipe-block1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-equipe-block2 {
    flex: 1;
    max-width: 50%;
    padding: 1rem;
    order: 1; /* Le texte sera placé à gauche */
}

.block-equipe-block2 .ln h2 {
    font-size: clamp(2em, 5vw, 4em);
    margin-left: 0.5em;
    color: #2f3a4a;
}

.block-equipe-block2 p {
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    text-align: justify;
    color: #6c7b8a;
}

/* Responsive: Pour les petits écrans */
@media (max-width: 768px) {
    .block-equipe {
        flex-direction: column-reverse;
    }

    .block-equipe-block1,
    .block-equipe-block2 {
        max-width: 100%;
        height: auto;
    }

    .block-equipe-block1 {
        flex: 1;
        width: 100%;
        height: 60%;
        padding: 1rem 1rem;
    }

    .block-equipe-block1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .block-equipe-block2 {
        padding: 1rem 1rem;
    }
}

/* 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;
}
/* section d'avant footer */

.oil {
    width: 100vw;
    height: 40em;
}

.oil .heros {
    position: relative;
    width: 80%;
    margin: 0 auto;
}

/*=========================== footer ===========================*/
/*=========================== footer ===========================*/
footer {
    background-image: url("../images/footerr.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
    color: rgb(255, 240, 240);
}

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.7em;
    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);
}

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

.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;
}

#lignes2 {
    margin-top: 1em;
    margin-bottom: 1em;
    width: 100%;
    color: #fff;
    background-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;
}

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

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

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;
}

/* Transition pour le hamburger et le menu */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100vw; /* Cache le menu hors de l'écran à droite */
    width: 100%; /* 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;
}

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

/*============================================= 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 .contain .rows .clearfix .footer__column:nth-child(1),
    footer .contain .rows .clearfix .footer__column:nth-child(2) {
        display: none;
    }

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

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

    footer .rows .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=====================================*/
    footer .rows .clearfix .footer__column:nth-child(1),
    footer .rows .clearfix .footer__column:nth-child(2) {
        display: none;
    }

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

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

/* 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;
}
