@import url('https://fonts.googleapis.com/css?family=Lato:300|Playfair+Display:900');


body, h1, h2, h3, h4, h5, h6, p, a, li {

  
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

}

body, h1, h2, h3, h4, h5, h6, a{
  font-size:  40px;
}

.form p{
  font-size: 20px;
}


body {
  margin: 0;
  width: 100%;
   font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; 
 }

 .wha {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
}



.wha img {
  width: 80px;
  height: 70px;
}

 /* Navigation */
 nav {
  background-color: white;
  color: rgb(16, 141, 72);
  display: flex;
  width: 100%;
  height: 10vh;
  justify-content: space-around;
  align-items: center;
  font-size: 1rem;
  position: fixed;
  z-index: 10;
}


nav .logo {
  display: flex;
  justify-content: center;
  align-items: center;

}

nav .logo svg {
  width: 50px;
  height: 50px;
  margin: 1rem 1rem 1rem 0.5rem;
}

nav .logo p {
  font-size: clamp(1rem, 0.8vw + 0.5rem, 2rem);
  ;
}

nav ul {
  color: black;
  width: 50%;
  margin-left: auto;
  display: flex;
  justify-content: space-around;
  align-self: center;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: rgb(16, 141, 72);
  font-size: 20px;
}

nav ul li a:hover {
  /* color: var(--primary-bg-color); */
  color: rgb(16, 141, 72);}

nav .hamburger {
  cursor: pointer;
  display: none;
}

nav .hamburger .line {
  background-color: rgb(16, 141, 72);
  width: 30px;
  height: 4px;
  margin: 5px;
}

nav .mode {
  background: transparent;
  border: none;
  display: block;
  margin: auto 0.5rem;
  cursor: pointer;
}

nav .mode svg {
  color: rgb(16, 141, 72);}

nav ul.open {
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}

.btn1 {
  font-size: 1em;
  color: #fff;
  background: rgb(16, 141, 72);
  padding: 5px 5px;
  font-display: inline-block;
  margin-top: 50px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.5s;
  margin-left: 10px;
  margin-left: 40%;
  align-items: center;
  text-align: center;
}


/* Le carrousel prend tout l'écran zone espase du carou*/
.carous{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0vh;
  top: 50px;
  margin-top: 50px;
  
  
  }

/* Conteneur d'animation hauteur */
.ani{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150vh;


}

/* Zone de défilement  largeur*/
#defiler{
  width: auto;
  overflow: hidden;
  border: 2px solid rgb(16, 141, 72);
}
/* Bande d'images en mouvement effet temp d'anima */
.fil{
  display: flex;
  height: 100vh;
  width: 100%;
  animation-duration: 20s;
  animation-name: test1;
  animation-iteration-count: infinite;
}

/* Style des images postion des image*/
.fil img {
  width:auto; /* Chaque image prend toute la largeur de l'écran */
  height: 100%; /* Chaque image prend toute la hauteur de l'écran */
  object-fit: cover; /* Évite la déformation des images */
}

/* Animation de défilement */
@keyframes defilement {
  0% { transform: translateX(0); }
  13.33% { transform: translateX(0); }
  16.66% { transform: translateX(-100vw); }
  
  16.66% { transform: translateX(-100vw); }
  30% { transform: translateX(-100vw); }
  33.33% { transform: translateX(-200vw); }
  
  33.33% { transform: translateX(-200vw); }
  46.66% { transform: translateX(-200vw); }
  50% { transform: translateX(-300vw); }
  
  50% { transform: translateX(-300vw); }
  63.33% { transform: translateX(-300vw); }
  66.66% { transform: translateX(-400vw); }
  
  66.66% { transform: translateX(0); }
  80% { transform: translateX(-0); }
  83.33% { transform: translateX(0); }
  
  83.33% { transform: translateX(0); }
  96.66% { transform: translateX(0); }
  100% { transform: translateX(0); }
}     





















.carous{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0vh;
  top: 50px;
  margin-top: 50px;
  
  
  }

/* Conteneur d'animation hauteur */
.Tani{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150vh;


}

