:root {
  --orange:     #F97316;
  --orange-lt:  #FED7AA;
  --orange-xs:  #FFF7ED;
  --green:      #6DAF6D;
  --green-lt:   #BBF7D0;
  --green-xs:   #F0FDF4;
  --green-mid:  #4ADE80;
  --text-dark:  #1C1917;
  --text-mid:   #44403C;
  --text-soft:  #78716C;
  --white:      #FFFFFF;
  --radius:     16px;
  --shadow:     0 4px 24px rgba(249,115,22,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #FED7AA44;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(249,115,22,0.12); }
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #FB923C);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(249,115,22,0.30);
}
.nav-logo-img {
  height: 52px; width: auto; display: block;
  object-fit: contain;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text span:first-child {
  font-size: 14px; font-weight: 700; color: var(--orange);
}
.nav-logo-text span:last-child {
  font-size: 11px; color: var(--text-soft); font-weight: 500;
}
.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover { background: var(--orange-xs); color: var(--orange); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), #FB923C);
  color: white !important; border-radius: 10px !important;
  padding: 10px 22px !important; font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
  transition: transform .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(249,115,22,0.40) !important;
  background: linear-gradient(135deg, #EA6D00, var(--orange)) !important;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-mid); border-radius: 2px; transition: .3s;
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: white; padding: 20px 5%; border-bottom: 1px solid #FED7AA44;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10); z-index: 999;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--text-mid); font-size: 15px;
  font-weight: 500; padding: 12px 16px; border-radius: 10px;
  transition: .2s;
}
.mobile-menu a:hover { background: var(--orange-xs); color: var(--orange); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #FFF7ED 0%, #F0FDF4 50%, #FFF7ED 100%);
  display: flex; align-items: center;
  padding: 100px 3% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,222,128,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-lt); color: #C2410C;
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-tag i { font-size: 11px; }
.hero-sanskrit {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 22px;
  color: var(--orange); margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 24px;
}
.hero-title .accent { color: var(--orange); }
.hero-title .accent-green { color: var(--green); }
.hero-desc {
  font-size: 17px; line-height: 1.75;
  color: var(--text-mid); margin-bottom: 36px; max-width: 100%;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange), #FB923C);
  color: white; text-decoration: none;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(249,115,22,0.40);
  transition: all .3s; border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(249,115,22,0.45);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--text-dark);
  text-decoration: none;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  border: 2px solid var(--orange-lt);
  transition: all .3s; cursor: pointer;
}
.btn-secondary:hover {
  background: var(--orange-xs); border-color: var(--orange);
  color: var(--orange); transform: translateY(-3px);
}
.hero-stats {
  display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-size: 28px; font-weight: 800; color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: var(--text-soft);
  font-weight: 500; margin-top: 4px; max-width: 90px;
}
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  position: relative;
}
.hero-card {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  border: 1px solid rgba(249,115,22,0.08);
  transition: transform .3s;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card:nth-child(1) { grid-column: 1/3; }
.hero-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.hero-card-icon.orange { background: var(--orange-xs); color: var(--orange); }
.hero-card-icon.green  { background: var(--green-xs); color: var(--green); }
.hero-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hero-card p  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ─── SECTION BASE ────────────────────────────────────────── */
section { padding: 90px 3%; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px;
}
.tag-orange { background: var(--orange-lt); color: #C2410C; }
.tag-green  { background: var(--green-lt); color: #166534; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--text-dark); line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-soft);
  line-height: 1.7; max-width: 640px; margin-bottom: 52px;
}
.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ─── IMPACT COUNTER BAND ─────────────────────────────────── */
.impact-band {
  background: linear-gradient(135deg, #FFF7ED 0%, #F0FDF4 100%);
  padding: 60px 3%;
  border-top: 1px solid var(--orange-lt);
  border-bottom: 1px solid var(--green-lt);
}
.impact-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
.impact-item {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.06);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 190px;
  height: 100%;
}
.impact-item:hover { transform: translateY(-4px); }
.impact-item i {
  font-size: 26px;
  height: 32px;
  line-height: 32px;
  margin-bottom: 10px;
  display: block;
}
.impact-item.orange i { color: var(--orange); }
.impact-item.green  i { color: var(--green); }
.impact-num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.orange .impact-num { color: var(--orange); }
.green  .impact-num { color: var(--green); }
.impact-label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.4;
  /* margin-top: auto; */
}

/* ─── VISION MISSION ─────────────────────────────────────── */
.vm-section { background: white; }
.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.vm-card {
  border-radius: var(--radius); padding: 40px;
  position: relative; overflow: hidden;
}
.vm-card.orange-card {
  background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
  border: 1px solid var(--orange-lt);
}
.vm-card.green-card {
  background: linear-gradient(145deg, #F0FDF4, #DCFCE7);
  border: 1px solid var(--green-lt);
}
.vm-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  opacity: 0.15;
}
.vm-card.orange-card::before { background: var(--orange); }
.vm-card.green-card::before  { background: var(--green); }
.vm-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.vm-card.orange-card .vm-icon { background: var(--orange); color: white; }
.vm-card.green-card  .vm-icon { background: var(--green);  color: white; }
.vm-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.vm-card.orange-card .vm-label { color: var(--orange); }
.vm-card.green-card  .vm-label { color: var(--green); }
.vm-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; margin-bottom: 16px;
  color: var(--text-dark);
}
.vm-card p { font-size: 16px; color: var(--text-mid); line-height: 1.75; }

