body {
  background-color: #f5f5f5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: #333;
  min-height: 100vh; /* Hauteur minimale de 100% de la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 50px;
  padding-top: 20px;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-box {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 14px;
}

.search-icon {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: right;
  background-color: white;
  padding: 5px 0;
  margin-bottom:-25px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin: 0 15px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.home-icon {
  margin-right: 0.1px;
  font-size: 14px;
  position: relative;
  top: -1px;
  display: inline-flex;
  align-items: center;
}

.main-nav ul li a:hover {
  color: #0066cc;
}

.main-nav ul li:first-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
}

/* Media query pour les appareils mobiles */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
    flex-direction: column;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer {
  text-align: center;
  font-size: 0.9em;
  line-height: 0.5em; 
  color: #817979;
  width: 100%;
}

.description {
  margin-left: 50px;
  margin-right: 40px;
  text-align: justify;
}

.highlight {
  color: #1462b6;
  font-weight: bold;
}

.h3 {
  padding: 40px;
}
/* Correction du style des photos d'équipe - Version ronde */
.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  padding: 50px;
  margin-left: auto;
  margin-right: auto;
}

.member {
  display: flex;
  width: 48%;
  margin-bottom: 30px;
}

.member-left {
  flex-direction: row;
}

.member-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 3px solid #a0c1e0;
  border-radius: 50%; /* Image ronde */
  flex-shrink: 0; /* Empêche l'image de rétrécir */
  position: relative; /* Nécessaire pour garantir que l'image reste dans le cercle */
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: 100%;
  border-radius: 50%; /* Assure que l'image elle-même est aussi ronde */
}

.member-info {
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-name {
  color: #004a99;
  font-weight: bold;
  margin-bottom: 5px;
}

.member-description {
  font-size: 14px;
}

/* Responsive pour les photos et membres de l'équipe */
@media (max-width: 992px) {
  .team-members {
    padding: 30px;
    margin-left: 0;
  }
  
  .member {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .member-info {
    padding: 15px 0;
  }
  
  .member-image {
    margin-bottom: 10px;
  }
}
/* Remplacer les styles existants de l'organigramme par ceux-ci */
.org-chart {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.org-chart-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #003366;
}

/* Container central pour le Pr. Jean Paysant */
.org-center-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Conteneur circulaire pour les centres */
.org-centers {
  position: relative;
  width: 700px;
  height: 700px;
  margin: 80px auto;
}

.org-center {
  position: absolute;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Positionnement des centres autour du cercle */
.org-center:nth-child(1) {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.org-center:nth-child(2) {
  top: 25%;
  right: 0;
  transform: translateY(-15%);
}

.org-center:nth-child(3) {
  bottom: 18%;
  right: 0;
  transform: translateY(15%);
}

.org-center:nth-child(4) {
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
}

.org-center:nth-child(5) {
  bottom: 27%;
  left: 0;
  transform: translateY(15%);
}

.org-center:nth-child(6) {
  top: 25%;
  left: 0;
  transform: translateY(-15%);
}

.org-center-title {
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 10px;
  height: auto;
  padding: 5px;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.org-box {
  border-radius: 10px;
  padding: 10px;
  width: 180px;
  text-align: center;
  color: #003366;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.9);
  margin-bottom: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.org-box:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}

.org-box-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
}

.org-box-subtitle {
  font-size: 12px;
}

/* Cercle central pour Pr. Jean Paysant */
.central-box {
  background-color: #fffffe00;
  display: flow-root;
  justify-content: center;
  color: rgb(18, 11, 108);
  text-align: center;
  z-index: 2;
}

/* Cercle décoratif pour renforcer l'idée de cycle */
.circle-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border: 3px solid #ccc;
  border-radius: 50%;
  z-index: -10;
}

/* Pour les écrans plus petits */
@media (max-width: 768px) {
  .org-centers {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px auto;
  }

  .org-center {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .central-box {
    margin: 30px auto;
  }

  .circle-background {
    display: none;
  }
}

.org-red {
  background-color: #d96262;
}

.org-pink {
  background-color: #ea8ea2;
}

.org-green {
  background-color: #8eca7c;
}

.org-purple {
  background-color: #9270b8;
}

.org-orange {
  background-color: #ed9e5d;
}

.org-blue {
  background-color: #67a2d5;
}

.org-teal {
  background-color: #5cbfb5;
}
.hero-contain {
  font-size: 16px;
  color: #f5f5f5;
  background-image: url("../images/BatimentIRR.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 15px;
}
.hero-title {
  font-size: 32px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding: 50px;
  height: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 15px;
}

.link-white a:link {
  color: white;
}

.link-white a:visited {
  color: white;
}

.link-white a:hover {
  color: white; /* ou une couleur légèrement différente comme #e0e0e0 pour l'effet hover */
}

