/* ============================================================
   Unnati ISEC v2 – Frontend Design System [BRAND REFRESH]
   Brand : Magenta (#C41264) + Navy Blue (#2D3478)
   Fonts : Nunito (display) + Mulish (body)
   ============================================================ */

/* ── Custom properties ─────────────────────────────────── */
:root {
  /* Unnati Brand Colors */
  --magenta:      #C41264;
  --magenta-dk:   #9A0E50;
  --magenta-lt:   #F5D0E3;
  --magenta-50:   #FDF0F6;
  --magenta-glow: rgba(196,18,100,.18);

  --navy:         #2D3478;
  --navy-dk:      #1E2355;
  --navy-lt:      #D0D3EE;
  --navy-50:      #EEF0F9;

  --red-accent:   #E02020;

  /* Neutrals */
  --slate-900:    #0F172A;
  --slate-700:    #334155;
  --slate-500:    #64748B;
  --slate-400:    #94A3B8;
  --slate-300:    #CBD5E1;
  --slate-100:    #F1F5F9;
  --slate-50:     #F8FAFC;
  --white:        #FFFFFF;

  /* Semantic */
  --border:       #E2E8F0;
  --bg-alt:       #F6F8FF;
  --footer-bg:    #1E2355;

  /* Shadows */
  --shadow-xs:    0 1px 3px rgba(45,52,120,.06);
  --shadow-sm:    0 2px 10px rgba(45,52,120,.09);
  --shadow-md:    0 8px 28px rgba(45,52,120,.13);
  --shadow-lg:    0 20px 60px rgba(45,52,120,.16);
  --shadow-pink:  0 8px 28px rgba(196,18,100,.22);

  /* Radii */
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    26px;

  /* Fonts */
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body:    'Mulish', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition:   .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--magenta); }
ul  { list-style: none; }

/* ── Container ──────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 840px;  margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; font-family: var(--font-display); }
.display-1 { font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 800; }
.display-2 { font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 800; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.75rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  letter-spacing: .02em; white-space: nowrap; line-height: 1.4;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--magenta); color: var(--white);
  border-color: var(--magenta);
}
.btn-primary:hover {
  background: var(--magenta-dk); border-color: var(--magenta-dk);
  color: var(--white); transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dk); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-pink { background: transparent; color: var(--magenta); border-color: var(--magenta); }
.btn-outline-pink:hover { background: var(--magenta); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--magenta); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--magenta-50); }
.btn-ghost { background: transparent; color: var(--slate-700); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-sm { padding: .4rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2.4rem; font-size: 1rem; }

/* Donate nav button */
.btn-donate-nav {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--red-accent) 100%);
  color: var(--white) !important;
  padding: .48rem 1.4rem; border-radius: 50px;
  font-weight: 800; margin-left: 1.25rem; font-size: .875rem;
  white-space: nowrap; box-shadow: 0 3px 12px var(--magenta-glow);
  transition: all var(--transition); display: inline-block;
}
.btn-donate-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-pink); opacity: .95; }

/* ── Top Bar ────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dk);
  color: rgba(255,255,255,.85); font-size: .8rem;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .4rem; padding-bottom: .4rem; gap: 1rem; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: .3rem; }
.topbar a:hover { color: #F9A8D4; }
.topbar-contact { display: flex; align-items: center; gap: 1rem; }
.topbar-social  { display: flex; align-items: center; gap: .6rem; }
.topbar-social a svg { width: 15px; height: 15px; display: block; }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 20px rgba(45,52,120,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .6rem; padding-bottom: .6rem; gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo-img  { max-height: 60px; width: auto; }

/* Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list  { display: flex; align-items: center; gap: 0; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; font-size: .875rem; font-weight: 700;
  color: var(--navy); border-radius: 50px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  font-family: var(--font-body);
}
.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--magenta); background: var(--magenta-50);
}
.nav-link svg { flex-shrink: 0; transition: transform var(--transition); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdowns */
.dropdown, .sub-dropdown {
  position: absolute; top: calc(100% + .6rem); left: 0;
  background: var(--white); min-width: 230px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 300;
}
.nav-item:hover > .dropdown,
.has-sub:hover > .sub-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li, .sub-dropdown li { position: relative; }
.dropdown a, .sub-dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1.1rem; font-size: .86rem; color: var(--slate-700);
  transition: background var(--transition), color var(--transition);
  font-weight: 600;
}
.dropdown li:not(:last-child) a { border-bottom: 1px solid var(--navy-50); }
.dropdown a:hover, .sub-dropdown a:hover {
  background: var(--magenta-50); color: var(--magenta); padding-left: 1.4rem;
}
.sub-dropdown { left: 100%; top: 0; }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius-sm);
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: all .3s; display: block; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; }
.overlay.show { display: block; }

