@font-face {
    font-family: Montserrat;
    src: url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,1);
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none;
}
/*  */

.active-link {
    color: #ffa500 !important;
    font-weight: bold;
}

.swiper-container {
    width: 100%;
    padding: 20px 0;
}
.titleFooter{
    font-weight:bold;
    font-size:25px
}
.descriptionFooter{
    font-size: 14px;
}
.flip-card {
    perspective: 1000px;
    width: 210px;
    height: 258px;
    position: relative;
}
.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
.flip-card:hover .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  /*  border-radius: 10px; */
    overflow: hidden;
 /*   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-back {
    background: #007bff;
    color: white;
    transform: rotateY(180deg);
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.flip-card:hover .card-back {
    opacity: 1;
}


/*  */
/* fond noir */
.carousel-item {
    position: relative;
}
.navbar-toggler-icon {
    filter: invert(27%) sepia(98%) saturate(1000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}


.overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
}


.carousel-text {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 2;
    width: calc(50% - 40px);
}

.carousel-text h2 {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.carousel-text h3 {
    font-size: 2.6rem;
    font-weight: 800;
    color: orange;
}


body {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}
.navbar {
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: background 0.4s ease;
}
.nav-contener{
    margin-right: 15px;

}
.navbar.transparent {
    background: transparent;
}
.navbar.scrolled {
    background: black; /* Couleur de fond */
    box-shadow: 0px 4px 10px rgba(11, 3, 0, 0.5); /* Ombre douce avec opacité */
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Transition fluide */
}

.navbar.scrolled .navbar-toggler{
    color: white;
}

.navbar.transparent.menu-open {
    background: black !important; /* Change la couleur de fond */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Ombre plus visible */
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.custom-dropdown .dropdown-toggle::after {
    display: none !important;
}

.progress{
    margin: 20px 0;
    transition: width 2s ease-in-out;
}
.progressTitle{
    display: flex;
    justify-content: space-between;
}
.nav-link{
    font-size: 14px;
}
.slide-container {
    height: 80vh;
 /*   background: url({{asset('images/banner_slider_2.jpg')}}) center/cover;*/
}

.nos-filiales{
    margin: 100px 0;
}
.nos-filiales-row {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: url('../images/nos_filliale.jpg');
    padding: 150px 0 40px 0;
    position: relative;
}

.nos-filiales-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Fond blanc semi-transparent */
}
.footer {
    background: black;
    color: white;
    padding: 40px 20px;
}
.footer-bottom {
    background: red;
    padding: 10px;
}

.w-90{
    margin-top: -60px;
}

ul {
    margin: 0;
  }
  div.dashed {
    list-style-type: none;
  }
  div.dashed > li {
    text-indent: -5px;
  }
  div.dashed > li:before {
    content: " ";
    text-indent: -5px;
  }


  /*nos valeur */
  .nos-valeurs {
    text-align: center;
    padding: 50px 0;
}
.nos-valeurs h2 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nos-valeurs h2::before,
.nos-valeurs h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background: black;
    margin: 0 10px;
}



.section-title, .section-temoignage, .section-titleMetier, .presentationMetier .metierP {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform:uppercase;
}
.section-title::before, .section-title::after {
    content: "";
    width: 200px;
    height: 3px;
    background-color: rgb(222, 228, 228);
}


.section-titleMetier::before, .section-titleMetier::after {
    content: "";
    width: 48%;
    height: 3px;
    background-color: rgb(222, 228, 228);
}

.section-title span, .section-temoignage span , .NosPartenaire span {
    font-weight: 500;
}

.centerCard{
    margin: -50px 10px 0 10px;
}

.container-card {
    width: 100%;
    max-width: 1200px; /* Largeur max pour éviter l'expansion */
    margin: 0 auto;
    overflow: hidden; /* Empêche les débordements */
    padding: 10px;
}

.swiper-wrapper {
    flex-wrap: wrap; /* Permet le retour à la ligne si besoin */
    justify-content: center;
    gap: 15px;
}

.swiper-slide {
    width: 17%;
    margin: 5px;
  /*  max-width: 220px; /* Taille max pour empêcher le débordement */
    height: auto;
    perspective: 1000px;
}



