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








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








.gallery {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 10px;
}

.gallery h2 {
  font-size: 24px;
  color: #004080;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.2);
}









/* Style général */
header {
  position: relative;
  height: 90vh;
}

.carousel-inner .carousel-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Arrière-plan sombre progressif */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Contenu central */
.content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  width: 80%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Bloc avec effet de flou pour lisibilité */
.blur-box {
  background: rgba(0, 0, 0, 0.089);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

/* Animation des textes */
.carousel-item.active .content {
  opacity: 1;
  transform: translateY(0);
}

/* Texte */
.content p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Bouton */
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
}










/* Section for the Interactive Background */
.interactive-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  /* Send to background */
  background-size: 400% 400%;
  animation: gradientAnimation 10s ease infinite;
}

/* Floating Items (Icons and Words) */
.background__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-item {
  position: absolute;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  opacity: 0.8;
  animation: float 6s linear infinite, drift 12s ease-in-out infinite;
  white-space: nowrap;
}

/* Animate Background Gradient */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Float Effect for Items */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Drift Animation for Horizontal Movement */
@keyframes drift {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(50px);
  }

  100% {
    transform: translateX(0);
  }
}

/* Generate Random Position for Items */
.floating-item:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-item:nth-child(2) {
  top: 20%;
  left: 75%;
  animation-delay: 1s;
}

.floating-item:nth-child(3) {
  top: 50%;
  left: 40%;
  animation-delay: 2s;
}

.floating-item:nth-child(4) {
  top: 30%;
  left: 20%;
  animation-delay: 3s;
}

.floating-item:nth-child(5) {
  top: 70%;
  left: 60%;
  animation-delay: 4s;
}

.floating-item:nth-child(6) {
  top: 80%;
  left: 10%;
  animation-delay: 5s;
}

.floating-item:nth-child(7) {
  top: 60%;
  left: 80%;
  animation-delay: 6s;
}

.floating-item:nth-child(8) {
  top: 15%;
  left: 45%;
  animation-delay: 7s;
}

.floating-item:nth-child(9) {
  top: 5%;
  left: 50%;
  animation-delay: 8s;
}

.floating-item:nth-child(10) {
  top: 90%;
  left: 35%;
  animation-delay: 9s;
}







/*section welcome*/

.welcome-message {
  padding: 1rem 1rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px #0000001a;
  margin: 2rem 0;
}

.welcome-message h2 {
  font-size: 1.5rem;
  color: #d33c05;
  margin-bottom: 1rem;
}

.welcome-message p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
  padding-bottom: 15px;
}


.btn1 {
  font-weight: bold;
  border-radius: 20px;
  color: #076bee;
  padding: 5px;
}

.btn1:hover {
  color: #c7511f;
}







/* ----- SECTION PRÉSIDENT ----- */
.president-section {
  background: #f4f7fc;
  padding: 60px 20px;
  text-align: center;
}


.president-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  gap: 30px;
}

/* ----- IMAGE PRÉSIDENT ----- */
.president-image img {
  width: 350px;
  height: auto;
  border-radius: 20%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

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

/* ----- CONTENU PRÉSIDENT ----- */
.president-content {
  max-width: 600px;
  text-align: left;
}

.president-content h2 {
  color: #1e40af;
  font-size: 24px;
  font-weight: bold;
}

.president-content h3 {
  font-size: 26px;
  color: #333;
  margin-top: 5px;
}

.president-content span {
  color: #1e40af;
  font-weight: bold;
}

.president-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

/* ----- ONGLET INTERACTIF ----- */
.tabs {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.tab-btn {
  background: #e2e8f0;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background 0.3s;
  margin: 0 5px;
  border-radius: 5px;
}


.tab-btn.active {
  background: #1e40af;
  color: white;
}

.tab-content {
  display: none;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  margin-top: 20px;
  font-size: 16px;
}

.tab-content.active {
  display: block;
}

/* ----- BOUTON DÉCOUVERTE ----- */
.btna {
  display: inline-block;
  margin-top: 20px;
  background: #1e40af;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btna:hover {
  background: #1a365d;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .president-container {
    flex-direction: column;
    text-align: center;
  }

  .president-content {
    max-width: 100%;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    padding: 8px;
    font-size: 14px;
  }
}










/* section__ban5 */

.section__ban5 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f4f7fc;
}

.section__ban5-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}