/* ── Carousel / Hero ────────────────────────────────────── */
.hero-carousel { position: relative; overflow: hidden; background: var(--navy-dk); }
.carousel-track { display: flex; transition: transform .65s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; position: relative; height: 560px; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(30,35,85,.82) 100%);
  padding: 5rem 3rem 2.8rem; color: var(--white);
}
.carousel-caption h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem);
  margin-bottom: .6rem; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.carousel-caption p { font-size: 1.05rem; max-width: 680px; opacity: .92; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.carousel-btn:hover { background: var(--magenta); }
.carousel-prev { left: 1.5rem; } .carousel-next { right: 1.5rem; }
.carousel-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.carousel-dot  { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all .25s; }
.carousel-dot.active { background: var(--magenta); width: 24px; border-radius: 4px; }

/* Fallback hero */
.hero-fallback {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 55%, #5B2D8E 100%);
  padding: 6rem 0; color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.hero-fallback::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(196,18,100,.15) 0%, transparent 70%);
}
.hero-fallback h1 { font-size: clamp(2rem,5vw,3.2rem); margin-bottom: 1.25rem; position: relative; }
.hero-fallback p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2.5rem; opacity: .9; position: relative; }

/* ── Section basics ─────────────────────────────────────── */
.section    { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt  { background: var(--bg-alt); }
.section-pink { background: var(--magenta-50); }
.section-dark { background: var(--navy-dk); color: var(--white); }

/* ── Section headings ───────────────────────────────────── */
.section-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: .85rem;
  padding: .25rem .85rem; background: var(--magenta-50);
  border-radius: 50px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem,3.5vw,2.3rem);
  color: var(--navy); line-height: 1.2;
}
.section-dark .section-title { color: var(--white); }
.section-sub  { color: var(--slate-500); max-width: 580px; margin: .9rem auto 0; font-size: .95rem; }

/* Pink underline accent */
.title-underline { display: inline-block; position: relative; }
.title-underline::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 60%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--magenta), transparent);
}

/* ── About Strip ────────────────────────────────────────── */
.about-strip {
  background: var(--white); border-bottom: 1px solid var(--border);
}
.about-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center;
}
.about-text h2 { color: var(--navy); margin-bottom: 1rem; }
.about-text p  { color: var(--slate-700); margin-bottom: 1rem; font-size: .95rem; line-height: 1.85; }
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); position: relative;
}
.about-img-wrap img { width: 100%; height: 340px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: -1px; left: 1.5rem;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--navy) 100%);
  color: var(--white); padding: .85rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: .82rem; font-weight: 700;
}

/* ── Vision Strip ───────────────────────────────────────── */
.vision-strip {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%);
  color: var(--white); padding: 4rem 0; text-align: center; position: relative; overflow: hidden;
}
.vision-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(196,18,100,.12) 0%, transparent 70%);
}
.vision-text {
  max-width: 860px; margin: 0 auto; position: relative;
}
.vision-text .quote-icon { color: var(--magenta); opacity: .5; margin-bottom: 1rem; }
.vision-text h2 {
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 700;
  line-height: 1.5; color: var(--white);
}
.vision-text h2 strong { color: #F9A8D4; font-weight: 800; }
.vision-focus {
  display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem;
}
.vf-item {
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: .75rem;
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px);
  transition: background var(--transition);
}
.vf-item:hover { background: rgba(196,18,100,.2); border-color: rgba(196,18,100,.3); }
.vf-icon { color: #F9A8D4; flex-shrink: 0; }
.vf-item span { font-size: .875rem; font-weight: 700; color: var(--white); }

/* ── Programme Cards ────────────────────────────────────── */
.programmes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; }
.prog-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; border: 1px solid var(--border);
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prog-img { height: 215px; overflow: hidden; background: var(--navy-50); position: relative; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prog-card:hover .prog-img img { transform: scale(1.07); }
.prog-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(30,35,85,.7) 100%);
}
.prog-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.prog-age  { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--magenta); margin-bottom: .55rem; }
.prog-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .75rem; line-height: 1.35; }
.prog-body p  { font-size: .875rem; color: var(--slate-500); flex: 1; }
.prog-foot {
  padding: 1rem 1.6rem; border-top: 1px solid var(--magenta-50);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--magenta-50);
}
.prog-foot a {
  font-size: .85rem; font-weight: 800; color: var(--magenta);
  display: inline-flex; align-items: center; gap: .35rem;
}
.prog-foot a:hover { color: var(--navy); }
.prog-badge { font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .06em; }
.prog-badge-active   { background: var(--navy-lt); color: var(--navy); }
.prog-badge-upcoming { background: var(--magenta-lt); color: var(--magenta-dk); }

