/* BOTH NAV BAR AND FOOTER */
/* NAV BAR */
a {
  font-family: "Merriweather", serif;
}
/* ===== TOP ALERT BAR ===== */
.top-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  transition: transform 0.5s ease;
  background-color: #3b873e;
  color: white;
  padding: 8px 0;
}

.top-alert.hide {
  transform: translateY(-100%);
}
.top-alert a {
  color: #ffa828;
  text-decoration: none;
  font-weight: 600;
}

.top-alert .bi {
  margin-right: 6px;
}

.social-icons i {
  margin-left: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-icons i:hover {
  color: #ffa828;
}

/* ===== MAIN NAVBAR ===== */
.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 1050;
  transition: top 0.5s ease;
  background-color: #fff;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #000;
  margin-right: 15px;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #f39c12;
}

.navbar-nav .nav-link.active {
  color: #f39c12;
}
.dropdown-menu .dropdown-item {
  color: #000;
  transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
  color: #f39c12; /* same orange as nav-link hover/active */
  background-color: transparent;
}
.donate-btn {
  background-color: #ffa828;
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
  transition: 0.3s;
}

.donate-btn:hover {
  background-color: #e79a26;
  color: #fff;
}

/* Remove dropdown arrow default spacing */
.dropdown-toggle::after {
  margin-left: 6px;
}

/* Mobile Adjustments
@media (max-width: 991px) {
  .donate-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
} */

/* FOOTER */
.footer-modern {
  padding: 0;
  margin: 0;
}

/* FULL-WIDTH ROUNDED FOOTER */
.footer-card {
  background: rgba(230, 240, 233, 0.9); /* your green tone */
  border-radius: 30px 30px 0 0; /* only top rounded */
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
}
/* Logo */
.footer-logo {
  width: 160px;
}
.footer-card {
  background: linear-gradient(135deg, #e6f0e9, #dce8df);
}
/* Titles */
.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1f3d2b;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #2f4f3e;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #f59e0b;
  padding-left: 5px;
}

/* Contact */
.footer-contact li {
  margin-bottom: 10px;
  color: #2f4f3e;
}

.footer-contact i {
  margin-right: 8px;
  color: #1f3d2b;
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  background: #dce8df;
  color: #1f3d2b;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #f59e0b;
  color: #fff;
}

/* Note */
.footer-note {
  font-size: 0.9rem;
  color: #4b6b57;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  color: #2f4f3e;
}

/* =========================
   RESPONSIVE IMPROVEMENTS
   ========================= */

/* GENERAL MOBILE NAV FIXES */
@media (max-width: 991px) {
  /* Push navbar content nicely */
  .navbar-collapse {
    background: #fff;
    padding: 15px;
  }

  /* Stack nav items better */
  .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
    width: 100%;
  }

  /* Full-width donate button */
  .donate-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  /* Dropdown spacing */
  .dropdown-menu {
    border: none;
    padding-left: 10px;
  }
}

/* SMALL DEVICES (PHONES) */
@media (max-width: 767px) {
  /* Top alert stacking */
  .top-alert .container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .social-icons {
    margin-top: 5px;
  }

  /* Footer improvements */
  .footer-card {
    border-radius: 20px 20px 0 0;
    text-align: center;
    padding: 30px 20px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-social a {
    margin: 5px;
  }

  .footer-links a:hover {
    padding-left: 0;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
  .top-alert {
    font-size: 0.85rem;
  }

  .navbar-brand img {
    height: 45px;
  }

  .footer-title {
    font-size: 1rem;
  }
}
