/* -------------------- */
/* 🌐 BASE GLOBAL SETUP */
/* -------------------- */

:root {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --accent: #f1c40f;
  --danger: #e74c3c;
  --text: #2c3e50;
  --bg: #ecf0f1;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --accent: #f1c40f;
  --danger: #e74c3c;
  --text: #ecf0f1;
  --bg: #1a1a1a;
  --white: #2c3e50;
  --shadow: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  text-decoration: none;
  list-style: none;
}

@font-face {
  font-family: myFonts;
  src: url(./assets/fonts/Poppins-Black.ttf)
  format('truetype');
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: myFonts;
  transition: background 0.5s ease, color 0.3s ease;
}

.header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  box-shadow: 0 0 4px var(--text);
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  border-top: 2px solid #cba2a2;
  z-index: 1111;

}
.headerTopLefte{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.headerTopeLeft-logo img{
  width: 45px;
  filter: drop-shadow(0 0 1px Var(--danger));
}
.headerTopeLeft-text{
  position: relative;
  
}
.headerTopeLeft-text h1{
  color: #013f4a;
  font-weight: 300px;
  font-style: italic;
}
.headerTopeLeft-text h1 span{
  color: #dbd7d2;
}

.headerBottonRight .headerBottonRight-nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.headerBottonRight .headerBottonRight-nav ul li a{
  font-family:  myFonts, serif;
 font-family: tahoma;
 font-size: 0.95rem;
 font-weight: 300;
}
.headerBottonRight .headerBottonRight-nav ul li a:hover{
  background: #f0f8ff;
}

.child1{
 color: #450a3b;
}
.child2{
 color: violet;
}
.child3{
  color: #8e5915;
}

.child4{
 color: #591da9;
}
.child5{
  color: #57370d;
}

@media (max-width: 900px) {
    .header{
        height: 150px;

      }
      .headerTopeLeft-text h1{
        font-weight: 600;
      }
      
      .headerTopLefte{
      width: 100%;
      border-bottom: 1px solid var(--shadow);
    }
     
}
@media (max-width: 600px) {
      .header{
        height: auto;
        flex-direction: column;

      }
     .headerBottonRight-nav ul{
        justify-content: center;
     }
     .headerBottonRight .headerBottonRight-nav ul li{
      margin: 2px 5px;
     }
     .headerTopLefte{
      width: 100%;
      gap: 30px;
      justify-content: flex-start;
     }
     .headerTopeLeft-text h1{
      font-size: 1.5rem;
      font-weight: 400;
     }
}



img {
  max-width: 100%;
  height: auto;
}

p{
  font-size: 1.1rem;

}
span
img{
  width: 100%;
  aspect-ratio: 1;
}
@media (max-width: 980px) {

}
@media (max-width: 900px) {
.logo {
  flex-wrap: wrap;
  gap: 15px;
}
  .logo .logo-items{
      display: flex;
      align-items: center;
      justify-content: center;
    }
  .logo .logo-items span{
    text-align: center;
    font-size: 0.95rem;
  }
  .logo-items img{
    width: 100%;
  }
}
@media (max-width: 600px) {
   .logo .logo-items img{
    width: 100%;
  }

}

h2, h3{
  color: var(--primary);
}
h4{
  text-align: center;
  font-family: tahoma;
  font-size: 2rem;
  color: var(--primary);
  transform: 0.5s ease-in-out;
  padding: 5px;
  z-index: 1000;
 
}
h4::after{
  content: "";
  position: absolute;
  width: 100px;
  height: 2px;
  right: 10%;
  background: var(--primary);
   animation: animated 9s infinite;
}

h4::before{
  content: "";
  position: absolute;
  width: 100px;
  height: 4px;
  left: 10%;
  background: var(--primary);
  animation: animated 6s infinite;
}
@keyframes animated {
  0%{
    background: 0% var(--bg);
    color: var(--text);
    width: 25px;
    height: 25px;

  }
  50%{
    background: 25% var(--accent);
     color: var(--text);
    width: 25px;
    height: 10px;
  }
  75%{
    background: 100% rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
  
  }
}
/* ---------------- */
/* 🔝 HEADER/NAVBAR */
/* ---------------- */

#nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 40px;
  background: var(--white);
}