.section__ban5-left {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.section__ban5-left img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.section__ban5-left:hover img {
  transform: scale(1.1);
}

.section__ban5-left a {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.685);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.section__ban5-left a:hover {
  background: #007bff;
}
.section__ban5-left a:hover {
  scale: 1.05;
}

/* Texte à droite */
.section__ban5-right {
  flex: 1;
  padding: 20px;
  animation: fadeInRight 1.5s ease-in-out;
}

.section__ban5-right h2 {
  font-size: 24px;
  color: #0026ff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__ban5-right p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__ban5-right i {
  font-size: 20px;
  color: #0026ff;
}

/* Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */

/* Écrans inférieurs à 768px */
@media (max-width: 768px) {
  .section__ban5 {
    flex-direction: column;
    padding: 20px;
  }

  .section__ban5-container {
    flex-direction: column;
  }

  .section__ban5-left,
  .section__ban5-right {
    flex: none;
    width: 100%;
  }

  .section__ban5-right {
    padding: 10px;
    animation: fadeInRight 1s ease-in-out;
  }

  .section__ban5-right h2 {
    font-size: 20px;
  }

  .section__ban5-right p {
    font-size: 20px;
  }

  .section__ban5-left a {
    font-size: 16px;
    padding: 8px 16px;
  }
}

/* Écrans inférieurs à 480px */
@media (max-width: 480px) {
  .section__ban5-left img {
    border-radius: 5px;
  }

  .section__ban5-right h2 {
    font-size: 18px;
  }

  .section__ban5-right p {
    font-size: 15px;
  }

  .section__ban5-left a {
    font-size: 14px;
    padding: 6px 12px;
  }
}













/* Section Valeur */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  /* Toujours 2 colonnes */
  gap: 1rem;
  animation: fadeInRight 1.5s ease-in-out;
  text-align: center;
}

/* Style des blocs */
.value-item {
  padding: 0.5rem;
  box-shadow: 10px 10px 20px rgba(2, 60, 250, 0.507),
    -10px -10px 20px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
}

/* Icônes */
.value-item i {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 10px;
}

/* Section */
.section {
  padding: 20px;
  background-color: white;
}

