* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

/* 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: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
    padding: 10px 0;
}

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

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

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 {
    text-decoration: none;
    color: white;
    font-size: clamp(0.1em, 1.1vw, 1.6em);
}

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

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

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

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

.hamburger-menu {
    display: none;
}

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

/*============== Bannière ===========*/
.banner {
    background: no-repeat url("./images/img4.webp");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 40em;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    margin: 0;
    padding: 0;
    position: relative;
}

.overlay {
    background-color: rgba(0, 51, 102, 0.5);
    padding: 80px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}

.banner .overlay div h1 {
    font-size: clamp(1rem, 5vw, 3rem);
    color: rgb(0, 0, 0);
    letter-spacing: 2px;
    font-weight: bolder;
}

.banner .overlay .cass {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 30em;
    padding: 4rem 0rem;
    position: relative;
    top: 100px;
}

.banner .overlay .cass h1 {
    color: white;
    font-weight: bold;
    font-size: clamp(1.5em, 3vw, 3.5em);
}

.banner .overlay .cass h2 {
    color: white;
    font-weight: bold;
    font-size: clamp(1em, 3vw, 2.5em);
}

.banner .overlay .cass p {
    font-size: clamp(0.6em, 2vw, 1em);
}

.banner .overlay .cass a {
    color: white;
    height: 3em;
    font-weight: bolder;
    text-decoration: none;
    position: relative;
    padding: 0.8em;
    transition: 0.5s all;
    overflow: hidden;
    transform: skew(-15deg);
    box-shadow: 15px 15px 0px black;
    font-size: clamp(0.6em, 2vw, 1em);
}

.banner .overlay .cass a:hover {
    background-color: #002bb9;
    color: #fff;
    padding-right: 3em;
    box-shadow: 15px 15px 0px rgba(1, 1, 1, 0.1);
}

.banner .overlay .cass a:hover .arrow i:nth-child(2) {
    right: -10px;
}

.banner .overlay .cass a:hover .arrow i:nth-child(3) {
    right: -25px;
}

.banner .overlay .cass a .arrow {
    margin-left: 5px;
    position: relative;
    transform: skew(15deg) !important;
}

.banner .overlay .cass a .arrow i {
    transform: skew(15deg);
    transition: 0.2s;
    color: white;
    padding: 0;
}

.banner .overlay .cass a:hover .arrow i {
    animation: color 2s infinite linear;
}

.banner .overlay .cass a .arrow i:nth-child(2) {
    position: absolute;
    top: 0.8px;
    right: 3.3px;
    animation-delay: 0.5s;
}

.banner .overlay .cass a .arrow i:nth-child(3) {
    position: absolute;
    top: 1.3px;
    right: 3px;
    animation-delay: 1s;
}

.banner .overlay .cass a span {
    position: absolute;
}

.banner .overlay .cass a span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0303f4);
    animation: animate1 1s linear infinite;
}

.banner .overlay .cass a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ffffff);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.banner .overlay .cass a span:nth-child(3) {
    bottom: 0;
    right: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(270deg, transparent, #0303f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

.banner .overlay .cass a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #ffffff);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes color {
    0% {
        color: white;
    }
    50% {
        color: #002bb9;
    }

    100% {
        color: rgb(255, 255, 255);
    }
}

@keyframes animate1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes animate2 {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    100% {
        right: 100%;
    }
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.btn-1:hover {
    background-color: #003366;
    color: #002bb9;
}

.btn-2 {
    color: white;
}

.btn-2:hover {
    background-color: white;
    color: #003366;
}

.services {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 0 auto;
    padding: 20px 10px;
    width: 100%;
    background-color: white;
    position: relative;
    top: 110px;
    z-index: 1000;
    border-bottom: 0.5rem solid #002bb9;
    box-shadow: 0 0 8px black;
    transition: transform 1s;
}
.service-item {
    width: 22%; /* Four columns in a row */
    padding: 20px;
    border-top: 4px solid #e1e1e1;
    transform: translateY(0);
    opacity: 1;
    transition: transform 1s, opacity 1s;
}

.service-item:hover {
    border-top: 4px solid #312f82;
    transition: 0.1s;
    cursor: pointer;
}
.service-item.show-animate {
    transform: translateY(100%);
    opacity: 0;
}

.service-item:nth-child(1) {
    transition-delay: 0s;
}

.service-item:nth-child(2) {
    transition-delay: 0.2s;
}

.service-item:nth-child(3) {
    transition-delay: 0.4s;
}

.service-item:nth-child(4) {
    transition-delay: 0.6s;
}

.service-item:last-child {
    border-right: none; /* Pas de bordure pour le dernier élément*/
}

.service-item h2 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: #312f82; /* Couleur bleu foncé pour le titre */
    margin-bottom: 15px;
    text-align: center;
}

.service-item p {
    font-size: clamp(0.4rem, 2vw, 0.9rem);
    color: #666; /* Couleur grise pour le texte */
    text-align: justify;
}

.over-white {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 10;
    position: relative;
    bottom: 10rem;
}

.desc-sec {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.desc {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    position: relative;
    margin-top: 10rem;
    min-height: 30em;
}

.titl-des-0 {
    color: #6c7b8a; /* Couleur gris clair */
    font-size: clamp(5px, 5vw, 15px);
    position: relative;
    text-align: center;
}

.desc-1 {
    display: flex;
    margin: 20px;
    padding: 0 5rem;
    width: 100%;
}

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

.des-p {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    width: 85%;
}

.des-p p {
    color: #6c7b8a; /* Couleur gris clair */
    margin: 0;
    text-align: justify;
    width: 45%; /* Prend environ la moitié de la largeur du conteneur parent */
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    padding-left: clamp(0.2rem, 2vw, 1rem);
}

.reff {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*height: 500px;*/
    margin: 0 auto;
    padding-bottom: 3rem;
    /* padding: 10em 2em; */
    height: 37em;
}

.reff .slider {
    margin: auto;
    position: relative;
    width: 80%;
    padding-top: 1rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.reff .slider a {
    text-decoration: none;
    color: #2f3a4a;
}

.reff .slide-track {
    display: flex;
    width: calc(250px * 20);
    column-gap: 1em;
    animation: scrolling 40s linear infinite;
    height: 200px;
    margin: 0 auto;
}

.reff .slide-track:hover {
    animation-play-state: paused;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 9));
    }
}

