:root {
  --primary: #1B5E20;
  --primary-dark: #0D3B12;
  --primary-light: #2E7D32;
  --secondary: #F9A825;
  --secondary-dark: #F57F17;
  --accent: #D32F2F;
  --accent-dark: #B71C1C;
  --bg-light: #F5F7F5;
  --text-dark: #1A1A1A;
  --text-mid: #555555;
  --text-light: #757575;
  --border: #E5E7E5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
  --radius: 10px;
  --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 44px; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(27, 94, 32, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title { font-size: 1.75rem; margin-bottom: 12px; }
.section-cta { text-align: center; margin-top: 36px; }
.section-cta p { color: var(--text-mid); max-width: 700px; margin: 0 auto; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(211, 47, 47, 0.35); }

.btn-secondary { background: var(--secondary); color: #1A1A1A; border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(249, 168, 37, 0.4); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-3px); }

.btn-link { color: var(--primary); font-weight: 600; }
.btn-link:hover { color: var(--primary-light); }
.btn-full { width: 100%; }

.btn-donate { background: var(--accent); color: #fff; padding: 10px 20px; font-size: 0.9rem; }
.btn-donate:hover { background: var(--accent-dark); }

.btn-help { background: var(--primary); color: #fff; padding: 10px 20px; font-size: 0.9rem; }
.btn-help:hover { background: var(--primary-dark); }

.btn-primary::before,
.btn-secondary::before,
.btn-donate::before,
.btn-help::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-donate:hover::before,
.btn-help:hover::before {
  left: 100%;
}

.btn:active { transform: translateY(-1px) scale(0.98); }

.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

body.loaded .header {
  opacity: 1;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo img { height: 40px; width: auto; }
.nav-list { display: none; gap: 26px; }

.nav-list a {
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text-mid);
  padding: 4px 0;
  position: relative;
}

.nav-list a:hover, .nav-list a.active { color: var(--primary); }

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions { display: none; gap: 10px; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--border);
}

.nav.open .nav-list { display: flex; flex-direction: column; gap: 16px; }

/* ============================================
   HOMEPAGE HERO (index.html)
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 70%, var(--primary-light));
  color: #fff;
  padding: 90px 0 100px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero.hero-animate {
  opacity: 1;
}
.hero h1,
.hero p {
  opacity: 0;
}

.hero-buttons {
  opacity: 0;
}

.hero.hero-animate .hero-buttons {
  opacity: 1;
}
.hero h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 32px;
  opacity: 0.92;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Hero animation — only when .hero-animate class present */
.hero.hero-animate h1 {
  animation: heroTitleIn 0.7s ease-out 0.1s both;
}

.hero.hero-animate p {
  animation: heroParaIn 0.6s ease-out 0.3s both;
}

.hero.hero-animate .hero-buttons .btn:nth-child(1) {
  animation: heroButtonIn 0.5s ease-out 0.5s both;
}

.hero.hero-animate .hero-buttons .btn:nth-child(2) {
  animation: heroButtonIn 0.5s ease-out 0.7s both;
}

.hero.hero-animate .hero-buttons .btn:nth-child(3) {
  animation: heroButtonIn 0.5s ease-out 0.9s both;
}

/* ============================================
   INNER PAGES HERO (about, programs, etc.)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 70px 0;
  text-align: center;
}

.page-hero .section-tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  animation: heroParaIn 0.6s ease-out 0.1s both;
}

.page-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin: 12px 0 14px;
  animation: heroTitleIn 0.8s ease-out 0.3s both;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.92;
  font-size: 1rem;
  animation: heroParaIn 0.7s ease-out 0.6s both;
}

/* ============================================
   Hero Entrance Keyframes
   ============================================ */
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroParaIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroButtonIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.impact-strip { padding: 44px 0; border-bottom: 1px solid var(--border); }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.impact-item { text-align: center; }
.impact-number { font-size: 1.8rem; color: var(--primary); margin-bottom: 4px; }
.impact-item p { font-size: 0.85rem; color: var(--text-mid); font-weight: 500; }

.about-grid { display: grid; gap: 32px; align-items: center; }
.about-grid p { color: var(--text-mid); margin-bottom: 14px; }

.about-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center;
  display: block;
  box-shadow: var(--shadow-sm);
  background: var(--bg-light);
  padding: 8px;
}

.cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-dark); }
.card p { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }

.activities-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.activity-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.activity-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.activity-body { padding: 22px; }

.activity-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(211, 47, 47, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.activity-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.activity-location { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; font-weight: 500; }
.activity-body p:last-child { font-size: 0.9rem; color: var(--text-mid); }

.stories-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.story-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
}

.story-quote { font-size: 1rem; font-style: italic; margin-bottom: 14px; line-height: 1.7; color: var(--text-dark); }
.story-author { font-size: 0.85rem; color: var(--text-light); font-weight: 600; }

.paths-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.path-card {
  background: #fff;
  padding: 34px 26px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.path-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-dark); }
