* {

  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%;

}







.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);

}



/* DROPDOWN */

.dropdown {

  position: relative;

}



.dropdown-toggle::after {

  content: " ▾";

  font-size: 0.7rem;

}



.dropdown-menu {

  display: block;

  position: absolute;

  top: 100%;

  left: 0;

  background: #000;

  min-width: 220px;

  list-style: none;

  padding: 10px 0;

  border-radius: 6px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: all 0.3s ease;

  z-index: 999;

}



.dropdown-menu li {

  display: block;

  width: 100%;

  padding: 0;

}



.dropdown-menu li a {

  display: block;

  padding: 10px 20px;

  color: #fff;

  text-decoration: none;

  font-weight: 400;

  width: 100%;

}



.dropdown-menu li a:hover {

  background: #06592b;

  color: #ffd200;

}



/* SHOW DROPDOWN ON HOVER (DESKTOP) */

.dropdown:hover .dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);

}



.dropdown-menu.open {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);

}













/* Hamburger */

/* Hide hamburger on desktop */

.hamburger {

  display: none;

  font-size: 2rem;

  color: white;

  cursor: pointer;

}



/* Desktop nav */

.nav-links {

  display: flex;

  gap: 25px;

}













/* Hero Section */

.hero-slider {

  margin-top: 80px;

  position: relative;

  height: 100vh;

  overflow: hidden;

}



.slide {

  position: absolute;

  top: 0;

  left: 100%;

  width: 100%;

  height: 100%;

  background-size: cover;

  background-position: center;

  opacity: 0;

  transition: all 1s ease-in-out;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 0 1rem;

}



.slide.active {

  left: 0;

  opacity: 1;

  z-index: 1;

}



.hero {

  color: white;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

}



.hero h1 {

  font-size: 3rem;

  margin-bottom: 1rem;

}



.hero p {

  font-size: 1.2rem;

  margin-bottom: 1.5rem;

  max-width: 600px;

  margin-inline: auto;

}



.cta {

  background: #fff;

  color: #0b8457;

  padding: 0.7rem 1.5rem;

  font-weight: bold;

  text-decoration: none;

  border-radius: 25px;

  box-shadow: 0 4px 8px rgba(0,0,0,0.1);

  transition: all 0.3s ease;

}



.cta:hover {

  background: #dfffe3;

  transform: scale(1.05);

}



/* 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;

}















/*welcome section*/

.welcome-section {

  background-color: #2b3539;

  padding: 80px 5%;

  color: #333;

  font-family: 'Poppins', sans-serif;

}



.welcome-container {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 40px;

  max-width: 1200px;

  margin: auto;

}



.welcome-video {

  flex: 1 1 500px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  border-radius: 12px;

  overflow: hidden;

  transition: transform 0.5s ease;

}



.welcome-video {

  flex: 1;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  border-radius: 12px;

  overflow: hidden;

  position: relative;

  aspect-ratio: 16 / 9; /* 🔥 THIS FIXES IT */

}



.welcome-video iframe {

  width: 100%;

  height: 100%;

  border: none;

}



.welcome-text {

  flex: 1 1 500px;

  padding: 10px;

}



.welcome-text h2 {

  font-size: 2.4rem;

  color: #fff;

  margin-bottom: 20px;

}



.welcome-text h2 span {

  color: #fff;

}



.welcome-text p {

  line-height: 1.8;

  margin-bottom: 15px;

  font-size: 1.05rem;

  color: #fcfdfb;

}



.read-more-btn {

  display: inline-block;

  margin-top: 20px;

  padding: 12px 24px;

  background-color: #06592b;

  color: #fff;

  font-weight: 600;

  text-decoration: none;

  border-radius: 6px;

  transition: background 0.3s ease;

}



.read-more-btn:hover {

  background-color: #ffd200;

}



/* Animation classes */

.fade-in {

  opacity: 0;

  transform: translateY(30px);

  transition: opacity 1s ease, transform 1s ease;

}



.fade-in.visible {

  opacity: 1;

  transform: translateY(0);

}







/* Responsive */

