/* =====================================================
   MASUM – Mahila Sarvangeen Utkarsh Mandal
   Public Website Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --nav-h: 72px;
  --clr-primary:       #7553A1;
  --clr-primary-dark:  #5A3D80;
  --clr-primary-light: #9472BE;
  --clr-secondary:     #A34A4A;
  --clr-secondary-dark:#7A3535;
  --clr-accent:        #C4799A;
  --clr-gold:          #D4A843;
  --clr-dark:          #2D1B47;
  --clr-text:          #2D2D2D;
  --clr-muted:         #6B6B6B;
  --clr-bg:            #FAF6F2;
  --clr-bg-alt:        #F5EDE0;
  --clr-white:         #FFFFFF;
  --clr-border:        #E4D4C8;

  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow-md:      0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:      0 12px 48px rgba(0,0,0,.14);
  --shadow-primary: 0 8px 30px rgba(117,83,161,.30);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 40px;

  --ease: cubic-bezier(.4,0,.2,1);
  --transition: all .3s var(--ease);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* removed below; nav-h declared above */
  --max-w: 1200px;
  --pad:   clamp(16px,4vw,40px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--clr-text); background: var(--clr-bg); line-height: 1.7; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; color: var(--clr-dark); }
h1 { font-size: clamp(1.8rem,5vw,3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem,2vw,1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px; border-radius: var(--radius-xl);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary  { background: var(--clr-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--clr-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(117,83,161,.42); }
.btn-outline  { background: transparent; color: var(--clr-primary); border-color: var(--clr-primary); }
.btn-outline:hover  { background: var(--clr-primary); color: #fff; transform: translateY(-2px); }
.btn-white    { background: #fff; color: var(--clr-primary); font-weight: 700; }
.btn-white:hover    { background: var(--clr-primary); color: #fff; transform: translateY(-2px); }
.btn-secondary{ background: var(--clr-secondary); color: #fff; }
.btn-secondary:hover{ background: var(--clr-secondary-dark); transform: translateY(-2px); }
.btn-sm       { padding: 7px 18px; font-size: .8rem; }

/* ── Section shell ── */
section      { padding: 72px 0; }
.section-alt  { background: var(--clr-bg-alt); }
.section-dark { background: var(--clr-dark); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  background: var(--clr-bg-alt); color: var(--clr-primary);
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px; border: 1px solid rgba(117,83,161,.2);
}
.section-header h2  { margin-bottom: 12px; }
.section-header p   { color: var(--clr-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-divider    { width: 56px; height: 4px; border-radius: 2px; margin: 14px auto 0; background: linear-gradient(90deg,var(--clr-primary),var(--clr-accent)); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 54px; width: 54px; object-fit: contain; border-radius: 8px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(117,83,161,0.18)); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text .org-name    { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--clr-primary); white-space: nowrap; letter-spacing: .2px; }
.nav-logo-text .org-sub     { font-size: .62rem; color: var(--clr-muted); letter-spacing: .1px; white-space: nowrap; font-weight: 500; }
.nav-logo-text .org-tagline { font-size: .58rem; color: var(--clr-accent); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-top: 1px; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-item  { position: relative; }
.nav-link  {
  display: block; padding: 6px 9px; font-size: .78rem;
  font-family: var(--font-head); font-weight: 500; color: var(--clr-text);
  border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap;   /* ← prevents ▾ from wrapping to next line */
}
.nav-link:hover, .nav-link.active { color: var(--clr-primary); background: var(--clr-bg-alt); }
.nav-link.donate-btn { background: var(--clr-primary); color: #fff !important; padding: 8px 18px; border-radius: var(--radius-xl); margin-left: 6px; }
.nav-link.donate-btn:hover { background: var(--clr-primary-dark); transform: translateY(-1px); }

/* Dropdown */
.nav-item:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 8px; /* fills the gap so hover isn't lost */
  min-width: 220px; background: transparent;
  z-index: 200;
}
.dropdown-inner {
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--clr-border);
  overflow: hidden;
}
.dropdown a {
  display: block; padding: 10px 18px; font-size: .85rem;
  color: var(--clr-text); transition: var(--transition);
}
.dropdown a:hover { background: var(--clr-bg-alt); color: var(--clr-primary); padding-left: 24px; }
.has-dropdown > .dropdown { min-width: 280px; }
.dropdown-group { border-top: 1px solid var(--clr-border); margin-top: 4px; padding-top: 4px; }
.dropdown-group:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.dropdown-label {
  display: block; padding: 8px 18px 4px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--clr-primary);
  pointer-events: none;
}
.dropdown-sub { padding-left: 28px !important; font-size: .82rem !important; color: var(--clr-text-muted, #555) !important; }
.dropdown-sub:hover { padding-left: 34px !important; color: var(--clr-primary) !important; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--clr-text); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
  position: relative; margin-top: var(--nav-h);
  height: 620px; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .9s var(--ease);
}
.slide.active { opacity: 1; z-index: 1; }

/* Gradient fallbacks when no image is loaded — use longhand so we do not reset
   background-repeat/size (the `background` shorthand was overriding .slide and
   tiled inline background-image URLs). */
.slide:nth-child(1) {
  background-image: linear-gradient(135deg,#7553A1 0%,#5A3D80 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide:nth-child(2) {
  background-image: linear-gradient(135deg,#A34A4A 0%,#7A3535 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide:nth-child(3) {
  background-image: linear-gradient(135deg,#2D1B47 0%,#4A2F6B 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide:nth-child(4) {
  background-image: linear-gradient(135deg,#9472BE 0%,#7553A1 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide:nth-child(5) {
  background-image: linear-gradient(135deg,#3D1F5A 0%,#6B3F99 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* Deep dual-layer overlay: left dark for text + overall warmth */
.slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(22,12,40,.82) 0%, rgba(22,12,40,.55) 55%, rgba(22,12,40,.2) 100%),
    linear-gradient(to top,   rgba(22,12,40,.55) 0%, transparent 60%);
}

.slide-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 700px;
  padding: 0 0 32px;
  animation: slideIn .8s var(--ease) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide.active .slide-content { animation: slideIn .8s var(--ease) .1s both; }

.slide-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  padding: 5px 18px; border-radius: 24px; font-size: .72rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(196,121,154,.45);
}
.slide-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #fff; border-radius: 50%; }

.slide-content h1 {
  color: #fff; margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 3px 20px rgba(0,0,0,.4);
  letter-spacing: -.01em;
}
.slide-content p {
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  margin-bottom: 32px; opacity: .92;
  max-width: 560px; line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slide progress bar at bottom */
.hero-slider::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 12;
  animation: slideProgress 5s linear infinite;
  width: 0;
}
@keyframes slideProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* Slide counter badge top-right */
.slider-counter {
  position: absolute; top: 20px; right: 20px; z-index: 12;
  color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 600;
  background: rgba(0,0,0,.3); backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: .5px;
}

/* Slider controls */
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.08); }

.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.slider-dot  { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: none; transition: var(--transition); }
.slider-dot.active { width: 26px; border-radius: 4px; background: #fff; }

/* =====================================================
   STAT BAR
   ===================================================== */
.stat-bar { background: var(--clr-primary); padding: 24px 0; color: #fff; }
.stat-bar .container { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; }
.stat-item { text-align: center; padding: 8px; border-right: 1px solid rgba(255,255,255,.2); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1;
  transition: transform .15s ease;
  display: inline-block;
}
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.stat-number.popped { animation: statPop .35s ease forwards; }
.stat-label  { font-size: .75rem; opacity: .85; text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* =====================================================
   CARDS (shared base)
   ===================================================== */
.card {
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
  transition: var(--transition); overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* ── Program Cards ── */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.program-card  { padding: 28px; position: relative; }
.program-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,var(--clr-primary),var(--clr-accent));
}
.program-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--clr-bg-alt); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.program-card h3 { margin-bottom: 8px; }
.program-card p  { color: var(--clr-muted); font-size: .88rem; margin-bottom: 16px; line-height: 1.65; }
.since-badge { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--clr-secondary); background: rgba(31,107,69,.1); padding: 2px 10px; border-radius: 12px; margin-bottom: 8px; }
.read-more {
  font-size: .85rem; font-weight: 600; color: var(--clr-primary);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
}
.read-more:hover { gap: 10px; }

/* ── Event Cards ── */
.events-grid   { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; }
.event-card-img {
  height: 220px;
  background: linear-gradient(135deg,var(--clr-primary),var(--clr-accent));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  inset: 0;
  padding: 8px;
  background: rgba(255,255,255,.06);
}
.event-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: var(--clr-primary); border-radius: var(--radius-sm);
  padding: 6px 12px; text-align: center; font-family: var(--font-head);
  font-weight: 700; font-size: .78rem; box-shadow: var(--shadow-sm);
}
.event-date-badge .day { font-size: 1.3rem; display: block; }
.event-body { padding: 20px; }
.event-meta { display: flex; gap: 10px; font-size: .78rem; color: var(--clr-muted); margin-bottom: 8px; flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: 4px; }
.event-body h3  { font-size: .98rem; margin-bottom: 6px; }
.event-body p   { font-size: .84rem; color: var(--clr-muted); }

/* Past events timeline */
.past-events-list { display: flex; flex-direction: column; gap: 14px; }
.past-event-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  border-radius: var(--radius-md); background: #fff; border: 1px solid var(--clr-border);
  transition: var(--transition);
}
.past-event-item:hover { border-color: var(--clr-primary); box-shadow: var(--shadow-sm); }
.past-event-year { flex-shrink: 0; background: var(--clr-primary); color: #fff; padding: 6px 12px; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700; font-size: .82rem; }
.past-event-info h4 { font-size: .92rem; margin-bottom: 4px; }
.past-event-info p  { font-size: .8rem; color: var(--clr-muted); }
.past-event-info a  { color: var(--clr-primary); font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.past-event-thumb {
  width: 132px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 4px;
}

/* ── Video Cards ── */
.videos-grid    { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 28px; }
.video-wrapper  { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body     { padding: 16px; }
.video-body h3  { font-size: .94rem; margin-bottom: 6px; }
.video-body p   { font-size: .82rem; color: var(--clr-muted); }
.video-cat-tag  { display: inline-block; background: var(--clr-bg-alt); color: var(--clr-primary); padding: 2px 10px; border-radius: 12px; font-size: .72rem; font-weight: 700; margin-bottom: 8px; }

/* ── Report Cards ── */
/* align-items: start — same-row cards are not stretched to one height (avoids stretching / odd gaps in thumb area) */
.reports-grid   {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 24px;
  align-items: start;
}
.report-card { display: flex; flex-direction: column; }
/* Thumbnail: full width, natural aspect ratio — no crop, no fixed box that forces cover/letterboxing */
.report-thumb   {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg,#ede3f5,#d8cce8);
  overflow: hidden;
  line-height: 0;
}
.report-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.report-thumb .file-icon {
  display: block;
  text-align: center;
  padding: 48px 16px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--clr-primary);
  opacity: .65;
}
.year-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--clr-primary); color: #fff; padding: 2px 10px;
  border-radius: 12px; font-size: .72rem; font-weight: 700; font-family: var(--font-head);
}
.report-body    { padding: 16px; }
.report-body h3 { font-size: .9rem; margin-bottom: 6px; }
.report-meta    { font-size: .76rem; color: var(--clr-muted); margin-bottom: 12px; }

/* ── Gallery (Posters / Infographics) ── */
.gallery-grid   { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 14px; }
.gallery-item   {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; aspect-ratio: 3/4; background: var(--clr-bg-alt);
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(45,27,71,.88) 0%,transparent 55%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { color: #fff; font-size: .8rem; font-weight: 500; }

/* Posters only: preserve aspect ratio in grid (no crop); lightbox shows full size */
.poster-gallery .gallery-item {
  aspect-ratio: unset;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.poster-gallery .gallery-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.poster-gallery .gallery-item:hover img {
  transform: none;
}

.infographic-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; }
.infographic-item { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; background: var(--clr-bg-alt); transition: var(--transition); }
.infographic-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.infographic-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.infographic-item:hover img { transform: scale(1.06); }
.infographic-item .gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(26,26,46,.88),transparent 55%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 14px; }
.infographic-item:hover .gallery-overlay { opacity: 1; }

/* ── Photo gallery (5 columns / 50 per page) ── */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.photo-gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: #fff;
}
.photo-gallery-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
}
.photo-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease, opacity .4s ease;
  filter: saturate(1.04);
  opacity: .15;
}
.photo-gallery-thumb img.is-loaded {
  opacity: 1;
}
.photo-gallery-thumb:hover img {
  transform: scale(1.04);
}
.photo-overlay {
  position: absolute;
  inset: auto 10px 10px auto;
  background: rgba(255,255,255,.86);
  color: #111827;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  backdrop-filter: blur(2px);
}
.photo-caption {
  margin: 0;
  padding: 10px 10px 11px;
  font-size: .77rem;
  line-height: 1.45;
  color: #374151;
  min-height: 52px;
}

/* colorbox-style preview look using existing lightbox */
.lightbox-inner img {
  border: 6px solid #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.48);
}

/* ── Publication gallery (IEC covers): card grid, title under image, 3×3 on desktop ── */
.publication-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .publication-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .publication-card-grid { grid-template-columns: 1fr; }
}
.publication-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #faf6f0 0%, #f3ede4 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(45, 27, 71, 0.08);
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.06);
  transition: var(--transition);
}
.publication-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.publication-card__thumb {
  cursor: zoom-in;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 14px;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.45);
}
.publication-card__thumb:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}
.publication-card__thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  vertical-align: middle;
}
.publication-card__meta {
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(45, 27, 71, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.35);
}
.publication-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--clr-dark);
  word-break: break-word;
}
.publication-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.publication-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-decoration: none;
}
.publication-card__link:hover {
  text-decoration: underline;
}
.publication-card-grid--ww2 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Donation ── */
.donate-intro    {
  background: linear-gradient(135deg,var(--clr-primary) 0%,var(--clr-primary-dark) 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.donate-intro h1, .donate-intro h2 { color: #fff; }
.donate-intro p  { opacity: .9; max-width: 580px; margin: 10px auto 0; }
.donate-methods  { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 32px; }
.donate-card     { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.donate-card-head {
  padding: 24px; display: flex; align-items: center; gap: 16px; color: #fff;
}
.donate-card-head.domestic     { background: linear-gradient(135deg,var(--clr-primary),var(--clr-accent)); }
.donate-card-head.international{ background: linear-gradient(135deg,var(--clr-secondary),var(--clr-secondary-dark)); }
.donate-card-head .d-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.2); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.donate-card-head h3 { color: #fff; }
.donate-card-head p  { font-size: .85rem; opacity: .85; }
.donate-bank   { padding: 24px; background: #fff; }
.bank-row      { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--clr-border); gap: 10px; }
.bank-row:last-child { border-bottom: none; }
.bank-row .lbl { font-size: .78rem; color: var(--clr-muted); font-weight: 500; flex-shrink: 0; }
.bank-row .val { font-size: .86rem; font-weight: 600; color: var(--clr-dark); text-align: right; word-break: break-all; }
.tax-card {
  background: linear-gradient(135deg,var(--clr-gold),var(--clr-accent));
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.tax-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tax-card p  { font-size: .9rem; margin-bottom: 16px; }
.reg-badges  { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.reg-badge   { background: rgba(255,255,255,.7); padding: 7px 18px; border-radius: var(--radius-xl); font-weight: 600; font-size: .8rem; }

/* ── Career / Job Cards ── */
.filter-bar    { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn    {
  padding: 7px 16px; border-radius: var(--radius-xl);
  border: 1.5px solid var(--clr-border); background: #fff;
  font-size: .8rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); color: var(--clr-text); font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--clr-primary); background: var(--clr-primary); color: #fff; }
.careers-grid  { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 22px; }
.job-card      { padding: 24px; }
.job-card.closed { opacity: .6; }
.job-header    { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 10px; }
.job-status    { padding: 3px 11px; border-radius: 20px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; flex-shrink: 0; }
.job-status.open   { background: #D1FAE5; color: #065F46; }
.job-status.closed { background: #FEE2E2; color: #991B1B; }
.job-title    { font-size: 1.02rem; font-family: var(--font-head); font-weight: 600; color: var(--clr-dark); }
.job-dept     { font-size: .78rem; color: var(--clr-primary); font-weight: 600; margin: 5px 0 12px; }
.job-tags     { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.job-tag      { display: flex; align-items: center; gap: 4px; font-size: .76rem; color: var(--clr-muted); background: var(--clr-bg-alt); padding: 3px 10px; border-radius: 12px; }
.job-desc     { font-size: .84rem; color: var(--clr-muted); margin-bottom: 14px; line-height: 1.65; }
.job-deadline { font-size: .76rem; color: var(--clr-muted); margin-bottom: 14px; }
.job-deadline span { color: var(--clr-primary); font-weight: 600; }
.job-footer   { display: flex; gap: 8px; flex-wrap: wrap; }
.job-details-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--clr-border); display: none; }
.job-details-panel.open { display: block; }
.job-details-panel h4 { font-size: .85rem; margin-bottom: 6px; color: var(--clr-dark); }
.job-details-panel p  { font-size: .82rem; color: var(--clr-muted); }

/* ── Offices / Contact ── */
.offices-grid  { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 22px; }
.office-card   { padding: 24px; position: relative; }
.office-card.inactive { opacity: .55; }
.office-status { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 20px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.office-status.active   { background: #D1FAE5; color: #065F46; }
.office-status.inactive { background: #F3F4F6; color: #6B7280; }
.office-type   { display: inline-block; background: var(--clr-primary); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: .7rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.office-type.branch  { background: var(--clr-secondary); }
.office-type.field   { background: #5A3D80; }
.office-type.project { background: #A34A4A; }
.office-name  { font-size: 1.05rem; font-family: var(--font-head); font-weight: 700; margin-bottom: 16px; }
.office-info  { display: flex; flex-direction: column; gap: 10px; }
.info-row     { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; }
.info-row .ico { color: var(--clr-primary); flex-shrink: 0; margin-top: 1px; }

.contact-form-wrap { max-width: 640px; margin: 0 auto; background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-group   { margin-bottom: 20px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  font-size: .9rem; font-family: var(--font-body);
  color: var(--clr-text); background: var(--clr-bg); transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--clr-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(117,83,161,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--clr-dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--clr-primary); margin-bottom: 10px; }
.footer-brand p { font-size: .84rem; line-height: 1.7; margin-bottom: 20px; }
.social-links  { display: flex; gap: 10px; }
.social-link   {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: .9rem; color: rgba(255,255,255,.8);
}
.social-link:hover { background: var(--clr-primary); transform: translateY(-2px); color: #fff; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 14px; font-family: var(--font-head); }
.footer-links  { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--clr-primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--clr-accent); }

/* =====================================================
   UTILITY
   ===================================================== */
.breadcrumb-bar { padding: 10px 0; background: var(--clr-bg-alt); border-bottom: 1px solid var(--clr-border); }
.breadcrumb     { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--clr-muted); }
.breadcrumb a   { color: var(--clr-primary); }
.breadcrumb .sep { opacity: .4; }

.alert          { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .9rem; }
.alert-success  { background: #D1FAE5; color: #065F46; border-left: 4px solid #10B981; }
.alert-error    { background: #FEE2E2; color: #991B1B; border-left: 4px solid #EF4444; }

.badge-pill  { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-red   { background: #FEE2E2; color: #991B1B; }
.badge-gray  { background: #F3F4F6; color: #6B7280; }
.badge-orange{ background: #FEF3C7; color: #92400E; }

/* Lightbox */
.lightbox        { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.lightbox.open   { display: flex; }
.lightbox-inner  { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close  { position: absolute; top: -40px; right: 0; width: 36px; height: 36px; background: rgba(255,255,255,.2); border: none; border-radius: 50%; color: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-caption { text-align: center; color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 12px; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; background: var(--clr-primary); color: #fff;
  border: none; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-primary); transition: var(--transition);
  opacity: 0; pointer-events: none; z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { transform: translateY(-3px); background: var(--clr-primary-dark); }

.no-scroll { overflow: hidden; }
.text-center { text-align: center; }
.mt-3  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }

/* Page-top margin for paginator */
.pagination-wrap { padding: 32px 0 0; display: flex; justify-content: center; }
.front-pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0;
  margin: 0;
}
.page-content .front-pagination ul {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
}
.page-content .front-pagination li {
  list-style: none !important;
  margin-bottom: 0;
}
.front-pagination li a,
.front-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .7rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: .86rem;
  color: #374151;
  background: #fff;
}
.front-pagination li a:hover {
  border-color: #7553A1;
  color: #7553A1;
}
.front-pagination li.active span {
  border-color: #7553A1;
  background: #7553A1;
  color: #fff;
  font-weight: 700;
}
.front-pagination li.disabled span {
  color: #9ca3af;
  background: #f3f4f6;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px; box-shadow: var(--shadow-md);
    gap: 4px; align-items: stretch;
  }
  .nav-menu.open  { display: flex; }
  .nav-toggle     { display: flex; }
  .dropdown       { position: static; box-shadow: none; border: none; background: var(--clr-bg-alt); border-radius: var(--radius-sm); margin-top: 4px; }
  .hero-slider    { height: 400px; }
  .slide-buttons .btn + .btn { display: none; }
  section         { padding: 50px 0; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .stat-bar .container { grid-template-columns: repeat(2,1fr); }
  .stat-item      { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(even), .stat-item:last-child { border-bottom: none; }
  .photo-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero-slider  { height: 320px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .infographic-grid { grid-template-columns: repeat(2,1fr); }
  .programs-grid, .events-grid, .videos-grid, .reports-grid { grid-template-columns: 1fr; }
  .photo-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .careers-grid, .offices-grid { grid-template-columns: 1fr; }
  .donate-methods { grid-template-columns: 1fr; }
  .bank-row { flex-direction: column; }
  .bank-row .val { text-align: left; }
}

/* ─── Page content section: tighter top padding ─────────────────────────── */
.page-section { padding: 32px 0 64px; }

/* ─── Rich-text page content typography ─────────────────────────────────── */
.page-content {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}
.page-content p {
  margin-top: 0;
  margin-bottom: 1.1em;
  text-align: justify;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.page-content h1 { font-size: 2rem; }
.page-content h2 { font-size: 1.5rem; }
.page-content h3 { font-size: 1.25rem; }
.page-content h4 { font-size: 1.1rem; }
.page-content ul,
.page-content ol {
  margin-top: 0.5em;
  margin-bottom: 1.1em;
  padding-left: 1.6em;
}
.page-content ul { list-style-type: disc; }
.page-content ol { list-style-type: decimal; }
.page-content li { margin-bottom: 0.35em; }
.page-content li { text-align: justify; }
.page-content li > ul,
.page-content li > ol {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
.page-content a {
  color: #7553A1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover { color: #5A3D80; }
.page-content blockquote {
  border-left: 4px solid #9472BE;
  padding: 0.5em 1em;
  margin: 1.2em 0;
  color: #6b7280;
  font-style: italic;
  background: #f8f4fc;
}
.page-content strong { font-weight: 700; }
.page-content em     { font-style: italic; }
.page-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.9rem;
}
.page-content table th,
.page-content table td {
  border: 1px solid #d1d5db;
  padding: 0.55em 0.85em;
  text-align: left;
}
.page-content table th {
  background: #f3f4f6;
  font-weight: 600;
  color: #111827;
}
.page-content table tr:nth-child(even) td { background: #f9fafb; }
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.75em 0;
}

/* ─── BLOG STYLES ────────────────────────────────────────────────────────── */

.blog-hero {
  background: linear-gradient(135deg, var(--clr-dark) 0%, #4A2F6B 100%);
  padding: 60px 0 40px;
  margin-top: var(--nav-h);
  color: #fff;
}
.blog-hero-text { max-width: 680px; margin-bottom: 2rem; }
.blog-hero-text .blog-tag {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.blog-hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #fff;
}
.blog-hero-text p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin: 0; }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-filter-btn {
  padding: 6px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  transition: all .2s;
  text-decoration: none;
}
.blog-filter-btn:hover, .blog-filter-btn.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.blog-listing { padding: 56px 0 72px; background: var(--clr-bg-alt); }
.blog-empty { text-align: center; padding: 4rem 0; color: var(--clr-muted); font-size: 1.05rem; }
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.blog-featured-img { display: block; overflow: hidden; min-height: 320px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-featured-img:hover img { transform: scale(1.03); }
.blog-featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.5rem; font-weight: 700; margin: .5rem 0 .75rem; line-height: 1.3; }
.blog-featured-body h2 a { color: var(--clr-dark); text-decoration: none; }
.blog-featured-body h2 a:hover { color: var(--clr-primary); }
.blog-featured-body > p { color: var(--clr-muted); line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.blog-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { display: block; height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-placeholder {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-placeholder span { font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.4); font-family: var(--font-head); }
.blog-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 1rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.blog-card-body h3 a { color: var(--clr-dark); text-decoration: none; }
.blog-card-body h3 a:hover { color: var(--clr-primary); }
.blog-card-body > p { color: var(--clr-muted); font-size: .9rem; line-height: 1.6; flex: 1; margin-bottom: .75rem; }
.blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .25rem; }
.blog-category {
  background: var(--clr-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
}
a.blog-category:hover { background: #5A3D80; }

/* ─── COMPACT PAGE INTRO (slider alternative) ───────────────────────────── */
.page-intro {
  margin-top: var(--nav-h);
  padding: 34px 0 30px;
  background: linear-gradient(135deg, #2D1B47 0%, #3E2963 45%, #4B3278 100%);
  color: #fff;
}
.page-intro .intro-wrap { max-width: 900px; }
.page-intro .intro-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 10px;
}
.page-intro h1,
.page-intro h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}
.page-intro p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.86);
  max-width: 760px;
}
.page-intro .intro-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.page-intro .intro-hints li {
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 5px 12px;
}
.blog-date, .blog-read-time { font-size: .78rem; color: var(--clr-muted); }
.blog-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .75rem; }
.blog-author { font-size: .82rem; color: var(--clr-muted); font-style: italic; }
.blog-read-more { font-size: .82rem; font-weight: 600; color: var(--clr-primary); text-decoration: none; }
.blog-read-more:hover { color: var(--clr-dark); }
.blog-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.blog-pagination .pagination { display: flex; gap: .4rem; list-style: none; padding: 0; }
.blog-pagination .page-link {
  display: block; padding: 8px 14px; border-radius: 8px;
  border: 1.5px solid var(--clr-border); color: var(--clr-dark); font-size: .875rem;
  text-decoration: none; transition: all .2s;
}
.blog-pagination .page-link:hover,
.blog-pagination .active .page-link {
  background: var(--clr-primary); border-color: var(--clr-primary); color: #fff;
}
.blog-pagination .disabled .page-link {
  color: #ccc; pointer-events: none; border-color: #e5e7eb;
}

/* Article */
.blog-article { padding: 48px 0 64px; margin-top: var(--nav-h); }
.blog-article-header { max-width: 780px; margin: 0 auto 2rem; }
.blog-article-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--clr-dark);
  line-height: 1.25; margin: .6rem 0 .75rem;
}
.blog-article-teaser { font-size: 1.15rem; color: var(--clr-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-article-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.blog-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--clr-primary); color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.blog-author-name { font-weight: 600; font-size: .9rem; color: var(--clr-dark); }
.blog-author-label { font-size: .75rem; color: var(--clr-muted); }
.blog-article-hero-img {
  max-width: 900px; margin: 0 auto 2.5rem;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg);
}
.blog-article-hero-img img { width: 100%; height: auto; display: block; }
.blog-article-body { max-width: 780px; margin: 0 auto; }
.blog-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--clr-border);
}
.blog-tags-label { font-size: .82rem; font-weight: 600; color: var(--clr-muted); }
.blog-tag-chip {
  padding: 4px 12px; border-radius: 999px;
  background: var(--clr-bg-alt); border: 1px solid var(--clr-border); font-size: .78rem; color: var(--clr-dark);
}
.blog-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--clr-border);
}
.blog-share-label { font-size: .82rem; font-weight: 600; color: var(--clr-muted); }
.blog-share-btn {
  padding: 6px 16px; border-radius: 8px; font-size: .8rem;
  font-weight: 600; text-decoration: none; color: #fff; transition: opacity .2s;
}
.blog-share-btn:hover { opacity: .85; }
.blog-share-btn.facebook  { background: #1877f2; }
.blog-share-btn.twitter   { background: #1da1f2; }
.blog-share-btn.linkedin  { background: #0a66c2; }
.blog-share-btn.whatsapp  { background: #25d366; }
.blog-related { padding: 56px 0; background: var(--clr-bg-alt); }

/* ─── ORGANISATIONAL STRUCTURE (HTML chart block) ───────────────────────── */
.structure-chart-wrap {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.structure-chart {
  margin: 0;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: .75rem;
  box-shadow: 0 6px 16px rgba(22, 53, 84, .06);
}
.structure-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ─── ORGANISATIONAL STRUCTURE V3 (from org-chart style) ───────────────── */
.orgs-wrap {
  --navy: #1a2744;
  --blue: #2c5282;
  --sky: #3b82c4;
  --light-sky: #5b9bd5;
  --pale: #d4e6f6;
  --cream: #f0f5fb;
  --white: #ffffff;
  --accent: #e8a838;
  --text: #1e293b;
  --muted: #64748b;
  --card-shadow: 0 4px 24px rgba(26, 39, 68, 0.10);
  --hover-shadow: 0 8px 32px rgba(44, 82, 130, 0.18);
  margin-top: 1.2rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}
.orgs-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--sky) 100%);
  border-radius: 16px;
  padding: 32px 18px 28px;
  text-align: center;
  color: var(--white);
}
.orgs-hero h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}
.orgs-hero p {
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .76);
}
.orgs-divider {
  width: 58px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  display: block;
  margin: .8rem auto 0;
}
.orgs-section { padding: 2rem 0 1rem; }
.orgs-section-compact { padding-top: .6rem; }
.orgs-title {
  margin: 0 0 1.1rem;
  text-align: center;
  color: var(--navy);
}
.orgs-title::after {
  content: '';
  display: block;
  width: 42px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  margin: .55rem auto 0;
}
.orgs-board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.orgs-board-card {
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--pale);
  border-radius: 10px;
  padding: .8rem 1.1rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}
.orgs-board-highlight {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  border-color: transparent;
}
.orgs-connector {
  width: 2px;
  height: 38px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    to bottom,
    var(--sky) 0 6px,
    transparent 6px 12px
  );
}
.orgs-urban-label {
  text-align: center;
  margin-bottom: 1rem;
}
.orgs-urban-label span {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: .35rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .73rem;
  font-weight: 700;
}
.orgs-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.orgs-staff-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.orgs-staff-head {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
}
.orgs-staff-head .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.orgs-staff-head h4 {
  margin: 0;
  color: var(--white);
  font-size: .95rem;
}
.orgs-staff-card ul {
  margin: 0;
  padding: .85rem 1rem 1rem;
}
.orgs-staff-card li {
  list-style: none;
  border-bottom: 1px solid var(--pale);
  padding: .48rem 0 .48rem .85rem;
  color: var(--text);
  font-size: .89rem;
  position: relative;
}
.orgs-staff-card li:last-child { border-bottom: none; }
.orgs-staff-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  position: absolute;
  left: 0;
  top: .9rem;
}
.orgs-wheel {
  position: relative;
  max-width: 780px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.orgs-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orgs-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4cf 0%, #ffd66b 42%, #f59e0b 100%);
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #d97706;
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.20), 0 0 0 16px rgba(245, 158, 11, 0.10);
  z-index: 4;
}
.orgs-hub-inner {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .9;
  color: #92400e;
}
.orgs-hub-title {
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.2;
  color: #111827;
}
.orgs-hub-title-sm {
  font-size: .84rem;
  opacity: .88;
  color: #1f2937;
}
.orgs-node {
  position: absolute;
  width: 150px;
  border: none;
  background: transparent;
  padding: 0;
  text-align: center;
  cursor: pointer;
  z-index: 3;
}
.orgs-node .bubble {
  width: 120px;
  height: 120px;
  margin: 0 auto .45rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sky), var(--blue));
  color: var(--white);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .8rem;
  font-size: .73rem;
  font-weight: 500;
  line-height: 1.35;
}
.orgs-node .orgs-bubble-alt {
  background: linear-gradient(145deg, var(--light-sky), var(--sky));
}
.orgs-node small {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.28;
}
.orgs-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26, 39, 68, .55);
  z-index: 1200;
}
.orgs-overlay.active { display: flex; }
.orgs-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: min(92vw, 440px);
  padding: 1.2rem 1.25rem 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}
.orgs-modal h4 {
  margin: 0 0 .4rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.orgs-modal p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.orgs-modal span {
  margin-top: .7rem;
  display: inline-block;
  background: var(--pale);
  color: var(--blue);
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .76rem;
  font-weight: 600;
}
.orgs-modal-close {
  position: absolute;
  top: .4rem;
  right: .7rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

/* FCRA list/detail pages */
.fcra-list-wrap {
  margin-top: 1.3rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.1rem;
}
.fcra-report-list {
  display: grid;
  gap: .85rem;
}
.fcra-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: .95rem 1rem;
}
.fcra-item h3 {
  margin: 0;
  font-size: 1rem;
}
.fcra-item h3 a {
  color: #15395c;
  text-decoration: none;
}
.fcra-item h3 a:hover { color: #7553A1; text-decoration: underline; }
.fcra-item-actions {
  margin-top: .7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.fcra-report-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
}
.fcra-detail-actions {
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.fcra-legacy-content {
  margin-top: .8rem;
}
.fcra-legacy-content table {
  width: 100%;
  border-collapse: collapse;
}
.fcra-legacy-content table th,
.fcra-legacy-content table td {
  border: 1px solid #d1d5db;
  padding: .5rem .65rem;
  vertical-align: top;
}
.fcra-legacy-content table th {
  background: #f3f4f6;
}
.fcra-related-wrap {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: .9rem 1rem;
}
.fcra-related-wrap h3 {
  margin: 0 0 .55rem;
  font-size: 1.02rem;
}
.fcra-related-list {
  list-style: disc;
  padding-left: 1rem;
  margin: 0;
}
.fcra-related-list li { margin-bottom: .3rem; }

/* Trustees cards */
.trustees-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.trustee-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .05);
}
.trustee-head {
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-bottom: .75rem;
}
.trustee-photo {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #eef2ff;
  flex-shrink: 0;
}
.trustee-name {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
}
.trustee-role {
  margin: .2rem 0 0;
  color: #5b6473;
  font-size: .82rem;
  font-weight: 600;
}
.trustee-bio {
  margin: 0;
  color: #374151;
  font-size: .95rem;
  line-height: 1.65;
}

/* Team page */
.team-page-wrap {
  margin-top: .6rem;
}
.team-intro {
  background: linear-gradient(135deg, #2d1b47 0%, #4b3278 100%);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: #fff;
  margin-bottom: .95rem;
}
.team-intro h3 {
  margin: 0 0 .25rem;
  color: #fff;
}
.team-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: 1rem;
}
.team-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: .8rem .75rem;
  text-align: center;
}
.team-stat-label {
  margin: 0;
  font-size: .78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.team-stat-value {
  margin: .18rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.1;
}
.team-table-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.team-table-head {
  padding: .8rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.team-table-head h3 {
  margin: 0;
  font-size: 1rem;
}
.team-table {
  width: 100%;
  border-collapse: collapse;
}
.team-table th,
.team-table td {
  border-bottom: 1px solid #eef2f7;
  padding: .7rem .75rem;
  text-align: center;
}
.team-table th:first-child,
.team-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: #1f2937;
}
.team-table tfoot td {
  font-weight: 700;
  background: #f8fafc;
}
.team-board-note {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: .9rem 1rem;
}
.team-board-note h3 {
  margin: 0 0 .5rem;
}
.team-chip-row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.team-chip {
  border: 1px solid #dbe4ef;
  background: #eef4fb;
  color: #173f62;
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .84rem;
  font-weight: 700;
}

.structure-v2 {
  margin-top: 1.3rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.1rem;
}
.structure-v2-section + .structure-v2-section { margin-top: 1.4rem; }
.structure-v2-section h3 {
  margin: 0 0 .75rem;
  color: #173f62;
}

.structure-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .6rem;
}
.structure-pill {
  border: 1px solid #9cc9ef;
  background: linear-gradient(180deg, #cae8ff 0%, #9fcef5 100%);
  color: #143a60;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .45rem;
}
.structure-pill-strong {
  border-color: #4f8fc4;
  box-shadow: inset 0 0 0 2px #6ea8d6;
}

.structure-urban-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.structure-panel {
  background: #e9f3ff;
  border: 1px solid #b5cde3;
  border-radius: 12px;
  overflow: hidden;
}
.structure-panel h4 {
  margin: 0;
  padding: .8rem .9rem;
  color: #143a60;
  background: linear-gradient(180deg, #cae8ff 0%, #9fcef5 100%);
  border-bottom: 1px solid #9cc9ef;
}
.structure-panel ul {
  margin: 0;
  padding: .85rem 1rem 1rem 1.2rem;
}
.structure-panel li { margin-bottom: .4rem; }

.structure-rural-core {
  max-width: 360px;
  margin: 0 auto .9rem;
  text-align: center;
}
.structure-core-ring {
  width: 230px;
  height: 230px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(circle at center, #d9ecff 0 30%, #8ac0ea 30% 58%, #6ea8d6 58% 100%);
  border: 2px solid #4b89ba;
  display: flex;
  align-items: center;
  justify-content: center;
}
.structure-core-ring span {
  background: rgba(255, 255, 255, .7);
  border: 1px solid #7baed8;
  border-radius: 999px;
  padding: .35rem .9rem;
  color: #143a60;
  font-weight: 700;
}
.structure-core-labels {
  margin-top: .55rem;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}
.structure-core-labels span {
  background: #e9f3ff;
  border: 1px solid #b5cde3;
  color: #143a60;
  border-radius: 999px;
  padding: .2rem .7rem;
  font-weight: 600;
  font-size: .9rem;
}

.structure-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: .9rem;
}
.structure-program {
  border: 1px solid #7baed8;
  background: #8dc2ec;
  color: #103556;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: .86rem;
  line-height: 1.3;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem .8rem;
}

.structure-cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.structure-cluster {
  background: #f8fbff;
  border: 1px solid #b8cee4;
  border-radius: 12px;
  padding: .75rem;
}
.structure-cluster h4 {
  margin: 0 0 .45rem;
  font-size: .95rem;
  color: #173f62;
}
.structure-cluster p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
  color: #3f556d;
}

.org-chart {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e5e7eb;
}
.org-block {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 1rem;
}
.org-block h3 {
  margin: 0 0 .7rem;
  color: #15395c;
  font-size: 1.55rem;
}
.org-chip-row {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.org-chip {
  border: 1px solid #9cc9ef;
  background: linear-gradient(180deg, #cae8ff 0%, #9fcef5 100%);
  color: #15395c;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  padding: .55rem .45rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.org-chip-strong { box-shadow: inset 0 0 0 2px #5b9ed6; }
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.org-card {
  border: 1px solid #b5cde3;
  background: #e9f3ff;
  border-radius: 12px;
  overflow: hidden;
}
.org-card h4 {
  margin: 0;
  background: linear-gradient(180deg, #cae8ff 0%, #9fcef5 100%);
  color: #15395c;
  padding: .8rem .9rem;
  font-size: 1.55rem;
  border-bottom: 1px solid #9cc9ef;
}
.org-card ul {
  margin: 0;
  padding: .85rem 1rem 1rem 1.2rem;
}
.org-card li { margin-bottom: .45rem; }

.org-core {
  margin: .35rem 0 1rem;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1rem;
  align-items: center;
}
.org-ring {
  border-radius: 999px;
  border: 1px solid #7baed8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(170, 212, 247, .35);
}
.org-ring-outer { width: 420px; height: 420px; }
.org-ring-mid   { width: 260px; height: 260px; background: rgba(170, 212, 247, .25); }
.org-ring-inner {
  width: 130px; height: 130px;
  background: rgba(170, 212, 247, .3);
  font-weight: 700; color: #15395c;
}
.org-ring-inner span { font-size: 1.05rem; }
.org-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  color: #15395c;
}
.org-label-top { top: 14px; }
.org-label-bottom { bottom: 14px; }
.org-program-list {
  display: grid;
  gap: .5rem;
}
.org-program-list span {
  display: block;
  border: 1px solid #b5cde3;
  background: #e9f3ff;
  border-radius: 8px;
  padding: .5rem .65rem;
  color: #143a60;
  line-height: 1.35;
  font-weight: 600;
}
.org-grid-rural { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.org-grid-rural .org-card h4 { font-size: 1.05rem; line-height: 1.25; }

/* Committee members (grievance page) */
.committee-grid-wrap {
  margin-top: 1.2rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.2rem;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.committee-card {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: .9rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(22, 53, 84, .06);
}
.committee-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: .7rem;
}
.committee-photo {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #d2e6f7;
}
.committee-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.committee-photo.placeholder.female { background: #f6ebff; color: #6e3aa8; }
.committee-photo.placeholder.male { background: #eaf3ff; color: #315d96; }
.committee-photo.placeholder.other { background: #edf2f7; color: #4b5563; }
.committee-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #143a60;
}
.committee-role {
  margin: .3rem 0 .15rem;
  font-size: .84rem;
  color: #5d6d7f;
}
.committee-phone {
  display: inline-block;
  margin-top: .15rem;
  font-size: .87rem;
  font-weight: 600;
  color: #21496e;
  text-decoration: none;
}
.committee-phone:hover { text-decoration: underline; }

/* Awards / Achievements tabs */
.awards-tabs-wrap {
  margin-top: 1.6rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.25rem;
}
.awards-tabs {
  display: flex;
  gap: .6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.aw-tab-btn {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}
.aw-tab-btn.active {
  border-color: #7553A1;
  background: #7553A1;
  color: #fff;
}
.aw-tab-panel { display: none; }
.aw-tab-panel.active { display: block; }
.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.aw-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(17, 24, 39, .05);
}
.aw-media { aspect-ratio: 16 / 9; background: #f3f4f6; }
.aw-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #6b7280;
}
.aw-body { padding: .9rem .95rem 1rem; }
.aw-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #1f2937;
}
.aw-meta {
  margin: .35rem 0 .55rem;
  font-size: .82rem;
  color: #6b7280;
  font-weight: 600;
}
.aw-body p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: #4b5563;
}
.aw-body .read-more {
  display: inline-block;
  margin-top: .5rem;
}

@media (max-width: 1200px) {
  .orgs-staff-grid { grid-template-columns: 1fr 1fr; }
  .structure-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .structure-program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .structure-cluster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .org-grid-rural { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .org-core { grid-template-columns: 1fr; justify-items: center; }
  .committee-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .trustees-grid { grid-template-columns: 1fr; }
  .team-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orgs-wheel { max-width: 620px; }
  .orgs-node { width: 120px; }
  .orgs-node .bubble { width: 100px; height: 100px; font-size: .66rem; }
  .orgs-hub { width: 122px; height: 122px; }
  .orgs-hub-title { font-size: .82rem; }
  .structure-urban-grid { grid-template-columns: 1fr; }
  .structure-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure-cluster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-grid { grid-template-columns: 1fr; }
  .org-grid-rural { grid-template-columns: 1fr 1fr; }
  .org-ring-outer { width: 320px; height: 320px; }
  .org-ring-mid { width: 210px; height: 210px; }
  .org-ring-inner { width: 112px; height: 112px; }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .team-stats-grid { grid-template-columns: 1fr 1fr; }
  .team-table-wrap { overflow-x: auto; }
  .team-table { min-width: 640px; }
  .orgs-staff-grid { grid-template-columns: 1fr; }
  .orgs-wheel {
    aspect-ratio: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    padding: .8rem 0 0;
  }
  .orgs-lines { display: none; }
  .orgs-hub {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 14px;
    padding: .9rem;
  }
  .orgs-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(50% - .4rem);
    margin: 0;
  }
  .orgs-node .bubble {
    width: 92px;
    height: 92px;
  }
  .structure-trust-grid { grid-template-columns: 1fr 1fr; }
  .structure-core-ring { width: 180px; height: 180px; }
  .structure-program-grid,
  .structure-cluster-grid { grid-template-columns: 1fr; }
  .org-grid-rural { grid-template-columns: 1fr; }
  .org-ring-outer { width: 270px; height: 270px; }
  .org-ring-mid { width: 174px; height: 174px; }
  .org-ring-inner { width: 92px; height: 92px; }
  .committee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .orgs-node {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .event-card-img { height: 190px; }
  .past-event-thumb { width: 104px; height: 78px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 220px; }
  .blog-featured-body { padding: 1.5rem; }
  .blog-article-header, .blog-article-body { padding: 0 .5rem; }
}

/* =====================================================
   HOME PAGE – REDESIGN 2026
   ===================================================== */

/* ── Stat Bar (redesigned) ── */
.stat-bar {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, var(--clr-primary-light) 100%);
  padding: 28px 0; color: #fff; position: relative; overflow: hidden;
}
.stat-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.04) 0%, transparent 60%);
}
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.stat-item {
  text-align: center; padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,.18);
  transition: transform .3s var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { transform: translateY(-3px); }
.stat-icon { font-size: 1.4rem; margin-bottom: 4px; display: block; }
.stat-number {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 800;
  line-height: 1; display: inline-block; color: #fff;
  transition: transform .15s ease;
}
.stat-number.popped { animation: statPop .35s ease forwards; }
.stat-label {
  font-size: .7rem; opacity: .85; text-transform: uppercase;
  letter-spacing: .8px; margin-top: 5px; font-weight: 500;
}

/* ── Map Section ── */
.map-section { padding: 72px 0; }
.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  margin-top: 2rem;
}
.map-visual {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  padding: 16px;
  overflow: hidden;
}
.mh-map { width: 100%; height: auto; display: block; }
.mh-state { transition: opacity .3s; }

/* Map pins */
.map-pin { transition: r .3s, opacity .3s; cursor: pointer; }
.map-pin.primary { fill: var(--clr-primary); }
.map-pin.secondary { fill: var(--clr-primary-light); opacity: .8; }
.map-pin.accent { fill: var(--clr-secondary); }
.map-pin:hover { opacity: 1 !important; }
.pin-label { font-family: var(--font-head); pointer-events: none; }
.pin-label-sm { font-family: var(--font-head); pointer-events: none; }

/* Pulse on primary pins */
.map-pin.pulse {
  filter: drop-shadow(0 0 6px rgba(117,83,161,.6));
}

/* Map info panel */
.map-info-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.map-panel-title {
  font-size: 1.1rem; font-family: var(--font-head); font-weight: 700;
  color: var(--clr-dark); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 2px solid var(--clr-bg-alt);
}
.district-group-label {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--clr-muted); margin-bottom: 8px;
}
.district-group-label.primary-label { color: var(--clr-primary); }
.district-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.district-chip {
  padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 500;
  background: var(--clr-bg-alt); color: var(--clr-text);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}
.district-chip:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.district-chip.primary-chip {
  background: rgba(117,83,161,.08); color: var(--clr-primary);
  border-color: rgba(117,83,161,.25); font-weight: 600;
}
.map-quick-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid var(--clr-border);
}
.mqs-item { text-align: center; padding: 10px 6px; background: var(--clr-bg-alt); border-radius: var(--radius-sm); }
.mqs-val { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--clr-primary); }
.mqs-lbl { font-size: .68rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ── Programmatic Themes ── */
.themes-section { padding: 80px 0; }
.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2rem;
}
.theme-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--clr-border);
  padding: 0;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none; color: inherit;
}
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.13);
}
.theme-card-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tc-from), var(--tc-to));
  transition: height .3s var(--ease);
}
.theme-card:hover .theme-card-bar { height: 5px; }

