/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER FIXE ========== */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #4bfd51;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.navigation {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== LOGO + TITRE ========== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}
.titre {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

/* ========== MENU DESKTOP ========== */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu > a,
.dropdown-btn {
  position: relative;
  padding: 8px 12px;
  font-weight: 500;
  transition: color 0.3s;
  color: white;
}
.menu > a:hover,
.dropdown-btn:hover {
  color: #2e7d32;
}

/* ========== DROPDOWN ========== */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  display: none;
  min-width: 180px;
  z-index: 999;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #444;
  transition: background 0.3s;
}
.dropdown-menu a:hover {
  background-color: #5cb85c;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========== LOGIN BOUTON ========== */
.login {
  background: #4bfd51;
  color: #eee;
  padding: 8px 14px;
  border-radius: 5px;
  transition: background 0.3s;
}
.login:hover {
  background: white;
}

/* ========== MENU BURGER (mobile) ========== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #2e7d32;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #4bfd51;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }
  .menu.active {
    display: flex;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    border: none;
    background: #4bfd51;
  }
  .dropdown-menu a {
    padding-left: 20px;
  }
  .menu-toggle {
    display: block;
    color: #2e7d32;
  }
}



hr{
  width: 100px; /* Remplacez 50px par la largeur souhaitée */
  margin: 0 auto; /* Centre la ligne horizontalement */
  border: none; 
  height: 3px; /* Définit la hauteur de la ligne */
  background-color: #4bfd51; /* Définit la couleur de la ligne (bleu) */
}

/* debut du content */

 /* video en background */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.background-video {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -0.5;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Assombrit légèrement la vidéo */
}

.content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}


.merci {
    margin-top: 30px;
    color: #4bfd51;
    font-size: 22px;
    margin-bottom: 10px;
}

p {
    font-size: 18px;
    margin-bottom: 10px;
}

.buttons {
    margin-top: 20px;
}

.buttons a{
  text-decoration: none;
}

.btn {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: 0.3s;
}

.primary {
    background: #4bfd51; /*bouton conctact*/
    color: white;
}

.primary:hover {
    background: #fff;
    color: #4bfd51;
}

.secondary {
    background: white;  /*boutton reservation*/
    color: #4bfd51;
}

.secondary:hover {
    background:#4bfd51;
    color: #fff;
}
 /* fin video en background */

 /* image nos partenaires */

 .wave-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 40px;
}

.pic-frame {
  width: 400px;
  height: auto;
  border-radius: 8px;
}

.text-core {
  max-width: 600px;
}

.text-core p {
  font-size: 1rem;
  line-height: 1.6;
}

.mission {
  text-align: center;
  font-size: 2em;
  margin: 20px 0;
}



.fa-check-circle {
  color: #2ecc71;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .wave-block {
    flex-direction: column;
    padding: 20px;
  }

  .pic-frame {
    width: 100%;
    max-width: 90vw;
  }

  .text-core {
    text-align: center;
    padding: 0 10px;
  }
}

.instructors {
  text-align: center;
  position: relative;
  width: 80%;
  margin: auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.instructor {
  min-width: 100%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  background: white;
}

.instructor img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin: 0 5px;
  font-size: 18px;
  text-decoration: none;
}

#prevBtn, #nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 18px;
}

#prevBtn { left: 10px; }
#nextBtn { right: 10px; }


.instructor-info {
    padding: 10px;
}

.instructor-info h3 {
    font-size: 1.2em;
    margin: 0;
}

.instructor-info p {
    color: #777;
    margin: 5px 0;
}
 /* fin image nos partenaires */

/*fin du content*/

/* Conteneur des cartes */

.container{
    margin: 20px;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.welcome-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  background-color: white;
  padding: 40px;
  margin: 50px auto;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}

.mission{
    text-align: center;
    font-size: 26px; 
    margin: 35px; 
    color: #4bfd51;
  }

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* S'adapte à l'écran */
    gap: 20px;
    padding: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

/* Style des cartes */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.card h3, h4{
    font-size: 24px;
    color: #4bfd51;
}

.card p {
    font-size: 16px;
    color: #103811;
}

.card:hover {
    transform: scale(1.05);
    background: #4bfd51;
    color: #fff;
}

.card:hover p, .card:hover h3 {
    color: #fff;
}



/* Icônes */
.icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
    .mission {
        font-size: 22px;
    }

    .mission::before,
    .mission::after {
        width: 50px;
    }

    .container {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}

/* fin duConteneur des cartes */


/*barre en vert avec image en diasporama*/

