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

body {
    background-color: rgb(247, 247, 247) !important;
    color: black !important;
    overflow-x: hidden;
    width: 100vw;
    font-family: "Times New Roman" !important;
}

#borders {
    border: 2px solid #d3bf91 !important;
    height: 70px !important;
    margin-top: 10px !important;
}
.flexing div {
    margin-left: 20px !important;
    margin-bottom: 4em !important;
    margin-top: 4em !important;
}

.display {
    display: none !important;
}

/*============================ Services ===============================*/
.services-section h1 {
    color: #2f3a4a;
    font-size: clamp(2em, 5vw, 4em);
    margin-bottom: 1.5em;
    text-align: center;
}

.services-section {
    width: 100%;
    margin: 0 auto;
    padding-top: 5em;
}

.services-section .services-container {
    display: grid;
    grid-template-columns: repeat(2, 5fr);
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
    padding-bottom: 10px;
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1s ease, opacity 1s ease;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h2 {
    font-size: 1.5rem;
    margin: 15px;
    color: #312f82;
    text-align: center;
}

.service-card p {
    font-size: 1.1rem;
    /*color: #555;*/
    color: #6c7b8a;
    margin: 0 15px 15px;
    max-height: 6em;
    overflow: hidden;
    line-height: 1.5em;
    position: relative;
    transition: max-height 0.3s ease;
    text-align: justify;
}

.service-card p.show-full {
    max-height: none;
}

.service-card button {
    background-color: #312f82;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s ease;
    text-align: center;
}

.service-card button:hover {
    background-color: #0056b3;
}

/* When a service card is visible, we reset the opacity and position */
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation when service cards appear progressively during scroll */
@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
}

.heros {
    position: relative;
    width: 100%;
    height: 40em;
    background: url("../images/hh.jpeg") no-repeat center center/cover;
    background-attachment: fixed !important;
    margin-bottom: 4em;
    object-fit: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.5) !important;
}
.hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-weight: bolder;
}

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

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

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

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

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

#mission {
    font-size: clamp(1em, 2vw, 1.8em);
}
/*=========================== footer ===========================*/
/*=========================== 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;
    cursor: pointer;
}

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

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

.rw2 {
    justify-content: center !important;
}

.r2 {
    background-color: #fefffe !important;
    border-top: 5px solid #302f83 !important;
    box-shadow: 6px 0px 6px 6px rgba(0, 0, 0, 0.13) !important;
    padding: 20px 40px !important;
    text-align: center;
    min-height: 22em;
}
.r2:hover {
    border-top: 5px solid #d3bf91 !important;
    transition: 0.5s !important;
}

.r3 {
    background-color: #fefffe !important;
    border-bottom: 5px solid #302f83 !important;
    box-shadow: 6px 0px 6px 6px rgba(0, 0, 0, 0.13) !important;
    padding: 40px !important;
    text-align: center;
}
.r3:hover {
    border-bottom: 5px solid #d3bf91 !important;
    transition: 0.5s !important;
}

.rw4 {
    margin-top: 100px !important;
}
.image-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
    transition: transform 0.5s ease;
    height: 50% !important;
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50% !important;
    background-color: #302f83 !important;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.image-container:hover img {
    transform: scale(1.2);
}

.image-container:hover::before {
    opacity: 0.2 !important;
}

.box {
    border-left: 4px solid #d3bf91 !important;
    transition: height 0.3s ease !important;
    background-color: white !important;
    padding: 50px !important;
    text-align: center !important;
    width: 100% !important;
}

.boxxx {
    cursor: pointer;
}

/*============================= Responsive ================================*/

@media screen and (max-width: 768px) {
    #borderse {
        border: 2px solid #d3bf91 !important;
        height: 170px !important;
        margin-top: 10px !important;
    }
}
#borderse {
    border: 2px solid #d3bf91 !important;
    height: 30px !important;
    margin-top: 10px !important;
}

@media screen and (max-width: 768px) {
    #borders {
        border: 2px solid #d3bf91 !important;
        height: 60px !important;
        margin-top: 70px !important;
    }
    #border {
        border: 2px solid #d3bf91 !important;
        height: 240px !important;
    }
    .display {
        display: block !important;
    }
}

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

    .services-section .services-container {
        display: grid;
        grid-template-columns: repeat(1, 10fr);
    }

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

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

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

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

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

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

    /*======================== Services =================================*/
    .services-section .services-container {
        display: grid;
        grid-template-columns: repeat(1, 10fr);
    }

    /*=========================== FOOTER=====================================*/
    footer .row .clearfix .footer__column:nth-child(1),
    footer .row .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 .row .clearfix {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

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

    .hero-text {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

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