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

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


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

 /* Navigation */
 nav {
  background-color: white;
  color: rgb(16, 141, 72);
  display: flex;
  width: 100%;
  height: 15vh;
  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);
}

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

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

#defiler{
  width: 330px;
  overflow: hidden;
  border: 2px solid rgb(16, 141, 72);
}
@keyframes  test1 {
   
      0%{
          transform: translateX(0);
      }
      15%{
          transform: translateX(0);
  
      }
      30%{
          transform: translateX(-330px);
      }
      45%{
          transform: translateX(-500px);
      }
  
      60%{
          transform: translateX(-750px);
      }
  
      80%{
          transform: translateX(-1050px);
  
      }
      100%{
          transform: translateX(0);

      }
      
  
  }

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



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





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;
    font-size: 3em;
  }
  .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;
}


@media (max-width: 550px) {


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




}








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









/* 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: 500px) {
 

  .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: white;
     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: #000;
     text-align: center;
 }

 .produit .contenu h1{
  color: #000;
 }




 @media (max-width: 450px) {
  .tent {
      width: 100%;
      padding: 10px;
  }
  .services p {
    font-size: 2px;
  }
}


@media (max-width: 450px) {
  .services {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  }
  .service-card {
    padding: 10px;
    min-width: 150px;
    height: auto;
  }
}

/* Écrans inférieurs à 400px */
@media (max-width: 400px) {
  .services {
    grid-template-columns: repeat(1, 1fr); /* 1 colonne */
  }
  .service-card {
    padding: 8px;
    min-width: 140px;
  }
}

/* Écrans inférieurs à 350px */
@media (max-width: 350px) {
  .services {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-card {
    padding: 5px;
    min-width: 130px;
  }
}

/* Écrans inférieurs à 300px */
@media (max-width: 300px) {
  .services {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-card {
    padding: 5px;
    min-width: 120px;
  }
}




.services {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  margin-top: 20px;
  height: 550px;
}
@media (max-width: 450px) {
  .services {
    grid-template-columns: 1fr; /* Une seule colonne pour un affichage vertical */
    height: auto; /* Laisse la hauteur s'adapter au contenu */
  }
}

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

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  display: block;
  align-items: center;
  gap: 15px;
  width: 800px;
  height: 400px;
  overflow-y: auto;
  /* 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);

}

.service-cards {
  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;
  /* 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;
}

.service-content {
  text-align: left;
  flex: 1;
}

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

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


.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: 780px) {
  .vercel {
    grid-template-columns: 1fr; /* Une seule colonne pour un affichage vertical */
    height: auto; /* Laisse la hauteur s'adapter au contenu */
  }
}

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



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



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

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

h2 {
  margin: 0;
}

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

.service-content {
  text-align: left;
  flex: 1;
}

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

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





.caroulog {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  background: #f5f5f5;
}





/* Conteneur du carrousel en flexbox */
.parimg {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* L'animation déplace la totalité du groupe d'images */
  animation: scroll 20s linear infinite;
}

/* Stylisation des images pour un affichage uniforme */
.parimg img {
  max-height: 100px;
  width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animation de défilement du carrousel */
@keyframes scroll {
  0% {
    transform: translateX();
  }
  100% {
    /* Décale de la moitié de la largeur totale (les images sont dupliquées) */
    transform: translateX(-100%);
  }
}

/* Adaptation responsive si nécessaire */
@media screen and (max-width: 600px) {
  .parimg img {
    max-height: 70px;
  }
}














.asavoir {
  padding: 40px;
  background-color: #f9f9f9;
}

.containeT {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.projet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.projet-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.projet-item:hover {
  transform: translateY(-5px);
}

.projet-item img, .projet-item video {
  width: 100%;
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.projet-item h3 {
  margin: 15px 0 10px;
  font-size: 20px;
}

.projet-item p {
  font-size: 16px;
  color: #555;
}

.projet-item span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}