*{
    margin: 0;
    padding: 0;
}

/*menu de navigation*/

body {
  font-family: 'Segoe UI', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER FIXE ========== */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #4bfd51;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.navigation {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== LOGO + TITRE ========== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}
.titre {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

/* ========== MENU DESKTOP ========== */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu > a,
.dropdown-btn {
  position: relative;
  padding: 8px 12px;
  font-weight: 500;
  transition: color 0.3s;
  color: white;
}
.menu > a:hover,
.dropdown-btn:hover {
  color: #2e7d32;
}

/* ========== DROPDOWN ========== */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  display: none;
  min-width: 180px;
  z-index: 999;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #444;
  transition: background 0.3s;
}
.dropdown-menu a:hover {
  background-color: #5cb85c;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========== LOGIN BOUTON ========== */
.login {
  background: #4bfd51;
  color: #eee;
  padding: 8px 14px;
  border-radius: 5px;
  transition: background 0.3s;
}
.login:hover {
  background: white;
}

/* ========== MENU BURGER (mobile) ========== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #4bfd51;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }
  .menu.active {
    display: flex;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    border: none;
    background: #4bfd51;
  }
  .dropdown-menu a {
    padding-left: 20px;
  }
  .menu-toggle {
    display: block;
    color: #2e7d32;
  }
}

    form {
      max-width: 600px;
      margin: 70px auto;
      background: #fff;
      padding: 50px;
      border: 2px solid #4bfd51;
      border-radius: 10px;
    }

    label {
      display: block;
      margin-top: 15px;
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .select-wrapper, .button-wrapper {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }

    select {
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      width: 100%;
    }

    button {
      display: block;
      margin: 20px auto;
      padding: 10px 20px;
      background: #4bfd51;
      border: none;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
    }

    button:hover {
      background: white;
      border: #4bfd51 2px solid;
      transform: scale(1.05);
    }

  /* Responsive design */
@media (max-width: 768px) {

  form {
    padding: 30px;
    margin: 50px 20px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .footer-contact ul {
    padding-left: 0;
  }

  .footer-social a {
    margin: 5px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .titre {
    font-size: 1rem;
  }

  form {
    padding: 20px;
  }

  button {
    width: 100%;
  }

  .carousel h2 {
    font-size: 1rem;
    padding: 0 10px;
  }
}




/*barre en vert avec image*/

/* Image d'arrière-plan */
.background {
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: url('../img/pre.jpg'); /* Remplacez 'background.jpg' par votre image */
    
    background-position: center;
  }
  
  /* Superposition transparente verte */
  .overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Vert avec transparence */
  }
  
  /* Carousel */
  .carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permet de s'adapter aux petits écrans */
  }
  
  figure {
    margin: 20px;
  }
  
  figure img {
    width: auto;
    max-width: calc(100% - 40px); /* Responsive pour les petits écrans */
  }
  
  figcaption {
    text-align: center;
    font-size: 14px;
    color: white; /* Texte blanc pour contraste */
  }

  @media (max-width:768px) {
    figure img {
        max-width: calc(100% - 20px);
    }
    figcaption {
        font-size:12px; /* Réduction de la taille du texte sur les petits écrans */
    }
}

/*footer*/

/* Footer Général */
.footer {
    background-color: #004d40; /* Vert foncé pour refléter l'environnement */
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap; /* Responsive */
    justify-content: space-between;
  }
  
  .footer-container > div {
    flex: 1;
    margin: 10px;
  }
  
  .footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer p, .footer ul {
    font-size: 14px;
  }
  
  .footer ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer ul li {
    margin-bottom: 5px;
  }
  
  /* Liens sociaux */
  .footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out; /* Ajoute une transition pour la couleur */
  }
  
  .footer-social a:hover {
    transform: scale(1.2);
    color: #4bfd51; /* Vert clair au survol */
  }
  
  
  /* Section bas de page */
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
  }
  
  /* Responsive */
  @media (max-width:768px) {
    .footer-container {
      flex-direction: column; /* Les sections s'empilent sur petits écrans */
      text-align: center; /* Centrer le texte */
    }
  }
 /*fin footer*/ 

 /*debut de page contact*/

 /* Styles généraux */

  .mission1{
    margin-top: 100px;
    text-align: center;
    font-size: 26px; 
     
    color: #fff;
  }

  .background2 {
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: url('../img/pre.jpg'); /* Remplacez 'background.jpg' par votre image */
    background-size: cover;
    background-position: center;
  }
  
  /* Superposition transparente verte */
  .overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Vert avec transparence */
  }
 

  