.theme-card-header {
  padding: 24px 24px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.theme-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--tc-light, rgba(117,83,161,.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  transition: transform .3s var(--ease);
}
.theme-card:hover .theme-icon-wrap { transform: scale(1.1) rotate(-3deg); }
.theme-year {
  font-size: .68rem; font-weight: 700; color: var(--tc-from, var(--clr-primary));
  background: var(--tc-light, rgba(117,83,161,.08));
  padding: 3px 10px; border-radius: 12px;
  white-space: nowrap;
}
.theme-card-body { padding: 16px 24px 14px; flex: 1; }
.theme-card-body h3 { font-size: 1rem; margin-bottom: 8px; color: var(--clr-dark); line-height: 1.35; font-weight: 700; }
.theme-card-body p  { font-size: .84rem; color: var(--clr-muted); line-height: 1.65; }
.theme-card-footer  { padding: 12px 24px 20px; }
.theme-learn-more {
  font-size: .85rem; font-weight: 700;
  color: var(--tc-from, var(--clr-primary));
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s;
}
.theme-card:hover .theme-learn-more { gap: 10px; }
.theme-learn-more .arrow { font-size: 1rem; }

/* ── Journey Timeline ── */
.journey-section {
  padding: 80px 0;
  background: #fff;
}
/* ── No more section-level line — lines are drawn segment-by-segment ── */

.timeline {
  position: relative; z-index: 1;
  max-width: 900px; margin: 3rem auto 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 0;          /* gap is handled by connector line height */
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.timeline-item.tl-visible { opacity: 1; transform: none; }

.timeline-item.tl-left  .tl-year     { text-align: right; padding-right: 28px; grid-column: 1; }
.timeline-item.tl-left  .tl-connector{ grid-column: 2; }
.timeline-item.tl-left  .tl-content  { grid-column: 3; padding-left: 28px; margin-bottom: 3rem; }

.timeline-item.tl-right .tl-year     { text-align: left; padding-left: 28px; grid-column: 3; grid-row: 1; }
.timeline-item.tl-right .tl-connector{ grid-column: 2; grid-row: 1; }
.timeline-item.tl-right .tl-content  { grid-column: 1; padding-right: 28px; text-align: right; grid-row: 1; margin-bottom: 3rem; }

.tl-year {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  color: var(--clr-primary); line-height: 1; padding-top: 4px; white-space: nowrap;
}

/* ── Connector column: draws line segments above and below each dot ── */
.tl-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* stretch the full row height so line reaches neighbour dots */
  align-self: stretch;
}

/* Line segment ABOVE the dot */
.tl-connector::before {
  content: '';
  flex: 1;
  width: 2px;
  background: var(--clr-border);
  min-height: 10px;
}

/* Line segment BELOW the dot */
.tl-connector::after {
  content: '';
  flex: 1;
  width: 2px;
  background: var(--clr-border);
  min-height: 10px;
}

/* First milestone: no line ABOVE its dot */
.timeline-item:first-child .tl-connector::before { background: transparent; min-height: 6px; }

/* Last milestone: no line BELOW its dot */
.timeline-item:last-child .tl-connector::after  { background: transparent; min-height: 6px; }
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--clr-primary); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--clr-primary);
  flex-shrink: 0; z-index: 2; margin-top: 6px;
}
.tl-dot.milestone-dot {
  width: 22px; height: 22px;
  background: var(--clr-gold);
  box-shadow: 0 0 0 4px var(--clr-gold), 0 0 20px rgba(212,168,67,.4);
  margin-top: 3px;
}
.tl-dot.active-dot {
  width: 20px; height: 20px;
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px var(--clr-accent), 0 0 20px rgba(196,121,154,.4);
  animation: activePulse 2s infinite;
}
@keyframes activePulse {
  0%,100% { box-shadow: 0 0 0 4px var(--clr-accent), 0 0 12px rgba(196,121,154,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(196,121,154,.2), 0 0 24px rgba(196,121,154,.6); }
}

.tl-content {
  background: var(--clr-bg-alt); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.tl-content:hover { box-shadow: var(--shadow-md); border-color: rgba(117,83,161,.25); }
.milestone-content {
  background: linear-gradient(135deg, #fef9e6, #fef3c7);
  border-color: rgba(212,168,67,.35);
}
.active-content {
  background: linear-gradient(135deg, rgba(196,121,154,.08), rgba(117,83,161,.06));
  border-color: rgba(196,121,154,.3);
}
.tl-badge {
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  background: rgba(117,83,161,.12); color: var(--clr-primary); margin-bottom: 6px;
}
.tl-badge.milestone-badge { background: rgba(212,168,67,.18); color: #8a6200; }
.tl-badge.active-badge    { background: rgba(196,121,154,.18); color: #8a3060; }
.tl-content h4 { font-size: .98rem; margin-bottom: 6px; color: var(--clr-dark); }
.tl-content p  { font-size: .83rem; color: var(--clr-muted); line-height: 1.65; margin: 0; }

/* ── Testimonials ── */
.testimonials-section { padding: 80px 0; }
.testi-slider-wrap { max-width: 760px; margin: 2rem auto 0; }
.testi-slider { position: relative; min-height: 260px; }

.testi-card {
  display: none; flex-direction: column; gap: 20px;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.testi-card.active {
  display: flex;
  animation: testiIn .5s var(--ease) both;
}
@keyframes testiIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
}
.testi-quote-icon {
  font-family: Georgia, serif; font-size: 5rem; line-height: .8;
  color: rgba(117,83,161,.15); user-select: none;
  position: absolute; top: 20px; right: 28px;
}
.testi-quote {
  font-size: 1rem; line-height: 1.8; color: var(--clr-text);
  font-style: italic; position: relative; z-index: 1; margin: 0;
}
.testi-author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--clr-border);
  padding-top: 18px; margin-top: 4px;
}
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  display: flex; align-items: center; justify-content: center;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-initials { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.testi-meta { display: flex; flex-direction: column; gap: 2px; }
.testi-meta strong { font-size: .95rem; color: var(--clr-dark); font-family: var(--font-head); }
.testi-meta span    { font-size: .8rem; color: var(--clr-muted); }
.testi-meta .testi-org { color: var(--clr-primary); font-size: .75rem; font-weight: 600; }

.testi-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 24px;
}
.testi-prev, .testi-next {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--clr-border);
  color: var(--clr-primary); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.testi-prev:hover, .testi-next:hover {
  background: var(--clr-primary); color: #fff; border-color: var(--clr-primary);
  transform: scale(1.08);
}
.testi-dots { display: flex; gap: 7px; align-items: center; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clr-border); border: none; cursor: pointer; transition: var(--transition);
}
.testi-dot.active { background: var(--clr-primary); width: 22px; border-radius: 4px; }

/* ── CTA Section ── */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-primary-dark) 50%, var(--clr-primary) 100%);
  padding: 70px 0;
}
.cta-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 50%, rgba(255,255,255,.04) 0%, transparent 40%),
                    radial-gradient(circle at 90% 20%, rgba(196,121,154,.1) 0%, transparent 40%),
                    radial-gradient(circle at 60% 80%, rgba(212,168,67,.06) 0%, transparent 30%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-text { flex: 1; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }

/* =====================================================
   RESPONSIVE – HOME PAGE NEW SECTIONS
   ===================================================== */
@media (max-width: 1100px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout  { grid-template-columns: 1fr; }
  .map-info-panel { max-width: 540px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .stat-bar .container { grid-template-columns: repeat(3, 1fr); }
  .hero-slider { height: 520px; }
  .timeline-item {
    grid-template-columns: 40px 1fr;
    margin-bottom: 0;
  }
  .timeline-item.tl-left  .tl-year,
  .timeline-item.tl-right .tl-year {
    grid-column: 2; grid-row: 1; text-align: left;
    padding: 0 0 6px 0; font-size: 1.2rem; padding-bottom: 0;
  }
  .timeline-item.tl-left  .tl-connector,
  .timeline-item.tl-right .tl-connector { grid-column: 1; grid-row: 1 / 3; }
  .timeline-item.tl-left  .tl-content,
  .timeline-item.tl-right .tl-content {
    grid-column: 2; grid-row: 2; padding: 0; text-align: left; margin-bottom: 2rem;
  }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .stat-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(5) { grid-column: 1 / -1; border-right: none; }
  .themes-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 24px 20px; }
  .testi-quote { font-size: .92rem; }
  .hero-slider { height: 460px; }
}
@media (max-width: 480px) {
  .stat-bar .container { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(5) { border-right: none; border-bottom: none; grid-column: 1 / -1; }
  .nav-logo-text .org-sub { display: none; }
  .nav-logo img { height: 48px; width: 48px; }
}

/* =====================================================
   PROGRAMMATIC THEMES – PILL LIST STYLE (2026)
   ===================================================== */

/* Remove old card-grid styles conflicts */
.themes-grid { display: none !important; }

/* ── Section wrapper with subtle mandala/topographic bg ── */
.themes-section { padding: 0; }

.themes-pattern-bg {
  position: relative;
  padding: 80px 0;
  background-color: #F2EDF7;
  overflow: hidden;
}
/* Topographic concentric-ring pattern via CSS */
.themes-pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(117,83,161,.07) 0%,  transparent 55%),
    radial-gradient(ellipse at 20% 50%, rgba(196,121,154,.05) 0%, transparent 50%),
    repeating-radial-gradient(
      ellipse at 88% 48%,
      transparent 0px,
      transparent 28px,
      rgba(117,83,161,.055) 29px,
      transparent 30px
    ),
    repeating-radial-gradient(
      ellipse at 88% 48%,
      transparent 0px,
      transparent 58px,
      rgba(117,83,161,.04) 59px,
      transparent 60px
    ),
    repeating-radial-gradient(
      ellipse at 88% 48%,
      transparent 0px,
      transparent 88px,
      rgba(117,83,161,.03) 89px,
      transparent 90px
    );
  pointer-events: none;
}