/* ─── STRATEGY CARDS ─────────────────────────────────────── */
.strategy-section {
  background: linear-gradient(160deg, #F0FDF4 0%, #FFF7ED 100%);
}
.strategy-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.strategy-card {
  background: transparent;
  height: 340px;
  perspective: 1200px;
  border: none;
  box-shadow: none;
  padding: 0;
  position: relative;
}
.strategy-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}
.strategy-card:hover .strategy-card-inner,
.strategy-card:focus-within .strategy-card-inner {
  transform: rotateY(180deg);
}
.strategy-card-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(249,115,22,0.06);
  box-shadow: 0 2px 16px rgba(249,115,22,0.08);
  padding: 32px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.strategy-card-face::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.s-orange .strategy-card-face::before { background: var(--orange); }
.s-green  .strategy-card-face::before { background: var(--green); }
.strategy-card-front {
  align-items: center; justify-content: center;
  text-align: center;
}
.strategy-card-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
}
.strategy-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin-bottom: 20px;
}
.s-orange .strategy-icon { background: var(--orange-xs); color: var(--orange); }
.s-green  .strategy-icon { background: var(--green-xs);  color: var(--green); }
.strategy-card-front h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.strategy-card-back h3  { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.s-orange .strategy-card-back h3 { color: var(--orange); }
.s-green  .strategy-card-back h3 { color: var(--green); }
.strategy-card-back p { font-size: 14.5px; color: var(--text-soft); line-height: 1.65; }
.flip-hint {
  margin-top: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-soft); opacity: .75;
}
.s-orange .flip-hint { color: var(--orange); }
.s-green  .flip-hint { color: var(--green); }