.section h2 {
  font-size: 1.5em;
  color: #0056b3;
  border-radius: 50px;
  padding-bottom: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.section p {
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ✅ Responsive pour petits écrans */
@media (max-width: 480px) {
  .values-list {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    /* Toujours 2 colonnes */
    gap: 0.5rem;
    /* Réduit l’espace entre les blocs */
  }
}










/* Why Boost Faso */

.boostfaso {
  padding: 4rem 5%;
  text-align: center;
  background-color: #f4f7fc;
  color: #000;
  font-family: 'Arial', sans-serif;
}


/* Titres */
.container h2 {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title span {
  color: #ff6600;
  font-style: italic;
  text-decoration: underline;
}

.section-subtitle {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Grille de présentation */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Cartes stylisées */
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card.show {
  opacity: 1;
  transform: translateX(0);
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
  color: #333;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ff6600;
}

.card-content p {
  font-size: 1rem;
  color: #444;
}

/* Bouton interactif */
.container .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.container .btn:hover {
  background: #222;
  color: white;
}

/* Version responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}









/* Section Statistiques */
.statistics {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr)); /* Toujours 2 colonnes */
  gap: 30px;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  justify-content: center;
}

/* Bloc statistique */
.statistic {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

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

/* Icônes */
.statistic i {
  font-size: 40px;
  color: #1d3ea3;
  margin-bottom: 10px;
}

/* Chiffres */
.count {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

/* Texte */
.statistic p {
  font-size: 16px;
  color: #555;
}

/* ✅ Responsive pour petits écrans */
@media (max-width: 480px) {
  .statistics {
    grid-template-columns: repeat(2, minmax(120px, 1fr)); /* Toujours 2 colonnes */
    gap: 15px; /* Réduction de l’espace */
  }
}















/* Section contenant les drapeaux */
.flags-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style des drapeaux */
.flag-box {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.flag-box img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Effet au survol */
.flag-box:hover {
  transform: scale(1.1);
}



















/* Team */

.membre-section {
  text-align: center;
  padding: 50px 20px;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #1A237E;
}

.underline {
  display: inline-block;
  position: relative;
}

.underline::after {
  content: "";
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.subtitle {
  font-size: 1rem;
  color: #757575;
  margin-bottom: 30px;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.membre-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.membre-card {
  flex: 0 0 33.33%;
  /* Par défaut : 3 cartes visibles */
  max-width: 33.33%;
  margin: 0 10px;
  background: linear-gradient(145deg, #007bff, #ffffff);
  padding: 20px;
  animation: float 6s linear infinite, drift 12s ease-in-out infinite;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.membre-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  /* Laisse l’image décider de sa hauteur */
  overflow: hidden;
  /* Empêche tout débordement */
}

.membre-photo img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


.membre-card h3 {
  font-size: 1.2rem;
  color: #1A237E;
  margin-top: 10px;
}

.membre-card p {
  font-size: 1rem;
  color: #616161;
}

/* Boutons de navigation */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1A237E;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 1;
}

.prev:hover,
.next:hover {
  background: #FFD54F;
  color: #1A237E;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .membre-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .membre-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .prev,
  .next {
    padding: 8px 12px;
    font-size: 1.2rem;
  }
}










/* Section principale */
.community-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #097cf8;
  ;
}

.country-container h3 {
  color: #f39c12;
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Image */
.community-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.community-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

/* Texte */
.community-text {
  flex: 1 1 60%;
  padding: 40px;
  color: #333;
}

.community-text h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1d3ea3;
  margin-bottom: 15px;
}

.community-text span {
  color: #f39c12;
}

.community-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Liste d'impact */
.impact-list {
  list-style: none;
  padding: 0;
}

.impact-list li {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Citation */
blockquote {
  font-style: italic;
  font-size: 18px;
  text-align: center;
  padding: 20px;
  background: #eef5ff;
  border-left: 5px solid #1d3ea3;
  border-radius: 8px;
  margin-top: 20px;
}

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

.community-actions p {
  color: white;
}

.action-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1d3ea3;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, background 0.3s;
}

.action-box:hover {
  transform: scale(1.05);
  background: #f39c12;
}

.action-box i {
  font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .community-content {
    flex-direction: column;
  }

  .community-image {
    flex: 1 1 100%;
  }

  .community-text {
    flex: 1 1 100%;
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .community-actions {
    flex-direction: column;
  }

  .action-box {
    width: 100%;
    text-align: center;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .community-content {
    flex-direction: column;
    text-align: center;
  }

  .community-text {
    text-align: center;
  }

  .community-actions {
    flex-direction: column;
    align-items: center;
  }

  .action-box {
    width: 100%;
    max-width: 200px;
  }

}










/* Style global */
.community-sectionn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background: #f9f9f9;
}

.community-contentt {
  max-width: 900px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.community-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.community-textt h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.community-textt span {
  color: #ff6600;
}

.impact-listt {
  list-style: none;
  padding: 0;
}

.impact-listt li {
  font-size: 18px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

blockquote {
  font-style: italic;
  font-size: 18px;
  color: #555;
  margin: 20px 0;
  padding: 15px;
  background: #f1f1f1;
  border-left: 5px solid #ff6600;
}

/* Actions principales */
.community-actionss {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.action-boxx {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  background: #ff6600;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 18px;
  transition: background 0.3s ease-in-out;
}

#bl {
  background-color: #097cf8;
}

#bl:hover {
  background-color: #ff6600;
}

.action-boxx:hover {
  background: #097cf8;
}

.action-boxx i {
  font-size: 22px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .community-contentt {
    padding: 20px;
  }

  .community-textt h2 {
    font-size: 24px;
  }

  .impact-listt li {
    font-size: 16px;
  }

  blockquote {
    font-size: 16px;
  }

  .community-actionss {
    flex-direction: column;
    align-items: center;
  }

  .action-boxx {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}



















/* --- SECTION ACTUALITÉS --- */
.actualites-section {
  background: #f4f7fc;
  padding: 60px 20px;
  text-align: center;
}

.actualites-header h2 {
  font-size: 2rem;
  color: #1d3ea3;
  margin-bottom: 10px;
}

.actualites-header span {
  color: #f39c12;
}

.actualites-header p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 30px;
}

/* --- TIMELINE CONTAINER --- */
.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* --- TIMELINE ITEMS --- */
.timeline-item {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  max-width: 800px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- CONTENU À GAUCHE --- */
.timeline-content {
  flex: 1;
  padding: 20px;
  text-align: left;
}

.timeline-content h3 {
  color: #1d3ea3;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
}

.timeline-content .date {
  font-weight: bold;
  color: #f39c12;
  display: block;
  margin-bottom: 10px;
}

.timeline-content a {
  display: inline-block;
  color: #fff;
  background: #1d3ea3;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease;
}

.timeline-content a:hover {
  background: #f39c12;
}

/* --- IMAGE À DROITE --- */
.timeline-image {
  width: 250px;
  height: 180px;
  background-size: cover;
  background-position: center;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }

  .timeline-content {
    text-align: center;
  }

  .timeline-image {
    width: 100%;
    height: 200px;
  }
}









/* SECTION TÉMOIGNAGES */
.testimonials-section {
  background: #f8f9fa;
  padding: 60px 5%;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #2a5298;
  font-weight: bold;
}

.section-title span {
  color: #f4b400;
}

.testimonials-container {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial.active {
  display: block;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #f4b400;
}

.testimonial-author h4 {
  margin: 0;
  color: #2a5298;
  font-size: 1.1rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}

.testimonial-controls {
  margin-top: 20px;
}

.testimonial-controls button {
  background: #2a5298;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0 5px;
  transition: 0.3s;
}

.testimonial-controls button:hover {
  background: #f4b400;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author h4 {
    font-size: 1rem;
  }
}





/* Section d'appel à l'action */
.cta {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 90%;
}

.cta h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffc107;
  color: #212529;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.cta .hero-btn i {
  font-size: 1.5rem;
}

.cta .hero-btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Section carte Google Map */
.contact-map {
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  color: #212529;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-map h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: #0056b3;
}

.contact-map p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
}

.contact-map p i {
  color: #dc3545;
  margin-right: 5px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}













/* Section Gall */
.gall {
  background-color: #f8f9fa; /* Fond clair */
  padding: 60px 20px;
  text-align: center;
}

/* Container */
.gall .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Titre de la section */
.gall .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

/* Texte de la section */
.gall .section-text {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Conteneur de l'image */
.gall-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Image */
.gall-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Effet d'ombre */
  transition: transform 0.3s ease-in-out;
}

/* Effet au survol de l'image */
.gall-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .gall .section-title {
      font-size: 24px;
  }

  .gall .section-text {
      font-size: 14px;
  }

  .gall-image img {
      max-width: 100%;
  }
}





















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










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