/**************************************/
/************ General CSS *************/
/**************************************/
/*@font-face {
    font-family: 'Poppins';
    src: url('Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: #757575;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}*/
@font-face {
    font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: #757575;
    font-family: 'Cairo', sans-serif;
    background: #ffffff;
}

a {
    color: #4F84C4;
    transition: 0.3s;
}

a:hover,
a:active,
a:focus {
    color: #666666;
    outline: none;
    text-decoration: none;
}

p {
    color: #757575;
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #888888;
    margin: 0 0 15px 0;
    padding: 0;
}

h4,
h5,
h6 {
    font-weight: 400;
}

.mt-100 {
    margin-top: 100px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.section {
  flex: 1 1 45%;
}
/**************************************/
/********** Back to Top CSS ***********/
/**************************************/
.back-to-top {
    position: fixed;
    display: none;
    background: #4F84C4;
    color: #ffffff;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 24px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s, opacity 0.5s ease, bottom 0.5s ease; /* Ajout transition */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9;
    opacity: 0; /* Initialement invisible */
    bottom: 5px; /* Position légèrement plus basse pour l’animation */
}

.back-to-top.show { /* Classe activée pour affichage */
    display: block;
    opacity: 1;
    bottom: 15px; /* Position finale */
}

.back-to-top:hover {
    background: #3b6fa0;
    transform: translateY(-3px);
}

.back-to-top i {
    color: #ffffff;
    line-height: 45px;
}




/**************************************/
/************** Nav CSS ***************/
/**************************************/

   #nav {
    position: fixed;
    top: -15px;
    width: 100%;
    height: 90px;
    padding: 15px 0;
    z-index: 500;
    background: linear-gradient(135deg, #dcdcdc 0%, #b22222 100%);  /* Gris clair → Rouge */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

#nav.nav-sticky {
    height: 70px;
   background: linear-gradient(135deg, #dcdcdc 0%, #b22222 100%); /* Gris clair + rouge plus foncé sticky */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#nav.container-fluid {
    width: 100%;
 margin-right: -15px;
    margin-left: -15px;
 padding-right: -25px;
    padding-left: -25px;   
   
}
/* Logo stylisé */
#nav .navbar-brand img {
    height: 50px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

#nav.nav-sticky .navbar-brand img {
    height: 40px;
}

/* Liens de navigation */
#nav .nav-link {
    color: #ffffff; /* Texte blanc pour contraster */
    margin: 0 8px;
    padding: 10px 15px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}


#nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff; /* Soulignement blanc ou gris foncé */
    transition: all 0.3s ease;
}

#nav .nav-link:hover,
#nav .nav-link:focus,
#nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2); /* Effet clair sur fond dégradé */
    color: #ffffff;
    transform: translateY(-2px);
}
#nav .nav-link:hover::before,
#nav .nav-link.active::before {
    width: 80%;
}

/* Menu déroulant */
#nav .dropdown-menu {
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95); /* Fond blanc/gris clair pour le menu déroulant */
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
}

#nav .dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

#nav .dropdown-item {
     color: #333333; /* Texte sombre sur fond clair */
    padding: 10px 20px;
    transition: all 0.2s;
}

#nav .dropdown-item:hover {
     background: rgba(255, 60, 60, 0.3); /* Rouge clair au hover */
    color: #b22222;
    
    padding-left: 25px;
}

/* Version mobile */
/* Menu mobile désactivé par défaut */
/* Cacher par défaut */
#mobile-toggle,
.mobile-menu-label,
.mobile-menu {
  display: none;
}
@media screen and (max-width: 991px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
  }

  .navbar-brand {
    flex: 10;
  }
  
  nav .navbar-brand img {
    height: 50px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    padding-right: 120px;
   } 
  .mobile-menu-label {
    display: inline-block;
    position: relative;
    margin-left: auto; /* Pousse le bouton vers la droite */
    margin-top: -50px;
    z-index: 1000;
    padding: .5rem 1rem;
     justify-content: space-between;
  }

  .burger-icon {
    fill: white;
    background: #b22222;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .bar {
    transition: 0.3s;
  }

  #mobile-toggle:checked + .mobile-menu-label .bar1 {
    transform: rotate(45deg) translate(8px, 8px);
  }
  #mobile-toggle:checked + .mobile-menu-label .bar2 {
    opacity: 0;
  }
  #mobile-toggle:checked + .mobile-menu-label .bar3 {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .mobile-menu {
    display: block; /* Ne pas masquer totalement pour l'effet */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 10px;
  }

  #mobile-toggle:checked + .mobile-menu-label + .mobile-menu {
    max-height: 1000px; /* valeur suffisante pour contenir tout le menu */
    transition: max-height 0.5s ease-in-out;
  }

  .mobile-menu li {
    border-bottom: 1px solid #eee;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

  .mobile-menu a:hover {
    background: #f2f2f2;
  }

  .mobile-menu details summary {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
  }

  .mobile-menu details[open] > summary {
    background: #eee;
  }

  .mobile-menu details ul {
    padding-left: 20px;
  }

  /* Masquer menu bureau */
  .navbar-collapse {
    display: none !important;
  }

/* Animation d'entrée */
@keyframes navEntry {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#nav {
    animation: navEntry 0.6s ease-out forwards;
}


}