@media (max-width: 768px) {

  .welcome-container {

    flex-direction: column;

  }



  .welcome-text h2 {

    font-size: 2rem;

  }



  .welcome-video iframe {

    height: 220px;

  }



  .welcome-video {

    flex: unset;       /* 🔥 removes 500px flex-basis */

    width: 100%;

  }



}

















/*mission and vision*/

.mission-vision {

  background-color: #fff;

  padding: 60px 20px;

  color: #fff;

}



.mission-vision .container {

  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  gap: 20px;

  max-width: 1200px;

  margin: auto;

}



.mission-vision .card {

  flex: 1 1 45%;

  background-color: #06592b;

  padding: 30px;

  border-radius: 15px;

  box-shadow: 0 10px 20px rgba(0,0,0,0.2);

  opacity: 0; /* Initial state for animation */

  transform: translateY(20px); /* Initial offset */

  transition: all 0.6s ease-out;

}



.mission-vision .card h2 {

  color: #ffd200;

  font-size: 28px;

  margin-bottom: 15px;

}



.mission-vision .card p {

  font-size: 16px;

  line-height: 1.7;

}



/* When animation class is visible */

.animate.aos-animate {

  opacity: 1 !important;

  transform: translateY(0) !important;

}



/* Responsive */

@media (max-width: 768px) {

  .mission-vision .container {

    flex-direction: column;

  }



  .mission-vision .card {

    flex: 1 1 100%;

  }

}





















/*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;

}















/*recent projects*/

/* ===== RECENT PROJECTS ===== */

.recent-projects {

  background-color: #f9f9f9;

  padding: 70px 20px;

  color: #2b3539;

}



.recent-projects h2 {

  text-align: center;

  font-size: 36px;

  color: #06592b;

  margin-bottom: 50px;

}



.projects-grid {

  display: grid;

  gap: 30px;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* smaller min-width */

}



.project-card {

  background-color: #fff;

  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  transition: transform 0.3s ease;

  display: flex;

  flex-direction: column;

  height: 350px; /* fixed height for a more square look */

}



.project-card img {

  width: 100%;

  height: 50%; /* half of card height */

  object-fit: cover;

}



.project-details {

  padding: 15px;

  overflow: hidden;

}



.project-details h3 {

  color: #06592b;

  margin-bottom: 8px;

  font-size: 18px;

}



.project-details p {

  color: #444;

  font-size: 14px;

  line-height: 1.4;

  overflow: hidden;

  text-overflow: ellipsis;



  display: -webkit-box;       /* WebKit-specific */

  -webkit-line-clamp: 4;      /* WebKit-specific */

  -webkit-box-orient: vertical;



  display: box;               /* fallback standard display (optional) */

  line-clamp: 4;              /* standard property for future compatibility */

  box-orient: vertical;       /* standard orient property */

}









.read-more {

  display: inline-block;

  padding: 10px 22px;

  background: #06592b;

  color: #ffd200;

  font-weight: bold;

  border-radius: 25px;

  text-decoration: none;

  transition: 0.3s;

}

.read-more:hover {

  background: #04381a;

  transform: translateY(-2px);

}



/* View More */

.view-more {

  text-align: right;

  margin-top: 30px;

}



.view-more a {

  color: #06592b;

  font-weight: bold;

  text-decoration: none;

  font-size: 16px;

  display: inline-flex;

  align-items: center;

  transition: color 0.3s ease;

}



.view-more a:hover {

  color: #ffd200;

}



.view-more i {

  margin-left: 8px;

}



/* ===== PROJECT MODAL ===== */

.project-modal {

  display: none;

  position: fixed;

  z-index: 1000;

  left: 0; top: 0;

  width: 100%; height: 100%;

  background-color: rgba(0,0,0,0.7);

  justify-content: center;

  align-items: center;

  overflow-y: auto;

  padding: 20px;

  box-sizing: border-box;

}



.project-modal-content {

  background: #fff;

  border-radius: 15px;

  width: 100%;

  max-width: 900px;  /* wider modal */

  max-height: 90vh;

  padding: 20px 30px;

  position: relative;

  overflow: hidden;

  animation: zoomIn 0.3s forwards;

  display: flex;

  flex-direction: column;

}