/* Zone de défilement  largeur*/
#defiler{
  width: auto;
  overflow: hidden;
  border: 2px solid rgb(16, 141, 72);
}
/* Bande d'images en mouvement effet temp d'anima */
.fil{
  display: flex;
  height: 100vh;
  width: 100%;
  animation-duration: 20s;
  animation-name: test1;
  animation-iteration-count: infinite;
}

/* Style des images postion des image*/
.fil img {
  width:auto; /* Chaque image prend toute la largeur de l'écran */
  height: 100%; /* Chaque image prend toute la hauteur de l'écran */
  object-fit: cover; /* Évite la déformation des images */
}

/* Animation de défilement */
@keyframes defilement {
  0% { transform: translateX(0); }
  13.33% { transform: translateX(0); }
  16.66% { transform: translateX(-100vw); }
  
  16.66% { transform: translateX(-100vw); }
  30% { transform: translateX(-100vw); }
  33.33% { transform: translateX(-200vw); }
  
  33.33% { transform: translateX(-200vw); }
  46.66% { transform: translateX(-200vw); }
  50% { transform: translateX(-300vw); }
  
  50% { transform: translateX(-300vw); }
  63.33% { transform: translateX(-300vw); }
  66.66% { transform: translateX(-400vw); }
  
  66.66% { transform: translateX(0); }
  80% { transform: translateX(-0); }
  83.33% { transform: translateX(0); }
  
  83.33% { transform: translateX(0); }
  96.66% { transform: translateX(0); }
  100% { transform: translateX(0); }
}   










h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dd, small {
  margin: 0;
  padding: 0; }


h1 {
 
  color: rgba(255, 255, 255, 0.8);

  font-weight: 700;
  text-rendering: optimizeLegibility;
  line-height: 1.2; }
  


p {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; 
  
}

footer p{
  font-size: 15px;

}

a {
  color: rgb(16, 141, 72);
  -webkit-transition: color 0.7s ease;
  -moz-transition: color 0.7s ease;
  transition: color 0.7s ease; }

  a {
    background-color: transparent;
    outline: 0;
    text-decoration: none; }
  






.sect-banner {
  display: table;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  height: 100vh;
  color: rgba(255, 255, 255, 0.9);
  }
  .sect-banner h1{
    color: white;
  }
  .sect-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(118, 144, 164, 0.4);
    z-index: 0; }
  .sect-banner .v-center {
    position: relative;
    z-index: 2; }
    
  .sect-banner .v-center {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 4;
    padding: 0 5%; }
    .sect-banner .v-center h1 {
      -webkit-animation: fade-in ease-in-out 2s 0.5s both;
      -moz-animation: fade-in ease-in-out 2s 0.5s both;
      animation: fade-in ease-in-out 2s 0.5s both; }
    .sect-banner .v-center p {
      font-size: 120%;
      -webkit-animation: fade-in ease-in-out 2s 1s both;
      -moz-animation: fade-in ease-in-out 2s 1s both;
      animation: fade-in ease-in-out 2s 1s both; }
  .sect-banner ul.kf-slider li {
    height: 100% !important;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    opacity: 0;
    -webkit-animation: fade-out 12s infinite both;
    -moz-animation: fade-out 12s infinite both;
    animation: fade-out 12s infinite both;
    background-image: url(../images/a1.jpeg); }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li {
        background-image: url(../images/a1.jpeg); } }
  .sect-banner ul.kf-slider li:nth-child(2) {
    background-image: url(../images/a3.jpeg);
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    animation-delay: 3s; }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li:nth-child(2) {
        background-image: url(../images/a3.jpeg); } }
        .sect-banner ul.kf-slider li:nth-child(3) {
          background-image: url(../images/a4.jpeg);
          -webkit-animation-delay: 6s;
          -moz-animation-delay: 6s;
          animation-delay: 6s; }
          @media (min-width: 58em) {
            .sect-banner ul.kf-slider li:nth-child(3) {
              background-image: url(../images/a4.jpeg); } }
  .sect-banner ul.kf-slider li:nth-child(4) {
    background-image: url(../images/a5.jpeg);
    -webkit-animation-delay: 9s;
    -moz-animation-delay: 9s;
    animation-delay: 9s; }
    @media (min-width: 58em) {
      .sect-banner ul.kf-slider li:nth-child(4) {
        background-image: url(../images/a5.jpeg); } }
      
  .sect-banner .banner-bg {
    height: 100% !important;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    background-image: url(../images/a1.jpeg);
    -webkit-animation: slider-sm ease-in-out 30s both infinite;
    -moz-animation: slider-sm ease-in-out 30s both infinite;
    animation: slider-sm ease-in-out 30s both infinite; }
    @media (min-width: 58em) {
      .sect-banner .banner-bg {
        background-image: url(../images/a2.jpeg);
        -webkit-animation: slider-lg ease-in-out 30s both infinite;
        -moz-animation: slider-lg ease-in-out 30s both infinite;
        animation: slider-lg ease-in-out 30s both infinite; } }

        @media(max-width:400px){

        }


