* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  line-height: 1.6;
}
.top-bar {
  background: #111;
  color: #fff;
  padding: 0.5em 1em;
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  align-items: center;
}

.header-social {
display: flex;
gap: 20px;
margin-right: 20px;
}
.header-social a img {
  width:15px;
  height:15px;
}
.vide{

margin: 5%;
}
.main-nav {
  background: #fff;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5em;
}
.nav-links a {
  text-decoration: none;
  color: #333;
}
.nav-item{
 padding: 10px;
}

.nav-item:hover{
  background-color: #89CF00;

  border-radius: 10px;
  padding: 10px;

}
/* Dropdown général */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  padding: 0.5em 0;
  min-width: 180px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Dropright */
.dropright {
  position: relative;
}

.dropright-menu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  padding: 0.5em 0;
  min-width: 160px;
  z-index: 1001;
}

.dropright:hover .dropright-menu {
  display: flex;
}

/* Lien dans le dropdown */
.dropdown-link {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-link:hover,
.dropright-menu a:hover {
  background-color: #f0f0f0;
}

/* Optionnel : ajuster les padding dans les sous-menus */
.dropright-menu a {
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  display: block;
}


.cta-button {
  background: #7ac142;
  padding: 0.6em 1.2em;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
.carousel-item {
    height: 60vh;
    background-color: #cfe2ff;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 2rem;
    position: relative;
  }

  .slide-content {
    opacity: 0;
    
  }

  .from-left {
    animation: from-left 1s ease-out forwards;
  }

  .from-right {
    animation: from-right 1s ease-out forwards;
  }

  .from-bottom {
    animation: from-bottom 1s ease-out forwards;
  }

  @keyframes from-left {
    from { opacity: 0; transform: translateX(-150px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes from-right {
    from { opacity: 0; transform: translateX(150px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes from-bottom {
    from { opacity: 0; transform: translateY(150px); }
    to { opacity: 1; transform: translateY(0); }
  }




.btn-primary {
  margin: 1rem;
  padding: 0.8em 1.6em;
  background-color: #7ac142;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.values {
  display: flex;
justify-content: center;
  gap: 2em;
  padding: 3em 1em;
    z-index: 5;
  flex-wrap: wrap;
   position: relative;
  
}
.value-card {

  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2em;
  flex: 1 1 200px;
  max-width: 300px;
  transition: transform 0.3s ease;
  z-index: 10;
  background-color: white;
  color: black;
  border-radius: 30px;
}
.value-card:hover {
  transform: translateY(-5px);
}
.values-title {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}
.principes {
  list-style-type: circle ;
  padding: 2rem;
  width: 90%;
}

@media (max-width: 768px) {
  
  
  .hero {
    height: 60vh;
  }
  .values {
    flex-direction: column;
    align-items: center;
  }


  .slide-content {
    max-width: 300px;
    padding: 5px;
    
  }
  .slide-content h2 {
    size:small;
    
  }
}

/*section About  */
.about {
  display: flex;
  gap: 10%;
  justify-content: center;
  margin: 2rem;

}
.about-description {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  text-align: left;
  max-width: 800px;
}

/*section team */


.team-section {
  text-align: center;
  padding: 60px 20px;
  background: #d5f0e0;
}

.team-title {
  font-size: 32px;
  font-weight: bold;
  color: #111;
}

.team-subtitle {
  margin-bottom: 40px;
  color: #555;
}

.team-cards {
  display: flex;
 
  justify-content: center;
  gap: 30px;
}

.team-card {
  width: 200px;
  border-radius: 8px;

  transition: transform 0.3s ease;
}

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

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 200px;
  display: block;
}

.team-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(141, 198, 63, 0.9); /* Vert transparent */
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.team-card:hover .team-overlay {
  transform: translateY(0%);
}


.team-overlay a {
  color: #fff;
  font-size: 16px;
}

.team-info {
  padding: 20px 15px;
  
}

.team-info h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #111;
}

.team-info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* section organigramme*/
.organigramme {
  padding: 2rem;
  background-color: #f9fafb;
  text-align: center;
}



.structure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 20px;
}

.organe {
  background-color: #fff;
  border: 2px solid #89CF00;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.organe h3 {
  color:  #135907;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.organe p {
  color: #475569;
  font-size: 0.95rem;
}


/* section Contact */

.contact-section {
  padding: 3rem 1rem;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.contact-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  color: #2c3e50;
}

.contact-card i {
  font-size: 2rem;
  color: #76a124; /* vert doux */
  margin-bottom: 0.5rem;
}

.contact-card h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-form-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 900px;
  margin-left: 20%;
  
}


.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
 
}

.contact-form h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  min-height: 120px;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

.send-btn {
  background-color: #8bc34a;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.send-btn:hover {
  background-color: #7cb342;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .contact-form-area {
    flex-direction: column;
    width: 400px;
  }

.form-row input {
max-width: 60%;
}
.contact-form textarea {
  max-width: 60%;
}

}


/* 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-section {
  padding: 3rem 1rem;
  background-color: #f9fafb;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0f172a;
}

/* Carrousel */
.wrapper {
  overflow: hidden;
  position: relative;
}

.track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
}

.item {
  flex: 0 0 auto;
  width: 180px;
  height: 100px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
  display: flex;
  justify-content: center;
  align-items: center;
}

.item img {
  
  width: 100px;
  max-height: 80%;
  object-fit: contain;
}

.item.no-logo span {
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .item {
    width: 140px;
    height: 80px;
  }
}

/* section mediatheque */
.dot {
  width: 10px;
  height: 10px;
  background-color: #a8d1d1;
  border-radius: 50%;
  opacity: 0.5;
}
.active-dot {
  background-color: #4dc4c4;
  opacity: 1;
}





/*section footer */

.site-footer {
  background-color: #232730;
  color: #ccc;
  font-family: Arial, sans-serif;
  padding: 60px 20px 30px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-newsletter {
  flex: 1 1 220px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-about p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
}

.footer-links ul li a:hover {
  color: #8EC34A;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials span {
  display: block;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 16px;
  background-color: #2f343e;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

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

.footer-newsletter form {
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  background: #2f343e;
  margin-top: 10px;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: #2f343e;
  color: #fff;
}

.footer-newsletter button {
  background-color: #8ec34a;
  color: white;
  border: none;
  padding: 0 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-newsletter button:hover {
  background-color: #76b33b;
}

.footer-bottom {
  border-top: 1px solid #3d424e;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  gap: 60%;
  align-items:flex-end;
  color: #ccc;
  font-size: 14px;
  text-align: center;
}

.footer-bottom .brand {
  color: #8ec34a;
  font-weight: bold;
}

.legal-links {
  margin-top: 10px;
}

.legal-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 5px;
}

.legal-links a:hover {
  color: #8EC34A;
}

.legal-links span {
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 30px;
  }

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

  .footer-newsletter input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-newsletter button {
    width: 100%;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

