
/* :root{
    --transition : all 0.3 ease;
    --dark-text: #333333;
}


  *{margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana,
    sans-serif;
    }
     body, html {
    height: 100%;
    overflow-x: hidden;
    background-color: #f9fafb;
  
   } */

 .section {
  
 position: relative;
  margin-bottom: 50px; 
  padding: 10px 2px;
  margin: 0 auto;

  } 



/* section apropos */

  .description {
    width: 60%;
    margin: 0 auto 1rem auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.propos-content{
    display: flex;
    gap: 5%;
  
    font-size: 1.1rem;
    align-items: center;
   
}
.propos-img {
   height:400px;
   width:500px;
    overflow: hidden;

}
.propos-content ul {
    padding-left: 5%;
    margin-top: 1%;
    
    
}
.propos-citation {
    background-color: rgb(241, 245, 242);
    border-radius: 10px;
    border-left: 2px solid green;
    width: 900px;
    margin-left: 50px;
    padding: 20px;

}

.animated-box {
    transform: translateY(50px) scale(0.95);
    animation: appear 1.2s forwards ease-out;
}
.delay-1 {
    animation-delay: 0.4s;
}
.delay-2 {
    animation-delay: 0.8s;
}

@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Responsive */
/* 📲 mobile */
@media (max-width: 768px) {

    .propos-content {
        flex-direction: column;

    }
     .description {
     text-align: center;
    font-size: 0.9rem;
    width: 95%;
   
   
}
   .container-propos p { 
font-size: 0.9rem;
}
.propos-content ul li {
   font-size: 0.8rem;  
}
 .propos-img {

      width: 300px;
      height: 200px;       
       margin-left: 5%;
}


/*section generale*/
h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
  }

 
}


/* 📲 Tablette (Galaxy Tab, iPad...) */
@media (min-width: 768px) and (max-width: 1024px ) {
    .propos-content {
        flex-direction: column;
    }
    .propos-img {
      height: 300px;
      width: 400px;
       padding-left: 5%;
       margin-left: 20%;

       
}
  .description {
     text-align: center;
    font-size: 1rem;
    width: 90%;
   
}
  .container-propos p { 
font-size: 1rem;
}
.propos-content ul li {
   font-size: 0.9rem;  
}
}


/* section objectifs */


.objectifs {
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.objectifs h2 {
  font-size: 36px;
  font-weight: bold;
  
  margin-bottom: 40px;
}

.objectifs-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 3rem;
}

.objectifs-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  width: 350px;
  max-width: 90%;
  transition: transform 0.3s ease;

}

.objectifs-card ul {
  text-align: justify;

}
.objectifs-card  li{
  list-style-type: circle;
  margin-bottom: 20px;

}

.objectifs-card:hover {
  transform: translateY(-5px);
}

.icon-circle-objectifs {
  background-color: #d1fae5;
  color: #064e3b;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.objectifs-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0f2a22;
}

.objectifs-card p {
  font-size: 16px;
  line-height: 1.5;
}

  .stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 60px 20px;
    flex-wrap: wrap;
   
  }

  .stat {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f5f5f5;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
  }

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

  .number {
    font-size: 36px;
    font-weight: bold;
    color: #388E3C;
    margin-bottom: 10px;
  }

  .label {
    font-size: 16px;
    color: #333;
  }

@media (max-width: 768px) {
  .cards, .stats {
   
    align-items: center;
  }
  .stats {
  gap: 50px;
   display: flex;

  justify-content: center;
  
}

.stat .number {
  font-size: 25px;
  font-weight: bold;
  color: #14532d;
}
}