.titreTilya, .titrePendo, .titreWaure{
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px;
    color: white;

}

.p-3{
    position: relative;
    z-index: 5;
}

.titreTilya, .descbuton{
    background-color: rgb(244, 85, 33);
    padding: 10px;
}

.titrePendo, .descbutonpendo{
    background-color: rgb(43, 225, 253);
}

.titreWaure, .butonWaure{
    background-color: rgb(18, 19, 19);
}

.descTilya{
    color: black;
    background-color: white;
    text-align: justify;
    padding: 20px;
}

.descbuton, .descbutonpendo, .butonWaure{
    padding: 10px;
    margin: 20px auto;
    width: 60%;
    text-align: center;
    border-radius: 25px;
    color: white;
}
.boutonContact{
    padding: 10px;
    margin: 20px auto;
    width: 20%;
    text-align: center;
    border-radius: 25px;
    color: #f45521;
    border: 1px solid #f45521;
}

.portailContact{
    background: url('../images/portail.jpg');
    background-size: cover;
    padding: 100px 0;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    text-align: center; /* Centre le texte si nécessaire */
    min-height: 80vh; /* Assure un centrage vertical */
    flex-direction: column;
}

.titrePortailContact{
    font-size: 30px;
}

.NosPartenaire{
    margin-top: 40px;
    margin-bottom: 40px;
}

.NosPartenaire h2{
    text-align: center;
    font-weight: bold;
}

.newsletter{
    background-color: red;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 40px;
}

.text{
    font-size: 18px;
}
.bienvenue{
    font-size: 23px;
}
.presenT {
    font-size: 30px;
    line-height: 1.1;
}
.newsletter {
    padding: 30px 0;
    text-align: center;
    color: white; /* Texte en blanc */
    margin: 40px 0;
}

.newsletter .inter {
    display: flex;
    justify-content:space-around;
}

.subscribe-form {
    display: flex;
    justify-content: center;
   margin-top: -10px;
}

.subscribe-form input {
    padding: 10px;
    border: 1px solid white;
    background: white;
    color: black;
    outline: none;
    width: 300px;
    flex: 1;
}

.subscribe-form button {
    padding: 10px 15px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    width: 150px;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Style pour le focus */
.subscribe-form input:focus {
    border-color: #f45521;
}


 .nos-filiales-row, .portailContact, .newsletter {
    width: 100%;
     margin-top: 50px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* partenaires */

.scroll-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    animation: scrollImages 20s linear infinite;
}

.myImage {
    flex: 0 0 auto; /* Les images ne se redimensionnent pas */
    padding: 10px;
}

.nosFillialesCntenue {
    padding: 0 28px;
    margin: 20px auto;
    text-align: left;
    font-size: 15px;
}

@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.nosFilliales, .nosFillialesLogo, .presentationMetier{
    margin: 80px auto;
}

.nosfIh1{
    font-size: 1.2rem;
    font-weight: 600;
}

.nosFillialesLogoImg {
    padding: 30px;
}

.titreFi h3 {
    text-align: center;
    background-color: red;
    color: white;
    padding: 10px;
    margin-top: 0 !important;
    font-size: 1rem;

}
/* Fondation */
.nosFondation {
    position: relative;
    padding: 50px 0;
    background: #f5f5f5;
    overflow: hidden;
}

.nosFondation .container {
    max-width: 1200px;
}

/* 🎭 Conteneur du slider */
.nosFondation .row {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

/* 📌 Élément individuel */
.nosFondationImg {
    flex: 0 0 30%;
    max-width: 30%;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* 🖼️ Images */
.nosFondationImg img {
    display: block;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 🏷️ Titre sur l'image (visible par défaut) */
.nosFondationImg .titreFo {
    position: absolute;
    bottom: 0;
    width: 93%;
    background: rgba(245, 97, 11, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    height: 40px;  /* Hauteur initiale réduite */
    overflow: hidden;
}

.nosFondationImg .titreFo h3 {
    font-weight: 800;
    font-size: 16px;
}

/* 🌟 Agrandissement du bloc et affichage de la description au hover */
.nosFondationImg:hover .titreFo {
    height: 140px; /* Augmente pour laisser de la place */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 📖 Description (invisible par défaut) */
.nosFondationImg .decriptionfondation {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding-top: 5px;
}

/* 🌟 Apparition de la description au survol */
.nosFondationImg:hover .decriptionfondation {
    opacity: 1;
}

/* 🎞️ Animation de défilement */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-33.3333%);
    }
    100% {
        transform: translateX(0);
    }
}

/* 🌫️ Animation de disparition */
@keyframes fadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); }
}