/* ── Two-column layout: sidebar left, pills right ── */
.themes-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Sidebar ── */
.themes-sidebar .tag   { margin-bottom: 10px; }
.themes-sidebar h2     { margin-bottom: 14px; }
.themes-sidebar p      { color: var(--clr-muted); font-size: .94rem; line-height: 1.75; }

/* ── Pill list ── */
.themes-pill-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1.5px solid rgba(117,83,161,.12);
  border-radius: 999px;          /* full capsule */
  padding: 14px 22px 14px 14px;
  text-decoration: none;
  color: var(--clr-text);
  transition: transform .28s var(--ease),
              box-shadow .28s var(--ease),
              border-color .28s var(--ease);
  box-shadow: 0 2px 12px rgba(117,83,161,.07);
  cursor: pointer;
}
.theme-pill:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(117,83,161,.18);
  border-color: var(--clr-primary);
}

/* Double-circle bullet */
.pill-bullet {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition: border-color .28s, background .28s;
}
.pill-bullet-inner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--clr-primary);
  transition: background .28s, transform .28s;
}
.theme-pill:hover .pill-bullet {
  background: var(--clr-primary);
  border-color: var(--clr-primary-dark);
}
.theme-pill:hover .pill-bullet-inner {
  background: #fff;
  transform: scale(1.1);
}