.features-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      
      gap: 40px;
    }

    .feature-card {
      width: 250px;
      text-align: center;
      padding: 20px;
      border-radius: 10px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      background-color: white;
      position: relative;
    }

    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
      font-size: 50px;
      color: #4CAF50;
      margin-bottom: 20px;
      transition: color 0.3s ease;
    }

    .feature-card:hover .feature-icon {
      color: #388E3C;
    }

    .feature-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
    }

    .feature-text {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      max-height: 100px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
    }

    .read-more {
      margin-top: 10px;
      font-size: 13px;
      color: #4CAF50;
      cursor: pointer;
      display: none;
    }

    .feature-card.expanded .feature-text {
      max-height: none;
      -webkit-line-clamp: unset;
    }

    .feature-card.expanded .read-more {
      color: #d32f2f;
    }

    .feature-card.show-more .read-more {
      display: inline-block;
    }

    @media screen and (max-width: 1024px) {
      .feature-card {
        width: 45%;
      }
    }

    @media screen and (max-width: 600px) {
      .feature-card {
        width: 100%;
      }
    }

/* section domaine intervention */
 
.interventions{
  text-align: center;
  padding-top: 10px;
  justify-items: center;

 
}
.intervention-content{
  display: flex;
  gap: 20px;
  margin: 30px;
 

}

.intervention-text {
  max-width: 100%;
  display: flex;
    text-align: justify;
    font-size: 1.1rem;
    gap: 30px;

    margin-bottom: 10px;
   

}

.intervention-zone{
  
 text-align: center;
 width: 800px;
  flex-direction: column;
 
  font-size: 1.1rem;
  line-height: 1.8;


  
}
.zone-description {
  text-align: center;
  padding: 10px;
}
 
.domaine—intervention{
  border: 1px solid white;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;

  
}

/* 📱 Téléphones (moins de 768px) */
@media screen and (max-width: 767px) {
  h3 {
    font-size: 1rem; /* plus petit sur mobile (~19px) */
  }
  .intervention-content,
  .intervention-text {
    flex-direction: column;
    margin: 10px;
    gap: 10px;
    font-size: 0.9rem !important;
  }

  .intervention-zone {
    width: 100%;
    padding: 10px;
    text-align: left;
    font-size: 0.9rem !important;
  }

  .domaine—intervention {
    width: 100%;
    margin-bottom: 15px;
  }

  .texte-tronque {
    font-size: 1rem !important;
    padding: 0 10px;
    text-align: left;
  }
  .texte-tronque h3{
font-size: 1rem !important;
  }

  .zone-description {
    padding: 5px;

  }
}

/* 📲 Tablettes (entre 768px et 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .intervention-content,
  .intervention-text {
    flex-direction: column;
    gap: 20px;
    margin: 20px;
  }

  .intervention-zone {
    width: 100%;
    padding: 10px 20px;
    text-align: left;
  }

  .domaine—intervention {
    width: 100%;
    margin-bottom: 20px;
  }

  .texte-tronque {
    font-size: 1.05rem;
    padding: 0 15px;
    text-align: left;
  }
}

/* section organigramme */

.organigramme{
  text-align: center;
  padding-top:  20px;
}
.organigramme-content{
  display: flex;
  gap: 10%;
   margin: 0 auto 20px;
   padding: 8rem;

}

.organigramme-text {
  max-width: 850px;
    
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;


}

.organigramme-img {
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
}
.organigramme h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}
/* Responsive */
@media (max-width: 768px) {
    .organigramme-content {
        flex-direction: column;
         align-items: center;
          max-width: 100%;
    }
    .organigramme-content p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-top: 10px;
   }
   .organigramme-img {
   width: 350px;
   height: 250px;
  padding: 5px;
  margin:5px;

}
}

/* 📲 Tablettes (entre 768px et 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
 
  .organigramme-content {
        flex-direction: column;
        align-items: center;
    }
    .organigramme-content p {
  
    margin-bottom: 5px;
    padding-top: 10px;
   }
}


/* section projets   recents */


.project {
 
 max-width: 1200px;
  margin: auto;
  padding: 1rem;
  
}

.project p {
  max-width: 700px;
    margin: 0 auto 1rem auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
  
    margin-bottom: 10px;

}

