/* Global */
:root {
    --primary-color: #2887ff;
    --primary-color-dark: #2476da;
    --text-dark: #0a0a0a;
    --text-light: #737373;
    --extra-light: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
  }
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "DM Sans", sans-serif;
  }
  
  html,
  body {
    scroll-behavior: smooth;
  }
  
  
  
  .contact-info a {
    margin-right: 20px;
    display: none;
    color: white;
    text-decoration: none;
  }
  
  .social-icons a {
    margin-right: 10px;
    font-size: 18px;
    display: none;
    color: white;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  .don-button {
    background: #FFD700;
    color: #005bb5;
    padding: 5px 15px;
    display: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  
  
  
  
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 70px;
    background: #ffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 99;
  }
  
  nav .navbar {
    height: 100%;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    /* background: red; */
    padding: 0 50px;
  }
  
  .navbar .logo a {
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  
  .logo-image {
    max-height: 60px;
    margin-right: 40px;
    border-radius: 20px;
  }
  
  nav .navbar .nav-links {
    line-height: 70px;
    height: 100%;
  }
  
  nav .navbar .links {
    display: flex;
  }
  
  nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
  }
  
nav .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #005bb5;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

nav .navbar .links li a:hover {
  text-decoration:underline 3px #ffc107;
}
  
  
  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(180deg);
  }
  
  nav .navbar .links li .arrow {
    /* background: red; */
    height: 100%;
    width: 22px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: #fff;
    transition: all 0.3s ease;
  }
  
  nav .navbar .links li .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background: #3E8DA8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
  }
  
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu {
    display: block;
  }
  
  .navbar .links li .sub-menu li {
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar .links li .sub-menu a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }
  
  .navbar .links li .sub-menu .more-arrow {
    line-height: 40px;
  }
  
  .navbar .links li .htmlCss-more-sub-menu {
    line-height: 40px;
  }
  
  .navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
  }
  
  .links li .sub-menu .more:hover .more-sub-menu {
    display: block;
  }
  
  
  .navbar .nav-links .sidebar-logo {
    display: none;
  }
  
  .navbar .bx-menu {
    display: none;
  }
  
@media (max-width:920px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .logo a {
    font-size: 27px;
  }

  nav .navbar .links li {
    padding: 0 10px;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
    color: white;
    font-weight: 520;
    text-decoration: none;
  }


  nav .navbar .links li a:hover {
    color: #f0c141;
    font-weight: bold;
  }

  .contact-info a {
    margin-right: 20px;
    color: white;
    display: block;
    text-decoration: none;
  }

  .social-icons a {
    margin-right: 10px;
    font-size: 18px;
    display: block;
    color: white;
  }

  .social-icons i {
    background-color: #f0c141;
    border-radius: 10px;
    padding: 7px;
    color: black;
  }

  .social-icons i:hover {
    background-color: black;
    color: #f0c141;
  }

}
@media (max-width:800px) {

  .navbar .bx-menu {
    display: block;
  }

  .contact-info a {
    margin-right: 20px;
    text-align: center;
    display: block;
    color: white;
    text-decoration: none;
  }

  .social-icons a {
    font-size: 18px;
    display: inline-block;
    margin-left: 50px;
    color: white;
  }

  .social-icons i {
    background-color: #f0c141;
    border-radius: 10px;
    padding: 7px;
    color: black;
  }

  .social-icons i:hover {
    background-color: black;
    color: #f0c141;
  }
  
  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 275px;
    width: 100%;
    background-color: #2c3e50;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  
    .navbar .nav-links .sidebar-logo {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  
    .sidebar-logo .logo-name {
      font-size: 25px;
      color: #fff;
    }
  
  
    .navbar .bx-menu {
      font-size: 25px;
      cursor: pointer;
      color: black;
    }
  
    .sidebar-logo i {
      color: white;
      font-size: 25px;
      cursor: pointer;
    }
  
    nav .navbar .links {
      display: block;
      margin-top: 20px;
    }
  
    nav .navbar .links li .arrow {
      line-height: 40px;
    }
  
    nav .navbar .links li {
      display: block;
    }
  
    nav .navbar .links li .sub-menu {
      position: relative;
      top: 0;
      box-shadow: none;
      display: none;
    }
  
    nav .navbar .links li .sub-menu li {
      border-bottom: none;
  
    }
  
    .navbar .links li .sub-menu .more-sub-menu {
      display: none;
      position: relative;
      left: 0;
    }
  
    .navbar .links li .sub-menu .more-sub-menu li {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  
    .links li:hover .htmlcss-arrow,
    .links li:hover .js-arrow {
      transform: rotate(0deg);
    }
  
    .navbar .links li .sub-menu .more-sub-menu {
      display: none;
    }
  
    .navbar .links li .sub-menu .more span {
      /* background: red; */
      display: flex;
      align-items: center;
      /* justify-content: space-between; */
    }
  
    .links li .sub-menu .more:hover .more-sub-menu {
      display: none;
    }
  
    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .js-sub-menu {
      display: none;
    }
  
    .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show3 .links .js-sub-menu,
    .navbar .nav-links.show2 .links .more .more-sub-menu {
      display: block;
    }
  
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow {
      transform: rotate(180deg);
    }
  
    .navbar .nav-links.show2 .links .more-arrow {
      transform: rotate(90deg);
    }
  }
  
  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 51, 224, 0.5);
    z-index: 99;
  }




