* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 75px;
  width: 75px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

/* Hover underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #ffd400;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Active link */
.nav-links a.active::after {
  width: 100%;
}

/* Right section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Donate Button section */
#ngoDonateBtn.ngo-donate-btn {
  background: #0a9f00;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

#ngoDonateBtn:hover {
  background: #087c00;
  transform: scale(1.05);
}
/* donate popup */
/* ===============================
   OVERLAY
================================ */

/* ================= OVERLAY ================= */

/* ===== OVERLAY ===== */
.ngo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

/* ===== POPUP ===== */
.ngo-popup {
  display: none;
  position: fixed;
  inset: 0;
  margin: auto;

  width: 95%;
  max-width: 850px;
  height: 90vh;
  background: #fff;
  border-radius: 10px;
  z-index: 9999;
  overflow: hidden;
}

/* HEADER */
.ngo-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}
.ngo-close-btn {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* BODY */
.ngo-popup-body {
  padding: 20px;
  height: calc(90vh - 60px);
  overflow-y: auto;
}

/* TOP SECTION */
.ngo-top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.ngo-bank-details {
  background: #e9f7f7;
  padding: 15px;
  border-radius: 8px;
}
.ngo-qr-section {
  text-align: center;
}
.ngo-qr-section img {
  width: 180px;
  max-width: 100%;
}

/* FORM */
.ngo-form {
  display: block;
}
.ngo-input,
.ngo-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.ngo-textarea {
  resize: none;
  height: 80px;
}

/* UPLOAD */
.ngo-upload-label {
  display: block;
  margin-bottom: 15px;
  font-size: 14px;
}
.ngo-file-input {
  display: block;
  margin-top: 6px;
}

/* ===============================
   INPUT VISIBILITY FIX (FINAL)
================================ */

/* Force text color */
.ngo-popup input,
.ngo-popup textarea {
  color: #000 !important; /* 🔥 make typed text visible */
  background-color: #fff !important;
  caret-color: #000 !important; /* 🔥 cursor visible */
}

/* Placeholder style */
.ngo-popup input::placeholder,
.ngo-popup textarea::placeholder {
  color: #999 !important;
  opacity: 1;
}

/* Remove global invalid red border */
.ngo-popup input:invalid,
.ngo-popup textarea:invalid {
  box-shadow: none !important;
  outline: none !important;
  border: 1px solid #ccc !important;
}

/* On focus */
.ngo-popup input:focus,
.ngo-popup textarea:focus {
  border-color: #0a9f00 !important;
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(10, 159, 0, 0.3);
}

/* SUBMIT */
.ngo-submit-btn {
  width: 100%;
  padding: 12px;
  background: orange;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
}

/* Make popup body scrollable */
.ngo-popup-body {
  padding-bottom: 90px;
}
submit button */ .ngo-submit-btn {
  bottom: 10px; /* safe gap */
  z-index: 10;

  margin-top: 15px;
  margin-bottom: 0;

  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ngo-top-section {
    grid-template-columns: 1fr;
  }
  .ngo-qr-section img {
    width: 150px;
  }
}

/* Toggle Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    animation: slideDown 0.4s ease;
  }

  .nav-links a {
    padding: 15px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
/* managing board hero section */

/* Main hero section */
.gallery-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("/image/our\ program\ img1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  /* animation: zoomBg 12s ease-in-out infinite; */
}

/* Background zoom animation */
@keyframes zoomBg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Dark overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Title text */
.gallery-title {
  position: relative;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  z-index: 2;
  animation: fadeText 1.5s ease;
}

/* Text animation */
@keyframes fadeText {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-hero {
    height: 45vh;
  }

  .gallery-title {
    font-size: 2rem;
    text-align: center;
    padding: 0 10px;
  }
}
/* our program section */
/* <!-- Our Programs --> */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
} */

/* 🌈 Page background animation */
body {
  background: linear-gradient(120deg, #f0fdf4, #fff7ed, #eef2ff);
  background-size: 300% 300%;
  animation: bgMove 8s infinite alternate;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.programs-section {
  max-width: 1300px;
  margin: auto;
  padding: 40px 20px;
}

/* Center heading */
.section-title {
  text-align: center;
  font-size: 36px;
  color: #1b5e20;
  margin-bottom: 50px;
  animation: titleFade 1s ease;
}

@keyframes titleFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Program Card */
.program-card {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  padding: 25px;
  border-radius: 18px;
  background: #ffffff;
  transition: all 0.4s ease;
}

.program-card.reverse {
  flex-direction: row-reverse;
}

/* Hover background + lift */
.program-card:hover {
  background: linear-gradient(120deg, #e8f5e9, #fff3e0);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Image */
.program-card img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  transition: transform 0.4s;
}

.program-card:hover img {
  transform: scale(1.05);
}

/* Text animation */
.program-content h2 {
  color: #2e7d32;
  margin-bottom: 10px;
  transition: transform 0.4s;
}

.program-content p {
  color: #555;
  transition: transform 0.4s;
}

.program-card:hover h2 {
  transform: translateX(10px);
}

.program-card:hover p {
  transform: translateX(6px);
}

.more-text {
  display: none;
  margin-top: 10px;
}

/* Button */
.toggle-btn {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  border-radius: 25px;
  background: #f4a261;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-btn:hover {
  background: #e76f51;
  transform: scale(1.05);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .program-card,
  .program-card.reverse {
    flex-direction: column;
    text-align: center;
  }

  .program-card:hover h2,
  .program-card:hover p {
    transform: none;
  }
}

/* our program section */

/* Section */
.our-programs {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: orange;
  display: block;
  margin: 10px auto 0;
}

/* Program Card */
.program-card {
  background: #fff;
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.program-card:hover {
  transform: translateY(-8px);
}

/* Image */
.program-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover img {
  transform: scale(1.05);
}

/* Meta Info */
.program-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #fafafa;
  font-size: 14px;
  color: #ff7a00;
  font-weight: bold;
}

/* Content */
.program-content {
  padding: 25px 20px;
  animation: fadeUp 0.8s ease forwards;
}

.program-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.program-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Text Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .program-image img {
    height: 260px;
  }

  .program-meta {
    flex-direction: column;
    gap: 8px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* 
footer section */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.footer {
  background: #0b0b0b;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-logo {
  width: 90px;
  margin-top: 15px;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #fbb034;
  padding-left: 5px;
}

.footer-box i {
  color: #fbb034;
  margin-right: 8px;
}

/* Social Links */
.social-links li a {
  display: flex;
  align-items: center;
}

/* Single Line */
.footer-line {
  border: none;
  height: 1px;
  background: #444;
  margin: 40px auto 15px;
  max-width: 1200px;
}

/* Copyright Center */
.copyright {
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.copyright span {
  color: #fbb034;
  font-weight: bold;
}
.copyright #ephorsys {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-box i {
    margin-right: 5px;
  }

  .social-links li a {
    justify-content: center;
  }
}

.more-text {
  display: none;
}

.more-text.show {
  display: block;
}