/* Styles personnalisés pour la page de don */

/* Masquer le bouton "Faites un don" dans la navbar sur la page don */
.donation-page .navbar-nav .nav-item:last-child {
  display: none !important;
}

.donation-page .mobile-donation-button {
  display: none !important;
}

@media (max-width: 991.98px) {
  .donation-page {
    padding-top: 55px !important;
  }
}

/* Carte Mobile Money : pas d'effet de mouvement au survol */
.donation-option {
  transition: box-shadow 0.3s ease;
}

.donation-option:hover {
  transform: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar blanche sur la page de don */
.donation-page .ftco-navbar-light {
  background: #fff !important;
}

.donation-page .ftco-navbar-light .navbar-brand {
  color: #000 !important;
}

.donation-page .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  color: #000 !important;
}

.donation-page .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
.donation-page .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus {
  color: #ff0a54 !important; /* garder le rose au survol */
}

/* Amélioration de la responsivité */

/* Ajout d'un espace en haut de la première section pour compenser l'absence de hero banner */
.donation-page .ftco-section:first-of-type {
  padding-top: 120px;
  padding-bottom: 60px;
}

/* Améliorer l'espacement entre les sections */
.donation-page .ftco-section {
  padding: 60px 0;
}

/* Logo MVola */
.mobile-payment-logos {
  margin-bottom: 20px;
}

.mobile-payment-logos .donation-logo {
  max-width: 160px;
  display: block;
  margin: 0 auto;
  max-height: 60px;
}

/* Ajustement des tailles de logo pour les différents écrans */
@media (max-width: 991px) {
  .donation-logo {
    max-height: 60px;
  }
}

@media (max-width: 768px) {
  .donation-logo {
    max-height: 50px;
  }
  
  .mobile-payment-logos .donation-logo {
    max-height: 45px;
  }
}

/* Ajustements pour les options de don sur mobile */
@media (max-width: 767px) {
  .donation-option {
    padding: 20px;
  }

  .donation-logo {
    max-height: 45px;
    margin-bottom: 15px;
  }

  .mobile-payment-logos .donation-logo {
    max-height: 40px;
  }

  .donation-intro {
    margin-bottom: 30px;
  }

  .donation-step {
    font-size: 0.9rem;
    padding-left: 30px;
  }

  .donation-step:before {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 0.8rem;
  }
}

/* Ajustements pour les tablettes */
@media (min-width: 768px) and (max-width: 991px) {
  .donation-page .ftco-section:first-of-type {
    padding-top: 110px;
  }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 480px) {
  .donation-page .ftco-section:first-of-type {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .donation-option {
    padding: 15px;
    margin-bottom: 20px;
  }

  .donation-logo {
    max-height: 40px;
  }

  .donation-page .ftco-section {
    padding: 40px 0;
  }
}

.donation-page .ftco-navbar-light .navbar-nav > .nav-item.active > a {
  color: #000 !important;
}

.donation-page .ftco-navbar-light.scrolled {
  background: #fff !important;
}

.donation-page .ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
  color: #000 !important;
}

@media (max-width: 991.98px) {
  .donation-page .ftco-navbar-light {
    background: #fff !important; /* override mobile noir par défaut */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  
  .donation-page .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    color: #000 !important;
  }
  
  .donation-page .ftco-navbar-light .navbar-toggler {
    color: #000 !important;
    border: none;
    outline: none;
  }
  
  .donation-page .ftco-navbar-light .navbar-collapse {
    background: #fff;
    padding: 15px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  }
}