.list-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.list-links li a {
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: capitalize;
  transition: 0.3s ease;
}

.list-links li a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .header{
   
  }
}
/* info popup */
.info-popup{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%);
  background: #e74c3c;
  color: black;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  max-width: 400px;
  text-align: center;
  font-size: 1.2rem;
  font-family: 'Times New Roman', Times, serif;
  display: none;
}
.info-popup button{
  margin-top: 10px;
  background: var(--white);
  color: var(--primary-dark);
  border: none;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;

}
.info-popup button:hover{
  background: var(--primary-dark);
  color: var(--white);
}

@media (max-width: 600px) {
  .info-popup{
    width: 100%;
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    padding: 15px;
    font-size: 0.9rem;
  }
  .info-popup button{
    width: 100%;
    padding: 10px;
    font-size: 0.85rem;
  }
}
/* ------------- */
/* 🧱 MAIN STYLES */
/* ------------- */

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------------- */
/* 💫 WELCOME AVEC BORDURE NÉON ANIMÉE */
/* ---------------- */
.welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  margin-top: 0;
  padding-top: 20px;
  box-shadow: 0 0 10px var(--shadow);
  overflow: hidden;
  width: 100%;
}

/* Effet néon circulant autour */
.welcome::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from 0deg,
    #2ecc71,
    #27ae60,
    #f1c40f,
    #e74c3c,
    #2ecc71
  );
  border-radius: 14px;
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

/* Masque intérieur pour que seule la bordure reste visible */
.welcome::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: var(--white);
  border-radius: 10px;
  z-index: 1;
}

/* Texte au-dessus de l’effet */
.welcome * {
  position: relative;
  z-index: 2;
}

.welcome p{
  font-family: 'Times New Roman', Times, serif;
  max-width: 600px;
  /* font-size: 0.95rem; */
}
@media (max-width: 600px) {
.welcome{
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 10px;
}
}

/* Animation de rotation */
@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.welcome h1 {
  font-size: 2rem;
  color: var(--primary-dark);
}

/* .welcome p {
  font-size: 1.4rem;
  max-width: 600px;
  margin-top: 15px;
} */

/* -------------------- */
/* 📘 ABOUT SECTION     */
/* -------------------- */

.about {
  background:linear-gradient(rgba(183, 69, 69, 0.487),rgba(183, 69, 69, 0.487)), url("./assets/icons/icon-512.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  margin: 20px auto;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 6px #cdb4db;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about h2{
  color: var(--white);
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}


.about p {
  margin-bottom: 12px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  text-align: center;
  color: var(--text);
}

/* ----------------------- */
/* 🎴CARD SERVICES*/
/* ----------------------- */

#card-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: center;
}

#card-service #headers{
  grid-column: span 2;
}
#card-service h1,
.container h1 {
  color: var(--text);
  font-size: 2rem;
  text-transform: capitalize;
  text-align: center;

  
}


@media (max-width: 900px) {
  .card-items img{
    height: 400px;
  }
}
@media (max-width: 600px) {
  #card-service{
    display: block;
  }



}
.card-items {
  background: var(--white);
  color: var(--text);
  margin: 20px auto;
  padding: 20px 25px;
  border-radius: 6px;
  box-shadow: 0 0 6px var(--shadow);
  max-width: 800px;
  flex: 1 0 1;
  margin: 10px auto;
}


/* ---------------------- */
/* 📂 FILES PDF SECTION   */
/* ---------------------- */

#files-pdf{
  background: var(--white);
  color: var(--text);
  margin: 30px auto;
  padding: 20px;
  width: 100%;
  box-shadow: 0 0 6px var(--shadow);
  border-radius: 8px;
  max-width: 1000px;
}

.card-pdf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
}

/* ---------------------- */
/* 📘 CARD-PDF AVEC FOND LIQUIDE ANIMÉ */
/* ---------------------- */
.card-pdf-items {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 15px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #111; /* fallback si animation pas supportée */
}

/* Pseudo-élément pour les vagues liquides */
.card-pdf-items::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(46,204,113,0.5), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(241,196,15,0.5), transparent 40%),
              radial-gradient(circle at 50% 50%, rgba(231,76,60,0.5), transparent 50%);
  background-size: 200% 200%;
  animation: liquidFlow 6s ease-in-out infinite;
  filter: blur(20px);
  z-index: 0;
}