.path-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 22px; }

.program-detail { display: grid; gap: 32px; align-items: center; }
.program-content h2 { margin-bottom: 14px; }
.program-content p { color: var(--text-mid); margin-bottom: 14px; }
.program-content h4 { font-size: 1rem; margin: 16px 0 8px; color: var(--primary-dark); }

.program-list { list-style: none; margin-bottom: 20px; }

.program-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-mid);
  font-size: 0.93rem;
}

.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--primary-light);
}

.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-year {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-mid); font-size: 0.92rem; }

.form-container { max-width: 760px; margin: 0 auto; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.form-group textarea { resize: vertical; }
.form-group small { font-size: 0.78rem; color: var(--text-light); }

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input { width: auto; margin-top: 4px; }
.checkbox-group label { font-weight: 400; font-size: 0.88rem; color: var(--text-mid); }

.privacy-box {
  background: rgba(27, 94, 32, 0.05);
  border-left: 4px solid var(--primary);
  padding: 18px 20px;
  border-radius: 8px;
}

.privacy-box h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--primary-dark); }
.privacy-box p { font-size: 0.88rem; color: var(--text-mid); margin: 0; }

.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--primary-dark); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-mid); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content ul li { color: var(--text-mid); margin-bottom: 6px; list-style: disc; }

.final-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.final-cta h2 { color: #fff; font-size: 1.8rem; margin-bottom: 14px; }
.final-cta p { opacity: 0.9; margin-bottom: 30px; font-size: 1.05rem; }
.final-cta-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; }

.footer {
  background: #0F1B10;
  color: #C9D6CA;
  padding: 56px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer h3, .footer h4 { color: #fff; margin-bottom: 12px; }
.footer h3 { font-size: 1.15rem; }
.footer h4 { font-size: 1rem; }
.footer-tagline { color: var(--secondary); font-weight: 600; margin-bottom: 10px; }
.footer-desc { opacity: 0.75; line-height: 1.7; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { opacity: 0.8; }
.footer ul a:hover { color: var(--secondary); opacity: 1; }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; }

.social-links a {
  background: rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
}

.social-links a:hover { background: var(--secondary); color: #1A1A1A; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.75;
}

.footer-legal { display: flex; gap: 16px; justify-content: center; }
.footer-legal a:hover { color: var(--secondary); }

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); animation: none; }

@keyframes whatsappPulse {
  0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); transform: scale(1); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); transform: scale(1.05); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); transform: scale(1); }
}

.card p a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: all 0.2s ease;
  word-break: break-word;
}

.card p a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.card-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 8px;
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.copy-row code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  word-break: break-all;
  flex: 1;
  min-width: 200px;
}

.copy-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.copy-btn:hover { background: var(--primary-dark); }
.copy-btn.copied { background: var(--secondary); color: #1A1A1A; }

.image-block {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--bg-light);
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Activity Images — Clickable + Responsive
   ============================================ */
.activity-image,
.image-block,
.about-image {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-image:hover,
.image-block:hover,
.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .activity-image { height: 200px; object-fit: cover; }
  .image-block { height: auto; max-height: 400px; object-fit: contain; }
  .about-image { height: auto; max-height: 350px; object-fit: contain; }
}

/* ============================================
   Lightbox Modal
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxZoom 0.3s ease-out;
}

@keyframes lightboxZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 50px;
  max-width: 90%;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 640px) {
  .lightbox-image { max-width: 95%; max-height: 75vh; }
  .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-caption { font-size: 0.85rem; padding: 8px 16px; bottom: 15px; }
}

/* ============================================
   Welfare Assistance Highlight Section
   ============================================ */
.welfare-highlight {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 80px 0;
}

.welfare-box { max-width: 900px; margin: 0 auto; }
.welfare-content { text-align: center; }

.welfare-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.welfare-content h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }

.welfare-content > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.welfare-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.welfare-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.welfare-feature:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.welfare-icon { font-size: 1.5rem; flex-shrink: 0; }
.welfare-feature strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 4px; }
.welfare-feature p { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; margin: 0; }

.welfare-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.welfare-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .welfare-content h2 { font-size: 2.4rem; }
  .welfare-features { grid-template-columns: repeat(2, 1fr); }
  .welfare-actions { flex-direction: row; }
}

@media (min-width: 1024px) {
  .welfare-highlight { padding: 100px 0; }
  .welfare-content h2 { font-size: 2.8rem; }
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section { background: var(--bg-light); }

.section-desc {
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.partner-logo {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 4px;
  overflow: hidden;
  border: 2px solid #1B5E20;
  box-shadow: 0 2px 8px rgba(27, 94, 32, 0.12);
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.15);
}
.partner-card h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 10px; }
.partner-card p { font-size: 0.88rem; color: var(--text-mid); margin: 0; line-height: 1.6; }

@media (min-width: 640px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 640px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .hero h1 { font-size: 2.6rem; }
  .page-hero h1 { font-size: 2.4rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .paths-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-buttons { flex-direction: row; justify-content: center; }
  .footer-bottom-flex { flex-direction: row; justify-content: space-between; text-align: left; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .splash-logo-img { width: 180px; height: 180px; }
  .splash-logo h1 { font-size: 2.4rem; }
  .splash-logo p { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .section-title { font-size: 2.2rem; }
  .hero h1 { font-size: 3.2rem; }
  .hero { padding: 120px 0 130px; }
  .page-hero { padding: 90px 0; }
  .page-hero h1 { font-size: 2.8rem; }
  .nav-list { display: flex; }
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .nav { display: block !important; position: static !important; box-shadow: none !important; padding: 0 !important; border: none !important; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .program-detail { grid-template-columns: 1fr 1fr; gap: 60px; }
  .program-detail.reverse { direction: rtl; }
  .program-detail.reverse > * { direction: ltr; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .activities-grid { grid-template-columns: repeat(3, 1fr); }
  .paths-grid { grid-template-columns: repeat(3, 1fr); }
  .stories-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}

/* ============================================
   Code of Conduct Accordion
   ============================================ */
.coc-accordion {
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  background: #fff;
}

.coc-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coc-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.coc-toggle:hover::before {
  left: 100%;
}

.coc-toggle:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.coc-toggle-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.coc-toggle-text {
  flex: 1;
  letter-spacing: 0.02em;
}

.coc-toggle-arrow {
  font-size: 0.85rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--secondary);
  flex-shrink: 0;
}

.coc-accordion.open .coc-toggle-arrow {
  transform: rotate(180deg);
}

.coc-accordion.open .coc-toggle {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.coc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-light);
}

.coc-accordion.open .coc-content {
  max-height: 4000px;
}

.coc-inner {
  padding: 28px 28px 32px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.coc-accordion.open .coc-inner {
  opacity: 1;
  transform: translateY(0);
}

.coc-inner p {
  color: var(--text-mid);
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.coc-inner em {
  color: var(--text-light);
  font-size: 0.82rem;
}

.coc-inner h4 {
  font-size: 0.98rem;
  color: var(--primary-dark);
  margin: 18px 0 8px;
  font-family: 'Poppins', sans-serif;
}

.coc-inner h4:first-of-type {
  margin-top: 8px;
}

.coc-inner ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.coc-inner ul li {
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-bottom: 5px;
  list-style: disc;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .coc-toggle {
    padding: 16px 18px;
    font-size: 0.92rem;
    gap: 10px;
  }
  .coc-inner {
    padding: 20px 18px 24px;
  }
  .coc-inner h4 {
    font-size: 0.92rem;
  }
}

/* ============================================
   Partner Learn More Button
   ============================================ */
.partner-learn-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  padding: 8px 18px;
  background: #1A1A1A;
  color: #ffffff;
  border-color: #1A1A1A;
  transition: all 0.3s ease;
}

.partner-learn-more:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ============================================
   Activity Card Highlight Animation
   ============================================ */
.activity-card.highlighted {
  animation: cardHighlight 2.5s ease-out;
  border: 2px solid var(--secondary) !important;
  box-shadow: 0 12px 40px rgba(249, 168, 37, 0.35) !important;
  transform: translateY(-6px);
}

@keyframes cardHighlight {
  0% {
    transform: scale(1) translateY(0);
    box-shadow: 0 2px 8px rgba(249, 168, 37, 0);
  }
  20% {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 12px 40px rgba(249, 168, 37, 0.5);
  }
  50% {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 12px 40px rgba(249, 168, 37, 0.35);
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 16px rgba(249, 168, 37, 0);
  }
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* ============================================
   Program Image Slideshow Wrapper
   ============================================ */
.image-slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-slideshow-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.image-slideshow-wrapper .image-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: var(--bg-light);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: block;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
}

.image-slideshow-wrapper .image-block.active {
  opacity: 1;
}

.image-slideshow-wrapper .slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.image-slideshow-wrapper .slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-slideshow-wrapper .slideshow-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .image-slideshow-wrapper {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .image-slideshow-wrapper {
    height: 380px;
  }
}

/* ============================================
   Mobile — Program Detail Order Fix
   ============================================ */
@media (max-width: 1023px) {
  .program-detail {
    grid-template-columns: 1fr;
  }

  /* Text pehle, image neeche — mobile pe */
  .program-detail .program-content {
    order: 1;
  }

  .program-detail .image-slideshow-wrapper,
  .program-detail .image-block {
    order: 2;
  }
}

/* ============================================
   SPLASH SCREEN V3 (Glitch-Free)
   ============================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-logo-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  animation: splashPulse 2s infinite;
}

.splash-logo-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.splash-logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.splash-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes splashPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

/* Impact page ka section screen ke sath fit karne ke liye */
section.final-cta, 
.welfare-highlight, 
section[style*="background"] {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Agar white borders (safaid kinare) aa rahe hain to unhe khatam karne ke liye */
body {
  overflow-x: hidden;
}

/* ============================================
   FINAL DARK MODE FIX (Single Block)
   ============================================ */
@media (prefers-color-scheme: dark) {
  
  /* 1. Background & Default Text */
  body {
    background-color: #121212 !important;
    color: #E0E0E0 !important;
  }

  /* 2. Saari Headings */
  h1, h2, h3, h4, h5, h6, 
  .section-title, .page-hero h1, .form-container h2,
  .card h3, .story-card h3, .path-card h3, .partner-card h3, 
  .cause-card h3, .coc-inner h4 {
    color: #FFFFFF !important;
  }

  /* 3. Paragraphs & Text */
  p, label, .section-desc, .form-group label, .checkbox-group label,
  .card p, .story-card p, .path-card p, .partner-card p, 
  .cause-content p, .coc-inner p {
    color: #B0B0B0 !important;
  }

  /* 4. Cards Base */
  .card, .story-card, .path-card, .activity-card, 
  .partner-card, .cause-card {
    background-color: #1A1A1A !important;
    border: 1px solid #333 !important;
    transition: all 0.3s ease !important;
  }

  /* 5. CARD HOVER EFFECT (Lift + Dark Grey + Shadow) */
  .card:hover, .story-card:hover, .path-card:hover, 
  .activity-card:hover, .partner-card:hover, .cause-card:hover {
    background-color: #2A2A2A !important; 
    border-color: var(--primary-light) !important; 
    transform: translateY(-8px) !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important; 
  }

  /* Hover pe text white rahe */
  .card:hover h3, .card:hover p,
  .story-card:hover h3, .story-card:hover p,
  .path-card:hover h3, .path-card:hover p {
    color: #FFFFFF !important;
  }

  /* 6. Forms Inputs */
  .form-group input, .form-group select, .form-group textarea {
    background-color: #1E1E1E !important;
    color: #FFFFFF !important;
    border: 1px solid #444 !important;
  }
  .form-group input::placeholder, .form-group textarea::placeholder {
    color: #888 !important;
  }

  /* 7. Privacy Box */
  .privacy-box {
    background-color: #1E1E1E !important;
    border-left-color: var(--primary-light) !important;
  }

  /* 8. Other Fixes */
  .section-alt, .partners-section, .impact-strip {
    background-color: #121212 !important;
  }
  .header, .nav.open {
    background-color: #1A1A1A !important;
    border-bottom-color: #333 !important;
  }
  .nav-list a {
    color: #B0B0B0 !important;
  }
  .nav-list a:hover, .nav-list a.active {
    color: var(--secondary) !important;
  }
  .logo span {
    color: #FFFFFF !important;
  }
  .hamburger span {
    background-color: #FFFFFF !important;
  }
}