.nosFondationImg.fade-out {
    animation: fadeOut 2s forwards;
}

.fondationTitleSection{
    margin: 20px;
    font-size: xx-large;
    font-weight: 600;
}

 /* Permet d'afficher le sous-menu au survol */
 .custom-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Évite le décalage */
}
/*faq section */
.faq-section {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
}
.accordion-button {
    font-weight: bold;
    color: #0b0b0b;
}
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: red;
}
/* metiers */
.descriptionMetier{
    margin: 40px 0;
}
.tabs {
    display: flex;
    justify-content: space-around;
    cursor: pointer;
    background: #ddd;
   /* padding: 10px; */
}
.tab {
    padding: 10px;
    flex: 1;
    text-align: center;
    background: white;
    text-transform: uppercase;
}
.tab.active {
    background: #f4f4f4;
    font-weight: bold;
    color: #ffa500;
}
.content {
    display: none;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    background: #f4f4f4;
}
.content img {
    width: 150%;
    margin-right: 20px;
    max-width: 450px;
}
.content.active {
    display: flex;
}

.myButton{
    padding: 0 20px;
    margin: 20px auto;
}
.titreMyContent{
    text-transform: uppercase;
    font-weight: bold;
    color: #001e5f;
    font-size: 16px;
    text-align: center;
}
 @media (min-width: 769px) and (max-width: 991px) {

     .flip-card{
         width: 125px;
         height: 125px;
     }

    .p-3{
        width: 100%;
    }
    .portailContact {
        background: url('../images/portail1.jpg') no-repeat center center;
        background-size: cover; /* Ajuste l'image pour couvrir toute la zone */
        padding: 50px 0;
        display: flex;
        justify-content: center; /* Centre horizontalement */
        align-items: center; /* Centre verticalement */
        text-align: center; /* Centre le texte si nécessaire */
        min-height: 40vh; /* Prend toute la hauteur de l'écran */
        flex-direction: column;
    }

    .boutonContact{
        width: 30%;
    }

    .carousel-text {
        width: calc(48% - 90px);
    }

    .carousel-text h2{
        font-size: 1.1rem;
    }
    .carousel-text h3  {
        font-size: 1.4rem;
    }

    .nosFondationImg {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .nosFondationImg .titreFo {
        position: absolute;
        bottom: 0;
        width: 93%;
        background: rgba(245, 97, 11, 0.7);
        color: white;
        padding: 10px;
        text-align: center;
        transition: transform 0.3s ease-in-out;
        height: 40px;  /* Hauteur initiale réduite */
        overflow: hidden;
    }

    .nos-filiales-row {
        padding: 20px 0;
    }

    .nosFondationImg .titreFo h3 {
        font-weight: 800;
        font-size: 16px;
    }

    /* 🌟 Agrandissement du bloc et affichage de la description au hover */
    .nosFondationImg:hover .titreFo {
        height: 140px; /* Augmente pour laisser de la place */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* 📖 Description (invisible par défaut) */
    .nosFondationImg .decriptionfondation {
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        padding-top: 5px;
    }

    /* 🌟 Apparition de la description au survol */
    .nosFondationImg:hover .decriptionfondation {
        opacity: 1;
    }

    /* 🎞️ Animation de défilement */
    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(-33.3333%);
        }
        100% {
            transform: translateX(0);
        }
    }

    /* 🌫️ Animation de disparition */
    @keyframes fadeOut {
        0% { opacity: 1; transform: scale(1); }
        100% { opacity: 0; transform: scale(0.8); }
    }

    .nosFondationImg.fade-out {
        animation: fadeOut 2s forwards;
    }

    .fondationTitleSection{
        margin: 20px;
        font-size: xx-large;
        font-weight: 600;
    }


    .custom-dropdown .dropdown-menu {
        display: none;
    }
    .custom-dropdown.show .dropdown-menu {
        display: block;
    }
    .w-100, .w-90{
        margin-top: 0 !important;
        height: auto;
    }




    .navbar>.container,
    .navbar>.container-fluid,
    .navbar>.container-lg,
    .navbar>.container-md,
    .navbar>.container-sm,
    .navbar>.container-xl,
    .navbar>.container-xxl {
      /*  flex-direction: column;*/
        align-items: flex-start;
      /*  padding: 10px;*/
    }

    .navbar .nav-links {
        display: none; /* Masquer le menu par défaut */
        flex-direction: column;
        width: 100%;
    }

    .navbar .nav-links.active {
        display: flex; /* Afficher le menu lorsqu'il est activé */
    }

    .navbar .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .centerCard{
        margin: 10px 10px 0 10px;
    }
    .titrePortailContact {
        font-size: 30px;
    }

    .boutonContact {
        width: 60%;
    }

    .newsletter{
        background-color: red;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 20px;
    }

    .text{
        font-size: 16px;
        margin: 20px;
    }

    .newsletter {
        padding: 30px 0 60px 0;
        text-align: center;
        color: white; /* Texte en blanc */
        margin: 40px 0;
    }

    .newsletter .inter {
        display: flex;
        flex-direction: column;
    }

    .subscribe-form {
        display: flex;
        justify-content: center;

    }

    .subscribe-form input {
        padding: 10px;
        border: 1px solid white;
        background: white;
        color: black;
        outline: none;
        width: 30px;
        flex: 1;
    }

    .subscribe-form button {
        padding: 10px 15px;
        background: black;
        color: white;
        border: none;
        cursor: pointer;
        width: 100px;
    }

    .subscribe-form input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }


    .footer {
        padding: 20px;
    }


}