/* Contenu au-dessus du fond liquide */
.card-pdf-items * {
  position: relative;
  z-index: 1;
}

/* Animation des vagues */
@keyframes liquidFlow {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  50% {
    background-position: 100% 0%, 0% 100%, 50% 50%;
  }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
}

/* Image */
.card-pdf-items img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Bouton Télécharger */
.card-pdf-items .download {
  display: block;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.card-pdf-items .download:hover {
  background: rgba(0,0,0,0.8);
  box-shadow: 0 0 10px #fff;
}

/* Hover léger sur la carte */
.card-pdf-items:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 800px) {
  .card-pdf-items {
    padding: 12px;
  }
  .card-pdf-items h3, .logo-items span {
    font-size: 1rem;
  }
  .header .logo{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .logo-items{
    border-radius: 15px;
    height: 220px;
    z-index: 1;
  }
  .logo-items span{
    text-align: center;
  }
}

@media (max-width: 670px) {
  .card-pdf-items {
    padding: 10px;
  }

  .card-pdf-items .download {
    font-size: 0.9rem;
    padding: 8px;
  }

  .logo{
      padding: 0;
      gap: 10px;
      overflow: hidden;


  }
  .logo-items{
    width: 80px;
    height: 80px;
   padding: 0;

  
  }
  .logo-items span{
    display: none;

  }
}

.card-pdf-items h3 {
  margin: 10px 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.card-pdf-items a {
  display: inline-block;
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 15px;
  border-radius: 6px;
  width: 100%; /* ✅ Le bouton occupe toute la largeur */
  text-align: center;
  transition: background-color 0.3s ease;
}

.card-pdf-items a:hover {
  background: var(--primary);
}

/* -------------------- */
/* 📱 RESPONSIVE DESIGN */
/* -------------------- */

@media (max-width: 980px) {


  .welcome h1 {
    font-size: 1.6rem;
  }

  .welcome p {
    font-size: 1rem;
  }

  .about {
    padding: 15px;
  }

  .card-pdf {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 670px) {
  #nav {
    flex-direction: column;
    padding: 10px;
  }

  .list-links {
    flex-direction: column;
    gap: 10px;
  }

  .list-links li a {
    font-size: 1rem;
    text-align: center;
  }

  .welcome h1 {
    font-size: 1.4rem;
  }

  .welcome p {
    font-size: 0.95rem;
  }

  #toggle-btn {
    font-size: 0.9rem;
    height: 35px;
  }

  .card-pdf {
    grid-template-columns: 1fr;
  }

  .card-pdf-items {
    width: 100%;
    margin: 10px 0;
  }
}

/* ---------------------- */
/* 📞 CONTACT AVEC FOND LIQUIDE ANIMÉ */
/* ---------------------- */
#contact {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  border-radius: 12px;
  padding: 25px 20px;
  margin: 30px 0;
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  /*  background: #111; fallback */
}
/* Fond liquide animé derrière le formulaire */
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #cdb4db;
  /* background: linear-gradient(rgba(173,216,230,0.7),rgba(173,216,230,0.7)); */
  /* filter: blur(25px); */
  z-index: 0;
}

/* Contenu du formulaire au-dessus */
#contact * {
  position: relative;
  z-index: 1;
}

.logos{
  flex: 1 1 300px;
  max-width: 500px;
  height: auto;
  min-height: 400px;
 background:linear-gradient(rgba(183, 69, 69, 0.487),rgba(183, 69, 69, 0.487)), url("./assets/section-pedagogie/team.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  gap: 20px;
  padding: 16px;
  border-radius: 10px;
}

.logos h2{
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 2rem;
  color: var(--white);
}
#contact p {
  font-size: 1.5rem;
  text-align: justify;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 600;
  margin-bottom: 5px;
  color: black;
}

/* Formulaire */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 0 4px var(--white);
  padding: 10px;
  font-weight: 400;
}
#contact-form textarea{
min-height: 200px;
resize: vertical;
}
/* Inputs et textarea */
#contact-form input,
#contact-form textarea{
  width: 100%;
 padding: 12px 15px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #11111136;
}

