/* =========================================
   CIF INDIA — COMMUNITY INNOVATIONS FOUNDATION
   Main Stylesheet
   ========================================= */

:root {
  --teal: #1A6B72;
  --teal-dark: #124e54;
  --teal-light: #e8f4f5;
  --amber: #F4A726;
  --amber-dark: #d4891a;
  --cream: #FAFAF7;
  --white: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e0e8ea;
  --shadow: 0 4px 24px rgba(26,107,114,0.10);
  --shadow-lg: 0 12px 48px rgba(26,107,114,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 80px 0; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-right { display: flex; align-items: center; gap: 12px; position: relative; }

/* Hide raw Google widget — replaced with clean custom dropdown */
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Clean translate button */
.translate-wrapper { position: relative; }
.translate-btn {
  color: var(--amber);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--amber);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  white-space: nowrap;
  user-select: none;
}
.translate-btn:hover,
.translate-btn.active { background: var(--amber); color: var(--teal-dark); }

/* Language dropdown */
.translate-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 9999;
  overflow: hidden;
}
.translate-dropdown.open { display: block; }
.translate-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.15s;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.translate-dropdown a:last-child { border-bottom: none; }
.translate-dropdown a:hover { background: var(--teal-light); color: var(--teal); }

/* ---- NAVBAR ---- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  background: var(--teal);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-weight: 600; font-size: 0.95rem; color: var(--teal-dark); line-height: 1.2; }
.logo-tag { font-size: 0.72rem; color: var(--text-muted); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--teal); background: var(--teal-light); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.86rem;
  color: var(--text);
  transition: all 0.2s;
}
.dropdown-menu li a:hover { background: var(--teal-light); color: var(--teal); padding-left: 26px; }

.btn-donate {
  background: var(--amber) !important;
  color: var(--teal-dark) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 24px !important;
  transition: all 0.2s !important;
}
.btn-donate:hover { background: var(--amber-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(244,167,38,0.4) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: 2px solid var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,114,0.3); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: white; transform: translateY(-2px); }

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: white; }

.btn-ghost {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid var(--teal);
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--teal); color: white; }

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.light h2,
.section-header.light p { color: white; }
.section-header.light .section-label { color: var(--amber); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #2a8a92 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(244,167,38,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(244,167,38,0.2);
  color: var(--amber);
  border: 1px solid rgba(244,167,38,0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title em { color: var(--amber); font-style: normal; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-frameworks { margin-top: 8px; }
.hero-frameworks span { font-size: 0.8rem; color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; }
.framework-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.framework-tags span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Hero card stack */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack {
  position: relative;
  width: 320px; height: 320px;
}
.hcard {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 24px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s;
  cursor: default;
}
.hcard:hover { transform: scale(1.04); }
.hcard-icon { font-size: 1.8rem; }
.hcard-1 { top: 0; left: 0; width: 180px; }
.hcard-2 { top: 60px; right: 0; width: 170px; }
.hcard-3 { bottom: 60px; left: 20px; width: 165px; }
.hcard-4 { bottom: 0; right: 20px; width: 155px; }

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---- MISSION STRIP ---- */
.mission-strip {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar { text-align: center; padding: 20px; }
.pillar-icon { font-size: 2.5rem; margin-bottom: 16px; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
}
.pillar p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- PROGRAMS GRID ---- */
.focus-areas { background: var(--cream); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.program-card.featured-card {
  grid-column: span 1;
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.program-card.featured-card h3,
.program-card.featured-card p { color: white; }
.program-card.featured-card .prog-link { color: var(--amber); }
.prog-icon { font-size: 2rem; }
.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--teal-dark);
  line-height: 1.3;
}
.program-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.prog-link { color: var(--teal); font-weight: 600; font-size: 0.88rem; margin-top: 8px; }

/* ---- IMPACT ---- */
.impact-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 80px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.impact-card { text-align: center; }
.impact-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-label { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ---- WHO WE SERVE ---- */
.serve-section { background: white; }
.serve-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.serve-text .section-label { display: block; margin-bottom: 12px; }
.serve-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--teal-dark);
}
.serve-text p { color: var(--text-muted); margin-bottom: 24px; font-size: 1rem; }
.serve-list { margin-bottom: 32px; }
.serve-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.serve-circles {
  position: relative;
  width: 340px; height: 340px;
  margin: 0 auto;
}
.sc {
  position: absolute;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  line-height: 1.3;
  transition: all 0.3s;
}
.sc:hover { background: var(--teal); color: white; transform: scale(1.08); }
.sc1 { width: 120px; height: 120px; top: 10px; left: 10px; }
.sc2 { width: 110px; height: 110px; top: 20px; right: 20px; }
.sc3 { width: 115px; height: 115px; bottom: 40px; left: 30px; }
.sc4 { width: 100px; height: 100px; top: 120px; right: 0; }
.sc5 { width: 130px; height: 130px; bottom: 0; right: 30px; }

