/* 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: underline 3px solid rgb(173, 171, 171);
  font-size: 15px;
  font-weight: 600;
}

nav .navbar .links li a:hover {
  text-decoration: none;
}


.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: black;
    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: #ffff;
    border-radius: 10px;
    padding: 7px;
    color: black;
  }

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

  .don-button {
    background: #FFD700;
    color: #005bb5;
    padding: 1px 5px;
    display: block;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .don-button:hover {
    text-decoration: underline;
  }
}

@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 {
    margin-right: 10px;
    font-size: 18px;
    text-align: center;
    display: block;
    color: white;
  }

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

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

  .don-button {
    background: #FFD700;
    color: #005bb5;
    padding: 1px 5px;
    display: block;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .don-button:hover {
    text-decoration: underline;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background-color: #005bb5;
    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;
}







.lien a {
  color: #fff;
}

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


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

.titre h1 {
  font-size: 2.5em;
  margin: 0;
}








.partenariats {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.partenariats .containerr {
  max-width: 1000px;
  margin: auto;
}

.partenariats h1 {
  font-size: 2.5rem;
  color: #007bff;
  font-weight: bold;
  margin-bottom: 20px;
}

.partenariats p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.partenariats h2 {
  font-size: 2rem;
  color: #28a745;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
}

.partenariats ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes sur grand écran */
  gap: 20px;
  text-align: left;
}

.partenariats ul li {
  font-size: 1.1rem;
  color: #333;
  padding: 15px;
  background: #fff;
  border-left: 5px solid #007bff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.partenariats ul li:hover {
  transform: translateX(5px);
}

.partenariats a {
  display: inline-block;
  padding: 6px 15px;
  font-size: 1.1rem;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.partenariats a:hover {
  background: #0056b3;
}

/* 🌍 Responsive Design */
@media (max-width: 768px) {
  .partenariats ul {
      grid-template-columns: 1fr; /* 1 colonne sur petits écrans */
  }
  
  .partenariats h1 {
      font-size: 2rem;
  }
  
  .partenariats p {
      font-size: 1rem;
  }
  
  .partenariats h2 {
      font-size: 1.8rem;
  }
}









/* SECTION PARTENAIRES */

.partenaires-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f4f4f4;
  overflow: hidden;
}

.partenaires-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1a237e;
}

.partenaires-section .underline {
  text-decoration: underline;
  color: #ff9800;
}

.partenaires-description {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
}

/* SLIDER */
.partenaires-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partenaires-wrapper {
  display: flex;
  gap: 20px;
  width: max-content; /* Permet d’étendre la largeur automatiquement */
  animation: scroll 20s linear infinite;
}

.partenaires-wrapper img {
  width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.partenaires-wrapper img:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .partenaires-wrapper img {
      width: 120px;
  }
}

@media (max-width: 480px) {
  .partenaires-wrapper img {
      width: 100px;
  }
}
@keyframes scroll {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-50%);
  }
}









/* 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;
}













/* ACTION BOXES */
.community-actions {
  display: flex;
  margin-top: 20px;
justify-content: center;  gap: 20px;
}

.action-box {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 150px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease-in-out;
}

.action-box:hover {
  transform: translateY(-5px);
}

.action-box i {
  font-size: 2rem;
  color: #2a5298;
}

.action-box p {
  font-size: 1rem;
  margin-top: 8px;
  color: #f4b400;
  font-weight: bold;
}










/* Styles du Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  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: #bbb;
}

/* 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: #007bff;
  position: relative;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-contact h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #007bff;
  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: #bbb;
  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: #bbb;
  transition: transform 0.3s ease, color 0.3s ease;
}

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

.social-iconss i:hover {
  color: #fff;
  background-color: #007bff;
  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 #333;
  font-size: 14px;
  color: #bbb;
}