.reff h1 {
    color: #2f3a4a;
    font-size: clamp(2em, 5vw, 4em);
    margin-bottom: 1.5em;
    text-align: center;
    border-left: 0.3rem solid #002bb9;
    padding-left: 0.3em;
}

.reff .slide-track .slide {
    height: auto;
    border-radius: 20px;
    position: relative;
    width: 50%;
    height: 100%;
    display: grid;
    place-items: center;
}

.reff .slide-track .slide div {
    width: 70%;
    height: 100%;
    transition: transform 1s;
    cursor: pointer;
    border-top: 4px solid #002bb9;
    border-bottom: 4px solid #002bb9;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.reff .slide-track .slide div img {
    width: 90%;
    height: 50%;
}

.reff .slide-track .slide div:hover {
    transform: translateZ(100px);
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
}

.reff .slider::before,
.reff .slider::after {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    content: "";
    height: 100%;
    position: absolute;
    width: 5%;
    z-index: 2;
}

.reff .slider::before {
    left: 0;
    top: 0;
}

.reff .slider::after {
    right: 0;
    top: 0;
}

/*========================== experts-conatiner =======================================*/
.experts-conatiner {
    height: 70em;
}

.experts-conatiner .experts-des {
    background-image: url("./images/aa.jpg");
    background-attachment: fixed;
    height: 40%;
    background-size: cover;
    z-index: -4;
}

.experts-conatiner .experts-des .cover {
    background-color: rgba(56, 88, 249, 0.5);
    height: 100%;
    width: 100%;
    padding-top: 4em;
}

