/* MENU LATERAL */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  display: flex;
  transition: left 0.3s ease;
  z-index: 9999;
}

.side-menu.open {
  left: 0;
}

.menu-content {
  background: #fff;
  width: 40%;
  padding: 40px 20px;
}

.menu-content .close-btn {
  font-size: 28px;
  cursor: pointer;
  display: block;
  margin-bottom: 30px;
}

.menu-content .main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content .main-menu li {
  margin-bottom: 15px;
}

.menu-content .main-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.submenu1 {
  background: #FFD200;
  width: 60%;
  padding: 40px 20px;
  color: white;
}

.submenu1 h5 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.submenu1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.submenu1 ul li {
  width: 45%;
}

.submenu1 ul a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.submenu1 ul a:hover {
  border-bottom: 1px solid white;
}

    body {
      font-family: 'Arial', sans-serif;
      transition: background 0.3s, color 0.3s;
    }
    body.dark-mode {
      background: #000;
      color: #fff;
    }
    /* NAVBAR */
    .navbar-brand {
      font-weight: 900;
      letter-spacing: 1px;
    }
    .toggle-container {
      margin-left: auto;
    }
    /* HERO */
    .hero {
      position: relative;
      height: 420px;
      overflow: hidden;
    }
    .hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero .hero-text {
       position: absolute;
  top: 60%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
  width: 90%;
    }
    .hero .hero-text h1 {
      font-size: 2rem;
      font-weight: 700;
    }
    .left-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 250px;
  margin: 0;
}

.right-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: right;
  line-height: 1.2;
  margin: 0;
}

.right-text span {
  display: block;
}
    /* SECTION CONSULTATIONS */
    .section-title {
      text-align: center;
      margin: 50px 0 20px;
    }
    .section-title h2 {
      font-weight: 700;
    }
    .consult-box {
      background: #f9f9f9;
      border-radius: 6px;
      padding: 20px;
      margin-bottom: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .consult-box img {
      width: 220px;
      height: 220px;
      object-fit: cover;
      border-radius: 8px;
    }
    .consult-text {
      flex: 1;
      padding: 0 20px;
    }
    .consult-text h4 {
      font-weight: 600;
    }


           /* MENU LATERAL */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  display: flex;
  transition: left 0.3s ease;
  z-index: 9999;
}

.side-menu.open {
  left: 0;
}

.menu-content {
  background: #fff;
  width: 40%;
  padding: 40px 20px;
}

.menu-content .close-btn {
  font-size: 28px;
  cursor: pointer;
  display: block;
  margin-bottom: 30px;
}

.menu-content .main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content .main-menu li {
  margin-bottom: 15px;
}

.menu-content .main-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.submenu {
  background: #0da29b;
  width: 60%;
  padding: 40px 20px;
  color: white;
}

.submenu h5 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.submenu ul li {
  width: 45%;
}

.submenu ul a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.submenu ul a:hover {
  border-bottom: 1px solid white;
}

   body {
      font-family: 'Arial', sans-serif;
      transition: background 0.3s, color 0.3s;
    }
    body.dark-mode {
      background: #000;
      color: #fff;
    }
    /* NAVBAR */
    .navbar-brand {
      font-weight: 900;
      letter-spacing: 1px;
    }
    .toggle-container {
      margin-left: auto;
    }
    /* HERO */
    .hero {
      position: relative;
      height: 420px;
      overflow: hidden;
    }
    .hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero .hero-text {
       position: absolute;
  top: 60%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
  width: 90%;
    }
    .hero .hero-text h1 {
      font-size: 2rem;
      font-weight: 700;
    }
    .left-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 250px;
  margin: 0;
}

.right-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: right;
  line-height: 1.2;
  margin: 0;
}

.right-text span {
  display: block;
}
    /* SECTION CONSULTATIONS */
    .section-title {
      text-align: center;
      margin: 50px 0 20px;
    }
    .section-title h2 {
      font-weight: 700;
    }
    .consult-box {
      background: #f9f9f9;
      border-radius: 6px;
      padding: 20px;
      margin-bottom: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .consult-box img {
      width: 220px;
      height: 220px;
      object-fit: cover;
      border-radius: 8px;
    }
    .consult-text {
      flex: 1;
      padding: 0 20px;
    }
    .consult-text h4 {
      font-weight: 600;
    }

    body {
      font-family: 'Arial Black', sans-serif;
      transition: background 0.3s, color 0.3s;
    }
    body.dark-mode {
      background: #000;
      color: #fff;
    }
    .brand {
      font-size: 3rem;
      font-weight: 900;
      text-align: center;
      letter-spacing: 2px;
    }
    .toggle-container {
      position: absolute;
      top: 20px;
      right: 30px;
    }
    .card-block {
      position: relative;
      overflow: hidden;
      height: 280px;
      border-radius: 6px;
      cursor: pointer;
    }
    .card-block img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(60%);
      transition: transform 0.4s;
    }
    .card-block:hover img {
      transform: scale(1.05);
    }
    .card-block .overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 1.1rem;
      font-weight: 300;
      text-align: center;
      padding: 0 10px;
    }
    /* Supprimer la déco des liens */
    .card-link {
      text-decoration: none;
      color: inherit;
      display: block;
    }


.footer-custom {
  background: #000;
  color: #fff;
  font-size: 14px;
}
.footer-custom h5,
.footer-custom h6 {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-custom .logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-custom a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.footer-custom a:hover {
  color: #aaa;
}
.footer-custom .border-bottom {
  border-bottom: 1px solid #444 !important;
}
.btn-back-to-top {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 8px 14px;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-back-to-top:hover {
  background: #fff;
  color: #000;
}

 .footer {
    position: relative;
    z-index: 10;
  }
  .footer .container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .footer h5 {
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
  }
  .footer ul li {
    margin-bottom: 6px;
  }
  .footer a:hover {
    text-decoration: underline;
  }
  
/* Ligne noire sous EDUVISION */
.submenu h5 {
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.submenu1 h5 {
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Lien actif souligné dans le menu principal */
.main-menu a.active {
  text-decoration: underline;
  font-weight: bold;
}

/* (Optionnel) transition fluide pour l’affichage des sous-menus */
.submenu {
  transition: opacity 0.3s ease;
}
/* (Optionnel) transition fluide pour l’affichage des sous-menus */
.submenu1 {
  transition: opacity 0.3s ease;
}

/* Mode clair (par défaut) */
body {
  background-color: #ffffff;
  color: #000000;
  transition: background-color 0.3s, color 0.3s;
}

/* Navbar claire */
.navbar {
  background-color: #f8f9fa !important;
}
.navbar a {
  color: #000 !important;
}

/* Mode sombre */
body.dark-mode {
  background-color: #121212;
  color: #f5f5f5;
}

/* Navbar sombre */
body.dark-mode .navbar {
  background-color: #1f1f1f !important;
}
body.dark-mode .navbar a {
  color: #ffffff !important;
}

/* Liens et cartes dans le mode sombre */
body.dark-mode .card-block {
  background-color: #222;
  color: #f5f5f5;
  border: 1px solid #333;
}

body.dark-mode .overlay-text {
  color: #e0e0e0;
}
