 body {
      font-family: Arial, sans-serif;
      background-color : while;
      margin: 0;
      padding: 0;
      color: #333;
      text-align: justify;
    }
    

  .card {
  background: white;
  border-radius: 0px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2px;
  margin-top: -45px;
  position: relative; /* nécessaire pour que le z-index fonctionne */
  z-index: 1; /* niveau par défaut ou bas */
}

.menu {
  position: relative; /* ou fixed/sticky selon le besoin */
  z-index: 1000; /* doit être plus élevé que celui de .card */
}


    /* Chef de département */
    .chef-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
       
    }

  /*.chef-img {
  width: 310px;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
   background-color: #ec0c0c;
  border: 4px solid #a1a5a9;
  transition: transform 0.3s ease, border-color 0.3s ease;
  object-position: center 38%;

}
*/


    .chef-img:hover {
      transform: scale(1.05);
      border-color: #0056b3;
    }

    .chef-desc {
      flex: 1;
      min-width: 250px;
      
    }

    h2, h3 {
      color: #007bff;
      margin-top: 0;
    }

    /* Bouton CV */
    .btn-download {
      display: inline-block;
      margin-top: 10px;
      padding: 8px 16px;
      background-color: #007bff;
      color: white;
      border-radius: 6px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .btn-download:hover {
      background-color: #0056b3;
    }

    /* Collaborateurs */
    .collaborateurs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
    }

    .collab-card {
      text-align: center;
    }

    .collab-img {
      width: 220px;
      height: 220px;
      border-radius: 15px;
      object-fit: cover;
      border: 2px solid #928285;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .collab-img:hover {
      transform: scale(1.05);
      border-color: #0056b3;
    }

    
    /* Responsive */
    @media (max-width: 600px) {
      .chef-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .chef-desc {
        text-align: justify;
      }
    }

    .chef-photo {
      text-align: center;
    }
/*texte pour image directeur */
.caption {
  background-color: white; /* Couleur de fond douce */
  padding: 20px; /* Espacement autour du contenu */
  border-radius: 2px; /* Coins arrondis */
  /*box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);*/ /* Ombre subtile */
  text-align: left; /* Centrer le texte */
  width: 300px; /* Largeur fixe de la section */
  margin: 0 auto; /* Centrer l'élément */
}

.name {
  font-size: 1.5em; /* Taille du nom plus grande */
  font-weight: bold;
  color: #333; /* Couleur sombre pour le nom */
  margin-bottom: 5px; /* Espacement entre le nom et la fonction */
  
}
  .function {
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
  }
  
  .contact,
  .email {
    color: #555;
    font-size: 0.86em;
  }
  
  .email a {
    color: #007bff;
    text-decoration: none;
  
  }
  
  .email a:hover {
    text-decoration: underline;
   
  }
  

.btn-download {
  background-color: #007bff; /* Couleur de fond bleue pour le bouton */
  color: white; /* Texte en blanc */
  padding: 8px 16px; /* Espacement interne du bouton */
  text-decoration: none; /* Retirer la soulignure du lien */
  border-radius: 5px; /* Coins arrondis du bouton */
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #0056b3; /* Changement de couleur au survol */
}


    /* Animation */
  .fade-in {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s ease forwards;
      
    }

.mission-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
 
}

.mission-list li {
  position: relative;
  padding: 12px 16px 12px 48px;
  margin-bottom: 10px;
  background-color: #fbeaea;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.mission-list li:hover {
  background-color: #d6e7fa;
  transform: translateX(5px);
}

.icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #007bff;
}


@keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  



.navbar-main {
    background-color: #ffffff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand-main {
    padding-left: 1.5rem;
}

.nav-main {
    display: flex;
    align-items: center;

}

.nav-main-item {
    padding: 1rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-main-item:hover,
.nav-main-item.active {
    color: #0066cc;
}

.dropdown-main {
    position: relative;
}

.dropdown-menu-main {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #f8f9fa;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.dropdown-main:hover .dropdown-menu-main {
    display: block;
}
.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
}

.dropdown-link:hover {
    background-color: #e9ecef;
    color: #000;
}

.liste-puce {
      list-style: none;
      padding-left: 0;
        text-align: justify;
        
    }

    .liste-puce li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
      font-family: Arial, sans-serif;
      font-size: 16px;
      text-align: justify;
      

    }

    .liste-puce li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 6px;
      width: 10px;
      height: 10px;
      background-color:rgb(255, 30, 30); /* bleu doux */
      border-radius: 50%;
         
    }
 

.title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #007BFF, #0056b3);
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
}

.title-container h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  flex: 1;
  color:yellow;
}

.toggle-btn {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
  background-color: #fff;
  color: #007BFF;
  padding: 2px 10px;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
}

.toggle-btn:hover {
  background-color: #e6f0ff;
  transform: scale(1.1);
}

.description {
  display: none;
  margin-top: 15px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;

}
 .number-circle {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
}

ul ul {
  display: none;
  position: absolute;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
   
}

li:hover > ul {
  display: block;
}