/* Pill text */
.pill-text {
  flex: 1;
  font-size: 1.08rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--clr-dark);
  line-height: 1.3;
}
.pill-text em {
  font-style: italic;
  font-weight: 800;
  color: var(--clr-primary);
  margin-right: 4px;
}

/* "Since" badge */
.pill-since {
  font-size: .68rem;
  font-weight: 700;
  color: var(--clr-accent);
  background: rgba(196,121,154,.1);
  padding: 2px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Arrow */
.pill-arrow {
  font-size: 1.1rem;
  color: var(--clr-primary);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.theme-pill:hover .pill-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .themes-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .themes-sidebar { text-align: center; }
  .themes-sidebar .section-divider { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .pill-text { font-size: .95rem; }
  .theme-pill { gap: 14px; padding: 12px 16px 12px 12px; }
  .pill-bullet { width: 40px; height: 40px; }
  .pill-bullet-inner { width: 20px; height: 20px; }
  .pill-since { display: none; }
  .themes-pattern-bg { padding: 56px 0; }
}

/* =====================================================
   LEAFLET DISTRICT MAP — full-width
   ===================================================== */
#mh-district-map.leaflet-container { background: #EDE8F7 !important; }
.leaflet-control-attribution { display: none; }
/* Soften the default zoom control */
.leaflet-control-zoom a {
  color: #5A3D80 !important;
  font-weight: 700;
}

/* Full-width wrapper */
.map-fullwidth-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(45,27,71,.10);
}

.mh-leaflet-map {
  width: 100%;
  /* Maharashtra is ~8.3° wide × 6.5° tall — 16:12.5 ≈ 1.28:1 ratio.
     Use aspect-ratio so the box matches the state shape exactly. */
  aspect-ratio: 16 / 12;
  min-height: 360px;
  max-height: 580px;
  background: #EDE8F7;
}

/* ── Tooltip styles ─────────────────────────────────── */
.mh-dist-label--hover {
  background: rgba(59,32,96,.88) !important;
  border: none !important;
  border-radius: 5px !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.25) !important;
  white-space: nowrap;
}
.mh-dist-label--hover::before { display: none !important; }