.project-modal-content .close-btn {

  position: absolute; /* make it fixed relative to modal content */

  top: 15px;

  right: 20px;

  font-size: 28px;

  cursor: pointer;

  color: #06592b;

  z-index: 1001;

}





/* FLEX LAYOUT */

.modal-flex {

  display: flex;

  gap: 25px;

  flex-wrap: wrap;

}



.modal-flex img {

  flex: 1 1 300px;

  max-width: 400px;

  border-radius: 12px;

  object-fit: cover;

  height: auto;

}



.modal-text {

  flex: 2 1 400px;

  display: flex;

  flex-direction: column;

}



.modal-text h3 {

  color: #06592b;

  margin-bottom: 15px;

}



.modal-desc-wrapper {

  max-height: 50vh;

  overflow-y: auto;

  margin-bottom: 15px;

}



.modal-desc-wrapper p {

  line-height: 1.6;

  color: #444;

}



/* INLINE BUTTONS */

.modal-buttons {

  display: flex;

  gap: 15px;

  flex-wrap: wrap;

}



.modal-buttons button {

  background: #06592b;

  color: #fff;

  border: none;

  padding: 10px 25px;

  border-radius: 25px;

  cursor: pointer;

  font-size: 1rem;

  transition: 0.3s;

}



.modal-buttons button:hover {

  background: #ffd200;

  color: #000;

}



/* Responsive for small screens */

@media (max-width: 768px) {

  .modal-flex {

    flex-direction: column;

    align-items: center;

  }



  .modal-flex img, .modal-text {

    flex: 1 1 100%;

    max-width: 100%;

  }

}



/* =========================

   MOBILE PROJECT MODAL FIX

========================= */



@media (max-width: 768px) {



  .project-modal {

    padding: 20px;

    align-items: center;

    justify-content: center;

  }



  .project-modal-content {

    width: 95%;

    max-height: 90vh;

    overflow-y: auto;

    border-radius: 14px;

  }



  .modal-flex {

    flex-direction: column; /* stack image and text */

  }



  .project-modal img {

    width: 100%;

    height: auto;

    max-height: 220px;

    object-fit: cover;

    border-radius: 10px;

  }



  .modal-text {

    padding-top: 15px;

  }



  .modal-desc-wrapper {

    max-height: 250px;

    overflow-y: auto;

  }



}





















/*latest news*/

.latest-news {

  background: #cbcccc;

  padding: 4rem 2rem;

  color: #06592b;

  animation: fadeInUp 1s ease-in-out;

}



.section-title {

  text-align: center;

  margin-bottom: 2.5rem;

}



.section-title h2 {

  font-size: 2.5rem;

  color: #06592b;

  animation: fadeInDown 0.8s ease;

}



.section-title p {

  font-size: 1rem;

  color: #666;

}



.news-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;

  animation: zoomIn 1s ease-in-out;

}



.news-card {

  background: white;

  border-radius: 12px;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.news-card:hover {

  transform: translateY(-5px);

  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);

}



/* Apply same style to both images and videos */

.news-card img,

.news-card video {

  width: 100%;

  height: 180px;

  object-fit: cover;

  border-radius: 12px 12px 0 0;

  display: block;

  transition: transform 0.3s ease;

}



.news-card:hover img,

.news-card:hover video {

  transform: scale(1.05);

}



.news-content {

  padding: 1rem 1.2rem;

}



.news-content h3 {

  font-size: 1.25rem;

  color: #06592b;

  margin-bottom: 0.5rem;

}



.news-content p {

  font-size: 0.95rem;

  color: #444;

}