footer {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  position: fixed;
  z-index: 8;
  bottom: 1em; }

  

@-webkit-keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@-moz-keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/*----------------------------------------------   
--Fade out for slider
-----------------------------------------------  */
@-webkit-keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
@-moz-keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
@keyframes fade-out {
  33% {
    opacity: 1; }
  66% {
    opacity: 0; } }
/*----------------------------------------------   
--Keyframes Slider - Sm
-----------------------------------------------  */
@-webkit-keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@-moz-keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% { 
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@keyframes slider-sm {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
/*----------------------------------------------   
--Keyframes Slider - Lg
-----------------------------------------------  */
@-webkit-keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@-moz-keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }
@keyframes slider-lg {
  0% {
    background-image: url(../images/slide1.jpg); }
  33% {
    background-image: url(../images/property5.jpg); }
  66% {
    background-image: url(../images/portfolio7.jpg); }
  100% {
    background-image: url(../images/slide1.jpg); } }

    @media(max-width:550px){

      .sect-banner ul.kf-slider li{
        background-size: 540px 700px
       }
      }
      


    @media(max-width:500px){

      .sect-banner ul.kf-slider li{
        background-size: 500px 700px
       }
      }
      

    @media(max-width:440px){

      .sect-banner ul.kf-slider li{
        background-size: 440px 700px
       }
      }

      @media(max-width:430px){

        .sect-banner ul.kf-slider li{
          background-size: 430px 700px
         }
        }
        
      
      @media(max-width:400px){

        .sect-banner ul.kf-slider li{
          background-size: 400px 700px
         }
         .sect-banner h1{
          font-size: 2em;
         }
        }
        
        @media(max-width:330px){

          .sect-banner ul.kf-slider li{
            background-size: 330px 700px
           }
           
          }

          @media(max-width:300px){

            .sect-banner ul.kf-slider li{
              background-size: 300px 700px
             }
            }
            
          

    
.logo{
  width:150px;
  height:8vh;
}






/* Info links */

.infolink {
  background-color: var(--primary-bg-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem;
}

/* Company info */
.infolink .intro .logo {
  color: rgb(16, 141, 72);
  display: flex;
  align-items: center;
}

.infolink .intro .logo .logotext {
  margin: 1rem;
}

.logotext h1 {
  font-size: 25px;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: rgb(16, 141, 72);
}

.logotext p {
  font-size: 3;
  text-transform: uppercase;
  color: var(--dark-bg-color);
}



.intro .social img {
  width: 30px;


}


/* Links */
.infolink .links {
  display: flex;
  justify-content: space-between;
}

.links ul h3 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.links ul li {
  list-style: none;
  margin: 2rem 0;
}

.links ul li a {
  text-decoration: none;
  color: rgb(16, 141, 72);
  font-size: 0.9rem;
}

.links ul li a:hover {
  color: rgb(16, 141, 72);
}






/* Contact summary */
.contactSummary h3 {
  margin-bottom: 2rem;
}

.contactSummary .contact-info .icon-container {
  margin: 2rem 0;
}

.contactSummary .contact-info .icon-container p{
  font-size: 0.9rem;
}

.contactSummary .contact-info .icon-container svg {
  margin-right: 2rem;
}

/* Footer */
footer {
  background-color: var(--secondary-bg-color);
  padding: 1.7rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.motto {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 2.5rem 0;
}



@media (max-width: 600px) {


  .infolink {
    grid-template-columns: 1fr;
  }

 


    nav{
      height: 12vh;
      position: fixed;
    }
    nav ul {
      position: absolute;
      top: 0;
      background-color: rgba(0, 0, 0, 0.7);
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 50vh;
      clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
      transition: all 1s ease-out;
    }
  
    nav .hamburger {
      display: block;
      z-index: 200;
      /* position: absolute;
      top: 50%;
      right: 5%;
      transform: translate(-5%, -50%); */
      cursor: pointer;
    }




}







@media (max-width: 2000px) {


  @keyframes  test1 {
   
    0%{
        transform: translateX(0);
    }
    15%{
        transform: translateX(0);

    }
    30%{
        transform: translateX(-330px);
    }
    45%{
        transform: translateX(-700px);
    }

    60%{
        transform: translateX(-1100px);
    }

    80%{
        transform: translateX(0);

    }
    100%{
        transform: translateX(0);

    } 
   }


  


}



/* Section de la newsletter */
.mailapi {
  background-color: #f9f9f9; /* Fond clair */
  padding: 40px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mailapi .form {
  max-width: 600px;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.mailapi h1 {
  font-size: 1.8rem;
  color: rgb(16, 141, 72);
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.mailapi form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mailapi input,
.mailapi textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.mailapi input:focus,
.mailapi textarea:focus {
  border-color: #007BFF;
}

.mailapi button {
  background-color: rgb(16, 141, 72);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mailapi button:hover {
  background-color: rgb(16, 141, 72);
}

/* Icônes de contact */
.mailapi a img {
  margin: 10px;
  transition: transform 0.3s ease;
}

.mailapi a img:hover {
  transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .mailapi {
      padding: 20px 10px;
  }

  .mailapi h1 {
      font-size: 1.5rem;
  }

  .mailapi input,
  .mailapi textarea {
      font-size: 0.9rem;
  }

  .mailapi button {
      font-size: 0.9rem;
      padding: 8px 12px;
  }

  .mailapi a img {
      width: 40px; /* Réduit la taille des icônes sur les petits écrans */
  }
}

@media (max-width: 480px) {
  .mailapi h1 {
      font-size: 1.2rem;
  }

  .mailapi form {
      gap: 10px;
  }
}















@media (max-width: 520px) {

  



  .fil{
    display: flex;
    height: 55vh;
    animation-duration: 20s;
    animation-name: test1;
    animation-iteration-count: infinite;
  }

  #defiler{
    width: 20px;
    overflow: hidden;
    border: 2px solid rgb(16, 141, 72);
  }


  .ani{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
  }
 

  .btn1 {
    margin-left: 10%;
  }

  .infolink .intro .logo svg {
    width: 70px;
    height: 70px;
  }

  .infolink .links {
    min-width: 140px;
    flex-wrap: wrap;
  }

  nav .logo svg {
    width: 50px;
    height: 50px;
    margin: 1rem 1rem 1rem 0rem;
    

  }

  @keyframes  test1 {
   
    0%{
        transform: translateX(0);
    }
    15%{
        transform: translateX(0);

    }
    30%{
        transform: translateX(-300px);
    }
    45%{
        transform: translateX(-600px);
    }

    60%{
        transform: translateX(-900px);
    }

    80%{
        transform: translateX(-1200px);

    }
    100%{
        transform: translateX(0);

    }
    


}


}




.darkmode {
  --primary-bg-color: #000;
  --dark-bg-color: #fff;
  --secondary-color: rgb(16, 141, 72);
  --secondary-bg-color: #0c0c0c;
  --tertiary-bg-color: #000a16;
  --primary-btn-color: rgb(16, 141, 72);
  --offwhite: #fff;
  --glasseffect: rgba(15, 15, 15, 0.8);
  color: #000 ;
  color: #fff;
  color: rgb(16, 141, 72);
}



.produit .contenu .box .text{
  text-align: center;
  font-weight: 300px;
  color: #fff;
  text-transform: uppercase;
}

.produit .contenu .box .text h3{
  font-weight: 300;
}


span{
  color: rgb(16, 141, 72);
     
 }
 
 /*partie produit*/
 
 .titre{
     display: flex;
     width: 100%;
     justify-content: center;
     align-items: center;
     flex-direction: column;
 
 }
 
 .produit .contenu{
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     margin-top: 40px;
     background-color: rgb(16, 141, 72);
     background-size: cover;
 }
 
 .produit .contenu .box{
     width: 300px;
     margin: 10px;
     border: 20px solid #fff; 
     box-shadow: 20px 25px 10px rgba(0, 0, 0, 0.8);
 }
 
 .produit .contenu .box .imbox{
     position: relative;
     width: 100%;
     height: 300px;
 }
 
 .produit .contenu .box .imbox img{
     position: relative;
     top: 0;
     left: 0;
     width: 100%;
     height: 300px;
     object-fit: cover;
 }
 
 .produit .contenu .dr{
     color: white;
     text-align: center;
 }



 .services {
  padding: 20px;
  /* Ajout du grid pour 3 colonnes */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  gap: 20px; /* Espace entre les cartes */
}

@media (max-width: 780px) {
  .services {
    grid-template-columns: 1fr; /* Une seule colonne pour un affichage vertical */
    height: auto; /* Laisse la hauteur s'adapter au contenu */
  }
}

.services h2 {
  color: rgb(16, 141, 72);
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
}

.services-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: auto;  
  min-width: 200px; 
  max-width: 500px;
  height: 300px;
  /* Retire le margin: 20px auto pour éviter le centrage et respecter le grid */
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-container1 {
  background-color: rgb(16, 141, 72);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
}


.elh {
  display: flex;
  justify-content: center;
  align-items: center;
} 

h2 {
  margin: 0;
}

.services .icon {
  font-size: 24px;
  color: white;
}


.services h3 {
  color: #000;
  font-size: 20px;
  margin: 0;
}

.services p {
  color: #000; 
  font-size: 14px;
  line-height: 1.5;
}



@media (max-width: 300px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 300px;
  }
  .fil {
    width: calc(300px * 6 * 2);
    animation: defilement300 60s linear infinite;
  }
  .fil img {
    height: 180px; /* Ajustez la hauteur si nécessaire */
  }
  @keyframes defilement300 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-300px); }
    
    16.66% { transform: translateX(-300px); }
    30% { transform: translateX(-300px); }
    33.33% { transform: translateX(-600px); }
    
    33.33% { transform: translateX(-600px); }
    46.66% { transform: translateX(-600px); }
    50% { transform: translateX(-900px); }
    
    50% { transform: translateX(-900px); }
    63.33% { transform: translateX(-900px); }
    66.66% { transform: translateX(-1200px); }
    
    66.66% { transform: translateX(-1200px); }
    80% { transform: translateX(-1200px); }
    83.33% { transform: translateX(-1500px); }
    
    83.33% { transform: translateX(-1500px); }
    96.66% { transform: translateX(-1500px); }
    100% { transform: translateX(-1500px); }
  }
}

/* Pour les écrans de 301px à 350px */
@media (min-width: 301px) and (max-width: 350px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 350px;
  }
  .fil {
    width: calc(350px * 6 * 2);
    animation: defilement350 60s linear infinite;
  }
  .fil img {
    height: 350px; /* Exemple : 60% de 350px */
  }
  @keyframes defilement350 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-350px); }
    
    16.66% { transform: translateX(-350px); }
    30% { transform: translateX(-350px); }
    33.33% { transform: translateX(-700px); }
    
    33.33% { transform: translateX(-700px); }
    46.66% { transform: translateX(-700px); }
    50% { transform: translateX(-1050px); }
    
    50% { transform: translateX(-1050px); }
    63.33% { transform: translateX(-1050px); }
    66.66% { transform: translateX(-1400px); }
    
    66.66% { transform: translateX(-1400px); }
    80% { transform: translateX(-1400px); }
    83.33% { transform: translateX(-1750px); }
    
    83.33% { transform: translateX(-1750px); }
    96.66% { transform: translateX(-1750px); }
    100% { transform: translateX(-1750px); }
  }
}