/* ── Stats Strip ────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--magenta-dk) 0%, var(--magenta) 50%, #E91E8C 100%);
  color: var(--white); padding: 3rem 0; position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; text-align: center; position: relative; }
.stat-item h3 { font-size: clamp(2rem,4.5vw,3rem); font-weight: 900; line-height: 1; }
.stat-item p  { font-size: .875rem; opacity: .88; margin-top: .35rem; font-weight: 600; }

/* ── Stories of Change ──────────────────────────────────── */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 2rem; }
.story-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--border); transition: box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.story-card:hover { box-shadow: var(--shadow-md); }
.story-img { height: 190px; overflow: hidden; background: var(--magenta-lt); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-card:hover .story-img img { transform: scale(1.05); }
.story-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.story-tag  { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--magenta); margin-bottom: .5rem; }
.story-body h4 { color: var(--navy); font-size: 1rem; margin-bottom: .5rem; line-height: 1.4; }
.story-body p  { font-size: .85rem; color: var(--slate-500); flex: 1; }
.story-body a  { font-size: .82rem; font-weight: 800; color: var(--magenta); margin-top: 1rem; display: inline-flex; align-items: center; gap: .3rem; }
.story-body a:hover { color: var(--navy); }

/* ── Media & Publications ───────────────────────────────── */
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 1.5rem; }
.media-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--white);
  transition: box-shadow var(--transition);
}
.media-card:hover { box-shadow: var(--shadow-sm); }
.media-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--magenta-50); display: flex; align-items: center;
  justify-content: center; color: var(--magenta); flex-shrink: 0;
}
.media-content h4 { font-size: .9rem; color: var(--navy); margin-bottom: .3rem; line-height: 1.4; }
.media-content p  { font-size: .8rem; color: var(--slate-500); }
.media-content a  { font-size: .8rem; font-weight: 700; color: var(--magenta); margin-top: .35rem; display: inline-block; }

/* ── Donate Section ─────────────────────────────────────── */
.donate-section {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 60%, #5B2D8E 100%);
  color: var(--white); padding: 5.5rem 0; position: relative; overflow: hidden;
}
.donate-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,18,100,.25) 0%, transparent 70%);
}
.donate-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; position: relative; }
.donate-pitch h2 { font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 1.25rem; }
.donate-pitch h2 strong { color: #F9A8D4; }
.donate-pitch p  { opacity: .85; margin-bottom: 1.5rem; font-size: .95rem; line-height: 1.8; }
.impact-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.impact-item { display: flex; gap: .85rem; align-items: flex-start; }
.impact-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(196,18,100,.3); border: 2px solid var(--magenta);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #F9A8D4; margin-top: .1rem;
}
.impact-item span { font-size: .9rem; opacity: .9; line-height: 1.5; }

.donate-box {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.donate-box h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .5rem; }
.donate-box > p { font-size: .875rem; color: var(--slate-500); margin-bottom: 1.75rem; }
.amount-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.5rem; }
.amount-btn {
  padding: .55rem 1.35rem; border: 2px solid var(--border);
  border-radius: 50px; background: var(--white);
  cursor: pointer; font-weight: 700; font-size: .9rem;
  transition: all var(--transition); font-family: var(--font-body);
  color: var(--navy);
}
.amount-btn:hover { border-color: var(--magenta); color: var(--magenta); background: var(--magenta-50); }
.amount-btn.active { border-color: var(--magenta); background: var(--magenta); color: var(--white); }
.custom-amt-wrap { position: relative; margin-bottom: 1.25rem; }
.custom-amt-prefix {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--slate-500); font-weight: 700; pointer-events: none;
}
.custom-amt { padding-left: 2.25rem !important; }
.donate-type { display: flex; gap: .65rem; margin-bottom: 1.5rem; }
.dtype-btn {
  flex: 1; padding: .6rem; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--white); cursor: pointer; font-weight: 700; font-size: .84rem;
  transition: all var(--transition); text-align: center; font-family: var(--font-body); color: var(--navy);
}
.dtype-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.trust-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.trust-badge  { font-size: .77rem; color: var(--slate-500); display: flex; align-items: center; gap: .3rem; }
.trust-badge svg { color: #22C55E; }

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%);
  color: var(--white); padding: 3.5rem 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,18,100,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
