* {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.header_index {
  position: relative;
  margin-top: 100px
  width: 100vh;
  height: 60vh;
  background-image: url('/static/images/banner-index.avif');
  background-size: cover; /* Pour couvrir tout le conteneur */
  background-position: center; /* Pour centrer l'image */
  background-repeat: no-repeat; /* Pour éviter la répétition de l'image */
}

.header_index::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  left: 0;
  background-color: #9d0671;
  opacity: 0.5;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 50px;
}

.header-content h1 {
  color: #fff;
  font-weight: 900;
  font-size: 3em;
}
.header-content p {
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
}


.banner-families {
  padding: 20px;
  text-align: center;
  width: 100%;
  margin-top: 0px;
  box-sizing: border-box;
}

.families {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.family {
  background-color: #a85e10; /* Couleur pour les familles */
  padding: 15px 25px;
  border-radius: 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin: 5px;
}

@media screen and (max-width: 768px) {
  .families {
    flex-direction: column;
    align-items: center;
  }

  .family {
    width: 80%;
  }
}



.world_index {
  position: relative;
  width: 100%;
  height: 40vh; /* Hauteur initiale de la bannière */
  background-image: url('https://img.freepik.com/vecteurs-libre/carte-du-monde-noire-propre-dans-design-modele-style-silhouette_1017-46154.jpg?t=st=1723673741~exp=1723677341~hmac=09788a8f3536b5b515e6dff9ca32a3b2ccc21220b4e831123ac4540a264169bc&w=1380');
  background-size: cover; /* Couvre tout l'espace disponible */
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 100px;
}

.world_index::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 0, 128, 0.5); /* Superposition violette avec opacité de 50% */
  z-index: 1;
}

.world-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.world-content h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.world-content p {
  font-size: 1.2em;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.6;
  color: white;
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
  .world_index {
    height: 40vh; /* Réduire la hauteur de la bannière sur les écrans plus petits */
  }

  .world-content h1 {
    font-size: 2em;
  }

  .world-content p {
    font-size: 1em;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .world_index {
    height: 35vh; /* Encore réduire la hauteur pour les petits appareils */
  }

  .world-content h1 {
    font-size: 1.5em;
  }

  .world-content p {
    font-size: 0.9em;
    max-width: 95%;
  }
}


/* fun facts */
/* 
---------------------------------------------
Fun Facts Style
--------------------------------------------- 
*/

.fun-facts {
  text-align: center;
  margin-top: 10px;
}

.fun-facts .counter {
  background-color: transparent;
  position: relative;
  border-radius: 10px;
  width: 270px;
  padding: 20px 0px;
  display: inline-block;
}

.fun-facts .counter h2,
.fun-facts .counter p {
  display: inline-flex;
  vertical-align: middle;
}

.fun-facts .counter p {
  text-align: left;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  line-height: 28px;
}

.fun-facts .counter h2 {
  margin-right: 25px;
  font-size: 40px;
  color: #9d0671;
}

.fun-facts .counter:after {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #9d0671;
  border-radius: 50%;
  content: '';
  right: -25px;
  top: -25px;
}

/* fun facts */
.banner {
  background: linear-gradient(45deg, #d7166c, #9d0671);
  padding: 0 20px;
  text-align: center;
  width: 100%;
  height: 40vh; /* Ajuste automatiquement la hauteur */
  color: white;
  margin-top: 100px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 20px;
}

.title img {
  width: 150px;
  height: 150px;
}

.devise {
  font-size: 20px;
  font-weight: bold;
  background-color: #a85e10;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fbb827;
  margin-top: 15px;
  word-wrap: break-word; /* Assure que le texte ne dépasse pas */
}

.branches {
  display: flex;
  flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
  justify-content: space-between;
  gap: 20px;
}

.branch {
  background-color: #f1a4d3;
  padding: 15px;
  border-radius: 10px;
  flex: 1;
  min-width: 22%;
  font-size: 18px;
  font-weight: bold;
  color: #80006d;
  box-shadow: 5px 5px 0px #e9980b;
  text-align: center;
}

.branch:nth-child(2) {
  font-size: 20px;
}

.branch:nth-child(3) {
  line-height: 1.5em;
}

@media (max-width: 768px) {
  .banner {
    padding: 10px;
    height: auto;
  }

  .branches {
    flex-direction: column;
  }

  .branch {
    min-width: 100%;
    margin-bottom: 10px;
  }
}



.programme-cards {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

.programme-cards .card {
  text-align: center;
  width: 250px;
  margin: 10px;
  border: none; /* Enlève les bordures autour des cartes */
  box-shadow: none; /* Enlève les ombres autour des cartes */
}

.programme-cards .card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Conserve les ombres sur l'image uniquement */
  margin: 0 auto; /* Centre l'image */
}

.programme-cards h3 {
  font-size: 24px;
  margin: 15px 0;
  color: #000;
  text-align: center; /* Centre le texte du titre */
}

.programme-cards ul {
  padding: 0;
  list-style: none; /* Enlève les puces des éléments de liste */
  text-align: center; /* Centre le texte des éléments de la liste */
}

.programme-cards ul li {
  font-size: 16px;
  margin: 5px 0;
  color: #333;
}

.programme-cards ul li .live {
  color: red;
  font-weight: bold;
}



/* 
---------------------------------------------
Contact Style
--------------------------------------------- 
*/

.contact {
  background-image: url("../images/contact-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 100px 0px 250px 0px;
  position: relative;
}

.contact .section-heading h2 {
  color: #fff;
}

.contact-content {
  margin-top: -240px;
  position: relative;
  z-index: 1;
}

.contact-content #map {
  border-radius: 10px;
  margin-bottom: 60px;
}

.contact-content .item {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-content .phone {
  margin-right: 15px;
}

.contact-content .email {
  margin-left: 15px;
}

.contact-content .item img {
  float: left;
  margin-right: 25px;
  vertical-align: middle;
}

.contact-content .item h6 {
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}

.contact-content .item h6 span {
  font-size: 15px;
  color: #aaaaaa;
  font-weight: 400;
}

.contact-content #contact-form {
  margin-left: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-content #contact-form label {
  font-size: 15px;
  color: #3a3a3a;
  margin-bottom: 15px;
}

.contact-content #contact-form input {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 30px;
  font-size: 14px;
  padding: 0px 15px;
}

.contact-content #contact-form textarea {
  width: 100%;
  height: 150px;
  max-height: 180px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 40px;
  font-size: 14px;
  padding: 15px 15px;
}

