* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}
/* Assurez-vous que la première section commence après le header */
main, section {
  margin-top: 75px; 
}

:root {
  --text-color1: #ffffff;
  --button-color: #ffffff;
  --button-hover: #ff9900;
  --button-border: #09689C;
  --overlay: rgba(20, 40, 70, 0.5);
  --primary-color: #ffcc00;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: clamp(45vh, 65vh, 75vh); /* Hauteur ajustable */
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.5s ease-in-out, transform 20s ease-in-out;
  transform: scale(1);
  will-change: transform, opacity;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1.04); /* Zoom progressif léger */
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(90%) contrast(105%);
}

/* Effet overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  backdrop-filter: blur(2px);
}

/* Centrage du texte */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-color1);
  z-index: 2;
  max-width: 80%;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); /* Texte réduit */
  font-weight: 600;
  margin-bottom: 8px;
}

.slide-content p {
  font-size: clamp(0.9rem, 1.8vw, 1.3rem); /* Texte plus petit */
  font-weight: 300;
  margin-bottom: 15px;
}

/* Bouton */
.btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  color: var(--button-color);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--button-border);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  color: #fff;
  transform: scale(1.05);
}

/* Indicateurs */
.indicators {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.indicators .dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.indicators .dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}



/* Supprime l'espace vide entre le slider et la section statistiques */
.banner {
  margin-bottom: 0;
  padding-bottom: 0;
}

.indicators {
  bottom: 15px; 
}

.stats-section {
  margin-top: 0;
  padding-top: 30px;
}

/* =============================== SECTION DES STATISTIQUES - MODERNE, FLUIDE & RESPONSIVE =============================== */
.stats-section {
  width: 100%;
  padding: 15px 5%;
  background: #840033;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Titre */
.stats-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Conteneur des cartes */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  width: 100%;
}

/* Cartes statistiques */
.stats-card {
  flex: 1 1 130px;
  min-width: 130px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

/* Effet de soulignement */
.stats-card::after {
  content: "";
  display: block;
  width: 40%;
  height: 2px;
  background: #09689C; 
  margin: 6px auto 0;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
}

.stats-card:hover::after {
  width: 60%;
}

/* Numéros */
.stats-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  margin-bottom: 4px;
}

/* Labels */
.stats-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.85;
}

/* 📱 Responsive: Réduction de la taille des textes sur iPad et mobiles */
@media (max-width: 1024px) {
  .stats-title {
      font-size: 1.4rem;
  }
  .stats-number {
      font-size: 1.6rem;
  }
  .stats-label {
      font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .stats-title {
      font-size: 1.2rem;
  }
  .stats-number {
      font-size: 1.4rem;
  }
  .stats-label {
      font-size: 0.75rem;
  }
}



/* =============================== about-wrapper =============================== */
.about-wrapper {
  width: 100%;
  padding: 10px 0;
  background: #fef5d4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-direction: row;
  max-width: 68%;
  border-radius: 5px;
  overflow: hidden;
  align-items: stretch; /* Assure que l'image et le texte ont la même hauteur */
  gap: 50px;
  padding: 10px;
}

.about-image {
  flex: 0 0 300px;
  display: flex;
  align-items: stretch; /* L'image prend toute la hauteur */
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%; /* Prend toute la hauteur du conteneur */
  object-fit: cover; /* Remplit l'espace sans déformer */
  border-radius: 10px;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
}

.about-text-container {
  flex: 1;
  overflow: auto;
}

.about-title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: bold;
  color: #840032;
  margin-bottom: 15px;
}

.about-text {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: #333;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Bouton bien aligné */
.about-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1rem;
  color: white;
  background: #09689C;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.about-btn:hover {
  background: #ff9900;
  transform: scale(1.08);
}

/* 📱 Responsive pour iPad */
@media (max-width: 1024px) {
  .about-container {
      flex-direction: row; /* Garde image à gauche et texte à droite */
      text-align: left;
      border-radius: 0;
      padding: 20px;
      align-items: stretch;
      max-width: 95%;
      gap: 20px;
  }
  .about-image {
      flex: 0 0 50%;
      display: flex;
      align-items: stretch; /* Assure la même hauteur que le texte */
  }
  .about-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .about-content {
      flex: 1;
      text-align: left;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  .about-title {
      font-size: 1.6rem;
  }
  .about-text {
      font-size: 1rem;
  }
  .about-btn {
      align-self: flex-start;
  }
}

/* 📱 Responsive pour Mobile */
@media (max-width: 768px) {
  .about-container {
      flex-direction: row; /* Toujours image à gauche, texte à droite */
      align-items: stretch;
      max-width: 95%; /* Utilise plus d'espace sur mobile */
      gap: 5px; /* Réduction des espaces */
      padding: 5px;
  }
  .about-image {
      flex: 0 0 55%; /* L'image prend plus d’espace */
  }
  .about-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .about-content {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  .about-title {
      font-size: 1.2rem; /* Réduction légère pour plus de lisibilité */
  }
  .about-text {
      font-size: 0.85rem;
      line-height: 1.4;
  }
  .about-btn {
      font-size: 0.85rem;
      padding: 6px 10px;
  }
}


/* =============================== Line =============================== */
.custom-hr  {
  margin: 0;
  padding: 20px;
}

.custom-hr {
  height: 5px; /* Épaisseur */
  background-color: #840032; /* Couleur */
  width: 100%; /* Ajuster la largeur */
}
/* =============================== Unsere Kernaktivitäten =============================== */
.activities-section {
  text-align: center;
  padding: 40px 5%;
  background: #f8f9fc;
}

/* Titres */
.activities-title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem); /* Réduction pour mobile et iPad */
  font-weight: bold;
  color: #003366;
  margin-bottom: 8px;
}

