


/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
}

/* ===== HEADER & NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #7ca766;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  font-size: 16px;
}

/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #b8860b;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 9999;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  font-size: 13px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #222;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  margin-top: 70px;
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none; /* 🔥 CLICK ISSUE FIX */
}

.slides.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.45);
}

.hero-content h1 {
  font-size: 36px;
  animation: fadeUp 1s ease;
}

.hero-content p {
  max-width: 600px;
  margin: 15px 0 25px;
  animation: fadeUp 1.4s ease;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  margin: 5px;
  transition: 0.3s;
}

.btn.primary {
  background: #b8860b;
  color: #fff;
}

.btn.primary:hover {
  background: #9e6f08;
}

.btn.outline {
  border: 1px solid #fff;
  color: #fff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 20px;
  text-align: center;
}

.section.dark {
  background: #111;
  color: #fff;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

/* ===== GRID & CARDS ===== */
.grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s;
}

.dark .card {
  background: #1c1c1c;
}

.card:hover {
  transform: translateY(-8px);
}

/* ===== DONATION ===== */
.donation-box {
  max-width: 450px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.qr-box img {
  width: 200px;
  margin: 15px auto;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  padding: 14px;
  border-radius: 50%;
  z-index: 9999;
}

/* ===============================
   CONTACT SECTION
================================ */
.section.dark {
  background: #1f2a1f; /* same dark tone */
  color: #fff;
  padding: 70px 20px;
}

.section.dark h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

/* CONTACT CARD */
.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeUp 0.8s ease forwards;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.contact-card i {
  font-size: 28px;
  margin-bottom: 14px;
}

.contact-card p {
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
}

.email-text {
  word-break: break-word;
}
.section.dark {
  background: #1c261c;
  color: #ffffff;
}

.contact-card {
  background: #263326;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.contact-card:hover {
  background: #2f4030;
}

/* icons */
.contact-card i {
  color: #c8f0c8;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #447b44;
  color: #dcdcdc;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #dcdcdc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

/* COPYRIGHT */
footer > p {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #bdbdbd;
}

/* ===============================
   ANIMATION
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 600px) {
  .contact-card {
    padding: 25px 16px;
  }

  .footer-social {
    justify-content: center;
  }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    transition: 0.4s;
  }

  .nav-links.show {
    left: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/* ===============================
   ABOUT PAGE LAYOUT
================================ */
.about-page {
  padding: 140px 20px 60px;
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 30px;
}

.about-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  animation: fadeUp 0.8s ease forwards;
}

.about-box h2 {
  margin-bottom: 12px;
  font-weight: 600;
}

.about-box p,
.about-box ul li {
  line-height: 1.7;
  font-size: 15px;
}

/* ===============================
   BACK BUTTON
================================ */
.page-back {
  position: fixed;
  top: 90px;
  left: 20px;
  z-index: 9999;
}

.page-back button {
  background: #eef3e4;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.page-back button:hover {
  transform: translateY(-2px);
}

/* ===============================
   ABOUT SECTIONS
================================ */
.about-section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===============================
   TRUSTEE GRID
================================ */
.trustee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.trustee-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.trustee-card:hover {
  transform: translateY(-6px);
}

.trustee-card h3 {
  margin-bottom: 10px;
}

/* ===============================
   GOVERNANCE SECTION
================================ */
.light-bg {
  background: #f8f9f3;
}

.governance-points {
  max-width: 900px;
  margin: auto;
}

.governance-points ul {
  padding-left: 20px;
}

.governance-points li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
  .about-page {
    padding-top: 160px;
  }

  .page-back {
    top: 80px;
    left: 10px;
  }

  .page-back button {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ===============================
   GALLERY SECTION
================================ */
.gallery-section {
  padding: 70px 20px;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 10px;
}

.gallery-section .center {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ===============================
   GALLERY GRID
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* ===============================
   GALLERY CARD
================================ */
.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;                /* FIXED HEIGHT */
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  cursor: pointer;
  animation: fadeUp 0.8s ease forwards;
}

/* IMAGE FIX (NO FULL SCREEN ISSUE) */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* 🔥 MOST IMPORTANT */
  transition: transform 0.6s ease;
}

/* ===============================
   HOVER EFFECT
================================ */
.gallery-card:hover img {
  transform: scale(1.12);
}

/* ===============================
   INFO OVERLAY
================================ */
.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.1)
  );
  color: #fff;
  text-align: center;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.gallery-card:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* ===============================
   ANIMATION
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
  .gallery-card {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .gallery-card {
    height: 200px;
  }
}
/* ===============================
   NAVBAR FIX – CLICKABLE & DROPDOWN
================================ */

/* .header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: #1c261c;
} */

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #263326;
  min-width: 220px;
  display: none;
  flex-direction: column;
  z-index: 99999;
}

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
}

.dropdown-menu li a:hover {
  background: #2f4030;
}

/* SHOW DROPDOWN */
.dropdown.active .dropdown-menu {
  display: block;
}

/* TOGGLE BUTTON */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #2f2323;
  margin: 4px 0;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #263326;
    flex-direction: column;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    background: #2f4030;
  }
}
/* ===== HERO FIX FOR HEADING ===== */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* DARK OVERLAY */
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

/* HEADING FIX */
.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.hero-content p {
  color: #f1f1f1;
  font-size: 1rem;
}
