* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body { 
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
}

/* Style général de la navbar */
.navbar {
  background: #F9c611;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  z-index: 10;
}

.navbar-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.navbar-logo img {
  width: 60px;
}

.navbar-links {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 15px;
}

.navbar-links li {
  margin: 0;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  transition: background 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  background: #000;
  border-radius: 5px;
}

/* Bouton hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #F9c611;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links li {
    text-align: center;
    margin: 10px 0;
  }

  .navbar-toggle {
    display: block;
  }
}

/* Masquer le menu déroulant par défaut */
.dropdown-menu {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  top: 100%;
  left: 0;
  z-index: 100;
}

/* Afficher le menu déroulant quand actif */
.dropdown.active .dropdown-menu {
  display: block;
}

/* Styliser les éléments de la liste déroulante */
.dropdown-menu li {
  padding: 10px;
  text-align: left;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #f1f1f1;
}


.hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Ajuster la hauteur de la section à 60% de l'écran */
  background-image: url('photo/photo sm.jpg'); /* Chemin vers l'image de fond */
  background-size: cover; /* L'image couvre toute la zone sans déformation */
  background-position: center center; /* Centre l'image */
  background-repeat: no-repeat; /* Empêche l'image de se répéter */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrer verticalement le contenu */
  align-items: center; /* Centrer horizontalement le contenu */
  border-radius: 15px; /* Ajoute des bords arrondis à la section */
  overflow: hidden; /* Masque tout contenu qui dépasse les bords arrondis */
  max-width: 70%; /* Limite la largeur à 70% sur grand écran */
  margin: 0 auto; /* Centrer la section horizontalement */
}

@media (max-width: 768px) {
  .hero-section {
    background-size: cover; /* L'image s'ajuste en couverture de l'écran */
    height: 100vh; /* L'image prend toute la hauteur de l'écran */
    max-width: 100%; /* L'image occupe 100% de la largeur en version mobile */
  }
}

.hero-section img.logo {
  width: 150px; /* Taille réduite du logo */
  margin-bottom: 20px; /* Espacement entre le logo et le texte */
}

.hero-section h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
  position: relative;
  z-index: 1; /* S'assurer que le texte est au-dessus de l'image */
}

.hero-section h1 span {
  color: #ffffff;
  text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
  transition: color 0.3s, text-shadow 0.3s;
}

.hero-section h1 span:hover {
  color: #000000;
  text-shadow: 0 0 3px #000, 0 0 5px #ffffff; /* Ajoute un contour noir autour du texte */
}

.sidebar img.ffhb-logo {
  width: 80px; /* ajustez la largeur selon vos besoins */
  height: auto; /* pour conserver le ratio d'aspect */
}


.content-section {
  display: flex;
  justify-content: space-around; /* espace entre chaque élément */
  align-items: flex-start; /* aligne les éléments en haut */
  margin: 20px auto; /* ajoute un espacement au-dessus et en dessous de la section */
  flex-wrap: wrap; /* permet aux sections de passer sur une nouvelle ligne si l'écran est trop petit */
  width: 90%; /* réduit la largeur du conteneur pour plus de marge latérale */
}

.sidebar, .content-box {
  width: 30%; /* assure que chaque section occupe environ un tiers de la ligne */
  max-width: 300px; /* limite la largeur pour écrans larges */
  padding: 20px;
  background-color: #f9c611;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  text-align: center;
  margin: 10px; /* espace autour des éléments */
}



/* Retirer le bleu des textes dans les boîtes */
.content-box a {
  color: #000000; /* Définit une couleur neutre (gris foncé) pour les liens */
  text-decoration: none; /* Supprime le soulignement */
  transition: color 0.3s, text-shadow 0.3s; /* Transition pour une animation fluide */
}

.content-box a:hover {
  color: #fff; /* Change le texte en blanc au survol */
  text-decoration: none; /* Supprime le soulignement au survol */
  text-shadow: 0 0 3px #000, 0 0 5px #000; /* Ajoute un contour noir autour du texte */
}

/* Responsive : sur petits écrans, chaque section prend toute la largeur */
@media (max-width: 800px) {
  .sidebar, .content-box {
    width: 100%;
  }
}

footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}

.footer-logo {
  flex: 1;
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f9c611;
}

.footer-info,
.footer-social,
.footer-newsletter {
  flex: 1;
  margin-bottom: 20px;
  text-align: center;
}

.footer-info h3,
.footer-social h3,
.footer-newsletter h3 {
  color: #f9c611;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-info a,
.footer-newsletter a {
  color: #f9c611;
  text-decoration: none;
}

.footer-info a:hover,
.footer-newsletter a:hover {
  text-decoration: underline;
}

.footer-social .social-icons a {
  color: #f9c611;
  font-size: 1.5rem;
  margin: 0 8px;
  transition: color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffdd57;
}

.footer-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Assurer que les champs se réorganisent sur petits écrans */
  gap: 15px; /* Espacement entre les champs */
  width: 100%;
}

.form-group {
  width: 48%; /* Permet aux champs de se diviser en 2 sur les écrans plus grands */
  margin-bottom: 20px;
}

.form-group label {
  color: #f9c611;
  margin-bottom: 10px;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  height: 100px;
}

button {
  padding: 15px;
  background-color: #f9c611;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  width: auto;
}

button:hover {
  background-color: #ffdd57;
}

/* Responsive design pour les petits écrans */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-info,
  .footer-social,
  .footer-newsletter {
    flex: none;
    margin-bottom: 20px;
  }

  .footer-form {
    flex-direction: column;
    align-items: center;
  }

  .form-group {
    width: 100%; /* Champs prennent toute la largeur sur petits écrans */
  }
}

.facebook-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.facebook-widget .fb-page {
  max-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  width: 500px; /* Largeur par défaut sur les grands écrans */
  height: 500px; /* Hauteur fixe */
}



@media (min-width: 1200px) {
  .facebook-widget .fb-page {
    width: 500px; /* Largeur plus grande pour grands écrans */
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .facebook-widget {
    display: none;
  }

  .facebook-widget .fb-page {
    display: none;
  }
}