/* Image d'arrière-plan */
.background {
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: url('../img/pre.jpg'); /* Remplacez 'background.jpg' par votre image */
    
    background-position: center;
  }
  
  /* Superposition transparente verte */
  .overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Vert avec transparence */
  }
  
  /* Carousel */
  .carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permet de s'adapter aux petits écrans */
  }
  
  figure {
    margin: 20px;
  }
  
  figure img {
    width: auto;
    max-width: calc(100% - 40px); /* Responsive pour les petits écrans */
  }
  
  figcaption {
    text-align: center;
    font-size: 14px;
    color: white; /* Texte blanc pour contraste */
  }

  @media (max-width:768px) {
    figure img {
        max-width: calc(100% - 20px);
    }
    figcaption {
        font-size:12px; /* Réduction de la taille du texte sur les petits écrans */
    }
}

/*footer*/

/* Footer Général */
.footer {
    background-color: #004d40; /* Vert foncé pour refléter l'environnement */
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap; /* Responsive */
    justify-content: space-between;
  }
  
  .footer-container > div {
    flex: 1;
    margin: 10px;
  }
  
  .footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer p, .footer ul {
    font-size: 14px;
  }
  
  .footer ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer ul li {
    margin-bottom: 5px;
  }
  
  /* Liens sociaux */
  .footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out; /* Ajoute une transition pour la couleur */
  }
  
  .footer-social a:hover {
    transform: scale(1.2);
    color: #4bfd51; /* Vert clair au survol */
  }
  
  
  /* Section bas de page */
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
  }
  
  /* Responsive */
  @media (max-width:768px) {
    .footer-container {
      flex-direction: column; /* Les sections s'empilent sur petits écrans */
      text-align: center; /* Centrer le texte */
    }
  }
 /*fin footer*/ 

 /*debut de page contact*/

 /* Styles généraux */

  .athamm-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
  }
  
  .mission1{
    margin-top: 100px;
    text-align: center;
    font-size: 26px; 
     
    color: #fff;
  }

  /* Section de contact */
  .contact-section {
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  }
  
  .contact-section .athamm-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alignement en haut */
  }
  
  /* Formulaire de contact */
  .contact-form {
    width: 50%;
    padding-right: 20px;
  }
  
  .contact-form h2 {
    color: #5cb85c;
    margin-bottom: 10px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .envoyer {
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: solid;
    border-radius: 16px;
    cursor: pointer;
  }

  .envoyer {
    background:#4bfd51;
    color: #fff;
}

  .envoyer:hover {
    background: white;  /*boutton reservation*/
    color: #4bfd51;
}
  
  /* Informations de contact */
  .contact-info {
    width: 45%;
  }
  
  .contact-info h2 {
    color: #5cb85c;
    margin-bottom: 10px;
  }
  
  .contact-info p {
    margin-bottom: 10px;
  }
  
  /* Liens sociaux */
  .social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #333;
    font-size: 20px;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  }
  
  .social-links a:hover {
    transform: scale(1.2);
    color: #5cb85c;
  }
  

  
  /* Responsive */
  @media (max-width: 768px) {
    .athamm-container {
      width: 90%;
      flex-direction: column;
    }
  
    .contact-form, .contact-info {
      width: 100%;
      padding-right: 0;
    }
  }

  /*fin de la page contact*/

  /*debut de la page service*/

/* Styles généraux */
  
  .athamms-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    
  }
  
  .background2 {
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: url('../img/pre.jpg'); /* Remplacez 'background.jpg' par votre image */
    background-size: cover;
    background-position: center;
  }
  
  /* Superposition transparente verte */
  .overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Vert avec transparence */
  }
 
  
  /* Abonnement */
  .subscription-plans {
    padding: 20px;
  }
  
  .subscription-plans .athamms-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .plan {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
    transition: transform 0.3s ease; /* Transition pour l'effet de zoom */
  }
  
  .plan:hover {
    transform: scale(1.05); /* Zoom de 5% au survol */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée au survol */
}

  .plan h3 {
    color: #5cb85c;
  }
  
  .plan ul {
    list-style: none;
    padding: 0;
  }
  
  .plan li {
    margin-bottom: 5px;
  }
  
  .plan .price {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 15px;
  }
  
  .subscribe-button {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }
  
  
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .athamms-container {
      width: 90%;
    }
  
    .subscription-plans .athamms-container {
      flex-direction: column;
      align-items: center;
    }
  
    .plan {
      width: 100%;
      margin: 20px 0;
    }
  }
  
  /* fin de la page service*/
  
  

  .bacs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
  }
  
  .bac-item {
    text-align: center;
    max-width: 200px;
    flex: 1 1 150px;
  }
  
  .bac-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .bac-item img:hover {
    transform: scale(1.05);
  }
  
  .caption {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
  }
  


