

/* Colors */
:root {
  --primary: #8bc343;
  --secondary: #2a93c0;
}

/* General */
body {
  font-family: 'Segoe UI', sans-serif;
}


/* ================= TOP BAR ================= */

.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  background: linear-gradient(to right, #b0e0f5, #25b952);
  color: #fff;
  min-height: 45px;
  padding: 5px 0;
}

/* Social Container */
.social-icons {
  display: flex;
  align-items: center;
}

/* Follow Us Text */
.follow-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-right: 8px;
  white-space: nowrap;
}

/* Links */
.top-bar a {
  color: #fff;
  margin-right: 12px;
  font-size: 14px;
  transition: 0.3s;
}

.top-bar a:hover {
  color: #f5fbff;
}

/* SOCIAL ICON COLORS */
.social-icons a {
  font-size: 18px;
  margin: 0 6px;
  transition: 0.3s;
}

/* Facebook */
.social-icons a.facebook {
  color: #1877F2;
}

/* Instagram */
.social-icons a.instagram {
  color: #E4405F;
}

/* Twitter (X) */
.social-icons a.twitter {
  color: #000000;
}

/* YouTube */
.social-icons a.youtube {
  color: #FF0000;
}

/* WhatsApp */
.social-icons a.whatsapp {
  color: #01521f;
}

/* Hover */
.social-icons a:hover {
  transform: scale(1.2);
}

/* Donate Button */
.btn-donate-top {
  background: #ff0505;
  color: #fff;
  padding: 5px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  animation: glow 1.5s infinite alternate;
}

.btn-donate-top:hover {
  transform: scale(1.1);
}

/* ================= MOBILE ================= */

@media (max-width: 576px) {

  .top-bar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 6px 10px;
  }

  /* KEEP Follow Us visible */
  .follow-text {
    display: inline;
    font-size: 13px;
  }

  .social-icons a {
    font-size: 15px;
    margin: 0 4px;
  }

  .btn-donate-top {
    padding: 4px 10px;
    font-size: 12px;
  }
}
/* Navbar Fix after topbar */
.navbar {
  top: 45px;
}

/* Mobile Icons */
.nav-link i {
  font-size: 18px;
}

/* Custom Hamburger */
.custom-toggler {
  border: none;
  outline: none;
}

.custom-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #28a745;
  transition: 0.3s;
}

/* Animation */
.custom-toggler:hover span {
  background: #000;
}

/* Animation when active */
.custom-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler.active span:nth-child(2) {
  opacity: 0;
}

.custom-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Dropdown Smooth */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


/* NAV LINK UNDERLINE ANIMATION */
.navbar .nav-link {
  position: relative;
  color: #333;
  transition: 0.3s;
}

/* underline hidden */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #198754; /* Bootstrap success color */
  transition: width 0.3s ease;
}

/* hover effect */
.navbar .nav-link:hover::after {
  width: 100%;
}

/* active link underline */
.navbar .nav-link.active::after {
  width: 100%;
}

/* optional active color */
.navbar .nav-link.active {
  color: #198754 !important;
}


/* DROPDOWN HOVER (Desktop only) */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Image */
.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Dark Overlay (IMPORTANT) */
.hero::before {
.hero::before {
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.4)
  );
}
}

/* Text Content */
.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #dee5e9;
}
.hero .btn {
  transition: all 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-5px);
  background-color: #4CAF50;
  color: #fff;
}

/* Improve visibility */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
}

/* Hover Glow about */
.glow-btn:hover {
  box-shadow: 0 0 15px rgba(252, 255, 253, 0.8),
              0 0 30px rgba(27, 180, 21, 0.993);
  transform: translateY(-2px);
}

/* stories of impact */
/* Story Card */
.story-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.story-card {
  background: linear-gradient(135deg, rgba(227, 233, 228, 0.904), rgba(134, 183, 229, 0.719));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}
.story-card:hover {
  transform: translateY(-5px);
}

/* Avatar */
.story-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

/* Equal text area */
.story-text {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* truncate */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #555;
  flex-grow: 1;
  transition: 0.3s;
}

/* Expanded */
.story-text.expanded {
  -webkit-line-clamp: unset;
}

/* Read More */
.read-more {
  color: #198754;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
}
/* ===== SECTION BG ===== */
.contact-section {
  background: linear-gradient(135deg, #c0dbf7, #e9f7ef);
}

/* ===== CARD STYLE ===== */
.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

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

/* ===== FORM ===== */
.form-control {
  border-radius: 12px;
  padding: 12px;
}

.form-control:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.15rem rgba(25,135,84,0.2);
}

/* ===== MAP CARD ===== */
.map-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  height: 100%;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ===== BUTTON (UNCHANGED STYLE ENHANCED) ===== */
/* Animated Send message Button */
.btn-send {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}



/* ===== MOBILE ===== */
@media (max-width: 576px) {

  .contact-card {
    padding: 20px !important;
  }

  .btn-send {
    width: 100%;
    text-align: center;
  }

  h2 {
    font-size: 22px;
  }
}

/* ===== TABLET ===== */
@media (min-width: 577px) and (max-width: 991px) {

  .map-card iframe {
    min-height: 350px;
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 992px) {

  .map-card iframe {
    min-height: 100%;
  }
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
}
footer a:hover {
  color: #4CAF50;
  transition: 0.3s;
}

/* Universal Responsive Spacing */
.custom-margin {
  margin-bottom: clamp(16px, 3vw, 32px);
}




    .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }


