/* ============================================
   GEO INDIA FOUNDATION - Custom Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  /* ── To change the heading font, update ONE line below ── */
  --font-heading: 'Bebas Neue', sans-serif;

  --primary: #1a6b3a;
  --primary-dark: #145530;
  --primary-light: #e8f5ee;
  --accent: #e87722;
  --accent-dark: #c96318;
  --accent-light: #fff3e8;
  --dark: #1e1e1e;
  --gray: #6b7280;
  --light-bg: #f8f8f4;
  --white: #ffffff;
  --border: #e5e7eb;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ── h3/h4/h5/h6 use Inter, not the heading font ── */
h3.font-heading, h4.font-heading, h5.font-heading, h6.font-heading { font-family: 'Inter', sans-serif; letter-spacing: 0; }

/* ── Letter spacing for all Bebas Neue elements ── */
.font-heading { letter-spacing: 1px; }

.section-title {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: clamp(2.08rem, 3.9vw, 3.12rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-title span.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 580px;
  margin-top: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 107, 58, 0.3);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 119, 34, 0.35);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--accent); }
.topbar .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: all 0.3s;
}
.topbar .social-link:hover { background: var(--accent); color: #fff; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-link {
  position: relative;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 2px;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Dropdown */
.nav-item { position: relative; }
/* Invisible bridge fills the gap between nav link and dropdown menu,
   so moving the cursor down to the menu doesn't lose hover state */
.nav-item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
  background: transparent;
  z-index: 1001;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  border-top: 3px solid var(--primary);
  z-index: 1000;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--primary); background: var(--primary-light); }

/* Mobile menu */
#mobile-menu {
  display: none;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-link:hover { color: var(--primary); background: var(--primary-light); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2d8a54 100%);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 250px; height: 250px;
  background: rgba(232,119,34,0.15);
  border-radius: 50%;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 4.99vw, 3.74rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.18;
  margin-bottom: 0;
}
.page-hero-wrap { max-width: 660px; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.page-hero-badge .dot { color: var(--accent); font-size: 1rem; line-height: 1; }
.page-hero-divider {
  width: 52px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px 0;
}
.page-hero-sub {
  font-size: 1.17rem;
  color: rgba(255,255,255,0.65);
  padding-left: 14px;
  border-left: 3px solid rgba(232,119,34,0.6);
  line-height: 1.65;
  max-width: 520px;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: var(--accent); }

/* ============================================
   CARDS
   ============================================ */
.program-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,107,58,0.12);
  border-color: var(--primary);
}
.program-card:hover::before { transform: scaleY(1); }

.program-card .icon-wrap {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.8rem;
  transition: all 0.3s;
}
.program-card:hover .icon-wrap {
  box-shadow: 0 4px 12px rgba(26,107,58,0.2);
  transform: scale(1.05);
}

.impact-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: all 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.team-card .avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2d9a5a);
  display: flex; align-items: center; justify-content: center;
  margin: 24px auto 16px;
  font-size: 2.2rem;
  color: #fff;
  font-weight: 700;
}

/* ============================================
   STAT COUNTER
   ============================================ */