.breadcrumb   { font-size: .82rem; opacity: .72; margin-top: .6rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #F9A8D4; }
.breadcrumb-sep { opacity: .5; }

/* ── Partners Grid ──────────────────────────────────────── */
.partners-wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.partner-item  {
  width: 150px; text-align: center; padding: 1rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--white); transition: all var(--transition);
}
.partner-item:hover { box-shadow: var(--shadow-sm); border-color: var(--magenta-lt); transform: translateY(-2px); }
.partner-item img { max-height: 56px; margin: 0 auto .6rem; filter: grayscale(20%); }
.partner-item p { font-size: .78rem; color: var(--slate-500); line-height: 1.4; }
.partner-placeholder {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--navy-50); margin: 0 auto .6rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 800; font-size: .85rem;
}

/* ── Team Cards ─────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1.75rem; }
.team-card {
  text-align: center; background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem; border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-photo {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 1.1rem; overflow: hidden;
  background: var(--magenta-lt); border: 3px solid var(--magenta-lt);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--magenta); font-weight: 800;
}
.team-card h4 { font-weight: 700; color: var(--navy); font-size: .95rem; }
.team-card p  { font-size: .82rem; color: var(--slate-500); margin-top: .3rem; }
.team-dept    { font-size: .75rem; color: var(--magenta); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-top: .25rem; }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .45rem; color: var(--slate-900); }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); color: var(--slate-900);
}
.form-control:focus {
  outline: none; border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-glow);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control   { cursor: pointer; }
.form-hint     { font-size: .8rem; color: var(--slate-500); margin-top: .35rem; }
.form-required { color: var(--magenta); }

/* ── Alerts ─────────────────────────────────────────────── */
.alert { padding: .9rem 1.25rem; border-radius: var(--radius-sm); font-size: .875rem; margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: .6rem; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #7F1D1D; border: 1px solid #FCA5A5; }
.alert-info    { background: var(--navy-50); color: var(--navy-dk); border: 1px solid var(--navy-lt); }
.alert-warning { background: var(--magenta-50); color: var(--magenta-dk); border: 1px solid var(--magenta-lt); }

/* ── Cards (generic) ────────────────────────────────────── */
.card    { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.75rem; }
.card-sm { padding: 1.25rem; }

/* ── Documents ──────────────────────────────────────────── */
.doc-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.doc-tab  {
  padding: .45rem 1.15rem; border-radius: 50px;
  background: var(--slate-100); color: var(--slate-500);
  font-size: .84rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
}
.doc-tab:hover, .doc-tab.active { background: var(--magenta); color: var(--white); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1.5rem; }
.doc-card {
  border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doc-thumb {
  height: 155px; background: var(--navy-50);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-thumb-icon { color: var(--navy); opacity: .45; }
.doc-body { padding: 1rem; }
.doc-body h4 { font-size: .88rem; color: var(--navy); margin-bottom: .25rem; font-weight: 700; line-height: 1.4; }
.doc-body .doc-meta { font-size: .76rem; color: var(--slate-500); display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }
.doc-body a { display: inline-flex; align-items: center; gap: .3rem; margin-top: .75rem; font-size: .8rem; font-weight: 700; color: var(--magenta); }
.doc-cat-badge {
  font-size: .72rem; font-weight: 700; padding: .2rem .55rem;
  background: var(--navy-50); color: var(--navy);
  border-radius: 50px; display: inline-block; margin-bottom: .4rem;
}

/* ── Opp cards ──────────────────────────────────────────── */
.opp-grid { display: grid; gap: 1.25rem; }
.opp-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; background: var(--white); transition: box-shadow var(--transition);
}
.opp-card:hover { box-shadow: var(--shadow-md); }
.opp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.opp-card h3  { color: var(--navy); font-size: 1.15rem; }
.opp-card .badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: .2rem .65rem; border-radius: 50px; white-space: nowrap; }
.badge-volunteer  { background: var(--navy-lt); color: var(--navy); }
.badge-internship { background: var(--magenta-lt); color: var(--magenta-dk); }
.opp-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: .75rem 0; }
.opp-meta span { font-size: .82rem; color: var(--slate-500); display: flex; align-items: center; gap: .3rem; }
.deadline { font-size: .8rem; color: var(--magenta-dk); font-weight: 700; margin-top: .75rem; display: flex; align-items: center; gap: .35rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.contact-info h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: .85rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px; background: var(--magenta-50);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; color: var(--magenta); flex-shrink: 0;
}