/* ─── IMPACT DETAILED ─────────────────────────────────────── */
.impact-section { background: white; }
.impact-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.impact-detail-card {
  background: linear-gradient(145deg, #FFF7ED, white);
  border: 1px solid var(--orange-lt);
  border-radius: var(--radius); padding: 36px;
  transition: .3s;
}
.impact-detail-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.impact-detail-card.green-bg {
  background: linear-gradient(145deg, #F0FDF4, white);
  border-color: var(--green-lt);
}
.idc-header {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.idc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.orange-bg .idc-icon { background: var(--orange-lt); color: #C2410C; }
.green-bg  .idc-icon { background: var(--green-lt);  color: #166534; }
.idc-title { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.idc-body  { font-size: 15px; color: var(--text-soft); line-height: 1.75; }
.idc-stats {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
}
.idc-stat {
  background: white; border-radius: 10px;
  padding: 10px 16px; display: flex; flex-direction: column;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.idc-stat-num {
  font-size: 20px; font-weight: 800; color: var(--orange); line-height: 1;
}
.green-bg .idc-stat-num { color: var(--green); }
.idc-stat-label { font-size: 11px; color: var(--text-soft); margin-top: 2px; }

/* ─── INSTITUTIONS ────────────────────────────────────────── */
.institutions-section {
  background: linear-gradient(160deg, #FFF7ED 0%, #F0FDF4 100%);
}
.inst-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .inst-grid { grid-template-columns: 1fr; }
}
.inst-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(249,115,22,0.08);
  box-shadow: 0 2px 12px rgba(249,115,22,0.06);
  display: flex; gap: 16px; align-items: flex-start;
  transition: .3s;
}
.inst-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.inst-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.inst-card-link:hover h3 { color: var(--orange); }
.inst-card-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.inst-num {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #FB923C);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.inst-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.inst-info p  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.inst-badge {
  display: inline-block; margin-top: 8px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.badge-orange { background: var(--orange-lt); color: #C2410C; }
.badge-green  { background: var(--green-lt);  color: #166534; }

/* ─── JOURNEY / TIMELINE ──────────────────────────────────── */
.journey-section { background: white; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--orange-lt), var(--green-lt));
  transform: translateX(-50%);
}
.tl-item {
  position: relative; width: 45%; margin-bottom: 40px;
}
.tl-item:nth-child(odd)  { margin-left: 0; }
.tl-item:nth-child(even) { margin-left: 55%; }
.tl-dot {
  position: absolute; top: 20px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--orange);
}
.tl-item:nth-child(odd)  .tl-dot { right: -31px; background: var(--orange); }
.tl-item:nth-child(even) .tl-dot { left: -31px;  background: var(--green); }
.tl-card {
  background: white; border-radius: var(--radius); padding: 20px 24px;
  border: 1px solid rgba(249,115,22,0.10);
  box-shadow: 0 2px 12px rgba(249,115,22,0.08);
  transition: .3s;
}
.tl-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tl-year {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 6px;
}
.tl-item:nth-child(odd)  .tl-year { color: var(--orange); }
.tl-item:nth-child(even) .tl-year { color: var(--green); }
.tl-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tl-card p  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ─── COMPLIANCE BAND ─────────────────────────────────────── */
.compliance-section {
  background: linear-gradient(135deg, #FFF7ED 0%, #F0FDF4 100%);
  padding: 70px 3%;
}
.compliance-inner {
  max-width: 1440px; margin: 0 auto;
}
.comp-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; margin-top: 48px;
}
@media (max-width: 1100px) {
  .comp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}
.comp-item {
  background: white; border-radius: var(--radius); padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  border: 1px solid rgba(249,115,22,0.08);
  box-shadow: 0 2px 10px rgba(249,115,22,0.05);
  min-height: 170px;
}
.comp-item i {
  font-size: 20px; color: var(--orange); margin-top: 0; flex-shrink: 0;
}
.comp-item p { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin: 0; }

/* ─── DONORS DAY ─────────────────────────────────────────── */
.donors-section {
  background: linear-gradient(135deg,
    rgba(249,115,22,0.06) 0%,
    rgba(109,175,109,0.06) 100%
  );
}
.donors-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.donors-visual {
  background: white; border-radius: 24px; padding: 40px;
  box-shadow: var(--shadow); border: 1px solid var(--orange-lt);
  text-align: center; position: relative; overflow: hidden;
}
.donors-visual::before {
  content: '♥'; font-size: 120px; opacity: 0.04;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--orange);
}
.donors-icon {
  font-size: 64px; color: var(--orange); margin-bottom: 20px;
}
.donors-visual h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; margin-bottom: 8px;
}
.donors-visual p { font-size: 15px; color: var(--text-soft); }
.donors-num {
  font-size: 48px; font-weight: 800; color: var(--orange);
  line-height: 1; margin: 16px 0 4px;
}

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--orange), #FB923C);
  padding: 80px 5%; text-align: center;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; color: white; margin-bottom: 12px;
}
.newsletter-section p {
  color: rgba(255,255,255,0.90); font-size: 17px; margin-bottom: 32px;
}
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 14px 20px; border: none; border-radius: 12px;
  font-size: 15px; outline: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.newsletter-form button {
  background: white; color: var(--orange);
  padding: 14px 24px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: .3s; white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--orange-xs); transform: translateY(-2px);
}

/* ─── RIBBONS / STORIES ───────────────────────────────────── */
.stories-section {
  background: linear-gradient(160deg, #F0FDF4 0%, #FFF7ED 100%);
}
.stories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.story-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(109,175,109,0.15);
  box-shadow: 0 2px 12px rgba(109,175,109,0.08);
  transition: .3s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(109,175,109,0.15); }
.story-card .quote { font-size: 40px; color: var(--green); line-height: 1; margin-bottom: 12px; }
.story-card p { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-style: italic; }
.story-card .author {
  margin-top: 20px; display: flex; align-items: center; gap: 12px;
}
.story-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-lt), var(--green-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--orange); font-weight: 700;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 14px; font-weight: 700; }
.author-loc  { font-size: 12px; color: var(--text-soft); }