.activities-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem); /* Ajustement pour plus de lisibilité */
  color: #555;
  margin-bottom: 25px;
}

/* Conteneur des cartes */
.activities-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Cartes */
.activity-card {
  flex: 1 1 calc(25% - 15px); /* Quatre colonnes sur grand écran */
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activity-card:hover {
  transform: scale(1.05);
}

.activity-card img {
  width: 100%;
  height: 340px; /* Légère réduction pour mobile */
  object-fit: cover;
  border-radius: 12px;
}

/* Effet Overlay */
.activity-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 51, 102, 0.8);
  padding: 10px;
  text-align: center;
}

.activity-title {
  color: white;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem); /* Réduction du texte */
  font-weight: bold;
}

/* 📱 Responsive pour iPad */
@media (max-width: 1024px) {
  .activity-card {
      flex: 1 1 calc(50% - 15px); /* Deux colonnes sur iPad */
      max-width: 320px;
  }
}

/* 📱 Responsive pour Mobile */
@media (max-width: 768px) {
  .activities-container {
      flex-wrap: wrap;
      justify-content: center;
  }
  .activity-card {
      flex: 1 1 calc(50% - 10px); /* Deux colonnes sur téléphone */
      max-width: 200px;
  }
  .activity-card img {
      height: 280px; /* Réduction supplémentaire de la hauteur */
  }
  .activity-title {
      font-size: 0.85rem; /* Réduction de la taille du titre */
  }
  .activities-title {
      font-size: 1.5rem; /* Réduction du titre principal */
  }
  .activities-subtitle {
      font-size: 0.85rem; /* Ajustement de la sous-titre */
  }
}

/* Ajout d'une animation fluide */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initialement caché */
.activity-card {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}


/*-------------- Section für wichtige gesellschaftliche Themen --------------*/
.info-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fc;
  text-align: center;
  color: #333;
  padding: 20px 5%;
  max-width: 100%;
  margin: 0 auto;
}

/* Titre */
.info-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: bold;
  color: #000;
  margin-bottom: 10px; /* Moins d’espace sous le titre */
}

/* Description */
.info-description {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.5;
  max-width: 85%;
  margin-bottom: 25px; /* Moins d’espace sous le texte */
  color: #555;
}

/* Container des boîtes */
.info-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px; /* Écart réduit entre les boîtes */
  width: 100%;
}

/* Chaque boîte */
.info-item {
  width: 24.5%; /* 4 colonnes sur PC avec réduction des espaces */
  background-color: #09689C;
  border: #022140 1px solid;
  padding: 12px; /* Réduction du padding */
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  margin-bottom: 5px; /* Moins d’espace sous chaque boîte */
}
.info-item h3{
  padding: 5px;
}
.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* Titre de chaque boîte */
.info-item h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: bold;
  margin-bottom: 5px; /* Moins d’espace sous le titre */
  color: var(--text-color1);
}

/* Texte de chaque boîte */
.info-item p {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--text-color1);
  line-height: 1.4;
  margin-bottom: 5px;
}

/* Bouton */
.info-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  font-size: clamp(0.8rem, 1vw, 1rem);
  color: white;
  background: #09689C;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.info-btn:hover {
  background: #ff9900;
  transform: scale(1.03);
}

/* 🖥 Responsive pour iPad */
@media (max-width: 1024px) {
  .info-item {
      width: 48.5%; /* 2 colonnes sur iPad */
  }
}

/* 📱 Responsive pour mobile */
@media (max-width: 768px) {
  .info-item {
      width: 48.5%; /* 2 colonnes sur téléphone */
  }
}

/* 📱 Responsive pour petits écrans */
@media (max-width: 480px) {
  .info-item {
      width: 100%; /* 1 colonne sur très petits écrans */
  }
  
  .info-container {
      flex-direction: column;
  }
}




