










body{
    font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size:14px;
    background: #f2ffec;
   	margin:0;
   	padding:0;
   	box-sizing:border-box;
	text-decoration: none;
	list-style: none;
   overflow-x: hidden;

}

@media(max-width:810px){
	.row {
		width: 100%;

	}

}



h2 {
	font-size:2.6em;
	font-weight: bold;
	color:#297C31;
	text-align: center;
	padding-top:10px;
	padding-bottom:10px;
}

h3 {
	font-size:1.8em;
	font-weight: bold;
	color:#297C31;
	text-align: center;
	padding-top:10px;
}


h4{
	font-size:1.2em;
	color:#990101;
	text-align: center;
}



p{
	color:#070625;
}



.btn {
    border-color: #297C31;
    padding:10px;
    padding-left: 10px;
    scroll-padding-right: 10px;
    text-align: center;
    color:  #297C31;
    font-weight: bold;
    background-color: #f5f5f5;
       
}


.btn:hover{
    color: white;
	border-color: #ffffff;
	background-color: #004d40;
}


/*** Navbar Start ***/
.nav-bar {
    background: #297c29;
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 15px;
    padding: 15px;
    letter-spacing: 1px;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: bolder;
    outline: none;
    transition: .5s;
    font-size: 1.1em;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #f5f5f5;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: #f5f5f5;
	font-size: 1.2em;

}

.logo {
    display: inline-block; /* Empêche le logo de prendre toute la largeur */
    width: 200px; /* Taille du logo */
    height: auto; /* Ajuste automatiquement la hauteur */
    position: relative; /* Empêche le déplacement involontaire */
    margin: 0 auto; /* Centre le logo si besoin */
}

.logo img {
    width: 100%; /* Assure une bonne adaptation */
    height: auto;
    object-fit: contain; /* Évite toute distorsion */
}

.navbar-light .navbar-nav .nav-link.active {
    color: #f5f5f5; /* Couleur du texte */
}

.navbar-light .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* Place le trait sous le texte */
    width: 100%;
    height: 3px; /* Épaisseur du trait */
    background-color: #ffffff; /* Couleur du trait */
    border:0px;
}

.navbar-light .navbar-nav .nav-link.active:hover::after {
    width: 100%;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 4px !important;
    background: #f5f5f5;
    transition: .5s;
    opacity: 1;
	font-size:1.0em;
}



.navbar .nav-item:hover .dropdown-menu  a:hover{ 
	color: #043c04;
	font-size: 1.4em;
}



.bouton-head{
    text-align: center;
    gap: 10px;
    margin-left: 40px;
    padding-top: 10px;

}


.search-input {
    width: 250px;
    padding: 10px;
    border: 2px solid #297C31;
    border-radius: 20px;
    font-size: 1em;
    outline: none;
}


.fa-search {
    cursor: pointer;
    font-size: 22px;
    color: #f5f5f5;
    padding-left: 15px;
    padding-top: 20px;
    
}

.fa-search:hover {
    color: #f5f5f5;
    font-size: 1.5em;
    color:#f5f5f5;
	margin-left: 10px;
	font-size: 25px;
}


@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        color:#f5f5f5;
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}


/*** Navbar End */



/* First-main */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Pleine hauteur de l'écran */
  background: url('img/fond_acceuil.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Assombrit l’image pour une meilleure lisibilité */
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #f5f5f5;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 12px 20px;
  background: #297c31; /* Couleur de ta charte graphique */
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: 0.3s;
}

.hero-buttons .btn:hover {
  background: #215f26;
}

.hero-buttons .btn-secondary {
  background: white;
  color: #297c31;
}

.hero-buttons .btn-secondary:hover {
  background: #297c31;
  color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
}







/* evenement important */
.event-imp {
  width: 100%;
  padding: 0 20px;
  margin-top: 25px;
  text-align: center;
}

.event-imp-content {
  max-width: 800px;
  margin: 0 auto;
}

.event-imp-content h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #297c31;
}

.event-imp-content p {
  font-size: 1.3rem;
  font-style: italic;
  margin: 20px 0;
  color: #444;
}


/* Image animée */
.event-imp-image {
  width: 100%;
  margin: 20px auto;
}

.event-imp-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  animation: slide 3s infinite alternate ease-in-out;
}

/* Animation */
@keyframes slide {
  0% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .event-imp-content h2 {
    font-size: 2.5rem;
  }

  .event-imp-content p {
    font-size: 1.2rem;
  }

  .event-imp-image {
    width: 90%;
  }
}










/* nous en chiffre */
.impact {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}

.impact p{
  padding-bottom: 15px;
  font-weight: bold;
  font-size: 1.3rem;
  color: #444;


}


.impact-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.impact-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  width: 280px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

.impact-card i {
  font-size: 4rem;
  color: #297c31;
  margin-bottom: 15px;
}

.impact-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: #1e5d26;
  display: block;
  margin-bottom: 10px;
}

.impact-card p {
  font-size: 1.4rem;
  color: #333;
}

/* Pourcentage */
  .impact-card .pourcentage{ 
  font-size: 3.5rem;
  font-weight: bold;
  color: #1e5d26;
  display: block;

}



/* Responsive */
@media (max-width: 768px) {
  .impact-container {
    flex-direction: column;
    align-items: center;
  }
  
  .impact-card {
    width: 80%;
  }
}












 /* actualité */
* les plus récents */
/* Section Actualités Récentes */
.section-actualites-recentes {
    background-color: #f5f7fa;
    padding: 10px 0;
}