/* ── Legend overlay (bottom-left inside map) ─────────── */
.map-overlay-legend {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 500;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(45,27,71,.14);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 160px;
}
.mol-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .75rem;
  font-weight: 500;
  color: #3B2060;
  line-height: 1;
}
.mol-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.mol-dot.mol-head   { background: #3B1F6B; width: 15px; height: 15px; }
.mol-dot.mol-branch { background: #7553A1; }
.mol-dot.mol-field  { background: #C4879A; }
.mol-swatch {
  width: 14px; height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.mol-swatch.mol-active-dist { background: #C4B5E8; border: 1.5px solid #7553A1; }
.mol-swatch.mol-other-dist  { background: #E8E3F5; border: 1.5px solid #B0A0D0; }
.mol-divider {
  height: 1px; background: rgba(59,32,96,.12); margin: 2px 0;
}

/* ── Office popup (Leaflet popup content) ─────────────── */
.mh-popup .leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 6px 24px rgba(45,27,71,.18) !important;
  padding: 0 !important;
  overflow: hidden;
}
.mh-popup .leaflet-popup-content { margin: 0 !important; }
.mh-popup .leaflet-popup-tip-container { margin-top: -1px; }
.mh-office-popup { padding: 14px 16px; font-family: 'Poppins', sans-serif; }
.mhop-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 9px; border-radius: 20px; margin-bottom: 8px;
  color: #fff;
}
.mhop-head   { background: #3B1F6B; }
.mhop-branch { background: #7553A1; }
.mhop-field  { background: #C4879A; }
.mhop-project{ background: #9472BE; }
.mhop-name {
  font-size: .85rem; font-weight: 700;
  color: #1E0A3C; line-height: 1.3; margin-bottom: 6px;
}
.mhop-addr {
  font-size: .73rem; color: #6B5A7E; line-height: 1.45; margin-bottom: 5px;
}
.mhop-city {
  font-size: .73rem; font-weight: 600; color: #7553A1;
}

/* ── Office cards row below map ───────────────────────── */
.map-office-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.moc-card {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid #9472BE;
  box-shadow: 0 2px 12px rgba(45,27,71,.07);
  transition: var(--transition);
}
.moc-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,27,71,.13); }
.moc-head   { border-color: #3B1F6B; }
.moc-branch { border-color: #7553A1; }
.moc-field  { border-color: #C4879A; }
.moc-badge {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #9472BE; margin-bottom: 5px;
}
.moc-head   .moc-badge { color: #3B1F6B; }
.moc-branch .moc-badge { color: #7553A1; }
.moc-field  .moc-badge { color: #C4879A; }
.moc-name {
  font-size: .82rem; font-weight: 700; color: #1E0A3C;
  line-height: 1.35; margin-bottom: 6px;
}
.moc-location {
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem; color: #6B5A7E; font-weight: 500;
}
.moc-location svg { flex-shrink: 0; color: #9472BE; }

@media (max-width: 768px) {
  .mh-leaflet-map { aspect-ratio: 16 / 13; min-height: 280px; max-height: 420px; }
  .map-overlay-legend { bottom: 10px; left: 10px; padding: 9px 12px; gap: 5px; }
  .mol-item { font-size: .68rem; }
  .map-office-cards { gap: 8px; }
  .moc-card { flex: 1 1 160px; }
}
@media (max-width: 480px) {
  .mh-leaflet-map { aspect-ratio: 4 / 3; min-height: 240px; }
  .map-overlay-legend { display: none; }
}