.read-more {

  margin-top: 1rem;

  padding: 10px 18px;

  font-size: 0.95rem;

  background-color: #06592b;

  color: white;

  border: none;

  border-radius: 20px;

  cursor: pointer;

  font-weight: bold;

  transition: background 0.3s ease, transform 0.3s ease;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



.read-more:hover {

  background-color: #ffd200;

  transform: scale(1.05);

}



.view-more-news {

  text-align: right;

  margin-top: 2rem;

}



.btn-news {

  background: #06592b;

  color: white;

  padding: 10px 20px;

  border-radius: 25px;

  text-decoration: none;

  font-weight: bold;

  transition: background 0.3s ease;

}



.btn-news:hover {

  background: #ffd200;

}



/* Modal styles */

.news-modal {

  display: none;

  position: fixed;

  z-index: 999;

  left: 0; top: 0;

  width: 100%;

  height: 100%;

  backdrop-filter: blur(6px);

  background-color: rgba(0,0,0,0.4);

  justify-content: center;

  align-items: center;

  padding: 2rem;

  animation: fadeInUp 0.5s ease;

}



.modal-content {

  background: white;

  padding: 2rem;

  border-radius: 20px;

  max-width: 700px;

  width: 90%;

  box-shadow: 0 10px 30px rgba(0,0,0,0.2);

  position: relative;

  animation: zoomIn 0.5s ease;

}



.modal-content h3 {

  margin-top: 0;

  color: #06592b;

  font-size: 1.8rem;

}



.modal-content p {

  font-size: 1rem;

  color: #444;

  margin-top: 1rem;

  line-height: 1.6;

}



.close-modal {

  position: absolute;

  top: 15px;

  right: 20px;

  font-size: 24px;

  color: #06592b;

  cursor: pointer;

}



/* Animations */

@keyframes fadeInUp {

  from {

    opacity: 0;

    transform: translateY(40px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



@keyframes fadeInDown {

  from {

    opacity: 0;

    transform: translateY(-30px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



@keyframes zoomIn {

  from {

    opacity: 0;

    transform: scale(0.9);

  }

  to {

    opacity: 1;

    transform: scale(1);

  }

}









































/*help page*/

/* =========================

   HELP PAGE STYLES

========================= */



/* Hero */

.help-hero {

  margin-top: 110px; /* clears fixed navbar */

  background: #f5f7f3;

  text-align: center;

  padding: 80px 20px;

}



.help-hero h1 {

  font-size: 3rem;

  color: #06592b;

  margin-bottom: 15px;

  font-weight: 700;

}



.help-hero p {

  font-size: 1.1rem;

  color: #444;

  max-width: 650px;

  margin: auto;

}



/* Help Container */

.help-container {

  padding: 80px 8%;

  background: #fcfdfb;

}



/* Help Card */

.help-card {

  display: flex;

  align-items: center;

  gap: 50px;

  margin-bottom: 90px;

}



.help-card.reverse {

  flex-direction: row-reverse;

}



/* Text */

.help-text {

  flex: 1;

}



.help-text h2 {

  font-size: 2.2rem;

  color: #06592b;

  margin-bottom: 15px;

}



.help-text p {

  font-size: 1rem;

  line-height: 1.7;

  margin-bottom: 18px;

  color: #444;

}



.help-text ul {

  margin-bottom: 25px;

  padding-left: 20px;

}



.help-text ul li {

  margin-bottom: 10px;

  font-size: 0.95rem;

  color: #333;

}



/* Buttons */







.help-btn {

  background: #06592b;

  color: #fff;

  border: none;

  padding: 12px 28px;

  font-size: 0.95rem;

  font-weight: bold;

  border-radius: 30px;

  cursor: pointer;

  transition: all 0.3s ease;

  text-decoration: none;

}



.help-btn:hover {

  background: #ffd200;

  color: #000;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

}

























/* PROJECT GRID */

#sponsorModal .projects-grid{

  display: grid;

  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));

  gap: 20px;

}



/* PROJECT CARDS */

#sponsorModal .project-card{

  background: #fff;

  border-radius: 15px;

  text-align: center;

  box-shadow: 0 6px 15px rgba(0,0,0,0.08);

  transition: all 0.3s ease;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  max-height: 260px; /* balance card height */

}



#sponsorModal .project-card:hover {

  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(0,0,0,0.15);

}



/* CARD IMAGES */

#sponsorModal img{

  width: 100%;

  height: 120px; /* shorter image for balanced card */

  object-fit: cover;

  border-radius: 15px 15px 0 0;

  transition: transform 0.3s ease;

}



#sponsorModal .project-card:hover img{

  transform: scale(1.05);

}



/* CARD TITLES */

#sponsorModal .project-card h3{

  font-size: 0.95rem;

  font-weight: 600;

  color: #06592b;

  margin: 10px 8px 5px 8px;

  flex-grow: 1; /* allows title to take remaining space */

}



