* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: #fcfdfb;
  color: #333;
}

.main-header {
  position: relative;
  overflow: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #000;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

 .logo img{
    height: 70px;
    width: auto;
  }

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: center; /* or space-between if needed */
}


.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ffd200;
  transition: width 0.3s ease;
  margin-top: 4px;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links .active{
    color: #ffd200;
    font-weight: bold;
    border-bottom: 2px solid #ffd200;
    transition: all 0.3s ease;
}


.donate-btn {
  background-color: #06592b; /* Green-teal style */
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  margin-left: 20px;
}

.donate-btn:hover {
  background-color: #ffd200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}



/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 25px;
}


/* Responsive */
/* =========================
   MOBILE NAVIGATION
========================= */

.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 992px) {

  .hamburger {
    display: block;
  }

  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #000;

    flex-direction: column;
    padding: 20px;
    gap: 20px;

    overflow-y: auto;   /* 🔥 THIS FIXES IT */
    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

/* MOBILE DROPDOWN FIX */
/* MOBILE DROPDOWN FIX */

.dropdown-menu {
  display: none;      /* 🔥 removes space completely */
  position: static;
  padding-left: 15px;
  margin: 0;
}

.dropdown.active .dropdown-menu {
  display: block;
}
}

/* ===== DESKTOP DROPDOWN ===== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 200px;
  flex-direction: column;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}




.page-banner {
  padding: 40px 20px;          /* smaller and neat */
  text-align: center;
  color: #06592b;              /* main green for headings */
  background: #fff;            /* clean background */
  
  position: relative;
  margin-top: 80px;            /* pushes below header */
}

.page-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 1rem;
  color: #444;                 /* soft, professional subtitle */
  max-width: 600px;
  margin: auto;
  line-height: 1.5;
}

/* Optional cute underline accent under heading */
.page-banner h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ffd200;
  margin: 12px auto 0;
  border-radius: 2px;
}


/* HERO */
/* MAIN WRAPPER */
.wwd-container {
  max-width: 1200px;
  margin: auto;
  padding: 90px 20px;
}

/* CONTENT BLOCK */
.wwd-block {
  margin-bottom: 100px;
}

.wwd-block.alt {
  background: #f9f9f9;
  padding: 60px 40px;
  border-radius: 20px;
}

/* TEXT */
.wwd-block h2 {
  color: #06592b;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.wwd-block p {
  max-width: 850px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 35px;
}

/* IMAGE GRID */
.wwd-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

/* IMAGE CONTAINER */
.wwd-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.wwd-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wwd-img:hover img {
  transform: scale(1.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .wwd-block.alt {
    padding: 40px 20px;
  }

  .wwd-block h2 {
    font-size: 2rem;
  }
}





/*core values*/
.core-values {
  background-color: #2b3539;
  padding: 70px 20px;
  color: #fff;
  text-align: center;
}

.core-values .container {
  max-width: 1200px;
  margin: auto;
}

.core-values h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #ffd200;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* force 5 in one row */
  gap: 30px;
}

/* Tablet */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


.value-card {
  background-color: #06592b;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.value-card i {
  font-size: 40px;
  color: #ffd200;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.6;
}







/*==donate==*/
/* Donate Button */
/*==donate==*/
/* Donate Button */
.donate-btn {
  padding: 14px 35px;
  background: linear-gradient(135deg, #06592b, #0a7c3c);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.3s;
  box-shadow: 0 12px 25px rgba(6, 89, 43, 0.35);
}
.donate-btn:hover {
  transform: translateY(-2px);
}

/* Modal Overlay */
.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;

  overflow: hidden; /* 🔥 important */
}

/* Modal Box */
.donate-modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 100%);
  max-width: 820px;
  width: 92%;
  margin: 4% auto;
  padding: 45px;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  animation: slideUp 0.45s ease;

  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;   /* prevent side scroll */
}

.donate-modal-content::-webkit-scrollbar {
  width: 8px;
}

.donate-modal-content::-webkit-scrollbar-thumb {
  background: #06592b;
  border-radius: 10px;
}




/* Header */
.donate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.donate-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #06592b;
  position: relative;
}
.donate-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #ffd200;
  display: block;
  margin-top: 8px;
  border-radius: 4px;
}

.close-btn {
  font-size: 26px;
  cursor: pointer;
  color: #06592b;
  transition: 0.2s;
}
.close-btn:hover {
  color: #c62828;
  transform: scale(1.1);
}

/* Subtitle */
.donate-subtitle {
  margin: 15px 0 35px;
  color: #666;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.6;
}

/* Tabs */
.donate-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f6f2;
  padding: 8px;
  border-radius: 40px;
  gap: 8px;
  margin-bottom: 35px;
}

.tab-btn {
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: #06592b;
  transition: 0.25s;
}

.tab-btn.active {
  background: #06592b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 89, 43, 0.35);
}

/* Tab Content */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Donate Cards */
.donate-card {
  background: #ffffff;
  border-left: 6px solid #06592b;
  padding: 25px 28px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  animation: fadeIn 0.35s ease;
}

.donate-card p {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 0.95rem;
  color: #444;
}

.donate-card span {
  font-weight: 800;
  color: #06592b;
}


.bank-logo {
  width: 24px;          /* small but visible */
  height: auto;
  vertical-align: middle; /* aligns logo with text */
  margin-left: 4px;       /* small spacing after colon */
  margin-right: 6px;      /* spacing before bank name text */
}


/* Payment Areas */
.card-payment {
  background: #ffffff;
  border-radius: 22px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card-payment p {
  font-size: 1rem;
  color: #555;
}

/* Buttons */
.pay-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #06592b, #0a7c3c);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
  box-shadow: 0 12px 30px rgba(6,89,43,0.35);
}
.pay-btn:hover {
  transform: translateY(-2px);
}

/* Copy Button */
.copy-btn {
  background: #ffd200;
  color: #06592b;
  border: none;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.copy-btn:hover {
  background: #f5c400;
}

/* Animations */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .donate-modal-content {
    margin: 15% 15px;
    padding: 30px;
  }
  .donate-tabs {
    grid-template-columns: 1fr;
  }
}

















/*footer*/
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.ngo-footer {
  background: black;
  color: #eee;
  padding: 60px 20px 20px;
  animation: fadeInUp 1.2s ease-out;
}
.footer-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-block h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffd200;
}
.footer-block p, .footer-block li, .footer-block a {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}
.footer-block a:hover {
  color: #06592b;
}
.footer-block.links ul {
  list-style: none;
  padding: 0;
}
.footer-block.links li {
  margin-bottom: 8px;
}
.socials {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.socials a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.socials a:hover {
  color: #ffd200;
  transform: scale(1.2);
}
.newsletter {
  display: flex;
  gap: 10px;
}
.newsletter input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 20px;
  outline: none;
}
.newsletter button {
  padding: 10px 20px;
  background: #06592b;
  border: none;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter button:hover {
  background: #ffd200;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #666;
}

/* Scroll animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .newsletter {
    flex-direction: column;
  }
  .newsletter input, .newsletter button {
    width: 100%;
    margin-bottom: 10px;
  }
}