@media (min-width: 992px) and (max-width: 1024px) {

    .flip-card{
        width: 160px;
        height: 160px;
    }

    .centerCard{
        margin: 0px 10px 0 10px;
    }

     /* Tablettes */
     .carousel-text {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: left;
        color: white;
        z-index: 2;
        width: calc(50% - 120px);
    }
    .carousel-text h2 {
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 10px;
    }
    .carousel-text h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: orange;
    }



    }
 @media screen and (min-width: 1025px) and (max-width: 1150px) {

    élément {
        flex-direction: column;
      }

    .carousel-text {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: left;
        color: white;
        z-index: 2;
        width: calc(62% - 250px);
      }

      .carousel-text h2 {
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .carousel-text h3 {
        font-size: 2.2rem;
        font-weight: 800;
        color: orange;
    }

     .flip-card {
         perspective: 1000px;
         width: 170px;
         height: 200px;
         position: relative;
     }

     .descbuton, .descbutonpendo, .butonWaure {
         padding: 10px;
         margin: 20px auto;
         width: 80%;
         text-align: center;
         border-radius: 25px;
         color: white;
     }
 }


@media screen and (min-width: 1151px) and (max-width: 1300px) {

    élément {
        flex-direction: column;
    }

    .carousel-text {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: left;
        color: white;
        z-index: 2;
        width: calc(61% - 275px);
    }

    .carousel-text h2 {
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .carousel-text h3 {
        font-size: 2.4rem;
        font-weight: 800;
        color: orange;
    }
}


@media screen and (min-width: 1301px) and (max-width: 1366px) {

    élément {
        flex-direction: column;
    }

    .carousel-text {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: left;
        color: white;
        z-index: 2;
        width: calc(60% - 280px);
    }

    .carousel-text h2 {
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .carousel-text h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: orange;
    }
}

 @media (min-width: 1367px) {
    .carousel-text {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: left;
        color: white;
        z-index: 2;
        width: calc(50% - 200px);
    }

     .swiper-wrapper {
         flex-wrap: wrap;
         justify-content: center;
         gap: 60px;
     }
 }


/* 0px - 320px */
@media screen and (max-width: 320px) {
    .presenT{
        font-size: 16px;
    }
    /* Styles pour écrans très petits */
        .contentDesc{
            font-size: 12px;
        }
        .content img {
            width: 150px;
        }
        .titreMyContent{
            font-size: 13px;
        }
        .nosFondationImg {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .swiper-slide {
            width: 100%;
            max-width: fit-content;
        }
        .flip-card {
            perspective: 1000px;
            width: 260px;
            height: 260px;
            position: relative;
            margin: 0 auto;
        }
        .portailContact {
            background: url('../images/portail1.jpg') no-repeat center center;
            background-size: cover; /* Ajuste l'image pour couvrir toute la zone */
            padding: 50px 0;
            display: flex;
            justify-content: center; /* Centre horizontalement */
            align-items: center; /* Centre verticalement */
            text-align: center; /* Centre le texte si nécessaire */
            min-height: 40vh; /* Prend toute la hauteur de l'écran */
            flex-direction: column;
        }
        .titrePortailContact {
            font-size: 20px;
        }
        .centerCard{
            margin: 0px 10px 0 10px;
        }
        .boutonContact{
            width: 40%;
        }
        .nos-filiales-row {
            padding: 20px 0;
        }
        .custom-dropdown .dropdown-menu {
            display: none;
        }
        .custom-dropdown.show .dropdown-menu {
            display: block;
        }
        /* Tablettes et mobiles */
        .carousel-text {
            position: absolute;
            top: 50%;
            right: 10%;
            transform: translateY(-50%);
            text-align: left;
            color: white;
            z-index: 2;
            width: calc(60% - 65px);
        }

        .carousel-text h2 {
            font-size: 0.6rem;
        }

        .carousel-text h3 {
            font-size: 10px;
            line-height: 1.4;
        }

        .w-90 {
            margin-top: -40px;
            height: 250px;
        }
        .newsletter .inter {
            flex-direction: column;
        }


        .text {
            font-size: 18px;
            margin: 20px auto;
        }

        .subscribe-form input, .subscribe-form button{
            margin-bottom: 20px;
        }

        .overlay {
            width: 55%;
        }
    }


/* 321px - 480px */
@media screen and (min-width: 321px) and (max-width: 480px) {
    /* Styles pour smartphones classiques */
    .presenT{
        font-size: 16px;
    }

        .contentDesc{
            font-size: 12px;
        }
        .content img {
            width: 150px;
        }
        .titreMyContent{
            font-size: 13px;
        }
        .nosFondationImg {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .swiper-slide {
            width: 100%;
            max-width: fit-content;
        }
        .flip-card {
            perspective: 1000px;
            width: 260px;
            height: 260px;
            position: relative;
            margin: 0 auto;
        }
        .portailContact {
            background: url('../images/portail1.jpg') no-repeat center center;
            background-size: cover; /* Ajuste l'image pour couvrir toute la zone */
            padding: 50px 0;
            display: flex;
            justify-content: center; /* Centre horizontalement */
            align-items: center; /* Centre verticalement */
            text-align: center; /* Centre le texte si nécessaire */
            min-height: 40vh; /* Prend toute la hauteur de l'écran */
            flex-direction: column;
        }
        .titrePortailContact {
            font-size: 20px;
        }
        .centerCard{
            margin: 0px 10px 0 10px;
        }
        .boutonContact{
            width: 40%;
        }
        .nos-filiales-row {
            padding: 20px 0;
        }
        .custom-dropdown .dropdown-menu {
            display: none;
        }
        .custom-dropdown.show .dropdown-menu {
            display: block;
        }
        /* Tablettes et mobiles */
        .carousel-text {
            position: absolute;
            top: 50%;
            right: 10%;
            transform: translateY(-50%);
            text-align: left;
            color: white;
            z-index: 2;
            width: calc(51% - 60px);
        }

        .carousel-text h2 {
            font-size: 0.6rem;
        }

        .carousel-text h3 {
            font-size: 0.8rem;
            line-height: 1.4;
        }

        .w-90 {
            margin-top: -40px;
            height: 250px;
        }
        .newsletter .inter {
            flex-direction: column;
        }


        .text {
            font-size: 18px;
            margin: 20px auto;
        }

        .subscribe-form input, .subscribe-form button{
            margin-bottom: 20px;
        }

        .overlay {
            width: 55%;
        }

}

/* 481px - 600px */
@media screen and (min-width: 481px) and (max-width: 600px) {
    /* Styles pour smartphones plus grands */
    .presenT{
        font-size: 16px;
    }
        .contentDesc{
            font-size: 12px;
        }
        .content img {
            width: 150px;
        }
        .titreMyContent{
            font-size: 13px;
        }
        .nosFondationImg {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .swiper-slide {
            width: 100%;
            max-width: fit-content;
        }
        .flip-card {
            perspective: 1000px;
            width: 260px;
            height: 260px;
            position: relative;
            margin: 0 auto;
        }
        .portailContact {
            background: url('../images/portail1.jpg') no-repeat center center;
            background-size: cover; /* Ajuste l'image pour couvrir toute la zone */
            padding: 50px 0;
            display: flex;
            justify-content: center; /* Centre horizontalement */
            align-items: center; /* Centre verticalement */
            text-align: center; /* Centre le texte si nécessaire */
            min-height: 40vh; /* Prend toute la hauteur de l'écran */
            flex-direction: column;
        }
        .titrePortailContact {
            font-size: 20px;
        }
        .centerCard{
            margin: 0px 10px 0 10px;
        }
        .boutonContact{
            width: 40%;
        }
        .nos-filiales-row {
            padding: 20px 0;
        }
        .custom-dropdown .dropdown-menu {
            display: none;
        }
        .custom-dropdown.show .dropdown-menu {
            display: block;
        }
        /* Tablettes et mobiles */
        .carousel-text {
            position: absolute;
            top: 50%;
            right: 10%;
            transform: translateY(-50%);
            text-align: left;
            color: white;
            z-index: 2;
            width: calc(51% - 60px);
        }

        .carousel-text h2 {
            font-size: 0.6rem;
        }

        .carousel-text h3 {
            font-size: 1.0rem;
            line-height: 1.8;
        }

        .w-90 {
            margin-top: -40px;
            height: 250px;
        }
        .newsletter .inter {
            flex-direction: column;
        }


        .text {
            font-size: 18px;
            margin: 20px auto;
        }

        .subscribe-form input, .subscribe-form button{
            margin-bottom: 20px;
        }

        .overlay {
            width: 55%;
        }

}

/* 601px - 768px */
@media screen and (min-width: 601px) and (max-width: 768px) {
    /* Styles pour tablettes en mode portrait */

    .presenT{
        font-size: 18px;
    }
        .contentDesc{
            font-size: 12px;
        }
        .content img {
            width: 150px;
        }
        .titreMyContent{
            font-size: 13px;
        }
        .nosFondationImg {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .swiper-slide {
            width: 100%;
            max-width: fit-content;
        }
        .flip-card {
            perspective: 1000px;
            width: 260px;
            height: 260px;
            position: relative;
            margin: 0 auto;
        }
        .portailContact {
            background: url('../images/portail1.jpg') no-repeat center center;
            background-size: cover; /* Ajuste l'image pour couvrir toute la zone */
            padding: 50px 0;
            display: flex;
            justify-content: center; /* Centre horizontalement */
            align-items: center; /* Centre verticalement */
            text-align: center; /* Centre le texte si nécessaire */
            min-height: 40vh; /* Prend toute la hauteur de l'écran */
            flex-direction: column;
        }
        .titrePortailContact {
            font-size: 20px;
        }
        .centerCard{
            margin: 0px 10px 0 10px;
        }
        .boutonContact{
            width: 40%;
        }
        .nos-filiales-row {
            padding: 20px 0;
        }
        .custom-dropdown .dropdown-menu {
            display: none;
        }
        .custom-dropdown.show .dropdown-menu {
            display: block;
        }
        /* Tablettes et mobiles */
        .carousel-text {
            position: absolute;
            top: 50%;
            right: 10%;
            transform: translateY(-50%);
            text-align: left;
            color: white;
            z-index: 2;
            width: calc(51% - 60px);
        }

        .carousel-text h2 {
            font-size: 0.6rem;
        }

        .carousel-text h3 {
            font-size: 1.25rem;
            line-height: 1.6;
        }

        .w-90 {
            margin-top: -40px;
            height: 250px;
        }
        .newsletter .inter {
            flex-direction: column;
        }


        .text {
            font-size: 18px;
            margin: 20px auto;
        }

        .subscribe-form input, .subscribe-form button{
            margin-bottom: 20px;
        }

        .overlay {
            width: 55%;
        }

}