/* BUTTONS */

#sponsorModal .help-btn{

  margin: 10px auto 8px auto;

  padding: 7px 16px;

  background: #06592b;

  color: #fff;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  font-weight: 500;

  transition: background 0.3s ease, transform 0.2s ease;

}



#sponsorModal .help-btn:hover{

  background: #0a7840;

  transform: scale(1.05);

}



/* MODAL CONTENT SCROLLING */

#sponsorModal .project-modal-content{

  max-height: 80vh; /* modal will not exceed viewport */

  overflow-y: auto; /* enable scrolling */

  padding: 25px;

  background: #fefefe;

  border-radius: 20px;

  box-shadow: 0 40px 80px rgba(0,0,0,0.3);

  animation: fadeInModal 0.4s ease forwards;

}



/* MODAL ANIMATION */

@keyframes fadeInModal {

  0% { opacity: 0; transform: scale(0.95); }

  100% { opacity: 1; transform: scale(1); }

}



/* SCROLLBAR */

#sponsorModal .project-modal-content::-webkit-scrollbar {

  width: 6px;

}



#sponsorModal .project-modal-content::-webkit-scrollbar-thumb {

  background: #06592b;

  border-radius: 10px;

}



/* MOBILE ADJUSTMENTS */

@media(max-width:768px){

  #sponsorModal img{

    height: 100px;

  }



  #sponsorModal .project-card h3{

    font-size: 0.9rem;

  }



  #sponsorModal .help-btn{

    padding: 6px 14px;

  }

}







/* Images */

.help-image {

  flex: 1;

}



.help-image img {

  width: 100%;

  max-width: 450px;

  border-radius: 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);

}





.form-note {

  margin-top: 12px;

  font-size: 14px;

  color: #666;

  text-align: center;

}



.form-note a {

  color: #2e8b57;

  text-decoration: none;

  font-weight: 500;

}



.form-note a:hover {

  text-decoration: underline;

}









/* CTA Section */

.help-cta {

  background: #06592b;

  color: #fff;

  text-align: center;

  padding: 70px 20px;

}



.help-cta h2 {

  font-size: 2.2rem;

  margin-bottom: 15px;

  color: #ffd200;

}



.help-cta p {

  font-size: 1rem;

  margin-bottom: 25px;

  max-width: 600px;

  margin-inline: auto;

}



.cta-btn {

  background: #ffd200;

  color: #000;

  padding: 14px 35px;

  border-radius: 30px;

  text-decoration: none;

  font-weight: bold;

  transition: all 0.3s ease;

}



.cta-btn:hover {

  background: #fff;

  transform: scale(1.05);

}









/* =========================

   RESPONSIVE – HELP PAGE

========================= */

@media (max-width: 900px) {

  .help-card,

  .help-card.reverse {

    flex-direction: column;

    text-align: center;

  }



  .help-image img {

    max-width: 100%;

  }



  .help-text ul {

    text-align: left;

    display: inline-block;

  }

}































/* ===================

   VOLUNTEER PAGE

=================== */



/* Hero */

.volunteer-hero {

  margin-top: 110px;

  background: #f5f7f3;

  text-align: center;

  padding: 80px 20px;

}



.volunteer-hero h1 {

  font-size: 3rem;

  color: #06592b;

  font-weight: 700;

}



.volunteer-hero p {

  font-size: 1.1rem;

  color: #444;

  margin-top: 10px;

}



.why-image {

  width: 100%;

  max-width: 450px;

  height: 300px;

  overflow: hidden;

  border-radius: 12px;

}



.why-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



@media (max-width: 768px) {

  .why-image {

    height: 200px;

  }

}





/* Why Volunteer */

.volunteer-why .container {

  display: flex;

  gap: 50px;

  padding: 70px 8%;

  align-items: center;

}



.volunteer-why h2 {

  font-size: 2rem;

  color: #06592b;

  margin-bottom: 15px;

}



.volunteer-why p {

  font-size: 1rem;

  color: #444;

  margin-bottom: 15px;

}



.volunteer-why ul {

  padding-left: 20px;

}



