
*
body {
    margin: 0;
    font-family: 'El Messiri', sans-serif;
  }
  
   /* ✅ Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;
  background-color: white;
  color: #34495e;
  position: relative;
}

/* ✅ Logo */
.logo img {
  height: 60px;
  width: auto;
}

/* ✅ Menu principal */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline;
}

.menu a {
  text-decoration: none;
  color: #34495e;
  font-size: 16px;
  transition: color 0.3s;
}

.menu a:hover {
  color: #f0a500;
}

/* ✅ Bouton */
.button-container .btn {
  text-decoration: none;
  padding: 10px 20px;
  background-color: #f0a500;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.button-container .btn:hover {
  background-color: #eb984e;
  color: #34495e;
}

/* ✅ Icône Menu Burger */
.burger-menu {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

/* ✅ Barres du menu */
.burger-menu span {
  display: block;
  width: 100%;
  height: 4px;
  background: #34495e;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}

/* ✅ Placement des barres */
.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 10px; }
.burger-menu span:nth-child(3) { top: 20px; }

/* ✅ Animation pour transformer le menu en croix */
.burger-menu.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ✅ Responsive - Affichage du menu sur mobile */
@media (max-width: 768px) {
  .menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
      transition: all 0.3s ease-in-out;
  }

  .menu li {
      display: block;
      padding: 10px 0;
  }

  .burger-menu {
      display: block; /* Affiche le burger sur mobile */
  }

  /* ✅ Affichage du menu au clic */
  .menu.active {
      display: flex;
  }
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80vh;
  background: url('ab.jpg') no-repeat center center;
  color: black;
  margin: 15px;
  padding: 20px;
  border-radius: 40px;
  background-size: cover; /* L'image couvre la zone, mais peut être coupée */
  background-position: center center;
}

/* Responsive : ajuster l'affichage sur des écrans plus petits */
@media (max-width: 768px) {
  .banner {
    height: 60vh; /* Ajuste la hauteur pour les écrans plus petits */
    background-size: contain; /* L'image s'ajuste entièrement sans être coupée */
    background-repeat: no-repeat; /* Empêche l'image de se répéter */
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 50vh; /* Hauteur ajustée pour les très petits écrans */
    background-size: contain; /* Assure que l'image soit entièrement visible */
    background-repeat: no-repeat;
    border-radius: 15px;
  }
}

.banner-content {
  max-width: 800px;
}

.banner-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'El Messiri', sans-serif;
}

.banner-description {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.banner-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0a500;
  color: #2e4053;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 9px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-btn:hover {
  background-color: white;
  color: #f0a500;
}

/* Adaptation pour tablettes */
@media (max-width: 768px) {
  .banner {
    height: 60vh; /* Réduit la hauteur de la bannière */
    padding: 15px;
  }

  .banner-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .banner-description {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .banner-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Adaptation pour mobile */
@media (max-width: 480px) {
  .banner {
    height: 50vh; /* Réduit encore la hauteur pour les petits écrans */
    padding: 10px;
  }

  .banner-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .banner-description {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .banner-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}


.about-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f5f5f5;
}

.about-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  min-height: 250px;
  margin-left: 9px;
}

.about-item i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #26a69a;
}

.about-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.about-item p {
  flex-grow: 1;
}

/* Adaptation pour tablettes */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Aligne les éléments en colonne sur tablette */
    align-items: center;
  }

  .about-item {
    width: 100%; /* Permet aux éléments de prendre toute la largeur disponible */
    margin-left: 0; /* Enlève l'écart entre les éléments */
    margin-bottom: 20px; /* Espace entre les éléments */
    min-height: auto; /* Laisse les éléments ajuster leur hauteur automatiquement */
  }

  .about-item i {
    font-size: 35px;
  }

  .about-item h3 {
    font-size: 18px;
  }

  .about-item p {
    font-size: 0.95rem;
  }
}

/* Adaptation pour mobile */
@media (max-width: 480px) {
  .about-section {
    padding: 30px 0; /* Réduit le padding pour les petits écrans */
  }

  .about-item i {
    font-size: 30px; /* Réduit la taille de l'icône */
  }

  .about-item h3 {
    font-size: 16px; /* Réduit la taille du titre */
  }

  .about-item p {
    font-size: 0.85rem; /* Réduit la taille du texte */
  }
}





.accordion-section {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.accordion-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 5px;
  position: relative;
  color: #3f51b5;
}

.accordion-title::after {
  content: "+";
  font-size: 20px;
  position: absolute;
  right: 15px;
  transition: transform 0.3s;
  color: #ff6f00;
}

input[type="checkbox"] {
  display: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding: 0 10px;
}

input[type="checkbox"]:checked + .accordion-title + .accordion-content {
  max-height: 200px; /* Ajuste selon le besoin */
  padding: 10px;
}

input[type="checkbox"]:checked + .accordion-title::after {
  content: "-";
  transform: rotate(180deg);
}


.services-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.service-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.service-item img {
  width: 90px;
  height: 90px;
  margin-bottom: 10px;
}

.service-item h3 {
  margin: 10px 0;
  font-size: 18px;
}

.service-item p {
  font-size: 14px;
  color: #666;
}

.carousel-section {
  padding: 40px 20px;
  background-color: #f7f7f7;
}

