/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body , html {
  background-color: #ffffff; /* Couleur blanche globale */
  margin: 0;
  padding: 0;
}
 

/* Header */
.en-agriculture {
  /*position: relative;*/
  height: 70vh;
  background: url('image/picture/agr11.jpg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en-agriculture::before {
  content: ""; /* Pseudo-élément pour l'overlay */
  position: absolute; /* Se place par-dessus le background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(36, 36, 147, 0.5); /* Bleu transparent (RGBA) */
  z-index: -1; /* Envoie l'overlay derrière le contenu */
}


/*-----------------------------------------------------------*/
.hero-agriculture h1 {
  font-size: 6rem; /* Taille initiale */
  color: #002d62; /* Couleur de base du texte */
  font-weight: bold;
  text-align: center; /* Centre le texte horizontalement */
  transition: transform 0.3s ease, color 0.3s ease; /* Ajoute une transition douce */
}

.hero-agriculture h1 .titre-en-couleur {
  color: #ffc107; /* Couleur différente pour le mot "d'or" */
  transition: transform 0.3s ease, color 0.3s ease; /* Transition douce */
}

/* Effet au survol */
.hero-agriculture h1:hover {
  transform: scale(1.2); /* Agrandit le texte au survol */
  color: #0056b3; /* Change la couleur du texte entier */
}

.hero-agriculture h1:hover .titre-en-couleur {
  color: #ff9800; /* Change également la couleur du mot en surbrillance */
}

/*-----------------------------------------------------------*/

/* Section Styles */
.agriculture-section {
  padding: 2rem;
  background-color: #fff;
  text-align: center;
  position: relative; /* Nécessaire pour que les icônes puissent chevaucher */
  z-index: 1;
}

.features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative; /* Pour positionner les icônes par rapport à la section */
  top: -70px; /* Ajuste la hauteur pour faire chevaucher les icônes */
  z-index: 2; /* Assure que les icônes sont au-dessus de la section précédente */
}

.feature {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #2e7d32;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #fff;
  border: 2px solid #2e7d32;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.icon-circle img {
  width: 40%;
  height: 40%;
}

.feature p {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}

/* Content Styles */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.text-content {
  flex: 1;
  text-align: left;
  color: #2e7d32;
  padding: 0 1rem;
}

.text-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.discover-btn {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.discover-btn:hover {
  background-color: #256128;
  transform: scale(1.05);
}

.image-content {
  flex: 1;
}

.image-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    gap: 1rem;
  }

  .content {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    text-align: center;
  }
}

/*--------Section Styles------------------------------------ */
/*============================================================*/

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

.couleur-verte {
  background-color: #102712;
}

.carousel-section {
  text-align: center;
  padding: 2rem 1rem;
}

.carousel-section h2 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

.line {
  width: 100px;
  height: 4px;
  background-color: #2e7d32;
  margin: 0 auto 2rem auto;
}

/* Carousel Container */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.carousel {
  display: flex;
  overflow: hidden;
  width: 80%;
  max-width: 900px;
}

.carousel-item {
  flex: 0 0 50%;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding: 1rem;
  margin: 0.5rem;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.carousel-item h3 {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

.carousel-item p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.btn-discover {
  display: inline-block;
  background-color: #2e7d32;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-discover:hover {
  transform: scale(1.05);
}

/* Carousel Buttons */
.carousel-btn {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: #1b5e20;
}

.carousel.dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

/*======================================================*/

/* Project Section */
.project-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.map-container img {
  width: 300px;
  height: auto;
}

.text-container {
  text-align: left;
}

.text-container h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #008000; /* Vert */
}

.text-container h2 {
  font-size: 1.8rem;
  color: #002d62; /* Bleu */
  margin: 1rem 0;
}

.text-container p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .map-container img {
    width: 200px;
  }

  .text-container {
    text-align: center;
  }
}


