/* Reset des éléments et définition des styles de base */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /* overflow-x: hidden; Masque le contenu débordant horizontalement */
    background: white;
}

.stars{
    padding-right: 25px;
}

.first-container {
    display: flex;
    flex-direction: column; /* Ensure stacking vertically by default */
}

.image-wrapper {
    width: 100%;
    height: auto; /* Adjust to maintain aspect ratio */
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: auto; /* Adjust to maintain aspect ratio */
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

.text-overlay {
    position: absolute;
    top: 20px; /* Position the text 20px from the top */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    line-height: 1.5;
    width: 80%; /* Adjust the width */
    z-index: 2; /* Ensure the text is above the image */
}

.content-check-header {
    width: 100%;
    padding: 20px;
    text-align: center;
}


.logo-holder img {
    width: 83px;
    height: 40px;
    margin-right: 10px;
}


@media screen and (min-width: 801px) and (max-width: 1000px) {
    .first-container{
        margin-top: 42px !important;
    }

    .content-check-header .list-check{
        margin-left: 5%;
    }

    .estimation-button {
        text-align: -webkit-center;
        margin-right: 100px;
    }

    .logo-container, .first-logo-container{
        gap: 10% !important;
    }

    .form-horizontal-custom{
        font-size: 10px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

}


/* Styles pour la barre de navigation et le menu mobile */
/* Cacher le contenu actuel du right-div */

.navbar .right-div {
    display: none;
    color: #13438C;
    text-decoration: none;
    padding: 10px;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
}

/* Afficher le right-div lorsque le menu est ouvert */
.navbar.menu-open .right-div {
    display: block;
}

/* Styles pour l'icône de menu (trois lignes) */
.navbar .menu-icon {
    display: block;
    padding: 30px;
    cursor: pointer;
    background:none;
    width: 30px;
    height: 18px;
    border-radius: 2px;
    margin-left: auto;
}

.navbar .menu-icon .menu-bar {
    background-color: #000;
    height: 3px;
    margin-top: -0.5px;
    border-radius: 2px;

}

/* Styles for the blue background on menu click */
.menu-bar {
    width: 30px;
    height: 3px;
    background-color: #000;
    margin: 6px 0;
    transition: 0.4s;
}

.menu-bar.blue {
    background-color: #007bff; /* Adjust color as needed */  
}


/* Styles pour le right-div */
.right-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.right-div .menu-link {
    color: #13438C;
    text-decoration: none;
    padding: 15px;
    font-size: 24px;
    display: block; /* Ensure links are block elements to stack vertically */
    text-align: center; /* Center align text */
    position: relative;
    bottom: 100px;
}


.right-div.open {
    display: flex; /* Afficher seulement lorsque la classe open est ajoutée */
    width: 100%;
}

.right-div.blue {
    background-color: #000000; /* Adjust color as needed */
    color: #fff; /* Adjust text color as needed */
}

/* Promo  START*/

@media screen and (min-width: 780px) and (max-width:800px) {
    .image-wrapper {
        margin-top: 0 !important;
    }
}

.image-wrapper {
    margin-top: 20px;
    width: 100%; /* Adjust as needed */
    height: 100%;
}

.image-wrapper img{
    width: 100%; /* Adjust as needed */
    height: 100%;
    object-fit: cover;
}

.image-pano{
    width: 100%; /* Adjust as needed */
    height: 200px;
}

.text-overlay h1{
    font-size: 1.3rem;
    font-weight: bold; /* Rend le texte en gras */
    font-family: Arial, sans-serif; /* Utilise la police Arial */
}

.image-wrapper .form-container{
    position: relative !important;
    /* bottom: 550px; */
    /* line-height: auto; */
    width: 300px !important;
    height: 200px !important;
    /* gap: 10px; */
    background: rgba(255, 255, 255, 0.898);
    padding: 0px;
    border-radius: 10px;
    max-width: 600px;
    bottom: 60px !important;
    /* margin: 10 auto; */
}

.form-container h3{
    font-size: 0.8rem !important;
}
.form-container p{
    font-size: 0.6rem !important;
    position: relative;
    bottom: 15px;
}

.form-container .options img{
    position: relative;
    bottom: 15px;
    margin: 10px;
    padding: 10px;
    width: 50px;
    height: 50px;
    filter: brightness(100%);
}


.step-abc img {
    /* display: none; */
    margin-top: 0;
    margin-left: 5px;
    position: relative !important;
    top: 30px !important;
    width: 30px !important;
    height: 100% !important;
    filter: brightness(100%);
}

.form-horizontal input {
    padding: 5px !important;
    font-size: 10px;
}

/* Presentation */


.first-container {
    flex-direction: column; /* Ensure stacking vertically */
}

.image-wrapper {
    margin-bottom: 0; /* Ensure no gap between image-wrapper and content */
}

.estimation-button {
    margin-top: 20px;
}

.presentation {
    width: 100%;
    padding: 20px;
    background-color: #f0f0f0; /* Background color to test layout */
    text-align: center;
}

.navbar {
    padding: 0px 0px; /* Réduire l'espace interne */
    height: 60px;
}


.logo-holder img {
    width: 61px;
    height: 41px;
    margin-right: 10px;
}

.first-container{
    margin-top: 60px;
}

.preview-title-holder h2{
    font-size: 0.9rem !important;
}

.right-div{
    font-size: 0.8rem;
}

.second-title h3 {
    margin-top: 40px;
    font-size: 0.8rem;
    line-height: 1.7;
    text-align: justify;
    width: 90%;
    margin-right: 0;
}


.second-title span {
    font-size: 1.5rem;
}

.content-check-header {
    margin-top: 0; /* Ensure no gap between content and image-wrapper */
    padding: 10px;
    text-align: start;
    font-size: 0.8rem;
    width: 100%;
    height: 100%;
    padding-left: 20px;
}

.content-check-header img{
    width: 15px;
    height: 15px;
}

.content-check-header p {
    margin-top: 10px;
    font-size: 0.8rem;
}


.content-check-header button{
    margin-left: 20%;
}

.estimation-gratuite {
    font-size: 0.6rem;
}

.estimation-gratuite img{
    width: 32px !important;
    height: 32px !important;
}

.form-step .adresse-container input{
    font-size: 0.5rem;
}


#suggestions{
    left: 20% !important;
    width: 138px !important;
    font-size: 0.6rem !important;
}

#step-4 input{
    font-size: 0.6rem !important;
    width: 30px !important;
}