/**************************************/
/************* Header CSS *************/
/**************************************/
.header {
    position: relative;
    width: 100%;
    background: #ffffff;
   
    padding-top: 65px;
}

.header .carousel-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header .carousel-img {
    text-align: center;
}

.header .carousel-img img {
    max-width: 100%;
    max-height: 100%;
}

.header .carousel-content {
   
    padding: 30px;
    text-align: center;
}

.header .carousel-content h2 {
    color: #4F84C4;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: capitalize;
}

.header .carousel-content p {
    color: #353535;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.header .carousel-content .btn {
    padding: 12px 30px;
    color: #ffffff;
    border-radius: 0;
    background: #4F84C4;
}

.header .carousel-content .btn:hover {
    background: #888888;
}

.carousel-control-next i,
.carousel-control-prev i {
    color: #888888;
    font-size: 45px;
}

.carousel-indicators li {
    width: 20px;
    height: 0px;
    background: #888888;
}



/**************************************/
/******** Section Header CSS **********/
/**************************************/
.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 0px auto;
    padding-bottom: 5px;
}

.section-header h2 {
    color: #666666;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 5px;
    background: #cccccc;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    left: calc(50% - 50px);
}

.section-header p {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/*************************************/
/*********** Header slider **********/
/************************************/

.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 10px;
    list-style: none;
    margin: 0;
}