.stat-item .counter {
  font-size: clamp(2.6rem, 5.2vw, 3.9rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.stat-item .stat-label {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================
   DONATE AMOUNTS
   ============================================ */
.preset-btn       { font-size: 1.6rem; }
.amount-input     { font-size: 1.6rem; }
.amount-currency  { font-size: 1.6rem; }
.amount-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: var(--dark);
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 5rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ============================================
   EVENTS
   ============================================ */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  transition: all 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.event-date-block {
  min-width: 80px;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
}
.event-date-block .day { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.event-date-block .month { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(232, 119, 34, 0.15);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111816;
  color: rgba(255,255,255,0.75);
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.footer-link {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: all 0.3s;
}
.footer-link:hover { color: var(--accent); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   UTILITIES
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: var(--accent-light); color: var(--accent-dark); }

/* Divider */
.divider {
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .topbar .contact-info { display: none; }
  .desktop-nav { display: none !important; }
  .event-card { flex-direction: column; }
  .event-date-block { flex-direction: row; gap: 6px; padding: 12px 16px; }
}

@media (min-width: 769px) {
  #hamburger { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* ============================================
   HOME HERO
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, #f0f9f4 0%, #fff 50%, #fef6ee 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,58,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(232,119,34,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-out infinite;
}

.hero-title {
  letter-spacing: 1px;
  font-size: clamp(2.86rem, 6.5vw, 4.68rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* Stats strip */
.stats-strip {
  background: var(--primary);
  padding: 36px 0;
}
.stats-strip .counter {
  font-size: clamp(2.34rem, 4.55vw, 3.38rem);
  font-weight: 800;
  color: #fff;
}
.stats-strip .stat-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.stats-strip .stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  height: 60px;
}

/* Programs section */
.program-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

/* Impact story card */
.story-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: all 0.3s;
}
.story-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.story-card .story-img {
  height: 200px;
  overflow: hidden;
  background: var(--primary-light);
}
.story-card .story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.story-card:hover .story-img img { transform: scale(1.05); }

/* Volunteer section */
.volunteer-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.volunteer-perk:hover { transform: translateX(6px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.volunteer-perk .icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Contact */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-info-item .icon {
  width: 46px; height: 46px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Donate page */
.cause-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.cause-card:hover, .cause-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #2d9a5a);
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* Higher Education */
.education-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin-bottom: 16px;
  transition: all 0.3s;
}
.education-step:hover { transform: translateX(6px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.step-number {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(26,107,58,0.35);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 84px; right: 30px;
  width: 44px; height: 44px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  font-size: 1.3rem;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 620px;
}
@media (max-width: 768px) { .hero-slides { height: 520px; } }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-slides > .hero-slide > .container {
  height: 100%;
}

/* Slide content animation */
.hero-slide .hero-slider-title,
.hero-slide .hero-badge-white,
.hero-slide p,
.hero-slide .flex,
.hero-slide .hero-stat-badge {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide.active .hero-badge-white  { opacity: 1; transform: none; transition-delay: 0.3s; }
.hero-slide.active .hero-slider-title { opacity: 1; transform: none; transition-delay: 0.45s; }
.hero-slide.active p                  { opacity: 1; transform: none; transition-delay: 0.6s; }
.hero-slide.active .flex              { opacity: 1; transform: none; transition-delay: 0.72s; }
.hero-slide.active .hero-stat-badge   { opacity: 1; transform: none; transition-delay: 0.85s; }

.hero-slider-title {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: clamp(2.6rem, 5.85vw, 4.42rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-slider-title span { color: var(--accent); }

.hero-badge-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-badge-white::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 40px;
}
.hero-stat-num {
  font-size: 2.08rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
  letter-spacing: 1px;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 20;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
@media (max-width: 640px) {
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

/* Trust bar */
.hero-trust-bar {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   LOGO SLIDER (Infinite scroll)
   ============================================ */
.logo-slider-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: logoScroll 32s linear infinite;
}
.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slide-item {
  flex-shrink: 0;
  width: 180px;
}

.logo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  height: 115px;
  justify-content: center;
}
.logo-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(26,107,58,0.12);
  transform: translateY(-3px);
}
.logo-img-wrap img {
  width: 120px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}
.logo-name {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 1024px) { .gallery-grid { columns: 2; } }
@media (max-width: 640px)  { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.5);
  padding: 6px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================
   ANIMATED SVG PROGRAM ICONS
   ============================================ */
.program-icon-svg { display: block; transition: transform 0.3s ease; }
.program-card:hover .program-icon-svg { transform: scale(1.12); }

/* Tree — gentle sway */
@keyframes treeSway {
  0%,100% { transform: rotate(0deg); transform-origin: bottom center; }
  25%      { transform: rotate(3deg); transform-origin: bottom center; }
  75%      { transform: rotate(-3deg); transform-origin: bottom center; }
}
@keyframes sparkle { 0%,100% { opacity:0.2; r:1; } 50% { opacity:0.8; r:2.5; } }
.program-card:hover .tree-layer-1 { animation: treeSway 2s ease-in-out infinite; }
.program-card:hover .tree-sparkle-1 { animation: sparkle 1.4s ease-in-out infinite 0s; }
.program-card:hover .tree-sparkle-2 { animation: sparkle 1.4s ease-in-out infinite 0.5s; }
.program-card:hover .tree-sparkle-3 { animation: sparkle 1.4s ease-in-out infinite 0.9s; }

/* Water — wave ripple */
@keyframes waveShift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
@keyframes dropPulse { 0%,100% { opacity:0.9; } 50% { opacity:0.5; } }
.program-card:hover .wave-line-1 { animation: waveShift 1.2s ease-in-out infinite; }
.program-card:hover .wave-line-2 { animation: waveShift 1.2s ease-in-out infinite 0.3s; }

/* Eco Park — leaf sway */
@keyframes leafSway {
  0%,100% { transform: rotate(0deg) scale(1); transform-origin: bottom center; }
  30%     { transform: rotate(4deg) scale(1.02); transform-origin: bottom center; }
  70%     { transform: rotate(-4deg) scale(1.02); transform-origin: bottom center; }
}
@keyframes leafAccent { 0%,100% { opacity:0.3; } 50% { opacity:0.9; } }
.program-card:hover .leaf-outer { animation: leafSway 2.5s ease-in-out infinite; }
.program-card:hover .leaf-accent { animation: leafAccent 1.8s ease-in-out infinite; }

/* Education — bounce cap + swing tassel */
@keyframes capBounce {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-4px); }
  60%     { transform: translateY(-2px); }
}
@keyframes tasselSwing {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(4px); }
}
.program-card:hover .cap-brim       { animation: capBounce 1.2s ease-in-out infinite; }
.program-card:hover .cap-tassel-ball{ animation: tasselSwing 1.2s ease-in-out infinite; }

/* School — windows flash, flag wave */
@keyframes windowFlash { 0%,100%{ opacity:0.3; } 50%{ opacity:0.9; } }
@keyframes flagWave {
  0%,100% { transform: scaleX(1); transform-origin: left; }
  50%     { transform: scaleX(0.7); transform-origin: left; }
}
.program-card:hover .school-win-1 { animation: windowFlash 1.5s ease-in-out infinite 0s; }
.program-card:hover .school-win-2 { animation: windowFlash 1.5s ease-in-out infinite 0.5s; }
.program-card:hover .school-flag  { animation: flagWave 1s ease-in-out infinite; }

/* Skill — gear spin */
@keyframes gearSpin { from{ transform: rotate(0deg); transform-origin: center; }
                      to  { transform: rotate(360deg); transform-origin: center; } }
@keyframes gearSpinRev { from{ transform: rotate(0deg); transform-origin: 36px 12px; }
                         to  { transform: rotate(-360deg); transform-origin: 36px 12px; } }
.program-card:hover .gear-center { animation: gearSpin 3s linear infinite; }
.program-card:hover .gear-small  { animation: gearSpinRev 2s linear infinite; }

/* Women Health — heartbeat */
@keyframes heartBeat {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.15); }
  28%     { transform: scale(1); }
  42%     { transform: scale(1.1); }
  56%     { transform: scale(1); }
}
.program-card:hover .heart-main { animation: heartBeat 1.3s ease-in-out infinite; transform-origin: center; }

/* Beautification — brush stroke */
@keyframes brushStroke {
  0%,100% { transform: rotate(0deg) translateX(0); }
  25%     { transform: rotate(-5deg) translateX(-2px); }
  75%     { transform: rotate(5deg) translateX(2px); }
}
@keyframes paintSplat { 0%,100%{ opacity:0.2; transform:scale(0.8); } 50%{ opacity:0.7; transform:scale(1.3); } }
.program-card:hover .brush-handle { animation: brushStroke 1.5s ease-in-out infinite; transform-origin: 20px 30px; }
.program-card:hover .paint-dot-1  { animation: paintSplat 1.5s ease-in-out infinite 0s; transform-origin: center; }
.program-card:hover .paint-dot-2  { animation: paintSplat 1.5s ease-in-out infinite 0.3s; transform-origin: center; }
.program-card:hover .paint-dot-3  { animation: paintSplat 1.5s ease-in-out infinite 0.6s; transform-origin: center; }

/* Village — sun pulse + window glow */
@keyframes sunPulse { 0%,100%{ opacity:0.2; transform:scale(1); } 50%{ opacity:0.5; transform:scale(1.3); } }
@keyframes windowGlow { 0%,100%{ opacity:0.3; } 50%{ opacity:0.8; } }
.program-card:hover .village-sun  { animation: sunPulse 2s ease-in-out infinite; transform-origin: 38px 10px; }
.program-card:hover .village-win-1{ animation: windowGlow 1.8s ease-in-out infinite 0s; }
.program-card:hover .village-win-2{ animation: windowGlow 1.8s ease-in-out infinite 0.4s; }

/* Welfare — steam rise */
@keyframes steamRise {
  0%   { transform: translateY(0) scaleX(1); opacity:0.5; }
  50%  { transform: translateY(-6px) scaleX(1.2); opacity:0.3; }
  100% { transform: translateY(-10px) scaleX(0.8); opacity:0; }
}
@keyframes handReach {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-3px); }
}
.program-card:hover .steam-1 { animation: steamRise 1.5s ease-out infinite 0s; }
.program-card:hover .steam-2 { animation: steamRise 1.5s ease-out infinite 0.3s; }
.program-card:hover .steam-3 { animation: steamRise 1.5s ease-out infinite 0.6s; }
.program-card:hover .welfare-hand-left  { animation: handReach 1.5s ease-in-out infinite 0s; }
.program-card:hover .welfare-hand-right { animation: handReach 1.5s ease-in-out infinite 0.4s; }

/* ============================================
   TEAM MODAL
   ============================================ */
.team-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.team-modal-overlay.open { opacity: 1; visibility: visible; }

.team-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 560px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.team-modal-overlay.open .team-modal { transform: translateY(0) scale(1); }

.team-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.08);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  font-size: 1rem; color: #666;
}
.team-modal-close:hover { background: rgba(0,0,0,0.15); color: #000; }

/* Team card hover cursor */
.team-card { cursor: pointer; }
.team-card-photo {
  width: 100%; height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.logo-img-wrap img{
  max-height:60px;
  width:auto;
  object-fit:contain;
}