.adresse-container {
    width: 60% !important;
}

.adresse-container img {
    filter: brightness(100%);
    position: relative !important;
    top: 30% !important;
    width: 30px !important ;
    height: 30px !important;
}



    /* LOGOS ENR */

.logo-container, .first-logo-container{
    gap: 5px;
}
    
.logo1 img{
    width: 65px;
    height: 40px;
    margin-left: 20px;
    position: relative;
    top: 13%;
}

.logo10 img{
    width: 50px;
    height: 50px;
    position: relative;
    /* bottom: 10px; */
}


.logo2 img{
    width: 85px;
    height: 55px;
}

.logo3 img{
    width: 80px;
    height: 50px;
}


.logo4 img{
    width: 120px;
    height: 50px;
    position: relative;
    top: 15%;
}

.logo5 img{
    width: 80px;
    height: 50px;
}

.logo6 img{
    width: 80px;
    height: 80px;
}

.logo7 img{
    width: 80px;
    height: 80px;
}

.primes-container h1 {
    font-size: 1.3rem !important;
}

.primes-container h2 {
    font-size: 0.8rem !important;
}

.gallery-container .gallery-title{
    padding-top: 10px;
    font-size: 0.9rem !important;
    font-family: 'Roboto', sans-serif;
}



@media screen and (max-width: 350px) {

    .content-check-header {
        margin-top: 0; /* Ensure no gap between content and image-wrapper */
        padding: 10px;
        text-align: start;
        font-size: 0.8rem;
        width: 100%;
        height: 100%;
        padding-left: 20px;
    }

    .content-check-header .list-check{
        margin-left: 5%;
    }

    .content-check-header img{
        width: 15px;
        height: 15px;
    }

    .content-check-header p {
        margin-top: 10px;
        font-size: 0.5rem;
    }


    .content-check-header button{
        margin-left: 20%;
    }

    .estimation-gratuite {
        font-size: 0.6rem;
    }

    .estimation-gratuite img{
        width: 32px !important;
        height: 32px !important;
    }  

    @media screen and (min-width:320px) and (max-width: 350px) {
        body, html{
            width: 330px !important;
            max-width: 330px !important;
        }
    }

}
/* Styles spécifiques pour la section Prime */

.primes-container .prime-title, .primes-container .circle-container{
    width: auto;
}

.circle-container {
    font-size: 1.1em;
    }

.circle-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.primes-container {
    /* background-color: #f9f9f9; */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    text-align: center;
    margin-top: 0px;
}

