/* declaration de la police du site */
@font-face {
    font-family: cabin;
    src: url(font/Cabin/static/Cabin-Bold.ttf);
}
@font-face {
    font-family: lato;
    src: url(font/Lato/Lato-Regular.ttf);
}
body {
    font-family: 'lato';
}
*{
    font-family: 'lato';
}
p{text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.09em;
}
p::after{
    content: "  ";
    display: inline-block;
    height: 0;
}
p{font-size: 16px;}
h1{font-size: 29px;}
h2{font-size: 26px;}
h3{font-size: 17px;}
h6{font-size: 12px; text-transform: uppercase;}
@media (min-width:1300px) {
    p{font-size: 18px;}
h1{font-size: 45px;}
h2{font-size: 24px;}
h3{font-size: 20px;}
h6{font-size: 16px; text-transform: uppercase;}
}
@media (max-width:768px) {
p{font-size: 14px;}
h1{font-size: 27px;}
h2{font-size: 21px;}
h3{font-size: 15px;}
h6{font-size: 10px;}
}
@media (max-width:480px) {
p{font-size: 12px;}
h1{font-size: 15px;}
h2{font-size: 16px;}
h3{font-size: 14px;}
h6{font-size: 10px;}
}
/* Définition de la variable des couleurs  */
:root {
    --claire: #46AFCF;
    --vert: #366228;
    --bleu: #03466E;
    --rouge: #9D0F07; 
}
@keyframes slideIn {
    from {
        transform: translateX(-200px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/******************************************************************************************/

.hero {
    background-image: url('images/IMGAC.webp'); /* Remplacez par le chemin de votre image */
    background-size: 100%;
    background-position: top;
    height: 710px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 5%;
    padding: 5px;
    color: white;
    position: relative;
}
.hero {
    margin-top: 120px; /* ajuster cettte valeur pour faire un peu le hero cover  */
}

.hero-content {
    background-color: #FFF;
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    width: 35%;
    z-index: 2;
    text-align: left;
    margin-right: 50%;
    justify-content: left;
    animation: slideIn 2s forwards;

}

.hero-content h1 {
    color: #000;
    margin: 0 0 9px;
    font-family: 'cabin';
}

.hero-content p {
    color: #000;
    margin: 0 0 9px;
    text-align: left;

}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: left;
}

.btn {
    padding: 10px 10px;
    border: 2px solid;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--bleu);
}

.btn-primary:hover {
    background-color: var(--vert);
}

.btn-secondary {
    background-color: none;
    border-color: var(--vert);
    color: #000;
}

.btn-secondary:hover {
    background-color: var(--vert);
    color: #FFF;
}

/*hero-content {
    background-color: var(--vert);
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    width: 35%;
    z-index: 2;
    text-align: left;
    margin-right: 50%;
    justify-content: left;

}

.hero-content h1 {
    margin: 0 0 20px;
    font-family: 'cabin';
}

.hero-content p {
    font-size: 16px;
    margin: 0 0 20px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: left;
}

.btn {
    padding: 10px 20px;
    border: 2px solid var(--bleu);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--bleu);
}

.btn-primary:hover {
    background-color: var(--rouge);
    border-color: var(--rouge) ;
}

.btn-secondary {
    background-color: none;
    border-color: var(--bleu);
}

.btn-secondary:hover {
    background-color: var(--rouge);
    color: #FFF;
    border-color: var(--rouge);
}*/
/* Media Queries for Responsiveness */
@media (max-width:1300px) {
    .hero{
        height: 500px;
    }
    
}
@media (max-width:1024px) {
    .hero{
        height: 500px;
    }
    
}
@media (max-width: 768px) {
    .hero {
        background-size: cover;
    }
    .hero-content{
        width: fit-content;
    }
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero{
        height: 300px;
        background-size: cover;
        background-repeat:no-repeat ;
    }

    .hero-content{
        text-align: left;
        margin-right: 45%;
        width: 300px;
        height: 220px;
        padding: 10px;
    }

    .btn {
        font-size: 13px;
        width: 100%;
        padding: 8px 8px;
    }
    .btn-primary {
        display: none;
    }
}

/************************************************************************************************/
/* debut de la section d'une image avec le paterne */
.two-blocks-section {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    margin-left: 18%;
    margin-right: 10%;
    margin-bottom: 4%;
    padding: 40px;
    gap: 60px; /* mettre de l'espace entre les deux blocs */
}

.left-block {
    flex: 1;
}

.left-block h6 {
    text-align: center;
    width: 40%;
    border-radius: 20px;
    padding: 8px 8px;
    color: #fff;
    background-color: var(--bleu);
}

.left-block h1 {
    font-family: 'cabin';
    color: #000;
    margin-bottom: 10px;
}

.left-block p {
    hyphens: auto;
    text-align: justify;
    color: #000;
    word-spacing: -0.05em; /* Ajuste l'espacement des mots */
    white-space: normal; /* Gère les espaces blancs */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.grid-item {
    background-color: #f0f0f0;
    padding: 5px;
    text-align: center; 
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.grid-item:hover{
    transform: translateX(-10px) ;
}


.grid-item .icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.grid-item i {
    font-size: 1em;
    color: var(--bleu);
}

.grid-item h4 {
    color: #333;
    margin: 0;
}

.grid-item .petit {
    text-align: center;
    font-family: 'lato';
    font-size: 16px;
    color: #000;
}

.right-block {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    z-index: 1;
    margin-left: -31px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.right-block::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px; /* Offset pattern to the left */
    width: 80%;
    height: 70%;
    background: url('images/Pattern.png') no-repeat left;
    z-index: 0;
}
@media (max-width:1300px) {
    .two-blocks-section {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    
}
@media (max-width:1024px) {
    .left-block h1{
        font-size: 21px;
    }
    
}
@media (max-width: 768px) {
    .two-blocks-section {
        margin-left: 5%;
        flex-direction: column;
        gap: 10px; 
    }


    .right-block {
        margin-top: 20px;
    }

    .right-block::before {
        left: 0; /* Adjust the offset for smaller screens */
    }
}
@media (max-width:480px) {
    .two-blocks-section{
        padding: 0;
        padding-left: 40px;
        margin-left: 4%;
        margin-right: 4%;


    }
    .left-block{
        padding: 5px;
        margin-left: -40px;
    }
    .right-block::before {
        display: none;
    }

}
/*************************************************************************************************/
/* Conteneur principal pour la section */
.container {
    padding: 20px;
}
.section-grid{
    background-color: #dad8d8;
    margin-bottom: 5%;
}

/* Style pour la section principale */
.main-section {
    max-width: 1200px;
    width: 60%;
    padding: 40px 0;
    margin-left: 20%;
    margin-right: 10%;

}

/* Disposition du texte et du sous-titre */
.text-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Sous-titre à gauche */
.subtitle-left {
    flex: 1;
    text-align: left;
    padding-right: 5px;
    border-right: 5px solid #9b9898;
}

.subtitle-left h1 {
    margin: 0;
    font-family: 'cabin';
    color: #000;
}

/* Texte à droite */
.text-right {
    flex: 1;
}
.text-right p{
    hyphens: auto;
    text-align: justify;
}

/* Style pour la grille de six éléments */
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.grid-item {
    background-color: #ffffff;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
.bleu {
    background-color: var(--bleu);
}


.grid-item img {
    width:  50px;
    height: auto;
}

.grid-item h3 {
    margin: 10px 0 5px 0;
    color: #333;
}

.grid-item p {
    margin: 0;
    font-size: 16px;
    text-align: justify;
    word-spacing: -0.05em; /* Ajuste l'espacement des mots */
    white-space: normal; /* Gère les espaces blancs */
    color: #666;
}

/* Media queries pour rendre la section responsive */
@media (max-width:1300px) {
    .main-section{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    
}
@media (max-width: 768px) {
    .text-subtitle {
        flex-direction: column;
    }
    .subtitle-left{
        border-right: none;
        border-bottom: 5px solid #9b9898;
    }

    .subtitle-left, .text-right {
        text-align: center;
        padding: 0;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .grid-item img{
        width: 30%;
    }
}

@media (max-width: 480px) {
    .main-section{
        margin-right: 5%;
        margin-top: 15%;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .subtitle-left h1{
        text-align: center;
        margin-bottom: 5px;
    }
    .text-right p{
        margin-top: -5px;
    }
    .grid-item p{
        text-align: left;
        font-size: 13px;
    }
    .grid-item h3{
        text-align: left;
    }
}
/***************************************************************************************************************/


/* Conteneur principal pour la section */
.container-2 {
    width: 60%;
    max-width: 1200px;
    margin-left: 18%;
    margin-right: 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    flex-wrap: wrap;
    margin-bottom: 5%;
}

/* Style pour la section en deux colonnes */
.two-columns-section {
    padding: 40px 0;
}

/* Style pour les colonnes */
.column {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

.column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.column h3 {
    margin: 10px 0;
    color: #333;
}

.column h1 {
    font-family: 'cabin';
    margin: 10px 0;
    color: #000;
}

.column p {
    text-align: justify;
    color: #666;
}

/* Style pour la liste numérotée */
.column ol {
    text-align: left;
    padding-left: 0; 
    margin: 20px 0;
    margin-left: 10%;
    list-style-type: none; /* supprimer style de liste */
    counter-reset: li; /* remettre à zero la numerotation par defaut  */
}

.column ol li {
    border-top: 1px solid #9b9898;
    color: #666;
    margin-bottom: 2px;
    position: relative;
    padding-left: 20px; /* Espace entre la numerotation et le texte */
}
.left-column h3{
    color: #000;
    margin-bottom: 0;
    text-align: left;
}
.left-column p{
    margin-top: 1px; 
    text-align: justify;
    word-spacing: -0.05em; /* Ajuste l'espacement des mots pour réduire les espaces blancs */
    letter-spacing: 0.01em; /* Légère augmentation de l'espacement des lettres */
    hyphens: auto; /* Active la césure automatique des mots pour éviter les grands espaces blancs */
    white-space: normal; 
}

.left-column h6{
    color: #ffffff;
    background-color: var(--vert);
    width: 30%;
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
}
.right-column h6{
    color: #FFF;
    text-align: center;
    background-color: var(--bleu);
    width: 50%;
    padding: 10px 10px;
    border-radius: 10px;
}


.column ol li::before {
    content: counter(li);
    counter-increment: li; /* Incrementation de la liste */
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--vert);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
}

/* Style pour les grids de la colonne droite */
.grid-container-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.grid-item-2 {
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-align: left;
    width: 90%;
    height: auto;
}

.grid-item-2 img {
    width: 15%;
    height: auto;
    margin-bottom: 5px;
}

.grid-item-2 h3 {
    margin: 5px 0 5px 0; /* Réduire l'espace en bas pour les sous-titres des grid items */
    color: #000;
    line-height: 1; /* Réduire l'interligne pour les sous-titres des grid items */
}

.grid-item-2 p {
    margin: 5px 0 5px 0; /* Réduire l'espace en haut pour les paragraphes des grid items */
    color: #666;
    text-align: left;
}


/* Media queries pour rendre la section responsive */
@media (max-width:1300px) {
    .container-2{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    
}
@media (max-width: 768px) {
    .container-2 {
        flex-direction: column;
        align-items: center;
        margin-left: 10%;
        margin-right: 10%;
    }

    .column {
        width: 100%;
        padding: 10px;
        text-align: left; /* Align text to the left for better readability on small screens */
    }
 


    .grid-container-2 {
        grid-template-columns: 1fr;
    }

    .grid-item-2 {
        text-align: left; /* Align grid item text to the left on small screens */
    }
    .grid-item-2 img{
        width: auto;
    }

    .right-column h6{
        width: 40%;

    }
    .left-column h6{
        width: 30%;
    }
}
@media (max-width: 480px) {
    .container-2 {
        flex-direction: column;
        align-items: center;
        margin-left: 2%;
        margin-right: 0;
    }
    .column{
        width: 100%;
    }
    .grid-container-2{
        width: auto;
    }
    .right-column h6{
        width: 60%;

    }
    .left-column h6{
        width: 50%;
    }
    .grid-item-2{
        width: 100%;
    }
}
/********************************************************************************************/
/* Style de la section principale */
.services-section {
    width: 60%;
    max-width: 1200px; /* Largeur maximale de la section */
    margin: 20px auto; /* Marges automatique pour centrer */
    padding: 20px; /* Padding interne */
    background-color: #fff; /* Couleur de fond */
    display: block;
}

/* Styles pour le bloc supérieur */
.top-block {
    position: relative; /* Positionnement relatif pour superposition */
    z-index: 1; /* Assure que le bloc supérieur est en dessous */
    margin-bottom: 20px; /* Espace sous le bloc */
}

/* Conteneur pour l'image et la superposition */
.image-overlay {
    position: relative; /* Positionnement relatif pour la superposition */
    width: 100%; /* Largeur totale */
    height: 300px; /* Hauteur fixe */
    overflow: hidden; /* Cache le débordement */
}

.image-overlay img {
    width: 100%; /* Largeur totale */
    height: 100%; /* Hauteur totale */
    object-fit: cover; /* Adapte l'image pour couvrir l'espace */
}

.overlay {
    position: absolute; /* Positionnement absolu pour la superposition */
    top: 0; 
    left: 0; 
    width: 100%; /* Largeur totale */
    height: 100%; /* Hauteur totale */
    background: rgba(3, 70, 110, 0.9); /* Couleur de superposition avec opacité */
    color: #fff; 
    display: flex; 
    flex-direction: column; /* Direction de la flexbox en colonne */
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Texte centré */
}

.overlay h6 {
    text-align: center;
    text-transform: uppercase;
    background-color: var(--vert);
    width: 30%;
    padding: 10px;
    border-radius: 10px;
    margin-left: -50%;
    margin-top: -20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
}

.overlay h1 { 
    margin: 10px 0 0; /* Marge au-dessus du sous-titre */
    width: 70%;
    margin-left: 6%;
    margin-top: -10px;
    text-align: left;
}

/* Styles pour le bloc inférieur */
.bottom-block {
    padding: 20px; /* Padding interne */
    background-color: #FFF; /* Couleur de fond */
    display: flex; /* Flexbox pour centrer le contenu */
    flex-direction: column; /* Direction de la flexbox en colonne */
    align-items: center; /* Centre horizontalement */
    width: 60%; /* Largeur maximale du bloc inférieur */
    margin: 0 auto 20px; /* Centre le bloc inférieur horizontalement et ajoute un espace en bas */
    position: relative; /* Positionnement relatif pour superposition */
    z-index: 2; /* Assure que le bloc inférieur est au-dessus */
    margin-top: -100px;
}

/* Styles pour la galerie d'images */
.image-gallery {
    display: flex; /* Affichage en flexbox */
    flex-wrap: wrap; /* Permet aux images de passer à la ligne suivante */
    gap: 10px; /* Espace entre les images */
    justify-content: center; /* Centre les images dans la galerie */
}

.image-gallery img {
    width: calc(33.333% - 10px); /* Largeur de chaque image avec espace pour 3 images par ligne */
    height: auto; /* Hauteur automatique */
    border-radius: 5px; /* Coins arrondis */
    cursor: pointer;
    transition: transform 0.2s; /* Transition pour l'effet de zoom */
}

.image-gallery img:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
}
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.popup-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;

   }

/* Styles responsives */
@media (max-width:1300px) {
    .services-section{
        width: 80%;
    }
    .overlay h6{
        width: 17%;
    }

    
}
@media (max-width:1028px) {
   .overlay h1{
    width: 60%;
    margin-left: 2%;
   }
    
}
@media (max-width: 768px) {
    .image-gallery img {
        width: calc(33.333% - 10px); /* Deux images par ligne sur les écrans moyens */
    }
    .overlay h1{
        width: 70%;
        margin-left: 1%;
    }
    .overlay h6{
        width: 20%;
        margin-top: -12px;
    }

}

@media (max-width: 480px) {
    .image-gallery img {
        width: calc(50% - 10px);/* Une image par ligne sur les petits écrans */
    }
    .overlay h1{
        width: 60%;
        margin-left: 5%;
    }
    .overlay h6{
        width: 50%;
        margin-left: 1%;
    }
    .services-section{
        width: 90%;
    }
}
/**************************************************************************/
.container-4 {
    text-align: center;
}

/* Styles pour le titre responsive */
.title {
    font-family: 'cabin';
    margin: 0.5em 0; /* Marges */
    color: #333; /* Couleur du texte */
}

/* Styles pour le sous-titre responsive */
.container-4 h6 {
    margin-left: 40%;
    background-color: var(--vert);
    width: 20%;
    height: 10%;
    border-radius: 15px;
    color: #ffffff; /* Couleur du texte */ 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
}

/* Styles responsives */
@media (max-width: 1200px) {
    .title {
        font-size: 1.8em; /* Taille de police réduite pour les grands écrans */
    }

}

@media (max-width: 768px) {
    .title {
        font-size: 1.2em; /* Taille de police réduite pour les écrans moyens */
    }
    .container-4 h6  {
        font-size: 12px; /* Taille de police réduite pour les écrans moyens */
        width: 30%;
    }
}

@media (max-width: 480px) {
 
    .container-4 h6  {
        width: 60% ;
        margin-left: 22%;
    }
}
/**********************************************************************************************************/
.container-3{
    background-color: #e7e6e6;
    margin-bottom: 5%;
}
   /* Style de la section de témoignages */
.testimonials-section {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  

  
  /* Style du conteneur de témoignages */
  .testimonial-container {
    position: relative;
    width: 80%; /* Ajuster la largeur selon les besoins */
    max-width: 600px; /* Limiter la largeur maximale */
    height: 300px; /* Ajuster selon le contenu */
  }
  
  /* Style de chaque témoignage */
  .testimonial {
    display: none;
    position: absolute;
    width: 100%;
    padding: px;
    text-align: center;
  }
  
  .testimonial.active {
    display: block;
  }
  
  /* Style des images des témoignages */
  .testimonial img {
    width: 30%;
    height: 30%;
    border-radius: 50%;
    margin-bottom: 20px;
    display: block;
    margin: 0 auto; /* Centrer l'image */
  }
  
  /* Style des citations des témoignages */
  .testimonial .quote {
    font-size: 17px;
    text-align: center;
    margin-bottom: 15px;

  }
  
  /* Style des auteurs des témoignages */
  .testimonial .author {
    text-align: center;
    font-weight: bold;
    color: #000;
  }
  .testimonial .fonction{
    text-align: center;
    color: var(--vert);
    font-size: 14px;
    font-weight: bold;
  }
  
  /* Style des boutons de navigation */
  button.prev{
    position: absolute;
    top: 50%;
    margin-left: 20%;
    transform: translateY(-50%);
    background-color: var(--bleu);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
  }
  
 button.next {
    position: absolute;
    top: 50%;
    margin-right: 20%;
    transform: translateY(-50%);
    background-color: var(--vert);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
  }
  
  button.prev {
    left: 40px; /* Ajuster pour centrer le bouton */
  }
  
  button.next {
    right: 40px; /* Ajuster pour centrer le bouton */
  }
  
  button.prev:hover, button.next:hover {
    background-color: var(--rouge);
  }
  
  /* Media Queries pour la responsive design */
  @media (max-width:1300px) {
    .testimonial .quote{
        margin-top: 20px;    }
  }
  @media (max-width:1028px) {
    .testimonial .quote{
        margin-top: 20px;    }
}
  @media only screen and (max-width: 768px) {
    .testimonial .quote{
        margin-top: 20px;   
     }

    .testimonial-container {
      width: 90%;
    }
  
    button.prev {
      left: -12px; /* Ajuster pour centrer le bouton */
    }
  
    button.next {
      right: -40px; /* Ajuster pour centrer le bouton */
    }
  }
  
  @media only screen and (max-width: 480px) {
    .testimonial-container {
      width: 100%;
    }
  
    button.prev, button.next {
        padding: 5px;
      left: 10px;
      right: 10px;
      top: auto;
      bottom: -20px;
      transform: none;
      width: 25%;
      display: block;
      margin: 0 auto; /* Centrer l'image */
      
    }
    .testimonial .quote{
        font-size: 12px;
        margin-top: 70px;
    }
    .testimonial{
        width: 90%;
    }
  
    button.prev {
        left: 20px;
      bottom: 10px; /* Ajuster pour centrer le bouton */
    }
  
    button.next {
        left: 9px;
      bottom: 390px; /* Ajuster pour centrer le bouton */
    }
  }
  /************************************************************************************/
 
  .cta-section {
    background-color: var(--bleu);
    color: #ffffff;
    border-radius: 15px;
    margin-bottom: 40px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    max-width: 1200px;
    margin-left: 20%;
    margin-right: 10%;
    margin-bottom: 6%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden; /* To ensure the pattern does not overflow */
}

.cta-content {
    max-width: 50%;
}

.cta-content h6 {
    background-color: var(--vert);
    width: 70%;
    color: #ffffff;
    border: none;
    text-align: center;
    border-radius: 20px;
    padding: 10px 20px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
}

.cta-title {
    margin: 0 0 20px;
    line-height: 1.2;
}

.cta-text {
    text-align: left;
    margin: 0 0 20px;
    color: #fff;
}

.cta-contact {
    display: flex;
    align-items: center;
    background-color: #3E7C45;
    width: 40%;
    border-radius: 25px;
    text-decoration: none;
    padding: 10px 10px;
    font-size: 14px;
    color: #ffffff;
}

.cta-phone-icon {
    margin-right: 10px;
    font-size: 20px;
}

.cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 8%;
    height: 100%;
    width: 50%;
    background-image: url('images/Pattern.png'); /* URL of your pattern image */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    z-index: 2;
}

.pattern-box {
    background-color: #3E7C45;
    border-radius: 10px;
    margin-bottom: 200px;
    position: relative;
}

.pattern-box.large {
    width: 150px;
    height: 200px;
    z-index: 3;
}

.pattern-box.small {
    width: 100px;
    height: 100px;
    background-color: #4b8b3b;
    position: absolute;
    top: 90px;
    left: 200px;
    z-index: 1;
}
/* Responsive Styles */
@media (max-width:1300px) {
    .cta-section{
        width: 80%;
        margin-left: 10%;
    }
}
@media (max-width: 768px) {
    .cta-section {
        margin-left: 10%;
        padding: 20px;
        width: 80%;
    }
    .cta-contact {
        flex-direction: row;
        width: 70%;
        padding: 10px;
    }
    .cta-content h6{
        width: 70%;
        font-size: 10px;
    }
    .pattern-box.large {
        width: 100px;
        height: 100px;
    }
    .pattern-box.small {
        width: 70px;
        height: 70px;
        top: 40%;
        left: 60%;
    }
}

@media (max-width: 480px) {
    .cta-contact {
        flex-direction: row;
        padding: 10px;
        width: 120%;
        font-size: 10px;
    }
    .cta-content h6{
        width: 100%;
    }
    .pattern-box.large {
        width: 80px;
        height: 80px;
    }
    .pattern-box.small {
        width: 50px;
        height: 50px;
        top: 45%;
        left: 55%;
    }
}
/**********************************************************************************************/
.two{
    background-color: #ece8e8;
    margin-bottom: 10%;
    padding-bottom: 4%;
}
.articles-section {
    width: 55%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.articles-header {
    margin-bottom: 40px;
}

.articles-header h6 {
    display: inline-block;
    background-color: #3E7C45;
    color: #ffffff;
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 20px;
}

.header-title {
    font-family: 'cabin';
    margin: 0;
    margin-bottom: 1px;
}

.articles-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.article-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.article-image {
    width: 100%;
    height: auto;
}

.article-content {
    padding: 20px;
    text-align: left;
}

.article-title {
    font-size: 18px;
    margin: 10px 0;
    color: #000;
}

.article-text {
    font-size: 14px;
    color: #555;
    margin: 10px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(177, 177, 177);
}

.article-link {
    display: inline-block;
    background-color: var(--bleu);
    color: #ffffff;
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
}

.article-link:hover {
    background-color: var(--vert);
}

/* Responsive styles */
@media (max-width: 1300px){
    .articles-section{
        width: 80%;
    }

}
@media (max-width: 768px) {
    .articles-container {
        flex-direction: column;
        align-items: center;
    }

    .article-card {
        width: 80%;
    }

    .header-title {
        font-size: 28px;
    }

    .article-title {
        font-size: 16px;
    }

    .article-text {
        font-size: 12px;
    }

    .article-link {
        font-size: 12px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .articles-section{
        width: 80%;
    }
    .articles-container {
        flex-direction: column;
        align-items: center;
    }
    .header-title {
        font-size: 24px;
    }
 

    .article-title {
        font-size: 14px;
    }

    .article-text {
        font-size: 10px;
    }

    .article-link {
        font-size: 10px;
        padding: 6px 12px;
    }
}
/**********************************************************************/

.contact-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 60%;
    max-width: 1200px;
    margin: 20px auto;
    margin-bottom: 6%;
    padding: 0px;
}

.contact-info {
    flex: 1;
    max-width: 40%;
    padding: 20px;
}

.contact-info h6 {
    display: inline-block;
    background-color: var(--bleu);
    color: #ffffff;
    font-weight: 100;
    border-radius: 20px;
    padding: 5px 15px;
    margin-bottom: 20px;
}

.info-title {
    margin: 0 0 20px;
    color: var(--bleu);
}

.info-text {
    margin: 0 0 10px;
    color: #000;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon img {
    display: flex;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    margin-right: 15px;
}

.info-heading {
    font-size: 16px;
    margin: 0 0 13px;
    color: var(--bleu);
}

.info-detail {
    margin: 0;
    color: #666;
}

.contact-form {
    flex: 2;
    max-width: 50%;
    padding: 10px;
    margin-top: 80px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

.form-group input {
    flex: 1;
}

.form-group textarea {
    flex: 1 0 100%;
}

button {
    background-color: var(--bleu);
    color: #ffffff;
    border: none;
    width: auto;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--vert);
}


/* Responsive styles */
@media (max-width: 1300px){
    .contact-section{
        width: 80%;
    }
    .info-title{
        font-size: 24px;
    }

}
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 20px;
    }
    .contact-form{
        margin-top: 20px;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .info-title {
        font-size: 20px;
    }

    .info-text,
    .info-heading,
    .info-detail {
        font-size: 14px;
    }

    .info-icon img {
        width: 40px;
        height: 40px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    button {
        padding: 10px 20px;
        font-size: 12px;
    }
}
/***********************************************************************************************/

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 16px;
    max-width: 100%;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 5%;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-container label {
    cursor: pointer;
    display: inline-block;
    margin: 0;
}

.checkbox-container a {
    color: #007bff;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.checkbox-container a:focus {
    outline: 3px solid var(--bleu); /* Contour visible pour le focus */
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .checkbox-container {
        font-size: 14px;
        text-align: center;
    }
    .checkbox-container input[type="checkbox"] {
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .checkbox-container {
        font-size: 12px;
    }
    .checkbox-container input[type="checkbox"] {
        margin-right: 5px;
    }
}