/* Bouton envoyer */
#btn-contact {
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 10px;
}

#btn-contact:hover {
  background: rgba(0,0,0,0.8);
  box-shadow: 0 0 10px #fff;
}

/* Titres */

.link-facebook{
  text-align: center;
  color: var(--text);
  font-size: 1.4rem;
  font-family: 'Times New Roman', Times, serif;

}
.link-facebook a{
  color: var(--primary-dark);
}

.link-facebook a:hover{
  color: var(--danger);
  text-decoration: underline;
}

@media (max-width: 800px) {
  #contact{
    gap: 15px;
  }
  
}


/* Responsive */
@media (max-width: 600px) {
 #contact{
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .logos, #contact-form{
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .logos h2{
    font-size: 1.5rem;
  }
  #contact p {
    font-size: 0.95rem;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  #btn-contact {
    padding: 10px;
    font-size: 0.95rem;
  }
  
}
/* ======== FOOTER FIXE ET RESPONSIVE ======== */
/* .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 200;
  font-family: 'Times New Roman', Times, serif;
  transition: color 0.3s;
  display: flex;
  flex-direction: column;
}
.footer-links a img{
  border: 2px solid var(--text);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  aspect-ratio: 1;
  object-fit: cover;
}
.footer-links a:hover {
  color: #00bcd4;
} */


/* Adaptation mobile */ 
@media (max-width: 600px) {
  .footer-links {
    gap: 15px;
  }
  .footer-links a {
    font-size: 0.6rem;
    font-weight: 200;
    
  }
  .footer-links a img{
    width: 32px;
  }
  .headers img, .logos img{
  width: 100%;
  border-radius: 50%;
  border: 2px solid #000;
}
h4{
  font-size: 1.3rem;
}
#documents h1{
  font-size: 1rem;
}
.headers h1{
    font-size: 1rem;
}
}

#search-section {
  display: none;
  text-align: center;
  margin: 30px auto;
}

#searchInput {
  width: 90%;
  max-width: 400px;
  padding: 10px;
  border: 2px solid var(--primary-dark);
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

#searchInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}


.headers{
  background: #009879;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  border-radius: 10% 50% 10% 50%/50% 10% 50% 10%;
}

#headers h1{
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.headers img, .logos img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #000;
}



/* ============================================= */
          /* SECTION STYLE MEMBRES  */
/* ============================================= */

.members{
  /* background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url('./assets/section_membres_img/bg1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  position: relative;
}

.intro-text-mbrs {
  background-image:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url("./assets/section-pedagogie/1764495974064.jpg"),
    url("./assets/shazoon/8R3A5309.jpg"),
    url("./assets/shazoon/8R3A5330.jpg");

  background-size:
    cover,
    cover,
    cover,
    cover;

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;

  background-position:
    center,
    center,
    center,
    center;

  max-width: 1200px;
  width: 100%;
  height: 400px;
  margin: 40px auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  
}

.intro-text-mbrs::after{
  content: "";
  position: absolute;
  width: 85px;
  height: 2px;
  background: var(--primary);
  margin-top: 25px;
}

.intro-text-mbrs h1{
  color: var(--accent);
  font-size: 4.4rem;
  padding-bottom: 5px;

}
.intro-text-mbrs h1 span{
  color: var(--primary);
  font-weight: 900;
}
.intro-text-mbrs p{
  color: var(--white);
  font-family: 'Times New Roman', Times, serif;
  max-width: 400px;
  /* font-size: 1.3rem; */
}

.card-members{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  align-items: center;
}