.volunteer-why li {

  margin-bottom: 10px;

  font-size: 0.95rem;

  color: #333;

}



.volunteer-why img {

  max-width: 100%;

  border-radius: 15px;

}



/* Form */

.volunteer-form-section {

  background: #fcfdfb;

  padding: 60px 8%;

  text-align: center;

}



.volunteer-form-section h2 {

  font-size: 2.2rem;

  color: #06592b;

  margin-bottom: 30px;

}



.volunteer-form {

  max-width: 600px;

  margin: auto;

  display: grid;

  gap: 18px;

}



.volunteer-form .form-group {

  text-align: left;

}



.volunteer-form input,

.volunteer-form textarea {

  width: 100%;

  padding: 10px 14px;

  border: 2px solid #ddd;

  border-radius: 8px;

  font-size: 0.95rem;

}



.volunteer-form textarea {

  min-height: 120px;

  resize: none;

}



.volunteer-form label {

  font-weight: 600;

  color: #06592b;

}



.volunteer-form button {

  background: #06592b;

  color: #fff;

  padding: 12px 0;

  border: none;

  font-size: 1rem;

  cursor: pointer;

  border-radius: 25px;

  margin-top: 15px;

  transition: 0.3s ease;

}



.volunteer-form button:hover {

  background: #ffd200;

  color: #000;

}



/* Responsive */

@media (max-width: 900px) {

  .volunteer-why .container {

    flex-direction: column;

  }

}























/* ===== PAGE BANNER ===== */

.page-banner {

  padding: 60px 20px 30px;

  text-align: center;

  background: #fff;

  margin-top: 80px;

}



.page-banner h1 {

  color: #06592b;

  font-size: 2.2rem;

}



.page-banner p {

  max-width: 600px;

  margin: 10px auto 0;

  color: #555;

}



/* ===== BLOG GRID ===== */

.blog-wrapper {

  padding: 70px 6%;

}



.blog-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 40px;

}



/* ===== BLOG CARD ===== */

.blog-card {

  background: #fff;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 12px 30px rgba(0,0,0,.08);

  transition: transform .3s;

  position: relative; /* 🔥 IMPORTANT */

}



.blog-card:hover {

  transform: translateY(-6px);

}



/* Prevent image from stealing clicks */

.blog-card img {

  width: 100%;

  height: 220px;

  object-fit: cover;

  display: block;

  pointer-events: none; /* 🔥 CRITICAL FIX */

}



/* ===== CONTENT ===== */

.blog-content {

  padding: 25px;

  position: relative;

  z-index: 2;

}



.blog-date {

  font-size: .85rem;

  color: #777;

}



.blog-content h3 {

  color: #06592b;

  margin: 12px 0;

}



.blog-meta {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 18px;

  position: relative;

  z-index: 3;

}



/* ===== BUTTON (FORCE CLICKABLE) ===== */

.blog-btn {

  background: #06592b;

  color: #fff;

  border: none;

  padding: 10px 22px;

  border-radius: 25px;

  cursor: pointer;

  transition: .3s;



  position: relative;     /* 🔥 */

  z-index: 10;            /* 🔥 */

  pointer-events: auto;   /* 🔥 */

}



.blog-btn:hover {

  background: #ffd200;

  color: #000;

}



/* ===== MODAL ===== */

.blog-modal {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,.6);

  display: none;

  align-items: center;

  justify-content: center;

  z-index: 9000;

}



.blog-modal.active {

  display: flex;

}



.modal-box {

  background: #fff;

  width: 90%;

  max-width: 820px;

  max-height: 90vh;

  overflow-y: auto;

  border-radius: 20px;

  padding: 30px;

  position: relative;

}



.modal-box img {

  width: 100%;

  border-radius: 15px;

  margin-bottom: 20px;

}



.modal-close {

  position: absolute;

  top: 14px;

  right: 20px;

  font-size: 2rem;

  background: none;

  border: none;

  cursor: pointer;

  z-index: 20;

}



/* ===== COMMENTS ===== */

.comments-section {

  margin-top: 40px;

}



#commentForm input,