.carousel-indicators li {
    width: 12px;         /* longueur du tiret */
    height: 2px;         /* épaisseur du tiret */
    background-color: #ccc; /* couleur par défaut */
    border-radius: 2px;  /* arrondi pour l’effet "8" */
    margin: 0 4px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.carousel-indicators li:hover {
    transform: scale(1.2);
    background-color: #999; /* couleur survol */
}

.carousel-indicators .active {
    background-color: #333; /* couleur active */
    transform: scale(1.4);
}

                    .bg-video {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 500px;
                        object-fit: cover;
                        z-index: -1;
                        opacity: .6;
                    }
                    .carousel-content {
                        position: relative;
                        z-index: 1;
                        color: white;
                        height: 500px;
                        background-color: #000000;
                    }
                    .carousel-content h2 {
                        margin-top: 9%;
                        color: #ffffff;
                    }

/****** btn energie *************/

.btn-energie-renouvelable {
  display: inline-block;
  padding: 12px 24px;
   background: linear-gradient(135deg, #ff9800, #ffcc80);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(56, 171, 47, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-energie-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-energie-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-energie-renouvelable:hover {
  background: linear-gradient(135deg, #ff9800, #ffcc80);
  transform: scale(1.08);
}

.btn-energie-renouvelable:active {
  transform: scale(0.96);
}

/*********** btn water ****************/
.btn-eau-renouvelable {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-eau-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-eau-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-eau-renouvelable:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  transform: scale(1.08);
}

.btn-eau-renouvelable:active {
  transform: scale(0.96);
}

/*********** btn infrastructure *******/

.btn-infra-renouvelable {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #434343, #9e9e9e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(60, 60, 60, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-infra-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-infra-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-infra-renouvelable:hover {
  background: linear-gradient(135deg, #434343, #9e9e9e);
  transform: scale(1.08);
}

.btn-infra-renouvelable:active {
  transform: scale(0.96);
}

/*********** btn digital **************/

.btn-digital-renouvelable {
  display: inline-block;
  padding: 12px 24px;
 background: linear-gradient(135deg, #5f0f40, #9a031e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(78, 84, 200, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-digital-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-digital-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-digital-renouvelable:hover {
 background: linear-gradient(135deg, #5f0f40, #9a031e);
  transform: scale(1.08);
}

.btn-digital-renouvelable:active {
  transform: scale(0.96);
}

/* Biotechnologie */
.btn-biotech-renouvelable {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #283c86, #45a247); /* Vert biotech */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-biotech-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-biotech-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-biotech-renouvelable:hover {
  background: linear-gradient(135deg, #283c86, #45a247);
  transform: scale(1.08);
}

.btn-biotech-renouvelable:active {
  transform: scale(0.96);
}

/* Agriculture */
.btn-agriculture-renouvelable {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #2d856f, #81bac2); /* Vert foncé vers vert clair */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-agriculture-renouvelable::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 300%; height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 0.5s;
  border-radius: 50%;
}

.btn-agriculture-renouvelable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-agriculture-renouvelable:hover {
  background: linear-gradient(135deg, #2d856f, #81bac2);
  transform: scale(1.08);
}

.btn-agriculture-renouvelable:active {
  transform: scale(0.96);
}
/************ carousal control prev/next ********/

.custom-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
  font-size: 24px;
  z-index: 10;
}

.carousel-control-prev.custom-carousel-control {
  left: 15px;
}

.carousel-control-next.custom-carousel-control {
  right: 15px;
}

.custom-carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.custom-carousel-control:active {
  transform: translateY(-50%) scale(0.95);
}


/****************************************/
/******* Clients / Partenaires **********/
/****************************************/

.clients-carousel {
  padding: 60px 20px;
  background: linear-gradient(135deg, #d1d5db 0%,#b22222 100%); /* Dégradé rouge-gris */
  color: #fff;
  text-align: center;
  border-radius: 15px;
}

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

.clients-carousel h2 {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 30px;
}

.owl-clients-carousel .client-logo {
  padding: 0px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clients-carousel .client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.owl-carousel .owl-item img {
  display: block;
  margin: 0 auto;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.owl-carousel .owl-item img:hover {
  filter: grayscale(0%);
}
/* Apply padding to create equal spacing between items */
.owl-carousel .owl-stage .owl-item {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

/* Center image both horizontally and vertically */
.owl-carousel .client-logo {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  height: 160px;             /* fixed height to align all images consistently */
}

/* Responsive images */
.owl-carousel .client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;       /* ensures the image scales nicely inside */
}


/**************************************/
/************ Counters CSS ************/
/**************************************/
  .enay-counters {
    padding: 60px 20px;
     background: #ffffff; /* Dégradé rouge-gris */
    color: #111; /* Texte sombre pour contraste */
    font-family: 'Cairo', sans-serif;
    text-align: center;
}

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

.counters-header h2 {
    font-size: 2.8rem;
    color: #333333; /* Blanc pour contraster avec fond dégradé */
    font-weight: bold;
    margin-bottom: 15px;
}

.counters-header p {
    color: #333333; /* Texte clair */
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.counters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .counters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.counter-card {
     background: #f9f9f9; /* Bloc gris très clair */
  border-left: 4px solid #c62828; /* Rouge marquant */
  
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.counter-card .icon {
    font-size: 3rem;
    color: #333333; /* Icône blanc */
    margin-bottom: 20px;
}

.counter-card h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333333; /* Titre blanc */
}

.counter-card p {
    font-size: 1rem;
    color: #333333; /* Texte clair */
    line-height: 1.6;
    margin: 0;
}

/**************************************/
/************* Notre Stratégie *******/
/*************************************/

.enay-strategie {
  padding: 60px 20px;
  background: linear-gradient(135deg,  #d1d5db 0%, #b22222 100%); /* Dégradé rouge-gris */
  color: #111;
  font-family: 'Cairo', sans-serif;
  text-align: center;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: #ffffff; /* Texte blanc pour contraster avec le fond */
  font-weight: bold;
  margin-bottom: 10px;
}

.p {
  color: #f0f0f0; /* Texte clair */
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.objectifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .objectifs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .objectifs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.objectif-card {
  background-color: rgba(0,0,0,0.8); /* Fond sombre semi-transparent */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objectif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.objectif-card .icon {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0px;
}

.objectif-card svg {
  width: 48px;
  height: 48px;
  stroke: #ffffff;
}

.objectif-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom:10px;
  margin-top: -10px;
}

.objectif-card p {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.5;
  margin: 0;
}

/**************************************/
/************** Notre Impact **********/
/**************************************/

  .impact-grid {
  background: #ffffff; /* Fond blanc */
  color: #111;
  padding: 60px 20px;
  font-family: 'Cairo', sans-serif;
}

.impact-grid .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #c62828; /* Titre principal rouge */
  margin-bottom: 10px;
}

.section-header p {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.objectifs-enay .titre-section {
  font-size: 2rem;
  font-weight: bold;
  color: #c62828;
  margin-bottom: 10px;
}

.objectifs-enay .sous-titre {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

.objectifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .objectifs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .objectifs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.objectif-card {
  background: #f9f9f9; /* Bloc gris très clair */
  border-left: 4px solid #c62828; /* Rouge marquant */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objectif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.objectif-card .icon {
  margin-bottom: 10px;
  color: #c62828;
}

.objectif-card svg {
  width: 48px;
  height: 48px;
  stroke: #c62828;
}

.objectif-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #c62828;
}

.objectif-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .objectif-card h3 {
    font-size: 1.2rem;
  }
}

/**************************************/
/************** Actualités ************/
/**************************************/

.actualites-enay {
  background: linear-gradient(135deg, #f0f0f0 0%, #b22222 100%); /* Fond gris clair vers rouge */
  color: #111;
  padding: 60px 20px;
  font-family: 'Cairo', sans-serif;
}

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

.titre-section {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #c62828 0%, #b22222 100%); /* Titre rouge dégradé */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
}

.description {
  text-align: center;
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.actualite-bloc {
  margin-bottom: 40px;
  background: #ffffff; /* Bloc blanc */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actualite-bloc:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.actualite-bloc h3 {
  color: #c62828; /* Rouge vif */
  font-size: 1.7rem;
  margin-bottom: 15px;
}

.actualite-bloc ul {
  padding-left: 20px;
  color: #555;
  line-height: 1.7;
}

.actualite-bloc ul li {
  margin-bottom: 4px;
}

.contact-actualite {
  border-top: 2px solid #c62828; /* Ligne rouge plus visible */
  padding-top: 20px;
  text-align: center;
}

.contact-actualite h4 {
  color: #c62828;
  margin-bottom: 10px;
}

.contact-actualite a {
  color: #c62828;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-actualite a:hover {
  color: #ff6666;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .titre-section {
    font-size: 2rem;
  }
  
  .actualite-bloc h3 {
    font-size: 1.4rem;
  }
}

/**************************************/
/************** Contact ***************/ 
/**************************************/

.contact-enay {
  padding: 30px 15px;
  background-color: #ffffff; /* fond blanc */
  color: #111;
  font-family: 'Cairo', sans-serif;
  /* src n'est pas valide ici, il faut l'intégrer via @font-face dans le CSS global */
}

/* En-tête */
.contact-enay .section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #c62828; /* rouge principal */
  border-bottom: 3px solid #c62828; /* souligné rouge */
  padding-bottom: 8px;
  display: inline-block;
}

.contact-enay .section-header p {
  font-size: 1.1rem;
  color: #777; /* gris moyen pour un bon contraste sur fond blanc */
  margin-bottom: 40px;
}

/* Formulaire */
.contactForm .form-control {
  background-color: #fff; /* fond blanc des inputs */
  color: #111;
  border: 2px solid #c62828; /* bordure rouge */
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contactForm .form-control::placeholder {
  color: #c62828; /* placeholder rouge */
}

.contactForm .form-control:focus {
  border-color: #a61b1b; /* rouge foncé */
  outline: none;
  box-shadow: 0 0 8px rgba(198, 40, 40, 0.5);
}

/* Bouton */
.btn-enay {
  background-color: #c62828;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.4);
}

.btn-enay:hover {
  background-color: #a61b1b;
  box-shadow: 0 6px 20px rgba(166, 27, 27, 0.6);
}

/* Carte */
.map iframe {
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(198, 40, 40, 0.25); /* léger halo rouge */
}

/* Contact Box */
.contact-box {
  background-color: #fff; /* fond blanc */
  padding: 40px 20px;
  border-radius: 16px;
  margin-top: 50px;
  box-shadow: 0 8px 30px rgba(198, 40, 40, 0.2); /* ombre rouge douce */
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: #c62828; /* titre rouge */
}

.contact-item {
  font-size: 1rem;
  color: #555; /* gris foncé pour lisibilité */
  margin-bottom: 12px;
}

.contact-item a {
  color: #c62828;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
  .contact-enay .section-header h2 {
    font-size: 2rem;
  }

  .contact-box h3 {
    font-size: 1.3rem;
  }

  .btn-enay {
    width: 100%;
  }
}

/**************************************/
/************* Footer CSS *************/
/**************************************/
.footer {
    position: relative;
    padding: 0 0 20px 0;
    background: linear-gradient(135deg, #dcdcdc 0%, #b22222 100%); /* Gris clair → Rouge */
    color: #ffffff;
}

.footer .footer-top {
    background: linear-gradient(135deg, #dcdcdc 0%, #b22222 100%); /* Version plus foncée pour le top */
    padding: 50px 0 30px 0;
    color: #ffffff;
}
.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

.footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #ffffff;
    line-height: 1;
    padding: 9px 0;
    margin-right: 8px;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Facebook */
.footer .footer-top .social-links a.facebook {
    color: #1877f2;
    border-color: #1877f2;
}
.footer .footer-top .social-links a.facebook:hover {
    background: #1877f2;
    color: #fff;
}

/* LinkedIn */
.footer .footer-top .social-links a.linkedin {
    color: #0077b5;
    border-color: #0077b5;
}
.footer .footer-top .social-links a.linkedin:hover {
    background: #0077b5;
    color: #fff;
}

/* Instagram */
.footer .footer-top .social-links a.instagram {
    color: #e4405f;
    border-color: #e4405f;
}
.footer .footer-top .social-links a.instagram:hover {
    background: #e4405f;
    color: #fff;
}
.footer .footer-top h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff; /* Titre blanc */
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}


.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ffffff; /* Icônes blanches */
    font-size: 16px;
}

.footer .footer-top .footer-links ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 7px 0;
}


.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    font-size: 14px;
    color: #ffffff; /* Liens blancs */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-top .footer-links ul a:hover {
    color: #ffcccc; /* Teinte rouge clair au hover */
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
}



.footer .credit,
.footer .copyright {
    text-align: center;
    padding-top: 20px;
    color: #ffffff;
    /*background: linear-gradient(135deg, #c0c0c0 0%, #b22222 100%);*/
}
@media (min-width: 768px) {
    .footer .credit {
        text-align: right;
    }
    .footer .copyright {
        text-align: left;
    }
}

/****************************/
/********* About ************/
/****************************/


.about {
  background-color: #f3f3f3; /* Fond clair pour contraster avec noir et rouge */
  padding: 80px 20px;
  font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
  color: #111111; /* Texte noir */
}

.about .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.about .section-header h2 {
  font-size: 2.5rem;
  color: #0a0101; /* Rouge profond */
  margin-bottom: 10px;
}

.about .section-header p {
  font-size: 1.1rem;
  color: #333;
}

.grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.grid-content img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.grid-text ul {
  margin-top: 20px;
  padding-left: 20px;
  list-style: disc;
}

.historique-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.historique-blocks .block {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid #B22222; /* Rouge profond */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.historique-blocks .block h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #B22222; /* Rouge profond */
}

.historique-blocks .block ul {
  padding-left: 20px;
  line-height: 1.6;
}

.about .highlight-message {
  background: linear-gradient(90deg, #f4a261, #e9c46a);
 padding: 20px;
  border-left: 5px solid #B22222;
   color: #2d2d2d;
  font-style: italic;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .grid-content {
    grid-template-columns: 1fr;
  }
}
 
/*******************************/
/********** Accesibilite *******/
/*******************************/


    .accessibility-section {
      font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
      background-color: #f4f6f8;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .accessibility-section {
      max-width: 900px;
      margin: 50px auto;
      background-color: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .accessibility-section h2 {
      color: #1d4e89;
      font-size: 2em;
      margin-bottom: 20px;
      border-left: 5px solid #1d4e89;
      padding-left: 15px;
    }

    .accessibility-section p {
      line-height: 1.8;
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    @media (max-width: 600px) {
      .accessibility-section {
        padding: 20px;
      }

      .accessibility-section h2 {
        font-size: 1.5em;
      }

      .accessibility-section p {
        font-size: 1em;
      }
    }
 
/*****************************/
/******** Certificates *******/
/*****************************/

    .pdf-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 40px 20px;
        max-width: 1200px;
        margin: auto;
    }

    .pdf-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .pdf-item iframe {
        width: 100%;
        height: 400px;
        border: none;
    }

    @media (max-width: 768px) {
        .pdf-item iframe {
            height: 300px;
        }
    }

    @media (max-width: 480px) {
        .pdf-item iframe {
            height: 250px;
        }
    }

/************************/
/******* Cookies ********/
/************************/

 .cookies-section {
     font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
      background-color: #f4f6f8;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .cookies-section {
      max-width: 900px;
      margin: 50px auto;
      background-color: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .cookies-section h2 {
      color: #1d4e89;
      font-size: 2em;
      margin-bottom: 20px;
      border-left: 5px solid #1d4e89;
      padding-left: 15px;
    }

    .cookies-section p {
      line-height: 1.8;
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    @media (max-width: 600px) {
      .cookies-section {
        padding: 20px;
      }

      .cookies-section h2 {
        font-size: 1.5em;
      }

      .cookies-section p {
        font-size: 1em;
      }
    }

/************************************/
/******** domaine agriculture *******/
/************************************/
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.agriculture-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2d856f, #81bac2); /* Vert nature */
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.agriculture-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.agriculture-section p,
.agriculture-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.agriculture-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.agriculture-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.agriculture-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.agriculture-card:nth-child(1) { animation-delay: 0.3s; }
.agriculture-card:nth-child(2) { animation-delay: 0.6s; }
.agriculture-card:nth-child(3) { animation-delay: 0.9s; }
.agriculture-card:nth-child(4) { animation-delay: 1.2s; }

.agriculture-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.agriculture-card h3 i {
  color: #2e7d32;
  margin-right: 8px;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .agriculture-section h2 { font-size: 2rem; }
  .agriculture-section p { font-size: 1rem; }
}


/************************************/
/******** domaine biotech ***********/
/************************************/
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.biotech-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #283c86, #45a247); /* Bleu + vert biotech */
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.biotech-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.biotech-section p,
.biotech-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.biotech-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.biotech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.biotech-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.biotech-card:nth-child(1) {
  animation-delay: 0.3s;
}
.biotech-card:nth-child(2) {
  animation-delay: 0.6s;
}
.biotech-card:nth-child(3) {
  animation-delay: 0.9s;
}
.biotech-card:nth-child(4) {
  animation-delay: 1.2s;
}

.biotech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.biotech-card h3 i {
  color: #45a247;
  margin-right: 8px;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .biotech-section h2 {
    font-size: 2rem;
  }

  .biotech-section p {
    font-size: 1rem;
  }
}

/************************************/
/******** domaine digital ***********/
/************************************/

/******** Breadcrumb ***************/
.breadcrumb-icons {
  display: flex; /* Pour aligner horizontalement */
  justify-content: flex-end; /* Aligné à droite */
  align-items: center; /* Alignement vertical parfait */
 
  gap: 0.3rem; /* Espacement entre les icônes */
}

.breadcrumb-icons a, .breadcrumb-icons i {
  color: inherit; /* Hérite de la couleur du texte ou section */
  font-size: 1.2rem; /* Taille uniforme */
  text-decoration: none;
}

.breadcrumb-icons a:hover i, .breadcrumb-icons i:hover {
  color: #ff9800; /* Couleur hover (orange par exemple) */
  transition: color 0.3s ease;
}

/**********************************/

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

.digital-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #5f0f40, #9a031e);
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.digital-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.digital-section p,
.digital-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.digital-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.digital-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Animation des cartes */
.digital-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.digital-card:nth-child(1) {
  animation-delay: 0.3s;
}
.digital-card:nth-child(2) {
  animation-delay: 0.6s;
}
.digital-card:nth-child(3) {
  animation-delay: 0.9s;
}

.digital-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.digital-card h3 i {
  color: #5f0f40;
  margin-right: 8px;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .digital-section h2 {
    font-size: 2rem;
  }

  .digital-section p {
    font-size: 1rem;
  }
}

/*************************************/
/****** domaine eau ******************/
/*************************************/
/* Animation fadeInUp identique à vision-mission */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.water-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.water-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.water-section p,
.water-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.water-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.water-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Cartes avec animation fadeInUp */
.water-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

/* Délai progressif comme vision-mission */
.water-card:nth-child(1) {
  animation-delay: 0.3s;
}
.water-card:nth-child(2) {
  animation-delay: 0.6s;
}
.water-card:nth-child(3) {
  animation-delay: 0.9s;
}

/* Hover pour les cartes */
.water-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.water-card h3 i {
  color: #0077b6;
  margin-right: 8px;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .water-section h2 {
    font-size: 2rem;
  }
  .water-section p {
    font-size: 1rem;
  }
}
/***************************/
/***** domaine energie ****/
/**************************/
/* Animation fadeInUp identique à vision-mission */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.energy-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ff9800, #ffcc80);
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.energy-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.energy-section p,
.energy-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.energy-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.energy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Cartes avec animation fadeInUp */
.energy-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

/* Délai progressif comme vision-mission */
.energy-card:nth-child(1) {
  animation-delay: 0.3s;
}
.energy-card:nth-child(2) {
  animation-delay: 0.6s;
}
.energy-card:nth-child(3) {
  animation-delay: 0.9s;
}
/* Tu peux continuer avec .energy-card:nth-child(4) si nécessaire */

.energy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.energy-card h3 i {
  color: #ff9800;
  margin-right: 8px;
}

/* Pas d'animation sur blockquote */
blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .energy-section h2 {
    font-size: 2rem;
  }

  .energy-section p {
    font-size: 1rem;
  }
}
/*****************************/
/**** domaine infrast ********/
/*****************************/

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.infrastructure-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #434343, #9e9e9e);
  color: #fff;
  overflow: hidden;
  font-family: 'Cairo';
}

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

.infrastructure-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.infrastructure-section p,
.infrastructure-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.infrastructure-section p i {
  color: #ffd700;
  margin-right: 8px;
}

.infrastructure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Animation des cartes */
.infrastructure-card {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.infrastructure-card:nth-child(1) {
  animation-delay: 0.3s;
}
.infrastructure-card:nth-child(2) {
  animation-delay: 0.6s;
}
.infrastructure-card:nth-child(3) {
  animation-delay: 0.9s;
}

.infrastructure-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.infrastructure-card h3 i {
  color: #0b8457;
  margin-right: 8px;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

blockquote i {
  margin-right: 10px;
  color: #ffd700;
}

@media (max-width: 768px) {
  .infrastructure-section h2 {
    font-size: 2rem;
  }

  .infrastructure-section p {
    font-size: 1rem;
  }
}
/************************/
/******* FAQ ************/
/************************/
 .faq {
             font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
            background-color: #f9f9f9;
            padding: 20px;
        }
        h1 {
            text-align: center;
            background-color: #004080;
            color: white;
            padding: 10px;
            border-radius: 10px;
        }
        details {
            background-color: white;
            border: 1px solid #ccc;
            border-radius: 8px;
            margin: 10px 0;
            padding: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        summary {
            font-weight: bold;
            cursor: pointer;
            color: #004080;
        }
        summary:hover {
            color: #0073e6;
        }
        .content {
            padding-left: 20px;
        }

/*****************************/
/******** Mentions ***********/
/*****************************/
.legal-section{
     font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
      background-color: #f7f9fb;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .legal-section {
      max-width: 800px;
      margin: 40px auto;
      background-color: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .legal-section h2 {
      color: #2a5d9f;
      font-size: 1.8em;
      margin-bottom: 20px;
       border-left: 5px solid #1d4e89;
      padding-left: 15px;
    }

    .legal-section p {
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .accordion {
      margin-top: 20px;
      border-top: 1px solid #ccc;
    }

    .accordion-item {
      border-bottom: 1px solid #ccc;
    }

    .accordion-title {
      cursor: pointer;
      padding: 15px;
      background-color: #e9f1fb;
      transition: background-color 0.3s;
    }

    .accordion-title:hover {
      background-color: #d0e4f7;
    }

    .accordion-content {
      display: none;
      padding: 15px;
      background-color: #f9f9f9;
    }

    .active .accordion-content {
      display: block;
    }

    .active .accordion-title {
      background-color: #d0e4f7;
    }

    @media (max-width: 600px) {
      .legal-section {
        padding: 20px;
      }
    }
    
/***************************/
/******** Politique ********/
/***************************/

.politique {
     font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
      background-color: #f4f6f8;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .politique {
      max-width: 900px;
      margin: 50px auto;
      background-color: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .politique h2 {
      color: #1d4e89;
      font-size: 2em;
      margin-bottom: 20px;
      border-left: 5px solid #1d4e89;
      padding-left: 15px;
    }

    .politique p {
      line-height: 1.8;
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    @media (max-width: 600px) {
      .politique {
        padding: 20px;
      }

      .politique h2 {
        font-size: 1.5em;
      }

      .politique p {
        font-size: 1em;
      }
    }

/***************************/
/********* Team ************/
/**************************/
 .enay-team {
  padding: 50px 20px;
  background-color: #ffffff;
  color: #1f1f1f;
  font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
  text-align: center;
}

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

.team-header h2 {
  font-size: 2.5rem;
  color: #B22222;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-header p {
  color: #555555;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background-color: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(178, 34, 34, 0.3);
}

/* Image */
.team-img {
  width: 100%;
  height: 300px; /* Hauteur fixe, tu peux ajuster à 250px, 350px, etc. */
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Assure un recadrage propre sans déformation */
  display: block;
  border-bottom: 4px solid #B22222;
}

/* Contenu */
.team-info {
  padding: 20px;
}

.team-info h3 {
  font-size: 1.2rem;
  color: #B22222;
  margin-bottom: 8px;
}

.team-info p {
  font-size: 0.95rem;
  color: #333333;
  margin: 0;
}

/* Effet professionnel : pastille discrète en haut à droite */
.team-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background-color: #B22222;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover::after {
  opacity: 1;
  transform: scale(1.2);
}    

/*******************************/
/****** Vision & Mission *******/
/*******************************/
.vision-mission {
   font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: #111;
  }

  .vision-mission {
    background: linear-gradient(135deg, #f9f9f9, #ececec);
    padding: 100px 20px;
  }

  .vision-mission .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .vision-mission .section-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .vision-mission .section-header h3 {
    font-size: 3rem;
    color: #B22222; /* Rouge profond */
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }

  .vision-mission .section-header p {
    font-size: 1.3rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .vision-mission-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }

  .vision-mission-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #B22222;
    opacity: 0; /* Pour animation */
    transform: translateY(30px); /* Déplacement initial */
    animation: fadeInUp 1s ease-out forwards;
  }

  /* Animation keyframes */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Appliquer un délai pour chaque bloc */
  .vision-mission-content:nth-child(1) {
    animation-delay: 0.3s;
  }

  .vision-mission-content:nth-child(2) {
    animation-delay: 0.6s;
  }

  .vision-mission-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .vision-mission-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #B22222;
  }

  .vision-mission-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
  }

  @media (max-width: 768px) {
    .section-header h3 {
      font-size: 2.2rem;
    }
    .section-header p {
      font-size: 1.1rem;
    }
    .vision-mission-content {
      padding: 30px;
    }
  }


/**************************/
/******* Projects *********/
/**************************/  

.projects .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.projects .section-header h3 {
  font-size: 2.5rem;
  color: #0a0101;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.projects .section-header p {
  font-size: 1.1rem;
  color: #333;
}

.projects .projects-section {
  padding: 40px 20px;
  background-color: #ffffff;
  border-left: 5px solid #B22222;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  color: #333;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
}

.projects-section .big-block {
  padding: 20px 25px;
}

 .section-title {
  color: #B22222;
  background-color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.projects-section .section-icon {
  font-size: 2rem;
  color: #B22222;
}

.intro-text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.custom-list {
  list-style: none;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.custom-list li::before {
  content: "✔️ ";
  color: #B22222;
  margin-right: 0.4rem;
}

.highlight {
  background-color: #0077b6;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.1rem;
  }
}

/***************************/
/************Carerrs********/
/**************************/
 li {
  list-style: none;
}

.carriere-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

 .carriere-section .section-header h2 {
  font-size: 2.5rem;
  color: #0a0101;
  text-transform: uppercase;
  margin-bottom: 10px;
}

 .carriere-section .section-header p {
  font-size: 1.1rem;
  color: #333333;
}

 .carriere-section .big-block {
  background-color: #ffffff;
  border-left: 5px solid #B22222;
  border-radius: 20px; /* Coins arrondis */
  overflow: hidden; /* Garde le contenu à l'intérieur */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-block {
  padding: 25px;
}

 .sub-block h3, .sub-block h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #B22222;
}

 .sub-block ul {
  padding-left: 20px;
  line-height: 1.6;
}

 .sub-block ul li::before {
  content: "✔️ ";
  color: #B22222;
}

.highlight-message {
  background: linear-gradient(90deg, #f4a261, #e9c46a);
  color: #2d2d2d;
  font-style: italic;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

.separateur {
  height: 3px;
  background-color: #ddd; /* Ligne subtile de séparation */
  margin: 0 25px; /* Laisse la séparation à l'intérieur du bloc */
}

.apply-link {
  display: inline-block;
  background-color: #B22222;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.apply-link:hover {
  background-color: #8B0000;
}

/*****************************/
/************ EAU ************/
/*****************************/

.eau .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.eau .section-header h3 {
  font-size: 2.5rem;
  color: #0a0101;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eau .section-header p {
  font-size: 1.1rem;
  color: #333;
}

.eau-section {
  padding: 40px 20px;
  background-color: #ffffff;
  border-left: 5px solid #B22222;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eau-section .big-block {
  padding: 20px 25px;
}

.eau-section .section-title {
  color: #B22222;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eau-section .section-icon {
  font-size: 2rem;
  color: #B22222;
}

.intro-text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

h4 {
  color: #B22222;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}

.custom-list {
  list-style: none;
  padding-left: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.custom-list li::before {
  content: "✔️ ";
  color: #B22222;
  margin-right: 0.4rem;
}

.sub-list {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.highlight {
  background-color: #0077b6;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center;
}

.footer-phrase {
  font-style: italic;
  font-size: 1.1rem;
  color: #666;
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.1rem;
  }
}

/****************************/
/******** Energie **********/
/***************************/

.energie-section {
  padding: 40px 20px;
  background-color: #ffffff; /* Fond blanc */
  border-left: 5px solid #B22222; /* Bordure rouge à gauche */
  border-radius: 20px; /* Coins arrondis */
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  color: #333; /* Texte foncé pour contraste */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
 font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
}

.energie-section .content {
  max-width: 1000px;
  margin: auto;
}

.energie-section .section-title {
  color: #B22222; /* Rouge foncé */
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  font-size: 2rem;
  color: #B22222;
}

.intro-text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: justify;
}

h4 {
  color: #B22222;
  margin-top: 1.5rem;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.custom-list {
  list-style: none;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.custom-list li::before {
  content: "✔️ ";
  color: #B22222;
  margin-right: 0.4rem;
}

.sub-list {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.sub-list li::before {
  content: "➤ ";
  color: #B22222;
}

.highlight {
  background-color: #0077b6;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.1rem;
  }
}

/***************************/
/************ IA ***********/
/***************************/

.engagement-section {
  padding: 40px 20px;
  background-color: #ffffff; /* Fond blanc */
  border-left: 5px solid #B22222; /* Bordure rouge à gauche */
  border-radius: 20px; /* Coins arrondis */
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  color: #333; /* Texte foncé */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
}

.engagement-section .content {
  max-width: 1000px;
  margin: auto;
}

.engagement-section .section-title {
  color: #B22222; /* Rouge foncé */
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  font-size: 2rem;
  color: #B22222;
}

.custom-list {
  list-style: none;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.custom-list li::before {
  content: "✔️ ";
  color: #B22222;
  margin-right: 0.4rem;
}

.highlight {
  background-color: #0077b6;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.1rem;
  }
}

/***************************/
/******** Infrast **********/
/***************************/

.infrast-section {
  padding: 60px 20px;
  background-color: #ffffff; /* Fond blanc */
  border-left: 5px solid #B22222; /* Bordure rouge à gauche */
  border-radius: 20px; /* Coins arrondis */
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  color: #333; /* Texte foncé */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
}

.infrast-section .content {
  max-width: 1000px;
  margin: auto;
}

.infrast-section .section-title {
  color: #B22222; /* Rouge foncé */
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  font-size: 2rem;
  color: #B22222;
}

.custom-list {
  list-style: none;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.custom-list li::before {
  content: "✔️ ";
  color: #B22222;
  margin-right: 0.4rem;
}

.highlight {
  background-color: #0077b6;
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.7rem;
  }
  h4 {
    font-size: 1.1rem;
  }
}

/************************/
/********* Recherche ****/
/************************/

.rd-labo-section {
  padding: 40px 20px;
  background-color: #ffffff; /* Fond blanc */
  border-left: 5px solid #B22222; /* Bordure rouge à gauche */
  border-radius: 20px; /* Coins arrondis */
  max-width: 1000px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  color: #333; /* Texte foncé */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Cairo';
    src: url('Cairo-Regular.ttf') format('truetype');
}
/*.rd-labo-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}*/
.rd-labo-section .content {
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.rd-labo-section .section-title {
  color: #B22222; /* Rouge foncé */
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

h4 {
  color: #B22222;
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.grid-list ul {
  display: grid;
  gap: 1rem;
  padding-left: 0;
}

.grid-3 ul {
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
}

.grid-2 ul {
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
}

.grid-1 ul {
  grid-template-columns: 1fr; /* 1 colonne */
}

.custom-list {
  list-style: none;
}

.custom-list li {
  padding-left: 1.5rem;
  position: relative;
}

.custom-list li::before {
  content: "✔️ ";
  position: absolute;
  left: 0;
  color: #B22222;
  font-weight: bold;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.2rem;
  }
}


@media (max-width: 768px) {
  .sections {
    flex-direction: column;
  }

  .section {
    width: 100%;
    font-size: 16px;
  }

  nav {
    flex-direction: column;
  }

  .image {
    width: 100%;
    height: auto;
  }
}