/* Pour les écrans de 351px à 400px */
@media (min-width: 351px) and (max-width: 400px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 400px;
  }
  .fil {
    width: calc(400px * 6 * 2);
    animation: defilement400 60s linear infinite;
  }
  .fil img {
    height: 400px;
  }
  @keyframes defilement400 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-400px); }
    
    16.66% { transform: translateX(-400px); }
    30% { transform: translateX(-400px); }
    33.33% { transform: translateX(-800px); }
    
    33.33% { transform: translateX(-800px); }
    46.66% { transform: translateX(-800px); }
    50% { transform: translateX(-1200px); }
    
    50% { transform: translateX(-1200px); }
    63.33% { transform: translateX(-1200px); }
    66.66% { transform: translateX(-1600px); }
    
    66.66% { transform: translateX(-1600px); }
    80% { transform: translateX(-1600px); }
    83.33% { transform: translateX(-2000px); }
    
    83.33% { transform: translateX(-2000px); }
    96.66% { transform: translateX(-2000px); }
    100% { transform: translateX(-2000px); }
  }
}

/* Pour les écrans de 401px à 450px */
@media (min-width: 401px) and (max-width: 450px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 450px;
  }
  .fil {
    width: calc(450px * 6 * 2);
    animation: defilement450 60s linear infinite;
  }
  .fil img {
    height: 450px;
  }
  @keyframes defilement450 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-450px); }
    
    16.66% { transform: translateX(-450px); }
    30% { transform: translateX(-450px); }
    33.33% { transform: translateX(-900px); }
    
    33.33% { transform: translateX(-900px); }
    46.66% { transform: translateX(-900px); }
    50% { transform: translateX(-1350px); }
    
    50% { transform: translateX(-1350px); }
    63.33% { transform: translateX(-1350px); }
    66.66% { transform: translateX(-1800px); }
    
    66.66% { transform: translateX(-1800px); }
    80% { transform: translateX(-1800px); }
    83.33% { transform: translateX(-2250px); }
    
    83.33% { transform: translateX(-2250px); }
    96.66% { transform: translateX(-2250px); }
    100% { transform: translateX(-2250px); }
  }
}