.contact-content #contact-form button {
  background-color: #9d0671;
  height: 44px;
  border-radius: 22px;
  padding: 0px 20px;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .5s;
}

.contact-content #contact-form button:hover {
  background-color: #9d0671;
}

/* contact */



/* RESPONSIVE  */
/* Styles généraux pour les petits écrans */
@media (max-width: 767px) {
  /* Header */
  .header_index {
    margin-top: 50px;
    height: 40vh; /* Réduit la hauteur du header */
  }

  .header-content h1 {
    font-size: 2em; /* Réduit la taille du texte */
  }

  .header-content p {
    font-size: 16px; /* Réduit la taille du sous-titre */
  }

  /* Fun Facts */
  .fun-facts .counter {
    width: 100%;
    padding: 10px 0px;
  }

  .fun-facts .counter h2 {
    font-size: 30px;
  }

  .fun-facts .counter p {
    font-size: 14px;
  }

  /* Bannière */
  .banner {
    padding: 15px;
  }

  .branches {
    flex-direction: column; /* Affiche les branches en colonne */
    gap: 10px;
  }

  .branch {
    width: 100%; /* Prend toute la largeur disponible */
  }

  /* Programme Cards */
  .programme-cards {
    flex-direction: column;
    padding: 10px;
  }

  .programme-cards .card {
    width: 100%; /* Chaque carte prend toute la largeur disponible */
    margin: 15px 0; /* Espace entre les cartes */
  }

  /* Contact */
  .contact-content #map {
    height: 300px; /* Réduit la hauteur de la carte */
  }

  .contact-content .item {
    padding: 20px;
  }

  .contact-content #contact-form {
    margin-left: 0;
    padding: 20px;
  }

  .contact-content #contact-form input,
  .contact-content #contact-form textarea {
    font-size: 12px;
  }

  .contact-content .item h6 {
    font-size: 18px;
  }
}

/* Styles pour les écrans moyens */
@media (min-width: 768px) and (max-width: 991px) {
  /* Header */
  .header_index {
    height: 50vh; /* Ajuste la hauteur du header */
  }

  .header-content h1 {
    font-size: 2.5em;
  }

  .header-content p {
    font-size: 18px;
  }

  /* Fun Facts */
  .fun-facts .counter {
    width: 80%;
  }

  .fun-facts .counter h2 {
    font-size: 35px;
  }

  .fun-facts .counter p {
    font-size: 15px;
  }

  /* Bannière */
  .banner {
    padding: 20px;
  }

  .branches {
    flex-direction: column; /* Affiche les branches en colonne */
    gap: 15px;
  }

  .branch {
    width: 100%; /* Prend toute la largeur disponible */
  }

  /* Programme Cards */
  .programme-cards {
    flex-direction: column;
    padding: 15px;
  }

  .programme-cards .card {
    width: 80%; /* Ajuste la largeur des cartes */
    margin: 20px auto; /* Centre les cartes */
  }

  /* Contact */
  .contact-content #map {
    height: 400px; /* Ajuste la hauteur de la carte */
  }

  .contact-content .item {
    padding: 25px;
  }

  .contact-content #contact-form {
    margin-left: 15px;
    padding: 25px;
  }

  .contact-content #contact-form input,
  .contact-content #contact-form textarea {
    font-size: 14px;
  }

  .contact-content .item h6 {
    font-size: 19px;
  }
}

/* Styles pour les grands écrans */
@media (min-width: 992px) {
  /* Header */
  .header_index {
    height: 60vh; /* Hauteur par défaut pour les grands écrans */
  }

  .header-content h1 {
    font-size: 3em;
  }

  .header-content p {
    font-size: 20px;
  }

  /* Fun Facts */
  .fun-facts .counter {
    width: 270px;
  }

  .fun-facts .counter h2 {
    font-size: 40px;
  }

  .fun-facts .counter p {
    font-size: 16px;
  }

  /* Bannière */
  .banner {
    padding: 20px 20px 50px;
  }

  .branches {
    flex-direction: row;
    gap: 20px;
  }

  .branch {
    width: 22%;
  }

  /* Programme Cards */
  .programme-cards {
    flex-direction: row;
    padding: 20px;
  }

  .programme-cards .card {
    width: 250px; /* Largeur par défaut pour les cartes */
    margin: 10px;
  }

  /* Contact */
  .contact-content #map {
    height: 500px;
  }

  .contact-content .item {
    padding: 35px 30px;
  }

  .contact-content #contact-form {
    margin-left: 30px;
    padding: 35px 30px;
  }

  .contact-content #contact-form input,
  .contact-content #contact-form textarea {
    font-size: 14px;
  }

  .contact-content .item h6 {
    font-size: 20px;
  }
}
