@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
    z-index: 9999;
    /* font-family:'Times New Roman'; */
    font-family: "Poppins", sans-serif;
}
a{
    text-decoration: none;
    color: #000;
}
li{
    list-style: none;
}


.logo {
  position: absolute;
  top: -30px;
  z-index: 100
}
.navbar a img {
  max-width: 170px
}

.header2{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: top 0.3s ease; /* Ajoute une transition fluide sur la propriété top */
    z-index: 999;
}

.liens a{
  color: #fff;
  margin: 0 15px;
  font-size: 1.2rem;
}
  
  .liens a:hover {
    color: transparent; /* Rendre le texte transparent pour voir le dégradé */
    color: #a5c136;
    text-decoration: underline; /* Souligner le texte au survol */
  }
  /* .navbar .liens a.active{
    background: linear-gradient(45deg, rgb(220, 255, 47), rgb(139, 69, 19));
    padding: 7px 11px;
    
  } */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #000; /* Vous pouvez personnaliser la couleur du fond si nécessaire */
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1); /* Optionnel pour ajouter un peu de style */
}


  /* bouton de défilement  */
.scroll-top-button {
    position: fixed;
    bottom: 20px;
    right: -50px;
    width: 40px;
    height: 40px;
    background: #a5c136;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, right 0.3s;
    border-radius: 50%;
    font-weight: bolder;
    z-index: 1;
}
  
  .scroll-top-button:hover {
    background:rgb(144, 171, 11);
    transition: background-color 0.3s;
  }
  
  .scroll-top-button.show {
    right: 20px;
    opacity: 1;
  }

  #carouselExampleFade{
    position: relative;
    filter: brightness(35%);
    height: 700px;
  }
  #carouselExampleFade img{
    height: 700px;
  }
  #floating-text{
    position: absolute;
    top: 15%;
    left: 0; /* Alignement à gauche */
    text-align: left; /* Texte aligné à gauche */
    width: 100%;
    z-index: 1;
    color: white;
    padding-left: 20px; /* Ajoute un petit espace pour décaler le texte du bord gauche */
}
.floating-textCont{
  position: absolute;
    top: 25%;
    left: 0; /* Alignement à gauche */
    text-align: left; /* Texte aligné à gauche */
    width: 100%;
    z-index: 1;
    color: white;
    padding-left: 20px; /* Ajoute un petit espace pour décaler le texte du bord gauche */
}
.floating-textAp{
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 1;
  color: white;
}
.floating-textServ, #floating-textLombP{
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 1;
  color: white;
}
.floating-textprod{
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 1;
  color: white;
}

.pageProduit .card .card-top video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Pour remplir la zone avec la vidéo sans déformer */
  filter: brightness(70%)
}


  #floating-text h1{
    font-size: 2.6rem;
    font-weight: bolder;
    text-transform: uppercase;
    line-height: 70px;
    font-family: "Montserrat", sans-serif;
  }
  #floating-text .Microfertile{
    font-size: 3rem; /* Ajustez la taille du texte selon vos besoins */
  }
  .Microfertile, .navbar .liens a.active{
    font-weight: bold; /* Style de texte gras pour plus d'impact */
    color: #a5c136;
  }
  .MicrofertileC{
    color: #a5c136;
  }
  #floating-text p{
    font-size: 1.6rem;
  }

/* loader logo */
/* #splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    z-index: 9999;
}
#splash-screen .logo2{
    width: 200px;
} */
.logo3{
    width: 150px;
}
/* en savoir plus */
.plus {
    background: #a5c136;
    color: #fff;
    padding: 10px 20px; /* Ajout d'un padding horizontal pour une meilleure apparence */
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    display: inline-block; /* Pour que le padding fonctionne correctement */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Animation des propriétés */
}

.plus:hover {
    transform: scale(1.1); /* Agrandissement du bouton au survol */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Ombre portée pour un effet de profondeur */
}

.soustitre {
    align-items: center;
    justify-content: center; /* Centre le texte et l'icône horizontalement */
    z-index: 3;
}
.subtitle {
    margin: 20px 0; /* Espacement entre les sous-titres */
    font-weight: bold; /* Texte en gras pour plus d'impact */
    background: #a5c136;
    padding:20px;
    height: 320px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease; /* Transition pour les propriétés CSS */
    transition: all 0.4s ease; /* Transition pour les propriétés CSS */
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white; /* Couleur du texte */
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    position: relative; /* Nécessaire pour positionner les éléments enfants */
}

.subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Superposition sombre pour l'effet de survol */
    opacity: 0;
    transition: opacity 0.4s ease; /* Transition pour l'opacité */
    z-index: 1; /* Assure que le pseudo-élément est au-dessus du fond */
}

.subtitle:hover::before {
    opacity: 1; /* Augmente l'opacité lors du survol */
}

.subtitle:hover {
    background:#693d13;
    transform: scale(1.05); /* Agrandit légèrement l'élément au survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ajoute une ombre portée pour un effet de profondeur */
    z-index: 2; /* Assure que l'élément survolé est au-dessus des autres éléments */
    cursor: pointer;
}

.subtitle .descriptionSt{
    font-size: 0.8rem;
}
.subtitle i {
    margin-right: 10px; /* Espacement entre l'icône et le texte */
    color: #333; /* Couleur de l'icône */
    font-size: 2rem;
    padding-bottom: 10px;
}
.subtitle:hover i{
  color: #ced4da;
}
.soustitreT{
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* creaction */
.creaction{
    z-index: 1;
}
.creaction p, .creactionApropos p{
    text-align: justify;
}
.service i{
    font-size: 2rem;
    margin-bottom: 10px;
}

/* newsletter */
.newsletter{
    padding: 30px 0;
}
.form-control {
    border: 1px solid #ced4da; /* Couleur de bordure standard */
    border-radius: 0.25rem; /* Arrondi des coins */
  }
  .form-control:focus {
    border-color: rgb(255, 200, 0) !important;
    /* Vous pouvez personnaliser la couleur rouge selon vos préférences */
    box-shadow:none !important;
    /* Ajoutez une légère ombre rouge pour un effet de mise en évidence */
  }
 
  
  .btns {
    border: none; /* Retirer la bordure */
    color: #fff; /* Couleur du texte du bouton */
    border-radius: 0.25rem; /* Arrondi des coins */
  }
  #Newsl{
    background-color: rgb(11, 11, 11);
    height: 200px;
    border-radius: 8px;
    padding: 0 10px;
  }
  #Newsl h2{
    color: #fff;
    font-weight: 800;
  }
  
  
  /* footer */
  .social-icons {
    display: flex;
    gap: 10px; /* Espacement entre les icônes */
  }
  
  .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Largeur de l'icône */
    height: 40px; /* Hauteur de l'icône */
    border-radius: 5px; /* Bords légèrement arrondis */
    font-size: 20px; /* Taille de l'icône */
    color: #fff; /* Couleur du texte (icône) */
    background: #a5c136;
    transition: background 0.5s, color 0.5s, transform 0.5s; /* Transition pour les effets de survol */
    text-decoration: none; /* Retirer la décoration des liens */
  }
  
  .icon:hover {
    background: #a5c136;
    color: #fff; /* Couleur du texte (icône) au survol */
    transform: translateY(-8px); /* Déplace l'icône vers le haut au survol */
  }
  
  .icon.facebook {
    background: #a5c136;
  }
  
  .icon.instagram {
    background:#a5c136;
  }
  
  .icon.twitter {
    background: #a5c136;
  }
  
  .icon.youtube {
    background: #a5c136;
  }
  

  .contact-info {
    font-size: 16px; /* Taille de la police pour les informations de contact */
    color: #333; /* Couleur du texte */
  }
  
  .contact-info i {
    font-size: 20px; /* Taille des icônes */
    background: #a5c136;
    -webkit-background-clip: text; /* Clipper le fond au texte pour les navigateurs WebKit */
    color: transparent; /* Rendre la couleur de texte transparente pour voir le dégradé */
    display: inline-block; /* Assure que l'icône est traitée comme un élément en ligne avec un fond */
    padding: 0 5px; /* Espacement horizontal autour de l'icône */
  }
  footer{
    background: linear-gradient(rgba(0, 0, 0, 0.895), rgba(0, 0, 0, 0.895)),url('../image/8.jpg'), no-repeat;
    background-position:none;
    background-size: cover;
    background-position: center;
  }  


  /* Apropos de nous */
  .bannerApropos{
    background: linear-gradient(rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.733)),url('../image/17.jpg'), no-repeat;
    background-position:none;
    background-size: cover;
    background-position: center;
    height: 700px;
  }

  .creactionApropos p{
    font-size: 0.96rem;
  }
  .equipe .card {
    position: relative;
    overflow: hidden;
  }
  
  .equipe .card-img-top {
    transition: opacity 0.3s ease-in-out;
  }
  
  .equipe .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Couleur de fond semi-transparente pour la superposition */
    color: #fff;
    opacity: 0;
    transform: scale(0.95); /* Réduit légèrement la taille pour l'effet d'apparition */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .equipe .card:hover .overlay {
    opacity: 1;
    transform: scale(1); /* Réinitialise la taille pour l'effet d'apparition */
  }
  
  .equipe .social-icons {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px); /* Décale légèrement vers le bas pour l'effet d'apparition */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .equipe .card:hover .social-icons {
    opacity: 1;
    transform: translateY(0); /* Réinitialise la position pour l'effet d'apparition */
    cursor: pointer;
  }
  
  .equipe .icon {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease;
  }
  
  .equipe .icon.facebook:hover {
    color: #3b5998; /* Couleur spécifique pour Facebook au survol */
  }
  
  .equipe .icon.instagram:hover {
    color: #e4405f; /* Couleur spécifique pour Instagram au survol */
  }
  
  .equipe .icon.twitter:hover {
    color: #1da1f2; /* Couleur spécifique pour Twitter au survol */
  }
  
  .equipe .card-name {
    margin-top: 10px; /* Espace au-dessus du nom */
    opacity: 0;
    transform: translateY(20px); /* Décale légèrement vers le bas pour l'effet d'apparition */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .equipe .card:hover .card-name {
    opacity: 1;
    transform: translateY(0); /* Réinitialise la position pour l'effet d'apparition */
  }
      
  /* services */
  .bannerService{
    background: linear-gradient(rgba(0, 0, 0, 0.638), rgba(0, 0, 0, 0.638)),url('../image/agro.webp'), no-repeat;
    background-position:none;
    background-size: cover;
    background-position: center;
    height: 700px;
  }
  /* .bannerLomb{
    background: linear-gradient(rgba(0, 0, 0, 0.507), rgba(0, 0, 0, 0.507)),url('../image/23.png'), no-repeat;
    background-position:none;
    background-size: cover;
    background-position: center;
    height: 700px;
  } */
 /* lombriculture */
  .Lombricompost{
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  .LombP{
    font-size: 1.3rem;
  }
  .h5U{
    color: #fff;
    font-size: 2rem;
  }
  #PageService p{
    font-size: 1rem;

  }
  .carousels, .carousel2 {
    position: relative;
    width: 100%;
    max-width: 600px; /* Change this to your desired width */
    overflow: hidden;
}

.carousel-images, .carousel2-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-images img, .carousel2-images img {
    min-width: 100%;
}

.carousels button, .carousel2 button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

  /* contact */
  .bannerContact{
    background: linear-gradient(rgba(0, 0, 0, 0.817), rgba(0, 0, 0, 0.817)),url('../image/contact.webp'), no-repeat;
    background-position:none;
    background-size: cover;
    background-position: center;
    height: 700px;
  }

  /* produits */
  .testimonial-item {
    padding: 20px;
    box-shadow: 0 4px 8px #a5c136;
    background-color: transparent;
    border-radius: 50%;
    margin: 15px;
    width: 250px;
    height: 250px;
  }
  
  /* .testimonial-photo {
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
  } */
  
  .testimonial-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .produits p {
    font-size: 1rem;
  }
  /* prodduits */
  .bannerProduit{
    background: linear-gradient(rgba(0, 0, 0, 0.747), rgba(0, 0, 0, 0.747)),url('../image/produit/p2.jpg'), no-repeat;
    background-position: center;
    background-size: cover;
    height: 700px;
  }
  .pageProduit .card{
    border-radius: 0;
    box-shadow: 0 4px 8px #90908e;
    height: 720px;

  }
  .pageProduit .card-text{
    text-align: justify;
    padding: 13px;
  }
  .pageProduit .text-titre{
    padding-top: 13px;
  }

  /* Fond semi-transparent pour le modal */
  .pageProduit .modal.fade {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: none;
  background-color: rgba(0, 0, 0, 0.75); /* Fond noir avec une opacité élégante */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s; /* Animation douce à l'ouverture */
}

/* Animation de fade-in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pageProduit .modal-dialog-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.pageProduit .modal-content {
  background: #000;
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Douce ombre autour du modal */
  overflow: hidden;
  animation: scaleIn 0.3s ease-out; /* Animation d'agrandissement */
}