/* ---- FRAMEWORKS ---- */
.frameworks-section { background: var(--cream); }
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fw-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.fw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.fw-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}
.fw-card h4 { font-size: 1rem; margin-bottom: 10px; color: var(--teal-dark); }
.fw-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: white;
  margin-bottom: 12px;
}
.cta-text p { color: rgba(255,255,255,0.9); font-size: 1rem; max-width: 500px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: var(--teal); border-color: var(--teal); color: white; }

/* ---- NEWS ---- */
.news-section { background: white; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.news-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card.featured-news {
  background: var(--teal-light);
  border-color: var(--teal);
}
.news-tag {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--teal-dark);
  line-height: 1.4;
}
.news-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.news-date { font-size: 0.8rem; color: var(--teal); font-weight: 600; }
.center-link { text-align: center; }

/* ---- FOOTER ---- */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo .logo-mark {
  background: var(--amber);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo span:last-child { font-size: 0.9rem; font-weight: 600; color: white; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 12px; }
.footer-tagline { color: var(--amber) !important; font-style: italic; font-weight: 500; }
.footer-links h4 { color: white; font-size: 0.9rem; margin-bottom: 20px; }
.footer-links ul li a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: all 0.2s;
}
.footer-links ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-contact h4 { color: white; font-size: 0.9rem; margin-bottom: 20px; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 10px; line-height: 1.6; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact a:hover { color: var(--amber); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-links a:hover { background: var(--amber); border-color: var(--amber); color: var(--teal-dark); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: right; }
.footer-copy a { color: rgba(255,255,255,0.6); }
.footer-copy a:hover { color: var(--amber); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 80px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--amber); }

/* ---- ABOUT PAGE ---- */
.about-story { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; line-height: 1.8; }
.about-visual {
  background: var(--teal-light);
  border-radius: 20px;
  padding: 48px;
  border: 2px solid var(--teal);
  text-align: center;
}
.about-visual h3 {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.about-visual p { color: var(--text-muted); }

/* Leadership */
.leadership { background: white; }
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.leader-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s;
}
.leader-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.leader-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.leader-role { color: var(--amber-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.leader-bio { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Legal */
.legal-section { background: var(--cream); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.legal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.legal-card .legal-label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-card .legal-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---- PROGRAMS PAGE ---- */
.program-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.program-detail:nth-child(even) { background: white; }
.program-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.program-detail-inner.reverse { direction: rtl; }
.program-detail-inner.reverse > * { direction: ltr; }
.prog-sidebar {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: white;
  position: sticky;
  top: 100px;
}
.prog-sidebar .prog-icon { font-size: 3rem; margin-bottom: 20px; }
.prog-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.3;
}
.prog-sidebar p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; }
.prog-sidebar .prog-tags { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.prog-sidebar .prog-tags span {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
}
.prog-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.prog-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.prog-content ul {
  list-style: none;
  margin-bottom: 20px;
}
.prog-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}
.prog-content ul li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

/* ---- GET INVOLVED ---- */
.donate-section { background: var(--cream); }
.donate-box {
  background: white;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.donate-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.donate-box p { color: var(--text-muted); margin-bottom: 24px; }
.donate-notice {
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--teal-dark);
  margin-bottom: 24px;
  border-left: 3px solid var(--teal);
}
.involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.involve-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s;
}
.involve-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.involve-icon { font-size: 2.5rem; margin-bottom: 16px; }
.involve-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.involve-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal-dark);
  margin-bottom: 24px;
}
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item-text p { font-size: 0.95rem; color: var(--text); }
.contact-item-text a { color: var(--teal); }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- KNOWLEDGE HUB ---- */
.knowledge-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  color: var(--text);
}
.filter-btn.active,
.filter-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }

/* Membership */
.membership-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all 0.3s;
}
.tier-card.featured-tier {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: scale(1.04);
}
.tier-card:hover { box-shadow: var(--shadow-lg); }
.tier-name { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: 8px; }
.tier-card.featured-tier .tier-name { color: var(--amber); }
.tier-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.tier-card.featured-tier h3 { color: white; }
.tier-price { font-size: 2rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.tier-card.featured-tier .tier-price { color: var(--amber); }
.tier-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.tier-card.featured-tier .tier-period { color: rgba(255,255,255,0.7); }
.tier-features { list-style: none; margin-bottom: 28px; text-align: left; }
.tier-features li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9rem; }
.tier-card.featured-tier .tier-features li { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.tier-features li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.tier-card.featured-tier .tier-features li::before { color: var(--amber); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card.featured-card { grid-column: span 2; }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 0; font-size: 1rem; }
  .dropdown-menu { position: static; box-shadow: none; border: none; display: none; padding-left: 16px; }
  .dropdown.open .dropdown-menu { display: block; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.6rem; }
  .hero { min-height: auto; }

  .mission-pillars { grid-template-columns: 1fr; gap: 24px; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card.featured-card { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .serve-inner { grid-template-columns: 1fr; }
  .serve-circles { display: none; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
  .membership-tiers { grid-template-columns: 1fr; }
  .tier-card.featured-tier { transform: none; }
  .program-detail-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 2rem; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