/* .card-items-members{
  flex: 1 1 0;
} */
.card-hero{
 display: flex;
  flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 20px;
 height: 400px;
  background: linear-gradient(#ffffff,rgba(255,255,255));
  border-radius: 25px;
  box-shadow: 0 0 4px var(--accent);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  

}

.card-hero::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 180%;
  border-radius: 20px;
  background: linear-gradient(#00ccff,#d500f9);
  animation: rotate 4s linear infinite;
}
.card-hero::after{
  content: "";
  position: absolute;
  background: var(--text);
  color: var(--white);
  border-radius: 5px;
  inset: 5px;
}
.card-hero-text h3{
  color: var(--white);
}
@keyframes rotate {
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}
.card-hero-profile{
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.card-hero-text{
  z-index: 2;
}
.card-hero-profile img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5%;
  border: 2px solid rgba(0,0,0,0.9);
}
.card-hero-text h3{
  font-weight: 500;
  padding-bottom: 8px;
}

.card-hero-text span {
   font-weight: bold;
   margin-bottom: 8px;
   color: var(--primary);
   text-decoration: underline;
   text-decoration-color: #f1c40f;
}


.card-hero-text p{
  margin-top: 15px;
   color: var(--white);
  font-family: 'Times New Roman', Times, serif;
}

/* ========================================= */
      /* STYLING MEMBERS FOR RESPONSIVE */
/* ========================================= */
@media (max-width: 900px){
  .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
  .card-hero{
    border-radius: 10px;
  }
  .intro-text-mbrs::after{
  background: var(--text);
  margin-top: 5px;
  display: none;
}
  .intro-text-mbrs h1{
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
  .intro-text-mbrs{
    max-width: 900px;
  }
  
  .intro-text-mbrs h1{
    font-size: 2rem;
    margin: 10px auto;
  }
  .intro-text-mbrs::after{
  background: var(--text);
  margin-top: 5px;
  display: none;
}
/* .card-members{
  display: flex;
  flex-wrap: wrap;
} */
.card-hero{
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 10px;

}


/* .card-hero-text h3,.card-hero-text p{
  padding-bottom: 3px;
} */

.card-hero-text span{
  text-decoration: underline;
  text-decoration-color: #f1c40f;
}
.card-hero-text p{
  margin: 5px auto;
  /* font-size: 15px; */
}
.headers h1{
  font-size: 1rem;
}
}

/* ====================================== */
    /*STYLE MEMBERS FOR 500 PX  */
/* ====================================== */


@media (max-width: 500px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
}


/* ====================================== */
    /*STYLE MEMBERS FOR 400 PX  */
/* ====================================== */

@media (max-width: 400px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
}


/* ====================================== */
    /*STYLE MEMBERS FOR 300 PX  */
/* ====================================== */

@media (max-width: 300px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
}


/* ====================================== */
    /*STYLE MEMBERS FOR 200 PX  */
/* ====================================== */

@media (max-width: 200px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
}

/* ====================================== */
    /*STYLE MEMBERS FOR 100 PX  */
/* ====================================== */

@media (max-width: 100px) {
    .card-members{
    display: flex;
    flex-wrap: wrap;
  }
 .card-items-members{
  flex: 1 1 0;
}
}



/* LES STYLES POUR LA SECTION DE LA PEDAGODIE */
.docs-peda{
  display: flex;
  gap: 30px;
  justify-content: space-around;
  align-items: center;
  background: var(--shadow);
  padding: 10px 20px;
  overflow: hidden;

}
.peda-acc{
  background: linear-gradient(rgba(0,0,0,0.555)), url('./assets/section-pedagogie/peda.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 300px;
  border-radius: 6px;
  border: 4px solid var(--white);
}

.peda-acc h1{
  color: transparent;
  background: url(./assets/section-pedagogie/peda.jpg);
  background-size: cover;
  background-clip: text;
  transition: all 0.3s ease;
  animation: animate  20s linear infinite
}

@keyframes animate{
  to{
    background-position-x: -500px;
  }
}

.peda-class{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  /* height: 300px; */
}

.peda-class-items{
  background: var(--text);
  /* width: 100px;
  height: 100px; */
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 0 1px var(--white);
  transition: all 0.2s ease-in-out;
  filter: blur(0.2px);
  overflow: hidden;
}
.peda-class-items:hover{
  transform: scale(1.1);
  color: var(--white);


}

.peda-class-items:nth-child(5){
  grid-column: span 4;
  background: var(--accent);
}

.peda-class-items h3{
  color: gray;
  line-height: 20px;
  text-align: center;
  font-size: 15px;
}
@media (max-width: 600px) {
  .docs-peda{
    background: var(--text);
  }
  .docs-peda{
    flex-direction: column;
  }
  .peda-class{

    gap: 10px;
  }
  .peda-class-items:nth-child(5){
    grid-column: span 4;
  }

}


/* PARTIE MATERNELLE STYLINGS */
#header{
  background:linear-gradient(rgba(69,103,183,0.1),rgba(13, 66, 190, 0.9)),url(./assets/section-pedagogie/aa.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  position: relative;
}
#header .logoM{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
#header .logoM h1{
  color: var(--white);
  font-size: 3rem;
}
#header .logoM p{
  color: var(--accent);
  max-width: 600px;
  text-align: center;
  font-weight: 400;
  font-style: italic;
  opacity: 0.9;

}
#header nav{
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#header nav ul{
  display: flex;
}