/* ── CMS Content ────────────────────────────────────────── */
.content-wrap { padding: 3.5rem 0; }
.content-body { max-width: 820px; }
.content-body h2 { color: var(--navy); font-size: 1.65rem; margin: 2.25rem 0 .9rem; }
.content-body h3 { color: var(--magenta); font-size: 1.25rem; margin: 1.75rem 0 .75rem; }
.content-body p  { margin-bottom: 1.1rem; color: var(--slate-700); }
.content-body ul, .content-body ol { margin: 1rem 0 1.1rem 1.5rem; }
.content-body li { margin-bottom: .5rem; color: var(--slate-700); }
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.content-body blockquote {
  border-left: 4px solid var(--magenta); padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: var(--magenta-50); border-radius: 0 var(--radius) var(--radius) 0;
}
.content-body a { color: var(--magenta); }
.content-body a:hover { color: var(--navy); }

/* ── PDF embed ──────────────────────────────────────────── */
.pdf-embed-wrap { margin: 1.5rem 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.pdf-embed-bar  { background: var(--navy-dk); color: rgba(255,255,255,.85); padding: .55rem 1rem; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pdf-embed-bar a { color: #F9A8D4; font-size: .78rem; }
.pdf-embed-frame { width: 100%; height: 520px; border: none; display: block; background: #525659; }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50px;
  font-size: .875rem; font-weight: 700; border: 2px solid var(--border);
  color: var(--slate-700); transition: all var(--transition);
}
.pagination a:hover { border-color: var(--magenta); color: var(--magenta); }
.pagination .active { background: var(--magenta); color: var(--white); border-color: var(--magenta); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.75); }
.footer-main { padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-logo { max-height: 64px; margin-bottom: 1.1rem; filter: brightness(0) invert(1) opacity(.9); }
.footer-brand p { font-size: .875rem; opacity: .7; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--transition);
}
.footer-social a:hover { background: var(--magenta); color: var(--white); }
.footer-social a svg { width: 15px; height: 15px; }
.footer-col-title { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #F9A8D4; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: #F9A8D4; padding-left: .3rem; }
.footer-contact-item { display: flex; gap: .7rem; font-size: .875rem; color: rgba(255,255,255,.65); margin-bottom: .85rem; }
.footer-contact-item svg { flex-shrink: 0; color: #F9A8D4; margin-top: .1rem; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: #F9A8D4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; opacity: .5; }

/* ── Back to top ────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; border: none;
  opacity: 0; visibility: hidden; transition: all .3s; z-index: 500;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover   { transform: translateY(-2px); }

/* ── Donation modal overlay ─────────────────────────────── */
.payment-processing {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(30,35,85,.85); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.payment-processing.show { display: flex; }
.payment-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 2.5rem; text-align: center; max-width: 420px; width: 90%;
  box-shadow: var(--shadow-lg);
}
.payment-spinner {
  width: 52px; height: 52px; border: 4px solid var(--magenta-lt);
  border-top-color: var(--magenta); border-radius: 50%;
  animation: spin .8s linear infinite; margin: 0 auto 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.payment-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: .5rem; }
.payment-card p  { color: var(--slate-500); font-size: .9rem; }

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

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .about-inner        { grid-template-columns: 1fr; }
  .donate-layout      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 86%; max-width: 340px; height: 100vh;
    background: var(--white); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: flex-start;
    padding: 5rem 1.5rem 2rem; overflow-y: auto; transition: right .3s; z-index: 400;
  }
  .main-nav.open { right: 0; }
  .nav-list  { flex-direction: column; width: 100%; gap: 0; }
  .nav-item  { width: 100%; }
  .nav-link  { padding: .75rem .25rem; border-bottom: 1px solid var(--magenta-50); font-size: .95rem; width: 100%; border-radius: 0; }
  .dropdown, .sub-dropdown {
    position: static; box-shadow: none; border: none;
    opacity: 1; visibility: visible; transform: none;
    border-left: 3px solid var(--magenta); margin-left: 1rem;
    display: none; border-radius: 0; min-width: 0;
  }
  .nav-item.open > .dropdown, .has-sub.open > .sub-dropdown { display: block; }
  .btn-donate-nav { margin: 1.5rem 0 0; width: 100%; text-align: center; justify-content: center; display: block; }
  .carousel-slide  { height: 300px; }
  .section, .section-sm { padding: 3.5rem 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .carousel-slide { height: 240px; }
  .carousel-caption { padding: 2rem 1.5rem 1.5rem; }
  .carousel-caption h2 { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-contact { display: none; }
  .vision-focus   { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Engage page – hero pills ───────────────────────────── */
.eng-hero-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.eng-hero-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* ── Consistent inner page top padding ──────────────────── */
.page-hero h1 + p { margin-top: .6rem; max-width: 680px; opacity: .88; font-size: 1rem; }