/* ─── DONATE CTA ─────────────────────────────────────────── */
.donate-section {
  background: white;
  padding: 90px 5%; text-align: center;
}
.donate-inner { max-width: 700px; margin: 0 auto; }
.donate-inner .section-tag { margin-bottom: 20px; }
.donate-inner .section-title { margin-bottom: 16px; }
.donate-inner p {
  font-size: 17px; color: var(--text-soft); margin-bottom: 36px; line-height: 1.75;
}
.donate-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.donate-amounts {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 28px;
}
.amount-chip {
  background: var(--orange-xs); color: var(--orange);
  padding: 10px 20px; border-radius: 100px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: .2s;
}
.amount-chip:hover, .amount-chip.active {
  background: var(--orange); color: white;
  border-color: var(--orange);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: #1C1917; color: #D6D3D1;
  padding: 64px 3% 32px;
}
.footer-inner {
  max-width: 1440px; margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo-text span:first-child { color: var(--orange-lt); }
.footer-brand .nav-logo-text span:last-child  { color: #A8A29E; }
.footer-brand p {
  font-size: 14px; color: #A8A29E; line-height: 1.75;
  margin-top: 16px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: #292524; display: flex; align-items: center;
  justify-content: center; color: #A8A29E; font-size: 15px;
  text-decoration: none; transition: .2s;
}
.social-btn:hover { background: var(--orange); color: white; }
.footer-col h4 {
  font-size: 14px; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #A8A29E; text-decoration: none; font-size: 14px;
  transition: .2s;
}
.footer-col ul li a:hover { color: var(--orange-lt); }
.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: #78716C; }
.footer-bottom a { color: var(--orange-lt); text-decoration: none; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  background: #292524; padding: 5px 12px; border-radius: 100px;
  font-size: 12px; color: #A8A29E; font-weight: 500;
}

/* ─── BACK TO TOP ─────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--orange); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(249,115,22,0.40);
  opacity: 0; pointer-events: none; transition: .3s;
  border: none;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: #EA6D00; transform: translateY(-3px); }

/* ─── DIVIDER ─────────────────────────────────────────────── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ─── GLOBAL PARAGRAPH JUSTIFICATION (index.html body prose) ── */
.hero-desc,
.vm-card p,
.idc-text p,
.idc-body,
.inst-card p,
.story-card p,
.impact-detail-card p,
.hero-card p,
.donate-inner p,
.compliance-inner .comp-item p,
.compliance-inner p,
.donors-inner > div:first-child > p {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

/* Images and media never overflow their container. */
img, svg, video { max-width: 100%; height: auto; }

/* Large desktops — keep nice breathing room but allow the inner
   containers to flex a bit so content isn't glued to the edges. */
@media (max-width: 1200px) {
  .hero-inner,
  .section-inner,
  .footer-inner,
  .compliance-inner,
  .donors-inner,
  .impact-grid { padding: 0 2.5%; }
  section { padding: 80px 3%; }
}

/* Laptops / small desktops — tighten the hero 2-column so it
   doesn't look cramped and let supporting grids fill more space. */
@media (max-width: 1100px) {
  .hero-inner { gap: 28px; }
  .hero-desc { max-width: 100%; }
  .strategy-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets — collapse the 2-column hero into a single stacked view,
   and let the visual / supporting cards fill the width. */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-visual { max-width: 100%; width: 100%; }
  .vm-grid, .donors-inner, .impact-detail-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .tl-item { width: calc(100% - 40px); margin-left: 40px !important; }
  .tl-item:nth-child(odd)  .tl-dot { left: -31px; right: auto; }
  .tl-item:nth-child(even) .tl-dot { left: -31px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-title { font-size: clamp(28px, 4.5vw, 44px); }
}

/* Small tablets / large phones. */
@media (max-width: 900px) {
  .strategy-grid { grid-template-columns: 1fr; }
  .strategy-card { height: auto; min-height: 300px; }
  .donate-inner { padding: 0 4%; }
}

/* Hide the desktop nav, show hamburger — match header.css breakpoint */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* Phones */
@media (max-width: 768px) {
  section { padding: 60px 5%; }
  .hero { padding: 90px 5% 50px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 8vw, 44px); }
  .hero-desc { font-size: 16px; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-card:nth-child(1) { grid-column: auto; }
  .tl-item { width: calc(100% - 50px); }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .idc-stats { justify-content: center; }
  .impact-band { padding: 50px 5%; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-btns, .donate-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-btns a, .donate-btns a { justify-content: center; text-align: center; }
  .section-title { font-size: clamp(26px, 7vw, 36px); }
  .section-sub { font-size: 15px; }
  section { padding: 50px 5%; }
  .hero-card { padding: 20px; }
  .inst-card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .strategy-card-face { padding: 24px; }
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0; animation: fadeInUp .7s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: .15s; }
.fade-in-up.delay-2 { animation-delay: .30s; }
.fade-in-up.delay-3 { animation-delay: .45s; }

.count-num { transition: all .5s; }