.btn-projects {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #006400, rgba(99, 142, 101, 0.7)); /* Vert dégradé */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 100, 0, 0.3);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-projets:hover {
  background: linear-gradient(135deg, #228B22, #32CD32); /* Vert plus clair */
  box-shadow: 0 6px 15px rgba(0, 100, 0, 0.4);
  transform: translateY(-2px);
}
.projects h2{
  font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;

}

.bg-opacity-55 {
  background-color: rgba(0, 0, 0, 0.55); /* noir avec 55% d'opacité */
}

.project-grid {
  display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;

  }
   .project-card {
/*   border-radius: 20%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  height: 250px;
  padding: 1rem; */
       box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
  
  } 
  .project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
   .project-info {
  padding: 5px;
  background-color: white;
  font-size: 14px;
 text-align: center;
 margin-top: 5%;
 display: flex;
 flex-direction: column;
  } 
 
.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: rgb(165, 55, 55);
}

.read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

  
  .btnn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: green;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    width: 150px ;
    }

    .btnn:hover {
      background-color: green;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(49, 228, 46, 0.6);
      } 
      .btnn:active {
      transform: translateY(-1px);
      }
       .btnn-outline {
      background-color: transparent;
      border: 2px solid green;
      color: green;
      box-shadow: none;
      } 
      .btnn-outline:hover {
      background-color: green;
      color: white;
      } 

      .highlighted {
  background-color: #e6f4ff; /* Fond bleu clair */
  border: 2px solid #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  transition: all 0.4s ease;
}
@keyframes highlightFlash {
  0% {
    box-shadow: 0 0 0 rgba(13, 110, 253, 0.0);
  }
  50% {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(13, 110, 253, 0.0);
  }
}

.highlighted {
  animation: highlightFlash 1.5s ease-in-out 2;
}



      @media (max-width: 768px) {
        
        .project-grid{
          display: flex;
         flex-wrap: wrap;
         gap: 15px;
         
        }
        .project-card {
         /* width: calc(50% - 10px);  */
          height: 200px;
        
         
        }
        .btnn {
          max-width: fit-content;
          padding: 5px 10px;
           font-size: 0.8rem;
           align-items: center;
        }
         .project-info {
           
             font-size: 10px;
             display: flex;
             flex-direction: column;      
  } 
 
      }

      /* 📲 Tablettes (entre 768px et 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
 
    .project-info {
             display: flex;
             flex-direction: column;      
  } 
   .btnn {
          max-width: fit-content;
          padding: 15px 35px;
        
         
        }
}

/*section equipe */