/* Pour les écrans de 451px à 500px */
@media (min-width: 451px) and (max-width: 500px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 500px;
  }
  .fil {
    width: calc(500px * 6 * 2);
    animation: defilement500 60s linear infinite;
  }
  .fil img {
    height: 300px;
  }
  @keyframes defilement500 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-500px); }
    
    16.66% { transform: translateX(-500px); }
    30% { transform: translateX(-500px); }
    33.33% { transform: translateX(-1000px); }
    
    33.33% { transform: translateX(-1000px); }
    46.66% { transform: translateX(-1000px); }
    50% { transform: translateX(-1500px); }
    
    50% { transform: translateX(-1500px); }
    63.33% { transform: translateX(-1500px); }
    66.66% { transform: translateX(-2000px); }
    
    66.66% { transform: translateX(-2000px); }
    80% { transform: translateX(-2000px); }
    83.33% { transform: translateX(-2500px); }
    
    83.33% { transform: translateX(-2500px); }
    96.66% { transform: translateX(-2500px); }
    100% { transform: translateX(-2500px); }
  }
}

/* Pour les écrans de 501px à 600px */
@media (min-width: 501px) and (max-width: 600px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 600px;
  }
  .fil {
    width: calc(600px * 6 * 2);
    animation: defilement600 60s linear infinite;
  }
  .fil img {
    height: 360px;
  }
  @keyframes defilement600 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-600px); }
    
    16.66% { transform: translateX(-600px); }
    30% { transform: translateX(-600px); }
    33.33% { transform: translateX(-1200px); }
    
    33.33% { transform: translateX(-1200px); }
    46.66% { transform: translateX(-1200px); }
    50% { transform: translateX(-1800px); }
    
    50% { transform: translateX(-1800px); }
    63.33% { transform: translateX(-1800px); }
    66.66% { transform: translateX(-2400px); }
    
    66.66% { transform: translateX(-2400px); }
    80% { transform: translateX(-2400px); }
    83.33% { transform: translateX(-3000px); }
    
    83.33% { transform: translateX(-3000px); }
    96.66% { transform: translateX(-3000px); }
    100% { transform: translateX(-3000px); }
  }
}