#commentForm textarea {

  width: 100%;

  padding: 12px;

  border-radius: 10px;

  border: 1px solid #ccc;

  margin-bottom: 12px;

}



#commentForm button {

  background: #06592b;

  color: #fff;

  border: none;

  padding: 10px 22px;

  border-radius: 25px;

  cursor: pointer;

}



.comment {

  background: #f4f6f5;

  padding: 12px;

  border-radius: 10px;

  margin-top: 10px;

}











/* ===== GALLERY HERO ===== */

.gallery-hero {

  position: relative;

  height: 45vh;

  background: url("images/gallery-banner.jpg") center/cover no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;

}



.hero-overlay {

  position: absolute;

  inset: 0;

  background: rgba(0, 70, 30, 0.65);

}



.hero-content {

  position: relative;

  text-align: center;

  color: #fff;

  padding: 20px;

}



.hero-content h1 {

  font-size: 3rem;

  color: #ffd700;

}



.hero-content p {

  max-width: 600px;

  margin: auto;

  opacity: 0.95;

}



/* ===== FILTERS ===== */

.gallery-filters {

  display: flex;

  justify-content: center;

  gap: 15px;

  padding: 40px 20px;

  flex-wrap: wrap;

}



.filter-btn {

  padding: 10px 22px;

  border: none;

  border-radius: 30px;

  background: #06592b;

  color: #fff;

  cursor: pointer;

  transition: all 0.3s ease;

}



.filter-btn:hover,

.filter-btn.active {

  background: #ffd700;

  color: #06592b;

}



/* ===== GALLERY GRID ===== */

.gallery-grid {

  column-count: 3;

  column-gap: 20px;

  padding: 20px 40px 80px;

}



.gallery-item {

  margin-bottom: 20px;

  overflow: hidden;

  border-radius: 16px;

  cursor: pointer;

  break-inside: avoid;

  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  transition: transform 0.4s ease;

}



.gallery-item:hover {

  transform: scale(1.03);

}



.gallery-item img {

  width: 100%;

  display: block;

  transition: transform 0.5s ease;

}



.gallery-item:hover img {

  transform: scale(1.1);

}



/* ===== LIGHTBOX ===== */

.lightbox {

  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.85);

  align-items: center;

  justify-content: center;

  z-index: 9999;

}



.lightbox img {

  max-width: 90%;

  max-height: 85vh;

  border-radius: 12px;

}



.close-btn {

  position: absolute;

  top: 30px;

  right: 40px;

  font-size: 40px;

  color: #ffd700;

  cursor: pointer;

}



/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {

  .gallery-grid {

    column-count: 2;

  }

}



@media (max-width: 600px) {

  .gallery-grid {

    column-count: 1;

    padding: 20px;

  }



  .hero-content h1 {

    font-size: 2.2rem;

  }

}



















/* ===== CONTACT WRAPPER ===== */

.contact-wrapper {

  padding: 80px 6%;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  background: #f4f6f5;

}



/* ===== CONTACT INFO ===== */

.contact-info h2 {

  color: #06592b;

  margin-bottom: 15px;

}



.contact-info p {

  margin-bottom: 30px;

  line-height: 1.6;

}



.info-item {

  display: flex;

  align-items: flex-start;

  gap: 15px;

  margin-bottom: 20px;

}



.info-item i {

  font-size: 1.3rem;

  color: #06592b;

  margin-top: 5px;

}



.info-item h4 {

  margin: 0;

  color: #06592b;

}



.contact-socials {

  margin-top: 30px;

}



.contact-socials a {

  margin-right: 15px;

  font-size: 1.2rem;

  color: #06592b;

  transition: 0.3s;

}



.contact-socials a:hover {

  color: #ffd200;

}



/* ===== CONTACT FORM ===== */

.contact-form {

  background: #fff;

  padding: 40px;

  border-radius: 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

}



.contact-form h2 {

  margin-bottom: 20px;

  color: #06592b;

}



.contact-form button {

  width: 100%;             /* full width like inputs */

  background: #06592b;     

  color: #fff;             

  border: none;

  padding: 16px;           /* taller, balanced with inputs */

  border-radius: 12px;     /* match input rounding */

  cursor: pointer;

  font-size: 1rem;

  font-weight: 600;

  margin-top: 10px;        /* spacing from textarea */

  transition: 0.3s;

}