#header nav ul li{
  margin-right: 25px;
  padding: 8px;
  width: 50px;
  height: 50px;
  background: var(--text);
  border-radius: 5px;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#header nav ul li a{
  color: var(--bg);
  font-size: 1.6rem;
  font-weight: 400;
}
#header nav ul li:hover{
  background: var(--text);
  transform: scale(1.1);
}

/* MAIN DE LA PARTIE MATERNELLES */
.containers{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin: 40px auto;
  padding: 20px 10px;
  max-width: 1200px;
}
.containers .content{
  grid-column: span 3;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
  width: 100%;
  padding: 0;
}
.containers .content img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 10px;
}
.content .texts{
  background: #999;
  padding: 10px 20px;
  border-radius: 10px;

}

.content .texts h2{
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 45px;
  color: var(--primary);
  text-shadow: 1px 1px 1px #fff;
}

.content .texts p{
  color: #343a40;
  text-align: justify;

}
.content .texts h3{
  padding: 10px;
  color: var(--white);
  font-size:  1.3rem;
}



.content .texts li{
  list-style: circle;
  list-style-position: inside;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #007bff;
}

.content .texts .bio{
  list-style-type: disc;
  color: var(--danger);
}
@media (max-width:900px){
  .containers .content{
    display: block;
  } 
  .containers .content img{
    height: 90%;
  } 
}
@media (max-width:600px) {
   .containers{
    margin: 10px auto;
    padding: 1px;
   }
  .containers .content{
    display: block;
  } 
  .containers .content img{
    height: 20%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  } 
  #header nav {
    right: 0;
    top: 2%;
  }
  #header .logoM p{
    text-align: left;
  }
  .content .texts h2{
    font-size: 1.6rem;
    line-height: normal;
  }
  .content .texts p{

  text-align: left;
  }
}


/* links-to-our-docs */

.links-to-our-docs{
  background: var(--text);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(2,1fr);
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 40px;
  
}
.links-itemsP{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: auto auto;
  gap: 15px;
  justify-self: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
    max-width: 1100px;
    margin: auto;
    background: white;
}
.links-itemsP .links-images{
  height: 400px;
}
.links-itemsP h2{
  grid-column: span 2;
  text-align: center;
}
.card-items{
  width: 100%;
  flex: 1 1 0;
}

.links-images,.links-text{
  width: 100%;
  padding: 5px;
  
}
.links-images img,.card-items img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #cdb4db;
}
.links-text,.card-text{
 box-shadow: 0 0 6px white;
  margin: 20px auto;
  padding: 15px;
  border-radius: 15px;
}
.card-text h2,
.links-text h2,
.links-itemsP h2{
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}
.links-text p,.card-text p{
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 5px;
  opacity: 0.9rem
}

.links-text p a{
  color: #27ae60;
  text-decoration-line: underline;
}
.links-text p a:hover{
  color: var(--danger);
  transform: scale(1.1);
}
.links-text ol{
  padding: 15px;
}
.links-text ol li{
  list-style-type: decimal;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  list-style-position: inside;

}

@media (max-width: 900px){
    .links-to-our-docs{
    display: block;
    padding: 5px 10px;
  }
     .links-to-our-docs img{
      width: 100%;
      
     }
     .logo-items{
      display: block;
     }
     .links-itemsP{
      display: block;
     }
}