/* Pour les écrans de 2001px à 10000px */
@media (min-width: 2001px) and (max-width: 10000px) {
  .carou,
  .ani,
  #defiler,
  .fil,
  .fil img {
    width: 10000px;
  }
  .fil {
    width: calc(10000px * 6 * 2);
    animation: defilement10000 60s linear infinite;
  }
  .fil img {
    height: 9000px;
  }
  @keyframes defilement10000 {
    0% { transform: translateX(0); }
    13.33% { transform: translateX(0); }
    16.66% { transform: translateX(-10000px); }
    
    16.66% { transform: translateX(-10000px); }
    30% { transform: translateX(-10000px); }
    33.33% { transform: translateX(-20000px); }
    
    33.33% { transform: translateX(-20000px); }
    46.66% { transform: translateX(-20000px); }
    50% { transform: translateX(-30000px); }
    
    50% { transform: translateX(-30000px); }
    63.33% { transform: translateX(-30000px); }
    66.66% { transform: translateX(-40000px); }
    
    66.66% { transform: translateX(-40000px); }
    80% { transform: translateX(-40000px); }
    83.33% { transform: translateX(-50000px); }
    
    83.33% { transform: translateX(-50000px); }
    96.66% { transform: translateX(-50000px); }
    100% { transform: translateX(-50000px); }
  }
}