/* Carte actualité */
.carte-actualite {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.1s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carte-actualite:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Image actualité */
.image-actualite img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Contenu de la carte */
.contenu-actualite {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Titre actualité */
.titre-actualite {
    font-size: 1.25rem;
    color: #2b4d4d;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Description courte */
.description-actualite {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Bouton discret */
.btn-lien-actualite {
    display: inline-block;
    font-size: 0.9rem;
    color: #147a6c;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid #d3e6e3;
    background-color: #eaf5f3;
    transition: all 0.8s ease-in-out;
    align-self: start;
}

.btn-lien-actualite:hover {
    background-color: #d4f0ea;
    border-color: #c2e5df;
    color: #0c5e53;
}

.carte-actualite {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.carte-actualite.visible {
  transform: translateY(0);
  opacity: 1;
}














/* agir avec nous */
.cta {
  width: 100%;
  padding: 10px 20px;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #297c31;
}

.cta p {
  font-size: 1.3rem;
  margin: 20px 0;
  color: #444;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta .btn {
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}

.cta .btn:hover {
  transform: scale(1.05);
}

.cta .btn {
  background: #297c31;
  color: white;
}

.cta .btn-secondary {
  background: white;
  color: #297c31;
  border: 2px solid #297c31;
}

.cta .btn-outline {
  background: transparent;
  color: #297c31;
  border: 2px solid #297c31;
}

.cta .btn-dark {
  background: #222;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .cta h2 {
    font-size: 2.5rem;
  }

  .cta p {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}






















/* consulter notre bibliothèque */
.library {
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  position: relative;
  background: url('img/bibliotheque.jpg') no-repeat center center/cover;
}

.library-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Overlay sombre pour améliorer la lisibilité */
}

.library-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

.library-content h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.library-content p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #f5f5f5;
}

.library .btn {
  padding: 12px 20px;
  background: #ffffff;
  color: #01581e;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 15px;
  transition: 0.3s;
}

.library .btn:hover {
  
  display: inline-block;
  font-size: 0.9rem;
  color: #147a6c;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid #d3e6e3;
  background-color: #eaf5f3;
  transition: all 0.3s ease-in-out;
  align-self: start;
  font-weight: bold;
}



/* Responsive */
@media (max-width: 768px) {
  .library {
    padding: 80px 20px;
  }

  .library-content h2 {
    font-size: 2.4rem;
  }

  .library-content p {
    font-size: 1.2rem;
  }
}









/* 0000000000 */
/* footer top */

.footer .row {
	display:flex;

}
.footer	h1 {
	color:#f5f5f5;
	font-weight: bold;
 }


.footer .row .col {
	width: 25%;
	margin-right:2px;

}



.footer-top {
    background-image: url('img/footer-long.jpg');
	background-size: cover;
	background-repeat:	no-repeat;
	background-attachment: fixed;
    color: #f5f5f5;
    text-align: justify;

}



.footer h3 {
	color: #FFFFFF;
	font-weight: bold;
	text-align:left;

}

.footer p {
	color: #f5f5f5;

}


.footer-top a {
    color: #f5f5f5;
   
}





.col .adresses {
	white-space: nowrap;
	width:100%;
	position: relative;

}

a{
    text-decoration: none; /* Supprime le soulignement des liens */
    font-weight: bold;
    font-size: 1.0em;
}

.footer ul {
    list-style: none; /* Supprime les puces */
    padding: 0; /* Évite un espace interne inutile */
    margin: 0; /* Supprime tout décalage */
    font-size: 1.2em;
     list-style: none;
}


.col .acces-rapide {
	white-space: nowrap;
	width:100%;
	position: relative;

}



.entree-de-donnees {
	width: 100%;
	height: 25px;
	border-radius: 20px;
	margin: 5px

}


.bouton-envoi {
	color: #297C31;
    font-size:20px;
	padding:10x;

}

.bouton-envoi :hover {
    color:#297C31;
  	
}


.newsletter {
    background-color:rgba(41, 124, 49, 0.3); /*couleur verte transparente de la newsletter*/
    border-radius: 15px;
    padding-right:15px;
    padding-left: 15px;
    width:100%;
	margin: 0px;
	position: static;
    height: auto;
    display: flex; /* Pour centrer les éléments */
    flex-direction: column; /* Alignement vertical */
    align-items: center; /* Centrage horizontal */
    justify-content: center; /* Centrage vertical */
	
}  


.newsletter form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Ajoute un espace entre les éléments */
}

.entree-de-donnees {
    width: 100%; /* Les champs prennent toute la largeur disponible */
    max-width: 250px; /* Limite la largeur pour un meilleur rendu */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bouton-envoi {
    width: 100%; /* Assurer qu'il reste dans l'ensemble */
    max-width: 250px; /* Taille cohérente avec les champs d'entrée */
    padding: 8px;
    background-color: #297C31; /* Couleur améliorée */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom:10px;
}

.bouton-envoi:hover {
    background-color: #70f5a7; /* Effet au survol */
}




.footer li :hover {
	font-weight: bold;
	font-size: 1.4em;
    margin: 0; /* Supprime toute marge parasite */
    padding: 5px 0; /* Ajuste l'espacement */



}

.nous-suivre :hover {
	color: #297c31;
	font-weight: bold;
	font-size: 1.6em;


}
.nous-suivre-text{
    font-size: 1.2em;

}


@media (max-width: 768px) {
    .footer .row {
        flex-wrap: wrap; /* Permet aux colonnes de passer en mode empilé */
    }

    .footer .col {
        width: 50%; /* Passe à 2 colonnes par ligne */
    }
}

@media (max-width: 480px) {
    .footer .col {
        width: 100%; /* Passe à 1 colonne par ligne */
    }
}



.copyright {
    background-color: #297c31;
    padding: 5px;
    text-align: center;
}

.copyright a {
    background-color: #297c31;
    color: #f5f5f5;
	font-weight: bold;
  
    
}