/* ================================ Section Partenaire ================================*/
.partner {
  background-color: #fef5d4;
  padding: 30px 5%;
  text-align: center;
}

/* Titre */
.partner-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: bold;
  color: var(--bottom);
  margin-bottom: 15px;
}

/* Container des partenaires */
.partner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 100%;
}

/* Lien des partenaires */
.partner-item {
  text-decoration: none;
  color: var(--bottom);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.partner-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* 🖥 Responsive pour iPad */
@media (max-width: 950px) {
  .partner-container {
      gap: 10px;
  }

  .partner-item {
      font-size: 1rem;
      padding: 8px 12px;
  }
}

/* 📱 Responsive pour mobile */
@media (max-width: 650px) {
  .partner-container {
      flex-direction: column;
      gap: 8px;
  }

  .partner-item {
      font-size: 0.9rem;
      padding: 6px 10px;
  }
}



/* ================================ Conteneur principal  ================================ */
/* 📌 Conteneur principal */
.project-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 3%;
  background-color: #f8f9fc;
}

/* 📌 Boîte du projet */
.project-box {
  max-width: 95%;
  width: 100%;
  background: #09689C;
  display: flex;
  flex-direction: column;
  border: #022140 1px solid;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* 📌 Titre */
.project-title {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: bold;
  color: var(--text-color1);
  margin-bottom: 15px;
}

/* 📌 Texte */
.project-text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-color1);
  line-height: 1.6;
  max-width: 90%;
  margin-bottom: 15px;
}

/* 📌 Groupe de boutons */
.project-btn-group {
  display: flex;
  justify-content: center;
  gap: 10px; /* Moins d’espace pour un bon ajustement */
  margin-top: 15px;
  flex-wrap: wrap; /* Permet aux boutons de passer à la ligne si nécessaire */
}

/* 📌 Boutons */
.project-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-width: 120px; /* Empêche les boutons de devenir trop petits */
}

/* 📌 Bouton principal */
.primary-btn {
  background: #022140;
  color: white;
}

.primary-btn:hover {
  background: #052e4e;
  transform: scale(1.05);
}

/* 📌 Bouton secondaire */
.secondary-btn {
  background: #ff9900b9;
  color: white;
}

.secondary-btn:hover {
  background: #cc7a00;
  transform: scale(1.05);
}

/* 📱 Responsive pour mobile */
@media (max-width: 768px) {
  .project-box {
    max-width: 100%;
    padding: 20px;
  }

  .project-text {
    max-width: 100%;
  }

  .project-btn-group {
    flex-direction: row; /* ✅ Reste en ligne même sur téléphone */
    justify-content: center;
    flex-wrap: nowrap; /* ✅ Empêche les boutons de passer en colonne */
  }

  .project-btn {
    flex: 1; /* ✅ Ajuste la largeur des boutons pour un bon affichage */
    min-width: 100px;
  }
}




/*------- FAQ Container - General Styling -------*/
/* 📌 Conteneur global avec fond rouge et bord arrondi aux extrémités */
.faq-wrapper {
  width: 89%;
  margin: 20px auto;
  padding: 10px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  border: #022140 1px solid;
  border-radius: 10px; /* ✅ Bord arrondi aux extrémités */
}

/* 📌 Section en deux colonnes sans border-radius entre elles */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
}

/* 📌 Sections Adresse & FAQ */
.faq-section {
  background: white;
  /* border: #022140 0.9px solid; */
  padding: 5px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0; /* ❌ Supprime les arrondis entre les sections */
}

/* 📌 Titres centrés */
.faq-wrapper h2 {
  font-size: clamp(1.0rem, 2vw, 1.5rem);
  font-weight: bolder;
  color: black;
  text-align: center;
  padding: 10px;
  border-bottom: 2px solid #840032;
}

/* 📌 Carte Google Maps */
.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 📌 Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion-button {
  background-color: #022140;
  color: white;
  border: none;
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease-in-out;
}

.accordion-button:hover {
  background-color: #052e4e;
}

.accordion-button:focus {
  outline: none;
}

/* Plus/Moins Icon */
.accordion-button::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 10px;
  display: none;
  background-color: #f9f9f9;
  border-left: 3px solid #052e4e;
  border-radius: 6px;
  margin-top: 10px;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-button::after {
  content: '-';
  transform: rotate(180deg);
}

/* 📱 Responsive Design */
@media (max-width: 1024px) {
  .faq-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .faq-wrapper {
      width: 90%;
  }

  .map-container {
      height: 250px;
  }
}

@media (max-width: 480px) {
  .faq-wrapper {
      padding: 10px;
      width: 100%;
  }

  .map-container {
      height: 220px;
  }

  .accordion-button {
      font-size: 0.9rem;
      padding: 8px;
  }
}