.description {
  text-align: center;
  margin-bottom: 30px;
}

.description h2 {
  font-size: 2rem;
  color: #333;
}

.description p {
  font-size: 1rem;
  color: #777;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Adaptation pour tablettes */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* Réduit le nombre de colonnes à 2 sur tablette */
    gap: 15px;
  }

  .service-item {
    padding: 15px;
  }

  .service-item img {
    width: 80px;
    height: 80px;
  }

  .service-item h3 {
    font-size: 16px;
  }

  .service-item p {
    font-size: 13px;
  }

  .description h2 {
    font-size: 1.5rem;
  }

  .description p {
    font-size: 0.95rem;
  }
}

/* Adaptation pour mobile */
@media (max-width: 480px) {
  .services-container {
    grid-template-columns: 1fr; /* Affiche les services en une seule colonne sur mobile */
    gap: 10px;
  }

  .service-item {
    padding: 10px;
  }

  .service-item img {
    width: 70px;
    height: 70px;
  }

  .service-item h3 {
    font-size: 14px;
  }

  .service-item p {
    font-size: 12px;
  }

  .description h2 {
    font-size: 1.2rem;
  }

  .description p {
    font-size: 0.9rem;
  }
}

/* ✅ CONTAINER DU CARROUSEL */
.carousel-container {
  overflow: hidden; 
  max-width: 100%; 
  height: 240px; 
}

/* ✅ Carrousel */
.carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}

/* ✅ Élément du carrousel */
.carousel-item {
  flex: 0 0 200px; 
  margin-right: 30%; 
  text-align: center;
}

/* ✅ Image du carrousel */
.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .carousel-container {
    height: 180px; /* Réduction de la hauteur */
  }

  .carousel-item {
    flex: 0 0 150px; /* Réduit la taille des éléments */
    margin-right: 10%; /* Ajuste l'espacement */
  }

  .carousel-item img {
    height: 150px;
  }
}

/* ✅ ANIMATION DU DÉFILEMENT AUTOMATIQUE */
@keyframes scroll {
  0% { transform: translateX(0); }
  20% { transform: translateX(calc(-210px)); }
  40% { transform: translateX(calc(-420px)); }
  60% { transform: translateX(calc(-630px)); }
  80% { transform: translateX(calc(-840px)); }
  100% { transform: translateX(0); }
}

.carousel {
  animation: scroll 15s infinite;
}




.image-text-section {
  padding: 50px 20px;
  background-color: #f8f8f8;
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.image-container {
  flex: 1;
  text-align: center;
}

.image-container img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.bottom-text {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.text-container {
  flex: 1;
  padding: 20px;
}

.text-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.text-container p {
  font-size: 16px;
  color: #333;
}










.alternating-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 90%;
  margin: auto;
}

.alternating-section p {
  align-items: center;
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Image et texte prennent la même largeur */
.image-container, .text-container {
  flex: 1;
}

.image-container img {
  width: 60%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
}

/* Inversion automatique des blocs impairs */
.content-container:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive pour tablettes */
@media screen and (max-width: 768px) {
  .content-container {
    flex-direction: column !important;
    text-align: center;
  }

  .image-container img {
    max-width: 100%;
  }

  /* Ajustements pour l'espacement dans la section alternée */
  .alternating-section {
    width: 100%; /* Assure que la section prend toute la largeur sur tablette */
  }
}

/* Final Section */
.final-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #b2dfdb;
  margin: 15px;
}

.final-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.text-container {
  flex: 1;
  padding: 20px;
}

.text-container h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.text-container p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: orange;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background-color: darkorange;
}

/* Icône Users */
.icon-container {
  flex: 1;
  text-align: center;
}

.icon-container i {
  font-size: 120px;
  color: #333;
}

/* Responsive pour tablettes */
@media (max-width: 768px) {
  .final-content {
    flex-direction: column;
    text-align: center;
  }

  .text-container {
    padding: 20px 0;
  }

  .icon-container i {
    font-size: 100px;
  }
}

/* Responsive pour mobiles */
@media (max-width: 480px) {
  .final-section {
    padding: 40px 15px; /* Réduit le padding pour mobile */
  }

  .text-container h2 {
    font-size: 24px; /* Réduit la taille du titre */
  }

  .text-container p {
    font-size: 16px; /* Réduit la taille du texte */
  }

  .btn {
    padding: 10px 20px; /* Réduit la taille du bouton */
    font-size: 16px; /* Réduit la taille de la police du bouton */
  }

  .icon-container i {
    font-size: 80px; /* Réduit la taille de l'icône */
  }
}



.footer {
    background-color:  #e5e7e9 ; 
    color:  #273746 ; /* Texte blanc */
    padding: 40px 20px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Divs individuelles */
  .footer-container > div {
    flex: 1;
    min-width: 250px;
  }
  
  /* Titres des sections */
  .footer h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color:  #273746 ; /* Doré */
  }
  
  /* Logo dans la section À propos */
  .footer-about .footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
  }
  
  /* Paragraphes */
  .footer p,
  .footer li {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Liens */
  .footer a {
    color:  #273746 ;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer a:hover {
    color: #d35400;
  }
  
  /* Liste des liens */
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 8px;
  }
  