.experts-conatiner .experts-des .cover .des {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.experts-conatiner .experts-des .cover .des p {
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
}

.experts-conatiner .experts-des .cover .des h1 {
    font-size: 2.5em;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.experts-conatiner .experts-services {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 0em 2em;
    z-index: 1000;
    margin-top: 10em;
}

.experts-conatiner .experts-services div {
    padding: 4em;
    background-color: #fff;
    border-left: 6px solid #002bb9;
    text-align: center;
}

.experts-conatiner .experts-services div h2 {
    color: #3c3c5a;
    font-weight: bolder;
    font-size: clamp(2em, 4vw, 4em);
}

.experts-conatiner .experts-services div h1 {
    font-size: clamp(1em, 6vw, 3em);
}

.experts-conatiner .experts-services div p {
    font-size: clamp(0.6em, 6vw, 1em);
}

/*========================== Formes-et-equipes =======================================*/

.Formes-et-equipes {
    height: 36em;
    width: 100%;
    margin: 0 auto;
    background-color: #312f82;
    padding: 2em 10em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.Formes-et-equipes .formes1 {
    padding: 1em 18em;
    text-align: center;
}

.Formes-et-equipes .formes1 i {
    font-size: clamp(0.5em, 5vw, 3em);
    color: #fff;
}

.Formes-et-equipes .formes1 h1 {
    font-size: clamp(0.4em, 10vw, 2.5em);
    color: #fff;
    font-weight: 900;
}

.Formes-et-equipes .formes1 p {
    color: #fff;
    font-size: clamp(0.4em, 3vw, 0.8em);
}

.Formes-et-equipes .formes2 button {
    padding: clamp(0.2em, 3vw, 0.6em);
    color: #312f82;
    font-style: oblique;
    font-weight: 700;
    border-radius: 0.3em;
    font-size: clamp(0.4em, 1vw, 0.8em);
}

.Formes-et-equipes .formes2 button i {
    padding: 0.3em;
}

/*========================== Agency Container =======================================*/
.agency-container {
    height: 70em;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.agency-container h2 {
    font-size: clamp(2em, 5vw, 3em);
    color: #3a39ac;
    text-align: center;
}

.agency-container p {
    font-size: 1em;
    color: #3c3c5a;
}

.agency-container .agency {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 5em;
    padding: 4em;
}

.agency-container .agency .agent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 20em;
    border-radius: 2em;
    text-align: center;
}

.agency-container .agency .agent img {
    height: 14em;
    width: 100%;
    border-radius: 2em;
}

.agency-container .agency .agent h3 {
    font-size: clamp(1em, 3vw, 2em);
    font-weight: 600;
}

.agency-container .agency .agent p {
    font-size: clamp(0.8em, 3vw, 1em);
}

/*========================== expertises-conatiner ==================================*/
.expertises-conatiner {
    height: 33em;
    width: 100%;
    background-image: url("./images/aa.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    object-fit: cover;
}

.expertises {
    background-color: rgba(63, 63, 229, 0.4);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertises div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 40%;
}

.expertises div h1 {
    font-size: clamp(1em, 4vw, 4em);
    font-weight: bolder;
    color: #e4e4e4;
}

.expertises div p {
    font-size: clamp(0.6em, 3vw, 1.2em);
    color: #e4e4e4;
    font-weight: bold;
    text-align: justify;
}

.expertises div button {
    padding: clamp(0.2em, 2vw, 0.5em);
    background-color: #aade0c;
    border-radius: 4px;
    font-style: italic;
    font-weight: 700;
    margin-top: 2em;
    font-size: clamp(0.6em, 2vw, 1em);
}

.expertises div hr {
    color: #ffffff;
    width: clamp(20em, 50vw, 43em);
    font-size: larger;
}

/*=========================== values-container =========================*/
.values-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10em 2em;
    height: 48em;
}

.values-container h1 {
    font-size: clamp(2em, 5vw, 4em);
    margin-bottom: 1em;
    text-align: center;
    color: #2f3a4a;
    border-left: 0.3rem solid #002bb9;
    padding-left: 0.3em;
}

.values-container p {
    text-align: center;
    text-align: justify;
    color: #6c7b8a;
}

.values-container .values {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    width: 100%;
}

.values-container .values .value {
    background-color: #ffffff;
    height: 24em;
    display: flex;
    flex-direction: column;
    padding: 1.5em;
    text-align: center;
    border-bottom: 4px solid #002bb9;
    box-shadow: 0 0 10px black;
    width: 100%;
}

.values-container .values .value i {
    border: 1px solid black;
    padding: 1em;
    border-radius: 50%;
    color: #312f82;
}

.values-container .values .value h3 {
    font-size: clamp(1.5em, 3vw, 2em);
    color: #312f82;
}

.values-container .values .value p {
    font-size: clamp(0.6em, 1vw, 1em);
    text-align: justify;
}

/*=========================== vide0 ============================*/
.container {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne pour centrer .main-video */
    height: 100vh; /* Occuper toute la hauteur de la page */
    place-items: center; /* Centrer verticalement et horizontalement */
    padding: 5px 5%;
}

.container .main-video {
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optionnel: Ajouter une ombre pour le style */
    width: 100%; /* Optionnel: Ajuster la largeur à ton besoin */
    max-width: 800px; /* Largeur maximale pour ne pas étirer sur grands écrans */
    height: clamp(400px, 2vw, 520px);
    text-align: center; /* Centrer le texte */
}

.container .main-video video {
    width: 100%;
    border-radius: 5px;
    height: 100%;
}

.container .video-list {
    background: #fff;
    border-radius: 5px;
    height: 100%;
    background-color: red;
    overflow-y: scroll;
    display: none;
}

.container .video-list::-webkit-scrollbar {
    width: 7px;
}

.container .video-list::-webkit-scrollbar-track {
    background: #ccc;
    border-radius: 50px;
}

.container .video-list::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 50px;
}

.container .video-list .vid {
    height: 520px;
}

.container .video-list .vid video {
    height: 100%;
    width: 100px;
    border-radius: 5px;
}

.container .video-list .vid img {
    height: 100%;
    width: 100px;
    border-radius: 5px;
}

.container .video-list .vid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.container .video-list .vid:hover {
    background: #eee;
}

.container .video-list .vid.activess {
    background: #2980b9;
}

.container .video-list .vid.activess .title {
    color: #fff;
}

.container .video-list .vid .title {
    color: #333;
    font-size: 17px;
}

.container .video-list .vid {
    transition: background 0.3s ease, transform 0.3s ease;
}

.container .video-list .vid:hover {
    transform: scale(1.05);
}

.container .video-list .vid.activess {
    transition: background 0.3s ease, transform 0.3s ease;
}

.container .video-list .vid.viewed .title {
    color: darkred; /* Change la couleur des vidéos déjà vues */
    font-style: italic;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

.controls button {
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
}

.controls button:hover {
    background-color: #3498db;
}

.main-video img {
    width: 100%;
    border-radius: 5px;
    display: none; /* Caché par défaut jusqu'à ce qu'une image soit affichée */
    height: 100%;
}

.progress-bar-container {
    width: 100%;
    background-color: #ccc;
    border-radius: 5px;
    margin-top: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #1e3a5f; /* Bleu marine */
    border-radius: 5px;
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .container .main-video .title {
        font-size: 18px;
    }

    .container .video-list .vid {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .container .video-list .vid video {
        width: 80px;
    }

    .container .video-list .vid img {
        width: 80px;
    }

    .heading {
        font-size: 30px;
    }
}

/*=========================== 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;
    font-family: "Times New Roman", Times, serif;
}

.contain .social-media {
    margin: 0;
    display: inline-block;
    /* 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 {
    width: 33.33%;
    float: left;
    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;
}

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

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

    .heads1 {
        display: none;
    }

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

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

    /*=================================Services ====================================*/
    .services {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 20px 10px;
        width: 100%;
        background-color: white;
        position: relative;
        top: 110px;
        z-index: 1000;
        border-bottom: 0.5rem solid #002bb9;
        box-shadow: 0 0 8px black;
    }

    .service-item {
        width: 100%; /* Quatre colonnes sur une ligne*/
        text-align: center;
        padding: 20px;
        border-right: 1px solid #e1e1e1;
    }

    .desc-1 {
        display: flex;
        flex-direction: column;
        padding: 0rem;
        overflow-x: hidden;
        width: 95%;
    }

    .des-p {
        display: flex;
        gap: 17px;
    }

    .desc {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 90%;
        margin: 20px;
        position: relative;
        margin-top: clamp(35rem, 4vw, 45rem);
        height: auto;
    }

    .des-p p {
        width: 100%;
    }

    /*========================= values-container ===============================*/
    .values-container {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 10em 2em;
        height: 110em;
    }

    .values-container .values {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
    }

    .values-container .values .value {
        height: 18em;
    }

    /*============================ Contact ================================*/
    .contact {
        height: 25em;
    }

    .contact form {
        gap: 1em;
        width: 90%;
        padding: 1em;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

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

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

    .hamburger-menu {
        display: none;
        flex-direction: column;
    }

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

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

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

    /* Services Section */
    .services {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 30px 20px;
        width: 95%;
        height: 60em;
        background-color: white;
        position: relative;
        z-index: 1000;
        border-bottom: 0.5rem solid #002bb9;
        box-shadow: 0 0 8px black;
    }

    .service-item {
        width: 100%;
        text-align: center;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #002bb9;
    }

    .desc-1 {
        display: flex;
        flex-direction: column;
        margin: 20px;
        padding: 0;
        width: 100%;
    }

    .des-p {
        display: flex;
        gap: 15px;
    }

    .desc {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 90%;
        margin: 20px;
        position: relative;
        margin-top: 35rem;
    }

    .des-p p {
        width: 100%;
    }

    .reff {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 35rem;
        margin: 0 auto;
        padding-top: 10rem;
    }

    .reff .ref {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 10px;
    }

    .reff .ref .ref-0 {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    /* Values Section */
    .values-container {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 8em 2em;
        height: 100em;
    }

    .values-container .values {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
    }

    .values-container .values .value {
        height: 16em;
    }

    /* Contact Section */
    .contact {
        height: 22em;
    }

    .contact form {
        gap: 1em;
        width: 90%;
        padding: 1em;
        background-color: #484848;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

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

    footer {
        margin-top: 12em;
    }

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

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

.typewriter-effect {
    display: inline-block;
    border-right: 2px solid black; /* Simulate a cursor */
    white-space: nowrap;
    overflow: hidden;
    width: 0; /* Start hidden */
    opacity: 0; /* Hidden before animation starts */
    transition: opacity 0.3s ease-in-out; /* Smoothly fade in */
}

/* Typing effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Cursor blinking effect */
@keyframes blink {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

.animate-typing {
    opacity: 1; /* Show the element when animation starts */
    animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite; /* Typing + blinking cursor */
}

.hide-cursor {
    border-right: none; /* Supprime le curseur */
}