@media (max-width: 600px) {
  .links-to-our-docs{
    display: block;
    padding: 5px 10px;
  }
  .links-itemsP{
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  #contact-form textarea{
    height: 250px;
  }
 .card-text h2,.links-text h2{
    font-size: 1.4rem;
}
.links-text h3{
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.links-text ul li, .links-text ol li{
  font-size: 1rem;
}
.links-to-our-docs img{
  height: 300px;
  aspect-ratio: 1;
  object-fit: cover;
}
}

/* ================================ */
/* LA PARTIE DE LA PAGE DEBUTANT SUR LA BASE DU HTML5 */


pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 16px 0;
}
.files-pdf{
  background: var(--white);
  color: var(--text);
  margin: 30px auto;
  padding: 20px;
  width: 100%;
  box-shadow: 0 0 6px var(--shadow);
  border-radius: 8px;
  max-width: 1000px;
}
.headerH{
  background:linear-gradient(rgba(183, 69, 69, 0.487),rgba(183, 69, 69, 0.487)),url(./assets/section-pedagogie/htmldebutant.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  position: relative;
}

.headerH .logoM{
 display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.headerH .logoM h1{
  color: var(--white);
  font-size: 4rem;
  font-family: tahoma;
  text-align: center;
}
.headerH .logoM p{
  color: black;
  max-width: 600px;
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  opacity: 0.9;

}

@media (max-width: 600px) {
   .headerH .logoM {
      padding: 0.2rem;
    }
   .headerH .logoM h1 {
    font-size: 1.5rem;
    text-transform: capitalize;
   }
    .headerH .logoM p{
      font-size: 1rem;
    }
}

/* PARTIE APROPOS DE NOUS */
.headerHapropo-us{
  background:linear-gradient(rgba(183, 69, 69, 0.487),rgba(183, 69, 69, 0.487)),url(./assets/sections-apropo/Qui.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
  position: relative;
}

.headerHapropo-us .logoM{
 display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.headerHapropo-us .logoM h1{
  color: var(--white);
  font-size: 4rem;
  font-family: tahoma;
  text-align: center;
}
.headerHapropo-us .logoM p{
  color: black;
  max-width: 600px;
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  opacity: 1.2rem;

}

@media (max-width: 600px) {
  .headerHapropo-us{
    height: 400px;
  }
   .headerHapropo-us .logoM {
      padding: 0.2rem;
    }
  .headerHapropo-us .logoM h1 {
    font-size: 1.4rem;
    text-transform: capitalize;
   }
   .headerHapropo-us .logoM p{
      font-size: 1rem;
    }
}

.headerHG{
  background:linear-gradient(rgba(183, 69, 69, 0.487),rgba(183, 69, 69, 0.487)),url(./assets/section-pedagogie/motive2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  position: relative;
}
.first-guide{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  max-width: 1100px;
  gap: 20px;
  background: var(--white);
  padding: 20px 40px;
  box-shadow: 0 0 4px var(--shadow);
}
.first-guide .links-text{
  padding: 0;
}
.first-guide .links-text h3{
  text-align: center;
}
.first-guide .links-text p{
  text-align: justify;
  font-size: 0.95rem;
}

.guid-btn,.lirePlus{
background: var(--primary-dark);
color: var(--white);
width: 60%;
padding: 12px;
font-family: myFonts, sans-serif;
font-size: 1rem;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
margin: 0 auto;
}
.button{
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 20px auto;
}
.introduction{

background: var(--primary-dark);
color: var(--white);
width: 50%;
padding: 12px;
font-family: myFonts, sans-serif;
font-size: 2rem;
border-radius: 5px;
cursor: pointer;
text-align: center;
text-transform: uppercase;
transition: 0.3s;

}

.guid-btn:hover,.lirePlus:hover,.introduction:hover{
  background: var(--primary);
}
.guide{
  width: 100%;
  margin: auto;

}
.guide .links-images img{
  height: 100%;
}
.links-text-first{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  grid-column: span 2;
  text-align: left;
  max-width: 750px;
}
.links-text-first h3{
  text-align: left;
  font-size: 1.5rem;
}
@media (max-width: 980px){
      .first-guide{
        padding: 0;
        display: block;
      }
      .first-guide .links-text{
        padding: 10px;
}
   .first-guide .links-text p{
    text-align: left;
   }
      .guid-btn,.lirePlus{
    width: 100%;
  }
   .first-guide .links-images{
  height: 400px;
}
}
@media (max-width: 600px) {
    .first-guide{
      display: block;
      padding: 10px;
    }
 .first-guide .links-images{
  height: 200px;
}
  .guid-btn{
    width: 100%;
  }
  .first-guide .links-text h3{
    text-align: center;
    font-size: 1rem;
}
 .first-guide .links-text p{
  font-size: 0.95rem;
 }
 .introduction{
   width: 100%;
  font-size: 0.95rem;
 }
}



/* LES DEUXIEMES FOOTER DES ELEMENTS DE L'ACCUEIL */

#homefooter{
  background: linear-gradient(#068562, #013f4a);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 10px 5px;
}

.synthese{
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.synthese h3{
  color: #fff;
  font-family: myFonts,serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.synthese p{
  max-width: 700px;
  color: #f8f8f8;
  font-size: 1rem;
  font-weight: 200;
  font-family: 'Times New Roman', Times, serif;
}

.links-importants{
  grid-column:  span 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.
.listOfLinks,.linksOfCourses{
  margin-top: 5%;
  max-width: 400px;
  width: 100%;
  height: auto;
  padding:  10px;
  display: block;
  border-radius: 8px;
  border-left: 4px solid;
  border-color:  #32127a;
  flex: 1 1 0;
  position: relative;
  overflow: hidden;


}
.listOfLinks h2,.linksOfCourses h2{
  font-size: 2.3rem;
  color: #f8f9f8;
  text-transform: capitalize;

}
/* .listOfLinks ul , .linksOfCourses ul{
  list-style-type: circle;
  list-style-position: inside;
} */
.listOfLinks ul li, .linksOfCourses ul li{
  margin-bottom: 15px;
    list-style-type: circle;
  list-style-position: inside;
  
  list-style-image: url("./assets/icons/verifier.png");

}

.listOfLinks ul li a, .linksOfCourses ul li a{
  text-transform: capitalize;
    max-width: 700px;
    color: #f8f8f8;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 200;
    padding: 10px;
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
}

.listOfLinks ul li a:hover, .linksOfCourses ul li a:hover{
  border-bottom: 1px solid #1a1a1a;
  background: #11111136;
}





.album{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  max-width: 400px;
  height: auto;
  gap: 6px;
  background-color: #111;
  padding: 10px 8px;
  margin-top: 20px;
  border-radius: 8px;
}
.album img{
 width: 100%;
 height: 100%;
 aspect-ratio: 1;
 border: 2px solid #32127a;
 border-radius: 8px;
}

.album img:hover{
  transform: scale(1.1);
}

.mediaSociaux{
  grid-column: span 3;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #591da9;
  width: 50%;
  height: 40px;
  margin:  3% auto;
  position: relative;
  border-radius: 20px;



}
.mediaSociaux ul{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 10px;
}
.mediaSociaux ul li{
  margin-right: 25px;
}
.mediaSociaux ul li a img{
 width: 38px;
 height: 38px;
 margin: 0 auto;
 aspect-ratio: 1/1;
 object-fit: cover;
 padding: 5px;
 border: none;
 border-radius: 50%;
}
.mediaSociaux ul li a img:hover{
  background: #57598aaa;
}
.copyright{
  grid-column:  span 3;
  margin: 0 auto;
  background: #0000004c;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}
.copyright p{
    max-width: 700px;
    color: #f8f8f8;
    font-size: 1rem;
    font-weight: 200;
    font-family: 'Times New Roman', Times, serif;
}
@media (max-width: 900px) {
  .links-importants{
    flex-direction: column;
    align-items: center;
  }

  .mediaSociaux{
    width: 100%;
  }
  .album{
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #homefooter, .links-importants{
    display: block;
  }
  .mediaSociaux{
    width: 100%;
  }
  .mediaSociaux ul li a img{
    width: 29px;
    height: 29px;
  }
  .mediaSociaux ul li{
  margin-right: 9px;
}
  .album{
    max-width: 100%;
  }
  .copyright{
    height:50px;
  }

}

/*  SLIDE ANIMATED*/
.containerSlide{
  width: 100%;
  overflow: hidden;
}

.slideItemes{
  display: flex;
  width: 100%;
  height: 40vh;
  max-height: 300px;
  animation: animate 70s linear infinite;
}

.slideItemes img{
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes animate {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-900%);
  }
}