.team-section {
      padding: 60px 20px;
      background-color: #f7f7f7;
      text-align: center;
    }
    .team-section h2 {
      font-size: 32px;
      color: #0a0a23;
      margin-bottom: 40px;
    }
    .team-container {
      display: flex;
    
      justify-content: center;
      gap: 30px;
    }
    .team-member {
       display: flex;
      flex-direction: column;
      padding: 20px;
      max-width: 300px;
     
      align-items: center;
    }
   
    .team-member img {
      width: 150px;
      height: 150px;
    
      border-radius: 50%;
      margin-bottom: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .team-member h3 {
      font-size: 20px;
      margin-bottom: 5px;
      color: #0a0a23;
    }
    .team-member .poste {
      color: #c29d3b;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .team-member p {
      font-size: 14px;
      color: #444;
    }

      @media (max-width: 768px) {
        
    .team-member {
       display: flex;
      padding: 10px;
      max-width: 200px;
      
      align-items: center;
    }
     .team-member h3 {
      font-size: 15px;
      margin-bottom: 5px;
      color: #0a0a23;
    }
        .team-member img {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      max-width: fit-content;
     
    }
    .team-member p {
      font-size: 10px;
      color: #444;
    }
      }

      /* 📲 Tablettes (entre 768px et 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
 
        .team-member img {
     
      max-width: fit-content;
     
    }
}


/* section devenir membres */

.devenirMembre {
  text-align: center;
  padding: 50px;
  background-color: #040404;
  
  color: white;
}

.devenirMembre button {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: green;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(6, 47, 23, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
.devenirMembre button:hover {
  background-color: green;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(49, 228, 46, 0.6);
  } 
  .devenirMembre button:active {
  transform: translateY(-1px);
  }

/* MODAL STYLES */
.modal {
  display: none; /* caché par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

 .modal-content input, .modal-content textarea, .modal-content select{
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 5px;
}

form button {
  background-color: #006400;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #004d00;
}

/* section Actualités */


.actuality {
  display: flex;
}
.actuality-item{
  margin: 10px;

}
.actu-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  }
   
  .actu-info {
    padding: 20px;
    background-color: white;
    } 
    .actu-info h3 {
    margin-bottom: 10px;
    color: var(--dark-text);
    }
     .actu-info p {
    margin-bottom: 15px;
    color: var(--dark-text);
    opacity: 0.8;
    } 

     @media (max-width: 768px) {
        
    .actu-image {
  width: 210px;
  height: 130px;
  object-fit: cover;
  }
  .actu-info {
    padding: 5px;
 
    }
    .actu-info h3 {
    font-size: small;
    }
    .actu-info p {
   font-size: 10px;
    } 


         .actuality{
          display: flex;
         flex-wrap: wrap;
         gap: 5px;
         
        }
        .actuality-item {
         width: calc(50% - 50px); 
         
        }
      }

      /* 📲 Tablettes (entre 768px et 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
 
    
}

  /* section Partenaires */
 
      .slider {
        display: flex;
        animation: scroll 20s linear infinite alternate;
      }
      @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }

      .partenaires-slide{
        overflow: hidden;
        background: #ffffff;
        padding: 50px 0;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        position: relative;
        margin-left: 7%;
        margin-right: 7%;
        margin-top: 20px;
        margin-bottom: 20px;
      }
      .logo-track {
        display: flex;
        width: max-content;
      }
      .logo-item {
        flex: 0 0 auto;
        margin: 0 2rem;
        width: 100px;
        height: auto;
        padding: 5px;
      }
      .partenaires h3 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #0f2a22;
        text-align: center;


      }
/* section footer */
  
.footer {
  background-color: #133126;
  color: #fff;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 250px;
}


.footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #8fcf8b;
}

.copyright{
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(122, 120, 120);
  opacity: 0,7;
  text-align: center;
   }

.logo-title {
  align-items:flex-end;
display: flex;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer p,
.footer li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #e0e0e0;
}

.contact i {
  margin-right: 8px;
  color: #9cd3aa;
}

ul {
  list-style: none;
  padding: 0;

}
.contact ul {
  list-style: none;
  padding: 0;
    text-align: justify;
}

.newsletter {
  max-width: 800px;
  margin: 30px auto 10px;
  
}

.newsletter-form {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 0;
}

.newsletter-form input {
 flex-grow: 1;
padding: 10px 15px;
border: none;
border-radius: 5px 0 0 5px;
outline: none;
}

.newsletter-form button {
 
  background-color: #8fcf8b;
  
  color: #ffffff;
  
  padding: 10px 15px;

border: none;
border-radius: 0 5px 5px 0;
cursor: pointer;

}


.social-icons {
  margin-top: 30px;

}

.social-icons a {
  display: inline-block;
 
  

  background: #2e4b45;
  padding: 5px;
  border-radius: 50%;
  margin-left: 5px;
  width: 40px;
  align-items: center;
  height: 40px;
  
}

.social-icons a img {
  margin-top: 5px;
}

.social-icons a:hover {
  background: #8fcf8b;
  color: #000;
}




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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 80%;
    border-radius: 5px;
    margin: 5px 0;
  }

  /* Responsive */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        max-width: 900px;
        margin: 0 auto;
        align-items: center;
    }

    .footer-info p {
        margin: 0 15px;
    }
}
}