/* .other {
  padding: 20px;
  height: auto;
  max-height: 100px; /* Ajuste cette valeur selon tes besoins
  overflow-y: auto;
} 
   */



   .faq-section {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}
.faq-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #0d0d0d;
}
.faq-section h3 {
    font-size: 20px;
    color: rgb(16, 141, 72);
    font-weight: bold;
}
.faq-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 350px;
    text-align: left;
}
.faq-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #0d0d0d;
}
.faq-item .meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: gray;
    margin-top: 10px;
}
.faq-item .meta span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.faq-item .meta span img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}
.badge {
    display: inline-block;
    background-color: white;
    color: rgb(16, 141, 72);
    border: 1px solid rgb(16, 141, 72);
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}




.service-cards {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 600px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* centrer verticalement avec un petit hack si nécessaire */
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .service-cards {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 700px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

   position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }


  .service-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 700px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

   position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }
}



@media (max-width: 720px) {
  .service-cards {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 400px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }






   .service-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 400px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }
}







@media (max-width: 500px) {
  .service-cards {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 300px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }




  .service-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 300px;
  height: 400px;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  position: relative;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);

  }
}


.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: auto;
  min-width: 200px;
  max-width: 500px;
  height: 500px;
  overflow-y: auto;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}




.vercel {
  padding: 20px;
  /* Ajout du grid pour 3 colonnes */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  gap: 20px; /* Espace entre les cartes */
}


@media (max-width: 680px) {
  .vercel {
    grid-template-columns: 1fr; /* 1 colonne */
  }
}


.elh {
  display: flex;
  justify-content: center;
  align-items: center;
} 




.vercel h3 {
  color: #000;
  font-size: 20px;
  margin: 0;
}

.vercel p {
  color: #000;
  font-size: 16px;

  
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
}








/* Section globale */
.partenariat-section {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f8f8f8, #eaeaea);
  text-align: center;
}

/* Titre de la section */
.partenariat-section h2 {
  font-size: 2rem;
  color: #0a0a0a;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Conteneur des cartes */
.partenariats-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Carte individuelle */
.partenariat-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  max-width: 300px;
  animation: fadeInUp 1s ease forwards;
}

/* Image de la carte */
.partenariat-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Titre des cartes */
.partenariat-card h3 {
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  background: rgb(16, 141, 72);
  margin: 0;
}

/* Animation au survol */
.partenariat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partenariat-card:hover img {
  transform: scale(1.1);
}

/* Effet d’apparition au chargement */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
