/* =======================
   STYLE GLOBAL ONG MUYAJI
======================= */

/* Police générale & structure */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Liens */
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* Titres */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #1a3d2f; /* Vert foncé ONG */
}

.text-center {
  color: #2d3436;
}

/* =======================
   NAVIGATION
======================= */
.navbar {
  background-color: #5d5d5d !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700 !important; /* Jaune ONG */
}
.nav-link {
  font-size: 1rem;
  margin: 0 5px;
  color: #fff !important;
  font-weight: 500;
}
.nav-link:hover {
  color: #ffd700 !important;
}

/* =======================
   CARROUSEL
======================= */
.carousel-item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 250px;
  }
}

/* =======================
   CARTES (projets)
======================= */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.card-title {
  color: #1a3d2f;
  font-size: 1.2rem;
  font-weight: 600;
}

/* =======================
   FORMULAIRE DE CONTACT
======================= */
form {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
button.btn-dark {
  background-color: #00b894;
  border: none;
}
button.btn-dark:hover {
  background-color: #019874;
}

/* =======================
   SECTION DON
======================= */
.bg-warning {
  background-color: #ffd700 !important;
  border-radius: 16px;
}
.btn-warning {
  background-color: #ffd700;
  border: none;
}
.btn-warning:hover {
  background-color: #e6c200;
}
.btn-dark {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: bold;
}

/* =======================
   FOOTER
======================= 1a3d2f # */
footer {
  background-color: #5d5d5d;
  color: #fff;
  padding: 40px 0 20px;
}
footer h5 {
  color: #ffd700;
  margin-bottom: 15px;
}
footer a {
  color: #ddd;
  text-decoration: none;
}
footer a:hover {
  color: #ffd700;
}
footer .bi {
  color: #ffd700;
  transition: color 0.3s ease;
}
footer .bi:hover {
  color: #fff;
}
.footer-contact,
.footer-desc {
  color: #ffffff !important;
}

/* =======================
   MISE EN PAGE FLEX
======================= */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.flex-grow-1 {
  flex: 1;
}

/* =======================
   IMAGES GÉNÉRALES
======================= */
img {
  max-width: 100%;
  height: auto;
}

.card-img-top {
  width: 100%;
  height: 300px;         /* Hauteur fixe pour harmoniser */
  object-fit: cover;     /* Pour recadrer proprement sans déformer */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card img {
  width: 100%;
  height: 250px;   /* même hauteur pour toutes */
  object-fit: cover; /* rogne proprement sans déformer */
  border-radius: 12px; /* optionnel, pour garder un style doux */
}


@media (max-width: 576px) {
  .card-img-top {
    height: 250px;
  }
}

.nav-link.active {
  font-weight: bold;
  color: #0077b6 !important; /* Bleu mis en évidence */
  border-bottom: 2px solid #0077b6; /* Soulignement élégant */
}