.prime-title h1 {
    padding: 20px;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.prime-title h2 {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.circle-slider-container {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.circle-container {
    display: flex;
    transition: transform 0.5s ease; /* Animation de transition pour le défilement */
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.circle-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.circle {
    min-width: 100px; /* Taille des cercles, ajustez selon vos besoins */
    margin: 0 10px;
    flex-shrink: 0;
    text-align: center;
    background-color: #ddd;
    border-radius: 10%;
}

.slide-prev,
.slide-next {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}


.slide-prev {
    left: 0;
}

.slide-next {
    right: 0;
}

/* Styles spécifiques pour le défilement */
.circle-slider-container.left .circle-container {
    transform: translateX(-100%);
}

.circle-slider-container.right .circle-container {
    transform: translateX(0);
}

.circle-slider-container.left .circle:nth-child(1),
.circle-slider-container.right .circle:nth-child(2) {
    opacity: 0;
    pointer-events: none;
}


/* Styles pour la section des conditions d'éligibilité */


/* Media query pour les appareils mobiles */
@media screen and (max-width: 779px) {
        
    .logo-holder img {
        width: 60px;
        height: 30px;
        margin-right: 5px;
    }

    .navbar {
        padding: 10px;
        position: fixed;
        top: 0;
        width: 100%;
        /* background-color: #fff; */
        z-index: 1001;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .left-div {
        display: flex;
        align-items: center;
    }
    
    .logo-holder img {
        height: 40px;
    }
    
    .preview-title-holder h2 {
        margin-left: 10px;
    }
    
    .menu-icon {
        display: block;
        padding: 10px;
        cursor: pointer;
        background: none;
        width: 30px;
        height: 18px;
        border-radius: 2px;
    }
    
    .menu-icon .menu-bar {
        background-color: #000;
        height: 3px;
        margin: 4px 0;
        border-radius: 2px;
        transition: 0.4s;
    }
    
    .right-div {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease;
    }
    
    .right-div.open {
        display: flex;
        opacity: 1;
    }
    
    .right-div .menu-link {
        color: #13438C;
        text-decoration: none;
        padding: 15px;
        font-size: 14px;
        text-align: start;
        position: relative;
        bottom: 100px;
    }
    
    /* Promo  START*/

    .image-wrapper {
        margin-top: 0px;
        width: 100%; /* Adjust as needed */
        height: 100%;
    }

    .image-wrapper img{
        width: 100%; /* Adjust as needed */
        height: 100%;
        object-fit: cover;
    }

    .image-pano{
        width: 100%; /* Adjust as needed */
        height: 200px;
    }

    .text-overlay h1{
        font-size: 1.2rem;
        font-weight: bold; /* Rend le texte en gras */
        font-family: Arial, sans-serif; /* Utilise la police Arial */
    }

    .image-wrapper .form-container{
        position: relative !important;
        width: 300px !important;
        height: 200px !important;
        background: rgba(255, 255, 255, 0.898);
        padding: 0px;
        border-radius: 10px;
        max-width: 600px !important;
        bottom: 60px !important;
    }
    
    .form-container h3{
        font-size: 0.8rem !important;
    }
    .form-container p{
        font-size: 0.6rem !important;
        position: relative;
        bottom: 15px;
    }

    .form-container .options img{
        position: relative;
        bottom: 15px;
        margin: 10px;
        padding: 10px;
        width: 50px;
        height: 50px;
        filter: brightness(100%);
    }


    .step-abc img {
       /* display: none; */
       margin-top: 0;
       margin-left: 10px;
       position: relative !important;
       top: 30px !important;
       width: 30px !important;
       height: 100% !important;
       filter: brightness(100%);
    }

    .form-horizontal input {
        padding: 5px !important;
        font-size: 10px;
    }

    /* Presentation */


    .first-container {
        flex-direction: column; /* Ensure stacking vertically */
    }

    .image-wrapper {
        margin-bottom: 0; /* Ensure no gap between image-wrapper and content */
    }

    .estimation-button {
        margin-top: 20px;
    }
    
    .presentation {
        width: 100%;
        padding: 20px;
        background-color: #f0f0f0; /* Background color to test layout */
        text-align: center;
    }

    .navbar {
        padding: 0px 0px; /* Réduire l'espace interne */
        height: 70px;
        position: fixed;
        top: 0px;
        width: 100%;
        background-color: #fff;
        z-index: 1001;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


    .logo-holder img {
        width: 81px;
        height: 41px;
        margin-right: 10px;
    }

    .first-container{
        margin-top: 60px;
    }

    .preview-title-holder h2{
        font-size: 0.9rem !important;
    }

    @media screen and (max-width:300px) { 
        .preview-title-holder h2 {
            font-size: 0.6rem !important;
        }

        .image-wrapper .form-container {
            width: 260px !important;
        }

        .form-row input{
            padding: 3px !important;
            height: 10px
        }

        .form-button {
            padding: 2px;
        }


        #suggestions {
            /* left: 20% !important; */
            width: 118px !important;
            /* font-size: 0.6rem !important; */
        }
    }
    
    .right-div{
        font-size: 0.8rem;
    }

    .second-title h3 {
        margin-top: 40px;
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: justify;
        width: 90%;
        margin-right: 0;
    }


    .second-title span {
        font-size: 1.5rem;
    }

    .content-check-header {
        margin: -30px 0 0 0 !important ; /* Ensure no gap between content and image-wrapper */
        padding: 10px;
        text-align: start;
        font-size: 0.8rem;
        width: 100%;
        height: 100%;
        padding-left: 20px;
    }



    .content-check-header img{
        width: 15px;
        height: 15px;
    }

    .content-check-header p {
        margin-top: 10px;
        font-size: 0.6rem;
    }


    .content-check-header button{
        margin-left: 10%;
    }

    .estimation-gratuite {
        font-size: 0.6rem;
    }

    .estimation-gratuite img{
        width: 32px !important;
        height: 32px !important;
    }

    .form-step .adresse-container input{
        font-size: 0.5rem;
    }


    #suggestions{
        left: 20% !important;
        width: 138px;
        font-size: 0.6rem !important;
    }

    #step-4 input{
        font-size: 0.6rem !important;
        width: 30px !important;
    }

    #step-5{
        margin-bottom: -10px;
        margin-top: -20px;
    }

    .form-button {
        padding: 2px;
    }


    .adresse-container {
        width: 60% !important;
    }

    .adresse-container img {
        filter: brightness(100%);
        position: relative !important;
        top: 30% !important;
        width: 30px !important ;
        height: 30px !important;
    }



        /* LOGOS ENR */

    .logo-container, .first-logo-container{
        gap: 5px;
    }
        
    .logo1 img{
        width: 100px;
        height: 40px;
        margin-left: 20px;
        position: relative;
        top: 13%;
    }

    .logo10 img{
        width: 50px;
        height: 50px;
        position: relative;
        /* bottom: 10px; */
    }


    .logo2 img{
        width: 85px;
        height: 55px;
    }

    .logo3 img{
        width: 80px;
        height: 50px;
    }


    .logo4 img{
        width: 140px;
        height: 50px;
        position: relative;
        top: 15%;
    }z

    .logo5 img{
        width: 80px;
        height: 50px;
    }

    .logo6 img{
        width: 80px;
        height: 80px;
    }

    .logo7 img{
        width: 80px;
        height: 80px;
    }

    .primes-container h1 {
        font-size: 1.3rem !important;
    }

    .primes-container h2 {
        font-size: 0.8rem !important;
    }

    .gallery-container .gallery-title{
        padding-top: 10px;
        font-size: 0.9rem !important;
        font-family: 'Roboto', sans-serif;
    }


    .form-horizontal-custom{
        font-size: 10px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(1, 1);
        gap: 10px;
        width: 100%;
    }

    .form-horizontal-custom .form-row-custom{
        width: 100% !important;
    }

}


/* Style de Galleries */

.text-overlay h3{
    text-transform: uppercase; /* text-transform: uppercase; transforme le texte en majuscules */
    font-family: 'Arial', sans-serif;
    position: relative;
    bottom: 750px;
    line-height: auto;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 5px;
    width: auto;
    margin-right: 8%;
}



/* Styles généraux pour la galerie */
.gallery-container {
    margin-top: 10px;
    padding: 10px;
    background: rgba(245, 245, 245, 0.879);
    width: auto;
    font-size: 14px;   
}

.gallery-title {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.blocks-preview-divider {
    height: 1px;
    background-color: #000000;
    margin: 35px auto;
    /* Centre le div au centre de la page */
}

/* Styles par défaut (moins de 800px) */
.gallery-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Espace entre les images */
}

.gallery-container .gallery-images img {
    width: 100%;
    margin: auto;
}

.image {
    width: 100%; /* Utiliser toute la largeur disponible */
    max-width: 320px; /* Largeur maximale des images */
    text-align: center;
    height: auto;
    border-radius: 10px;
}

.image-title {
    font-size: 1em;
    margin-bottom: 5px;
}

.image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 ;
}

.image-details {
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.image-subtitle {
    font-size: 0.9em;
    color: #333;
}

.first-image img, .second-image img, .third-image img{
    height: 177px;
}

/* Styles pour écrans de 800px et plus */
@media screen and (min-width: 800px) {
    .gallery-container {
        width: 100%;
        overflow-x: auto;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .gallery-title {
        font-size: 18px;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .blocks-preview-divider {
        height: 2px;
        background-color: #ddd;
        margin-bottom: 20px;
    }
    
    .gallery-images {
        display: flex;
        flex-direction: row; /* Aligner les images horizontalement */
        justify-content: space-between;
        gap: 15px; /* Espace entre les images */
    }
    
    .image {
        flex: 0 0 auto;
        height: 800px;
        width: calc(33.33% - 10px); /* Ajuster la largeur des images */
        background-color: #f1f0f0;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.017);
        overflow: hidden;
        text-align: center;
    }
    
}

/* Styles pour la section Maps */

/* CSS spécifique pour les écrans de moins de 1324px de largeur */

.container {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.slide {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    width: 100%;
}

.item {
    margin: auto;
    display: flex;
    flex-direction: column; /* Aligner les cercles verticalement */
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    width: 80%;
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
}

.item .content {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

@media screen and (min-width:501px) and (max-width:1000px){
    .item .name {
        color: white;
        font-size: 30px;
    }
}

@media screen and (max-width:500px){
    .item .name {
        color: white;
        font-size: 20px;
    }
}

.item .des {
    color: white;
}

.button{
    display: none;
}

.des{
    display: none;
}

/* style-mobile.css (ou tout autre fichier CSS approprié) */

/* Styles pour les popups */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.936);
    color: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 80%;
    height: 80%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.popup-content {
    padding: 10px;
}


@media screen and (min-width: 900px) {
    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 38px;
    }
    
    .popup-content p {
        margin: 0;
        text-align: justify;
        font-size: 30px;
    }
    
}

@media screen and (min-width:700px) and (max-width: 899px) {
    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 30px !important;
    }

    .popup-content p {
        margin: 0;
        text-align: justify;
        font-size: 25px !important;
    }
}

@media screen and (min-width:500px) and (max-width: 699px){
    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 25px !important;
    }

    .popup-content p {
        margin: 0;
        text-align: justify;
        font-size: 20px !important;
    }
}

@media screen and (min-width: 401px) and (max-width: 499px) {
    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 16px !important;
    }

    .popup-content p {
        margin: 0;
        text-align: justify;
        font-size: 12px !important;
    }
    
}

@media screen and (max-width: 400px) {
    .popup-content h2 {
        margin: 0 0 10px;
        font-size: 14px !important;
    }

    .popup-content p {
        margin: 0;
        text-align: justify;
        font-size: 8px !important;
    }
    
}



.close-btn {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 28px;
    cursor: pointer;
}

.item.expanded {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 78%;
    z-index: 1000;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease-in-out;
}

.item.expanded .content {
    display: none;
}

.item.expanded .popup {
    opacity: 1;
}

/* Styles supplémentaires pour votre contenu popup si nécessaire */


/* h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
} */

/* Styles supplémentaires pour votre contenu popup si nécessaire */


/* Banners */
.info-container {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Espace de 8px entre les éléments */
    margin: auto;
    margin-right: 5px !important;
}

@media screen and (min-width:601px) and (max-width:1000px) {
    .info-item {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* min-width: 130px;
        max-width: 130px; Largeur maximale des éléments sur les très petits écrans */
        height: 200px; /* Ajuster la hauteur pour uniformiser la taille */
        padding: 10px; /* Réduit le padding pour économiser de l'espace */
        margin: 10px 0; /* Réduit la marge autour des éléments */
        box-sizing: border-box;
    }
    
    .info-item h3 {
        font-size: 8px; /* Réduit la taille de la police pour les titres */
        text-align: center;
    }

    .info-item p {
        font-size: 7px; /* Réduit la taille de la police pour les paragraphes */
        text-align: center;
        margin-bottom:30px;
    }
}


@media screen and (min-width:501px) and (max-width:600px){
    .info-item {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
       /* min-width: 90px;
        max-width: 90px;  Largeur maximale des éléments sur les très petits écrans */
        height: 200px; /* Ajuster la hauteur pour uniformiser la taille */
        padding: 10px; /* Réduit le padding pour économiser de l'espace */
        margin: 10px 0; /* Réduit la marge autour des éléments */
        box-sizing: border-box;
    }
    
     .info-item h3 {
        font-size: 7px; /* Réduit la taille de la police pour les titres */
        text-align: center;
    }

    .info-item p {
        font-size: 7px; /* Réduit la taille de la police pour les paragraphes */
        text-align: center;
        margin-bottom:30px;
    }
}

@media screen and (min-width:401px) and (max-width:500px){
    .info-item {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* min-width: 80px;
        max-width: 80px; Largeur maximale des éléments sur les très petits écrans */
        height: 200px; /* Ajuster la hauteur pour uniformiser la taille */
        padding: 10px; /* Réduit le padding pour économiser de l'espace */
        margin: 10px 0; /* Réduit la marge autour des éléments */
        box-sizing: border-box;
    }
    
     .info-item h3 {
        font-size: 6px; /* Réduit la taille de la police pour les titres */
        text-align: center;
    }

    .info-item p {
        font-size: 6px; /* Réduit la taille de la police pour les paragraphes */
        text-align: center;
        margin-bottom:30px;
    }
}

@media screen and (max-width:400px){
    .info-item {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* min-width: 60px;
        max-width: 60px;  Largeur maximale des éléments sur les très petits écrans */
        height: 200px; /* Ajuster la hauteur pour uniformiser la taille */
        padding: 10px; /* Réduit le padding pour économiser de l'espace */
        margin: 10px 0; /* Réduit la marge autour des éléments */
        box-sizing: border-box;
    }
    
     .info-item h3 {
        font-size: 4px; /* Réduit la taille de la police pour les titres */
        text-align: center;
        padding: 5px;
    }

    .info-item p {
        font-size: 5px; /* Réduit la taille de la police pour les paragraphes */
        text-align: center;
        margin-bottom:30px;
    }
}


.info-item img {
    width: 35px; /* Réduit la taille des images */
    height: auto;
    margin-top: 30px;
}




/* Second Formulaire  */

/* Styles généraux pour le second formulaire */
.second-form {
    /* background-color: #f9f9f9; */
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    height: auto;
}

.footer-form-container-custom {
    display: flex;
    flex-direction: column; /* Disposition en colonne pour placer l'image au-dessus */
    align-items: center; /* Centrer horizontalement */
    margin: auto auto; /* Centrer l'ensemble du conteneur */
}

.image-container-custom {
    width: 100%;
    max-width: 600px; /* Ajustez cette valeur selon vos besoins */
    margin: auto; /* Supprime la marge */
}



.image-container-custom img {
    width: 100%; /* Utilisation de la largeur totale de son conteneur */
    height: 100%;
    object-fit: cover;
    margin: auto auto;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 30px;
}

.form-container-second-custom {
    border-top-left-radius: 0; /* Supprime l'arrondi en haut à gauche */
    border-top-right-radius: 0; /* Supprime l'arrondi en haut à droite */
    width: 100%;
    max-width: 600px; /* Largeur maximale du formulaire */
    background: linear-gradient(to bottom, #4065f7, #4a22ff, #1100c8);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    text-align: left;
    margin: auto auto;
    height: 100%;
}

.form-container-second-custom h2 {
    margin-bottom: 22px;
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    text-align: center;
}

.form-container-second-custom p {
    text-align: left;
    font-size: 18px;
}



.form-row-custom {
    width: 100%;
}

@media screen and (min-width: 300px) and (max-width: 370px) {
    /* Your CSS code for screens with a minimum width of 300px and a maximum width of 400px */
    .form-row-custom input {
        font-size: 10px; /* Réduit la taille de la police pour les champs de texte */
    }

}

@media screen and (min-width: 370px) and (max-width: 400px) {
    /* Your CSS code for screens with a minimum width of 300px and a maximum width of 400px */
    .form-row-custom input {
        font-size: 13px; /* Réduit la taille de la police pour les champs de texte */
    }
}



.footer-form-input-custom {
    width: 100%;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.footer-form-input-custom:focus {
    border-color: #13438C;
    outline: none;
}

.footer-form-button-custom {
    grid-column: span 2;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background-color: #609FF2;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.footer-form-button-custom:hover {
    background-color: #212b8a;
}

/* Footers */
.down {
    text-align: center;
    margin-top: 30px;
}

.down img {
    width: 211px;
    height: 131px;
    border-radius: 10px;
}