.contact-form button:hover {

  background: #ffd200;     

  color: #000;             

}





.form-group {

  margin-bottom: 18px;

}



.form-group input,

.form-group textarea {

  width: 100%;

  padding: 14px;

  border-radius: 12px;

  border: 1px solid #ccc;

  font-family: inherit;

}



.form-group textarea {

  min-height: 140px;

  resize: vertical;

}



.contact-form button {

  background: #06592b;

  color: #fff;

  border: none;

  padding: 12px 30px;

  border-radius: 25px;

  cursor: pointer;

  font-size: 1rem;

  transition: 0.3s;

}



.contact-form button:hover {

  background: #ffd200;

  color: #000;

}



/* ===== MAP ===== */

.map-section iframe {

  width: 100%;

  height: 420px;

  border: none;

}



/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

  .contact-wrapper {

    grid-template-columns: 1fr;

  }

}











/*==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 {
  border-left: 6px solid #06592b;
  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,.card-form input,.card-form select {

  flex: 1;

  padding: 10px 12px;

  border: none;

  border-radius: 20px;

  outline: none;

}
.card-form input,.card-form select {
  border: 1px solid #ccc;
  margin-bottom: 10px;
}
.card-form {
  display: flex;
  flex-direction: column;
}
.card-expiry,.username{
  display: flex;
  gap: 5px;
}
.newsletter button {

  padding: 10px 20px;

  background: #06592b;

  border: none;

  color: #fff;

  border-radius: 20px;

  cursor: pointer;

  transition: background 0.3s ease;

}
.card-form button{
    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);
}
.card-form button:hover{
  /* background-color: #ffd200; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.card-form button::after{
  content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffd200;
    transition: width 0.3s ease;
    margin-top: 4px;
}
.card-form button:hover::after{
  width: 100%;
}
.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;

  }

}

.donation-options{
  padding: 20px 0;
  text-align: center;
}

.donation-title{
  display:block;
  margin-bottom:10px;
  font-weight:600;
}

.donation-amounts{
  /* display:flex;
  flex-wrap:wrap; */
  gap:10px;
  margin-bottom:15px;
}

.donation-box{
  position:relative;
  cursor:pointer;
}

.donation-box input{
  display:none;
}

.donation-box span{
  display:inline-block;
  padding:12px 20px;
  border:1px solid #ccc;
  border-radius:30px;
  transition:0.3s;
  font-weight:600;
}

.donation-box input:checked + span{
  background: linear-gradient(135deg, rgb(6, 89, 43), rgb(10, 124, 60));
  color:#fff;
}

.custom-donation-input{
  margin-top:10px;
}
.payment-logos{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:15px 0;
}

.payment-logos img{
  height: 120px;
  width: 100%;
  object-fit: contain;
  padding: 4px 8px;
}
.form-loader{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
  color: #06592b;
  font-size: 16px;
  font-weight: bold;
  border-radius: 22px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #06592b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#card{
  position: relative;
}
.error {
    border: 1px solid red !important;
}

.form-message{
    display:none;
    padding:12px 14px;
    margin-bottom:15px;
    border-radius:6px;
    font-size:14px;
}

.form-message.error{
    background:#ffe5e5;
    border:1px solid #ff4d4d;
    color:#b30000;
}

.form-message.success{
    background:#e7f9ed;
    border:1px solid #2ecc71;
    color:#1e7e34;
}
.donation-frequency{
    margin-bottom:25px;
}

.frequency-switch{
    display:flex;
    gap:10px;
}

.frequency-option{
    position:relative;
    cursor:pointer;
    flex:1;
}

.frequency-option input{
    display:none;
}

.frequency-option span{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border: 2px solid #ddd;
    transition: 0.3s;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
}

.frequency-option.active span{
    background: linear-gradient(135deg, #06592b, #0a7c3c);
    color: #fff;
    border: none;
    box-shadow: 0 12px 15px rgba(6, 89, 43, 0.35);
}
@media (max-width: 768px) {
  .card-expiry, .username, .frequency-switch{
    flex-direction: column;
  }
}