/* Animation d'apparition du modal */
@keyframes scaleIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pageProduit .modal-header {
  background-color: #000;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pageProduit .modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.pageProduit .modal-body {
  padding: 0;
}

.pageProduit .close, .close2 {
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
}

.pageProduit .close:hover {
  opacity: 1;
}

/* Bouton de lecture vidéo */
#play-video-btn,
#play-video-btn2 {
  padding: 0.75rem 1.5rem;
  background:#a5c136;
  border: none;
  color: #fff;
  border-radius: 50px; /* Coins arrondis */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Douce ombre */
  transition: background 0.3s ease, transform 0.2s ease; /* Transition douce */
  cursor: pointer; /* Curseur en forme de main */
}

#play-video-btn:hover,
#play-video-btn2:hover {
  background: #693d13;
  transform: scale(1.05); /* Légère agrandissement au survol */
}

#play-video-btn:focus,
#play-video-btn2:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.5); /* Ombre au focus */
}

#play-video-btn::before,
#play-video-btn2::before {
  margin-right: 0.5rem;
}


#google_translate_element {
      font-size: 2rem;
      margin: 10px 0;
      width: auto;
}


  /* responsivité téléphone*/
  @media (max-width:768px){
    .navbar a img {
      margin-top: 10px;
    }
    .navbar-nav{
      background: #000;
    }
    .liens a{
      text-align: center;
      padding: 20px;
      margin-bottom: 10px;
    }
    #floating-text h1{
      font-size: 1.4rem;
      line-height: 40px;
    }
    #floating-text .Microfertile{
      font-size: 2.7rem;
    }
    #carouselExampleFade img{
      object-fit: cover;
      object-position: 22%; /* Positionne l'image en haut à gauche */
    }
    .bannerService.bannerProduit{
      background-position:87%;
    }
    .bannerProduit{
      background-position: 75%;
    }
    .testimonial-item {
      margin:auto;
    }
    .subtitle{
      margin-left: 20px;
      margin-top: 0;
      width: auto;
    }
    .pageProduit .card{
      height: auto;
    }

    #floating-text{
    top: 5%;
    }
    .floating-textCont{
        top: 20%;
    }
    .floating-textAp{
      top: 15%;
    }
    .floating-textServ, #floating-textLombP{
      top: 8%;
    }
    .floating-textprod{
      top: 2%;
    }
    
  }
  
  #menu{
    color: #fff;
    font-size: 2.3rem;
  }

  /* responsivité tablet */
  @media screen and (min-width: 768px) and (max-width: 1024px){
    .navbar-nav{
      background: #000;
      z-index: 99;
    }
    .navbar{
      z-index: 99;
    }
    .navbar a{
      padding: 20px;
      margin-bottom: 10px;
      
    }
    #menu{
      font-size: 2.8rem;
    }
    .navbar a img {
      max-width: 220px;
    }
    #carouselExampleFade img, #carouselExampleFade{
      height: 800px;
    }
      #floating-text{
      top: 45%;
    }
    .creaction p, .service p, .service h6, .produits p, #PageService p, .floating-textAp p, .floating-textServ p, .floating-textprod p .creactionApropos p{
      font-size: 1.4rem;
    }
    .service h5{
      font-size: 2rem;
      padding: 10px 0;
    }
    .ServiceAcceuilIMG{
      text-align: center;
    }
    .bannerApropos, .bannerService, .bannerContact, .bannerProduit{
      height: 1000px;
    }
    .bannerProduit{
      background-position: 86%;
    }
    .AproposText{
      margin-top: 40px;
    }
    footer p{
      font-size: 1rem;
    }
    .pageProduit .card{
      height: auto;
    }
  }

  /* grand écran */
  @media screen and (min-height: 900px){
    .bannerApropos, .bannerService, .bannerContact, .bannerProduit{
      height: 1030px;
    }
    .navbar a, .MicrofertileC{
      font-size: 1.5rem;
    }
    .creactionApropos p, #PageService p, #PageService h6, .pageProduit .card-text p, .procedure li{
      font-size: 1.3rem;
    }
    .subtitle .descriptionSt{
      font-size: 1rem;
    }
    .navbar a img {
      max-width: 180px;
    }
    p{
      font-size: 1.6rem;
    }
    .service h5{
      font-size: 2rem;
    }
    .floating-text, .Microfertile{
      font-size: 2rem;
    }
    #carouselExampleFade img, #carouselExampleFade{
      height: 1030px;
    }
    .pageProduit .card{
    height: 940px;
  }
  .carousel-images img, .carousel2-images img {
    width: 100%;
}
  }