.navbar ul li a.active {
  text-decoration:underline 3px #ffc107;
}


.lien a{
    color: #fff;
  }
  
  .lien :hover{
    color: #076bee;
  }


.titre {
    background-image: url(photobf/formation.jpg);
    color: black;
    opacity: 0.7;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 120px 0;
}

.titre h1 {
    font-size: 2.5em;
    background-color: #ffffffad;
    margin: 0;
}

#red{
  border-left: 5px solid red;
}










/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

#splash-screen img {
  width: 150px; /* Ajuste la taille du logo si nécessaire */
  animation: fadeIn 1.5s ease-in-out;
}

/* Animation du logo */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

/* Disparition du splash screen */
.hidden {
  opacity: 0;
  pointer-events: none;
}


















.organigramme-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}


.organigramme-image {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.organigramme-image img {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.organigramme-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .organigramme-image img {
      max-width: 100%;
  }
}









#nos-agences {
    padding: 60px 0;
    background-color: #f9f9f9; /* Léger fond pour la section */
}

#nos-agences h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

#nos-agences .section-subtitle {
    font-size: 1.1em;
    color: #7f8c8d;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.agences-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px; /* Espace entre les boutons d'onglet */
    flex-wrap: wrap; /* Pour les petits écrans */
}

.agence-tab-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: #eef1f5;
    color: #34495e;
    border-radius: 30px; /* Boutons arrondis */
    transition: all 0.3s ease;
}
.agence-tab-btn i {
    margin-right: 8px;
}

.agence-tab-btn:hover {
    background-color: #dde4ed;
    border-color: #c8d0da;
}

.agence-tab-btn.active {
    background-color: #3498db; /* Couleur d'accentuation Nazan */
    color: #ffffff;
    border-color: #2980b9;
}

.agences-content .agence-details {
    display: none; /* Caché par défaut */
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease-in-out;
}

.agences-content .agence-details.active {
    display: block; /* Affiché si actif */
}

.agence-details h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.country-flag-icon {
    width: 30px; /* Ajustez la taille */
    height: auto;
    margin-right: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.agence-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive */
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* Aligne l'icône avec le haut du texte */
    padding: 15px;
    background-color: #fdfdfd;
    border-left: 3px solid #3498db; /* Ligne décorative */
    border-radius: 0 5px 5px 0;
}

.info-item i {
    font-size: 1.5em; /* Taille des icônes Font Awesome */
    color: #3498db;   /* Couleur principale Nazan */
    margin-right: 18px;
    margin-top: 3px; /* Ajustement vertical fin */
    width: 25px; /* Pour alignement */
    text-align: center;
}

.info-item div {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.info-item strong {
    color: #333;
    display: block;
    margin-bottom: 3px;
}

.info-item a {
    color: #3498db;
    text-decoration: none;
}
.info-item a:hover {
    text-decoration: underline;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive pour les onglets et le contenu */
@media (max-width: 768px) {

    .agence-tab-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
    .agences-content .agence-details {
        padding: 25px;
    }
    .agence-details h3 {
        font-size: 1.6em;
    }
    .agence-info-grid {
        grid-template-columns: 1fr; /* Une seule colonne pour les items d'info */
    }
}






.pool-intro {
  text-align: center;
  padding: 40px 20px;
  background: #eef7ff;
  border-radius: 10px;
}
.pool-intro h2 {
  font-size: 28px;
  color: #004080;
}
.pool-intro p {
  font-size: 16px;
  color: #333;
}












.join-us {
  text-align: center;
  padding: 40px 20px;
  background: #004080;
  color: #fff;
  border-radius: 10px;
}
.join-us .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #ffcc00;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.join-us .cta-button:hover{
  background-color: white;
}











.details {
  text-align: center;
  padding: 40px 20px;
  color: #004080;
  font-size: 20px;
  border-radius: 10px;
}
.details .ctb-button {
  display: inline-block;
  padding: 10px 20px;
  background: #ffcc00;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.details .ctb-button:hover{
  background-color: black;
  color: white;
}









/* Styles du Footer */
.footer {
  background: #2c3e50;
  padding: 50px 0;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Logo */
.footer-logo {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 14px;
  color: #fff;
}

/* Liens de navigation */
.footer-links,
.footer-social,
.footer-contact {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-contact h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #f00d3e;
  margin: 8px auto;
}

/* Liste des liens */
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin: 8px 0;
}

.footer-links a,
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #007bff;
}

/* Icônes des réseaux sociaux */
.social-iconss {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-iconss a {
  display: inline-block;
  font-size: 20px;
  color: #007bff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-iconss a:hover {
  color: #f00d3e;
  transform: scale(1.2);
}

.social-iconss i:hover {
  color: #fff;
  background-color: #f00d3e;
  transform: scale(1.1);
}

/* Icônes de contact */
.footer-contact i {
  margin-right: 8px;
  color: #007bff;
}

/* Copyright */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #007bff;
  font-size: 14px;
  color: #fff;
}