/* ================================================================
   TCF SITE v2 — DESIGN ENHANCEMENTS
   Polished, vibrant, modern corporate movement
   ================================================================ */

/* ── NAV OVERRIDES ── */
.nav-logo-text { display: none; }
.nav-logo img  { height: 78px; }

/* ── FOOTER LOGO FIX ── */
.footer-brand img {
  filter: none;
  height: 60px;
  background: white;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: inline-block;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── PATTERN BACKGROUNDS ── */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(139,90,150,0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(139,90,150,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,90,150,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ================================================================
   SPLIT HERO (index.html — replaces old home-hero)
   ================================================================ */
.split-hero {
  display: flex;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  /* margin-top removed — ticker-bar on home page provides nav clearance */
  position: relative;
}

.split-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  cursor: pointer;
  min-width: 80px;
}

.split-hero:has(.split-panel:hover) .split-panel { flex: 0.5; }
.split-panel:hover                               { flex: 1.9 !important; }

.split-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-panel:hover .split-bg { transform: scale(1.05); }

.split-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s;
}

.split-panel--heritage .split-overlay {
  background: linear-gradient(to top, rgba(26,10,40,0.88) 0%, rgba(26,10,40,0.35) 55%, rgba(26,10,40,0.15) 100%);
}

.split-panel--impact .split-overlay {
  background: linear-gradient(to top, rgba(10,25,40,0.9) 0%, rgba(10,25,40,0.35) 55%, rgba(10,25,40,0.1) 100%);
}

.split-panel:hover .split-overlay { opacity: 0.95; }

/* Vertical label strip (collapsed state) */
.split-vert-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: opacity 0.3s;
  z-index: 3;
  pointer-events: none;
}

.split-panel:hover .split-vert-label { opacity: 0; }

/* Content that slides up on hover */
.split-content {
  position: relative;
  z-index: 4;
  padding: 0 52px 56px;
  color: white;
  width: 100%;
}

.split-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50px;
  padding: 5px 16px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.08);
  margin-bottom: 14px;
  transition: all 0.35s;
}

.split-panel:hover .split-category {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
  color: white;
}

.split-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 460px;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.split-panel:hover .split-title { transform: translateY(0); }

.split-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}

.split-panel:hover .split-desc { opacity: 1; transform: translateY(0); }

.split-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  padding: 12px 26px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.12);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s 0.15s;
}

.split-panel:hover .split-cta { opacity: 1; transform: translateY(0); }
.split-cta:hover { background: rgba(255,255,255,0.28); border-color: white; }

.split-cta i { transition: transform 0.3s; }
.split-cta:hover i { transform: translateX(4px); }

/* Divider between panels */
.split-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.28);
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s, left 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.split-hero:has(.split-panel:hover) .split-divider { opacity: 0; }

/* ── STATS BAR (below split hero on homepage) ── */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0;
  box-shadow: 0 4px 24px rgba(139,90,150,0.08);
}

.stats-bar-inner {
  display: flex;
  divide-x: 1px;
}

.stat-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.stat-bar-item:last-child { border-right: none; }
.stat-bar-item:hover { background: var(--purple-light); }

.stat-bar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-bar-icon--purple { background: var(--purple-light); color: var(--purple); }
.stat-bar-icon--blue   { background: var(--blue-light);   color: var(--blue); }
.stat-bar-icon--green  { background: var(--green-light);  color: var(--green); }

.stat-bar-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.stat-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

/* ── HOMEPAGE — enhanced sections ── */

/* Feature strip (replaces old page-nav-section) */
.feature-strip {
  padding: 80px 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue-dark) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: var(--radius-lg);
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover .feature-icon,
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover .feature-arrow { color: white; }

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature-icon {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.feature-arrow {
  font-size: 1rem;
  color: var(--purple);
  margin-top: 20px;
  position: relative;
  z-index: 1;
  transition: color 0.3s, transform 0.3s;
}

.feature-card:hover .feature-arrow { transform: translateX(5px); }

/* Activity section enhanced */
.activity-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-card-v2 {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
  margin-bottom: 10px;
}

.activity-card-v2:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.activity-num-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-card-v2:nth-child(2) .activity-num-badge { background: var(--blue-light); color: var(--blue); }
.activity-card-v2:nth-child(3) .activity-num-badge { background: var(--green-light); color: var(--green); }
.activity-card-v2:nth-child(4) .activity-num-badge { background: var(--purple-light); color: var(--purple); }
.activity-card-v2:nth-child(5) .activity-num-badge { background: var(--blue-light); color: var(--blue); }

.activity-card-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.activity-card-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.activity-tag-v2 {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-training   { background: #fff0e6; color: #d4620a; }
.tag-exposure   { background: var(--blue-light); color: var(--blue); }
.tag-advocacy   { background: var(--purple-light); color: var(--purple); }
.tag-policy     { background: var(--green-light); color: var(--green); }

/* Mission strip upgraded */
.mission-strip-v2 {
  padding: 96px 0;
  background: linear-gradient(135deg, #1a0f2e 0%, #0f1e3a 60%, #0d2818 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-strip-v2::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,90,150,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.mission-strip-v2::after {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(139,90,150,0.06);
  line-height: 1;
  pointer-events: none;
}

.mission-strip-v2 blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: white;
  line-height: 1.5;
  max-width: 860px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.mission-strip-v2 blockquote em {
  font-style: normal;
  color: var(--purple-mid);
}

.mission-strip-v2 cite {
  font-size: 0.82rem;
  font-style: normal;
  opacity: 0.5;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Stats section — dark enhanced */
.stats-section-dark {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 40%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.stats-section-dark .stat-block {
  position: relative;
  z-index: 1;
}

.stats-section-dark .stat-value {
  color: white;
  font-size: 3.5rem;
}

.stats-section-dark .stat-label {
  color: rgba(255,255,255,0.65);
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

.stats-section-dark .grid-4 {
  align-items: center;
}

/* ================================================================
   HERITAGE PAGE ENHANCEMENTS
   ================================================================ */

/* Full-bleed intro with image */
.heritage-hero-band {
  background: var(--text);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.heritage-hero-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.heritage-hero-band-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.heritage-hero-band-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

/* Photo with overlapping caption */
.photo-stack {
  position: relative;
  padding: 16px 16px 0 0;
}

.photo-stack-main {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.photo-stack-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--purple);
  color: white;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  max-width: 200px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* Pull quote band */
.pull-quote-band {
  background: var(--purple);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pull-quote-band::before {
  content: '"';
  position: absolute;
  top: -30px; left: 80px;
  font-family: var(--font-display);
  font-size: 14rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}

.pull-quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pull-quote-band cite {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Culture cards with image backgrounds */
.culture-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.culture-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.culture-card:hover .culture-card-bg { transform: scale(1.05); }

.culture-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,40,0.88) 0%, transparent 55%);
}

.culture-card-content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  color: white;
}

.culture-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: white;
}

.culture-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.culture-card-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* Geo grid enhanced */
.geo-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.geo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.geo-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transform: scaleX(0);
  transition: transform 0.35s;
}

.geo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.geo-card:hover::after { transform: scaleX(1); }

.geo-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.geo-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 6px;
}

.geo-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* Timeline — enhanced */
.timeline-v2 {
  position: relative;
  padding-left: 52px;
}

.timeline-v2::before {
  content: '';
  position: absolute;
  left: 14px; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(to bottom, var(--purple), var(--blue), var(--green));
  border-radius: 3px;
}

.timeline-item-v2 {
  position: relative;
  margin-bottom: 44px;
}

.timeline-item-v2:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -42px; top: 2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(139,90,150,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--purple);
  z-index: 1;
}

.tl-year {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 5px;
}

.timeline-item-v2 h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-item-v2 p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.78;
}

/* ================================================================
   IMPACT PAGE ENHANCEMENTS
   ================================================================ */

/* Stat shock bar */
.impact-shock-bar {
  background: var(--text);
  color: white;
  padding: 0;
  border-bottom: 3px solid var(--purple);
}

.impact-shock-inner {
  display: flex;
}

.shock-item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.shock-item:last-child { border-right: none; }

.shock-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shock-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
}

/* Impact image-backed section */
.impact-section-visual {
  padding: 80px 0;
  background: var(--bg-soft);
}

.impact-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.impact-visual-img {
  position: relative;
  min-height: 360px;
}

.impact-visual-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.impact-visual-text {
  background: var(--text);
  color: white;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-visual-text .section-label { color: var(--purple-mid); }
.impact-visual-text .section-title { color: white; }
.impact-visual-text p { color: rgba(255,255,255,0.75); line-height: 1.85; font-size: 0.95rem; margin-bottom: 16px; }

/* Challenge cards — upgraded */
.challenge-card-v2 {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.challenge-card-v2:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.challenge-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.challenge-card-body {
  padding: 28px;
}

.challenge-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.challenge-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 14px;
}

.challenge-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.challenge-card-body ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.challenge-card-body ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

/* Demands — upgraded */
.demands-section {
  background: var(--text);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.demands-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,90,150,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.demands-section .section-label { color: var(--purple-mid); }
.demands-section .section-title { color: white; }
.demands-section .section-sub { color: rgba(255,255,255,0.6); }

.demand-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.demand-item-v2 {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.demand-item-v2:hover {
  background: rgba(139,90,150,0.15);
  border-color: rgba(139,90,150,0.4);
  transform: translateY(-2px);
}

.demand-item-num-v2 {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--purple);
  color: white;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demand-item-v2 h4 {
  font-weight: 700;
  font-size: 0.92rem;
  color: white;
  margin-bottom: 6px;
}

.demand-item-v2 p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ================================================================
   MEDIA HUT — COMPLETE REDESIGN
   ================================================================ */
.mediahub-hero {
  background: linear-gradient(135deg, #1a0f2e 0%, #0f1e3a 100%);
  padding-top: var(--nav-h);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.mediahub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,90,150,0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.mediahub-hero-content {
  padding: 80px 0 64px;
  position: relative;
  z-index: 2;
}

.mediahub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.mediahub-hero .hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.75;
}

/* Filter bar — modern pill design */
.mediahub-filter-bar {
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  backdrop-filter: blur(16px);
}

.mediahub-filter-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mediahub-filter-inner::-webkit-scrollbar { display: none; }

.mhf-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 26px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.mhf-btn:hover { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.2); }

.mhf-btn.active {
  color: white;
  border-bottom-color: var(--purple);
  background: rgba(139,90,150,0.08);
}

.mhf-count {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}

.mhf-btn.active .mhf-count {
  background: var(--purple);
  color: white;
}

/* Gallery section (dark bg) */
.mediahub-gallery-section {
  background: #100820;
  padding: 48px 0 80px;
}

/* Gallery masonry grid */
.mh-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (min-width: 1400px) {
  .mh-gallery { grid-template-columns: repeat(5, 1fr); }
}

.mh-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #1e1030;
  aspect-ratio: 1;
}

.mh-item:nth-child(5n+1) { aspect-ratio: 1.25; }
.mh-item:nth-child(7n+3) { aspect-ratio: 0.85; }

.mh-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mh-item:hover img { transform: scale(1.08); }

.mh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,5,20,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  align-items: flex-start;
}

.mh-item:hover .mh-overlay { opacity: 1; }

.mh-caption {
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  line-height: 1.4;
}

.mh-zoom-icon {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s;
}

.mh-item:hover .mh-zoom-icon { opacity: 1; transform: scale(1); }

/* Category tabs section */
.mediahub-cats {
  padding: 80px 0;
  background: var(--bg-soft);
}

.cat-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.cat-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cat-card-body { padding: 24px; }

.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cat-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

.cat-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
}

/* Lightbox — enhanced */
.lightbox-v2 {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 2, 15, 0.96);
  align-items: center;
  justify-content: center;
}

.lightbox-v2.is-open { display: flex; }

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lb-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 80px rgba(0,0,0,0.6);
}

.lb-caption {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-top: 16px;
  text-align: center;
  max-width: 600px;
}

.lb-close {
  position: fixed;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }

.lb-nav-btn {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-nav-btn:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-counter {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ================================================================
   ABOUT PAGE ENHANCEMENTS
   ================================================================ */

/* Vision/Mission as full-color cards */
.vm-card-v2 {
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}

.vm-card-v2--vision {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
}

.vm-card-v2--mission {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
}

.vm-card-v2::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.vm-icon-v2 {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}

.vm-card-v2 h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.vm-card-v2 p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
}

/* Forum cards — vibrant */
.forum-card-v2 {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.forum-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.forum-card-v2:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.forum-card-v2:hover::before { opacity: 1; }
.forum-card-v2:hover .forum-card-body h3 { color: white; }
.forum-card-v2:hover .forum-card-body p  { color: rgba(255,255,255,0.8); }
.forum-card-v2:hover .forum-icon-v2      { background: rgba(255,255,255,0.2); color: white; }

/* Color variants for forum cards */
.fc-youth  { background: #faf0fe; border-color: rgba(139,90,150,0.15); }
.fc-youth::before  { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.fc-women  { background: #fff0f8; border-color: rgba(200,80,150,0.15); }
.fc-women::before  { background: linear-gradient(135deg, #c0507a, #8b2060); }
.fc-law    { background: #f0f4ff; border-color: rgba(68,114,183,0.15); }
.fc-law::before    { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.fc-media  { background: #fff7ed; border-color: rgba(200,120,50,0.15); }
.fc-media::before  { background: linear-gradient(135deg, #d4750a, #a05008); }
.fc-ngo    { background: #f0fff5; border-color: rgba(34,67,53,0.15); }
.fc-ngo::before    { background: linear-gradient(135deg, var(--green-mid), var(--green)); }
.fc-acad   { background: #f0f9ff; border-color: rgba(10,100,150,0.15); }
.fc-acad::before   { background: linear-gradient(135deg, #0a6496, #064070); }
.fc-write  { background: #fffbf0; border-color: rgba(180,140,50,0.15); }
.fc-write::before  { background: linear-gradient(135deg, #b48c32, #806020); }
.fc-biz    { background: #f4f9ff; border-color: rgba(50,100,180,0.15); }
.fc-biz::before    { background: linear-gradient(135deg, #3264b4, #1e4080); }

.forum-icon-v2 {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.fc-youth .forum-icon-v2  { background: rgba(139,90,150,0.12); color: var(--purple); }
.fc-women .forum-icon-v2  { background: rgba(200,80,150,0.12); color: #c0507a; }
.fc-law   .forum-icon-v2  { background: rgba(68,114,183,0.12); color: var(--blue); }
.fc-media .forum-icon-v2  { background: rgba(200,120,50,0.12); color: #d4750a; }
.fc-ngo   .forum-icon-v2  { background: rgba(34,67,53,0.12);   color: var(--green-mid); }
.fc-acad  .forum-icon-v2  { background: rgba(10,100,150,0.12); color: #0a6496; }
.fc-write .forum-icon-v2  { background: rgba(180,140,50,0.12); color: #b48c32; }
.fc-biz   .forum-icon-v2  { background: rgba(50,100,180,0.12); color: #3264b4; }

.forum-card-body { position: relative; z-index: 1; }

.forum-card-body h3 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s;
}

.forum-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color 0.3s;
}

/* Objectives - enhanced */
.objectives-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.obj-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.obj-item:hover {
  border-color: var(--purple);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.obj-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}

.obj-1 .obj-num { background: var(--purple); }
.obj-2 .obj-num { background: var(--blue); }
.obj-3 .obj-num { background: var(--green-mid); }
.obj-4 .obj-num { background: #d4750a; }
.obj-5 .obj-num { background: var(--green); }

.obj-item p { font-size: 0.92rem; color: var(--text-body); line-height: 1.75; }

/* Governance infographic */
.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.governance-node {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}

.governance-node:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: var(--shadow); }

.governance-node-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.gn-purple { background: var(--purple-light); color: var(--purple); }
.gn-blue   { background: var(--blue-light);   color: var(--blue); }
.gn-green  { background: var(--green-light);  color: var(--green); }

.governance-node h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
}

.governance-node p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.governance-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ================================================================
   UPDATED ABOUT HERO — gradient
   ================================================================ */
.about-hero-v2 {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--bg-blue) 50%, var(--green-light) 100%);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.about-hero-v2::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,90,150,0.12) 0%, transparent 65%);
}

.about-hero-v2::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68,114,183,0.1) 0%, transparent 65%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}

.about-hero-content .hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
}

.about-hero-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-hero-pill {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.ahp-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ahp-icon--p { background: var(--purple-light); color: var(--purple); }
.ahp-icon--b { background: var(--blue-light);   color: var(--blue); }
.ahp-icon--g { background: var(--green-light);  color: var(--green); }

.ahp-text strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.ahp-text span   { font-size: 0.78rem; color: var(--text-muted); }

/* ================================================================
   RESPONSIVE OVERRIDES
   ================================================================ */
@media (max-width: 1024px) {
  .split-hero { height: 75vh; }
  .feature-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .mh-gallery { grid-template-columns: repeat(3, 1fr); }
  .governance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .split-hero { height: auto; flex-direction: column; }
  .split-panel { flex: none !important; min-height: 50vh; }
  .split-hero:has(.split-panel:hover) .split-panel { flex: none !important; }
  .split-content { padding: 0 28px 40px; }
  .split-title { font-size: 1.8rem; }
  .split-desc { opacity: 1; transform: none; }
  .split-cta { opacity: 1; transform: none; }
  .split-vert-label { display: none; }
  .split-divider { display: none; }

  .stats-bar-inner { flex-wrap: wrap; }
  .stat-bar-item { flex: 0 0 50%; border-right: 1px solid var(--border); }
  .stat-bar-item:nth-child(even) { border-right: none; }
  .stat-bar-item:nth-child(3),
  .stat-bar-item:nth-child(4) { border-top: 1px solid var(--border); }

  .feature-strip-grid { grid-template-columns: 1fr; }
  .geo-grid-v2 { grid-template-columns: 1fr 1fr; }
  .impact-visual-grid { grid-template-columns: 1fr; }
  .demand-grid-v2 { grid-template-columns: 1fr; }
  .about-hero-content { grid-template-columns: 1fr; }
  .governance-grid { grid-template-columns: 1fr 1fr; }
  .mh-gallery { grid-template-columns: repeat(2, 1fr); }
  .mediahub-filter-bar { position: relative; top: 0; }
  .shock-item { padding: 20px 14px; }
  .shock-num { font-size: 2rem; }
  .heritage-hero-band-content { grid-template-columns: 1fr; }
  .forums-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   CHAIRPERSON'S MESSAGE STRIP
   ================================================================ */
.chair-msg-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.chair-msg-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid, #a366b4);
  margin-bottom: 20px;
}
.chair-blockquote {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.75;
  color: white;
  font-style: italic;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
}
.chair-cite {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ================================================================
   NETWORK LOGO STRIP (above footer)
   ================================================================ */
.network-strip {
  background: linear-gradient(90deg, #0a0515 0%, #100820 50%, #0a0515 100%);
  border-top: 1px solid rgba(139,90,150,0.18);
  border-bottom: 1px solid rgba(139,90,150,0.18);
  padding: 18px 0;
  overflow: hidden;
}
.network-strip-label { display: none; }
.network-logos-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.network-logos-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: networkScroll 40s linear infinite;
  width: max-content;
}
.network-logos-inner:hover { animation-play-state: paused; }
.network-logo-item {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 10px 28px;
  border: 1px solid rgba(139,90,150,0.25);
  border-radius: 6px;
  background: rgba(139,90,150,0.06);
  margin: 0 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: default;
}
.network-logo-item:hover {
  color: rgba(255,255,255,0.9);
  border-color: rgba(139,90,150,0.5);
  background: rgba(139,90,150,0.14);
}
.network-logo-sep {
  color: rgba(139,90,150,0.3);
  font-size: 1.2rem;
  padding: 0 4px;
}
@keyframes networkScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   NAV DROPDOWN (Impact → Progress)
   ================================================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > a .dd-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s;
}
.nav-dropdown:hover > a .dd-arrow,
.nav-dropdown.is-open > a .dd-arrow {
  transform: rotate(180deg);
}
/* invisible bridge so mouse can travel from link → menu without gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 14px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 190px;
  background: #130a22;
  border: 1px solid rgba(139,90,150,0.3);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  /* open fast, close slowly — 300ms delay on fade-out */
  transition: opacity 0.18s ease, transform 0.18s ease;
  transition-delay: 0s, 0s;
  z-index: 500;
}
/* when leaving, delay the close by 280ms so cursor can reach menu */
.nav-dropdown:not(:hover) .nav-dropdown-menu {
  transition-delay: 280ms;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(139,90,150,0.18);
  color: #fff;
}
.nav-dropdown-menu a i {
  color: var(--purple-mid, #a366b4);
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
}

/* ================================================================
   PROGRESS PAGE STYLES
   ================================================================ */
.progress-hero {
  background: linear-gradient(135deg, #05020f 0%, #0d0618 50%, #05020f 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.progress-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 40%, rgba(60,30,90,0.4) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 60%, rgba(20,50,120,0.25) 0%, transparent 70%);
}
.progress-hero-content { position: relative; z-index: 1; }
.progress-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* Issue section tabs */
.progress-issue-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.pit-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(139,90,150,0.3);
  background: rgba(139,90,150,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pit-tab.active, .pit-tab:hover {
  background: var(--purple, #6b3fa0);
  border-color: var(--purple, #6b3fa0);
  color: white;
}

/* Progress stat boxes */
.progress-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}
@media (max-width: 900px) { .progress-stats-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .progress-stats-row { grid-template-columns: 1fr; } }
.progress-stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}
.progress-stat-box .psb-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple-mid, #a366b4);
  display: block;
  margin-bottom: 6px;
}
.progress-stat-box .psb-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.progress-stat-box.green .psb-num { color: #6bc88a; }
.progress-stat-box.red .psb-num   { color: #e07070; }
.progress-stat-box.blue .psb-num  { color: #7aaeff; }

/* Issue section layout */
.progress-issue-section {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.progress-issue-section:last-of-type { border-bottom: none; }
.progress-issue-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.progress-issue-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.progress-issue-icon.coal  { background: rgba(180,120,40,0.15); color: #e8a040; }
.progress-issue-icon.rail  { background: rgba(40,100,180,0.15); color: #7aaeff; }
.progress-issue-icon.tcf   { background: rgba(139,90,150,0.15); color: #a366b4; }
.progress-issue-meta h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: white; margin-bottom: 6px; }
.progress-issue-meta p  { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Timeline for TCF initiatives */
.tcf-initiative-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .tcf-initiative-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tcf-initiative-grid { grid-template-columns: 1fr; } }
.initiative-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.initiative-card:hover {
  border-color: rgba(139,90,150,0.35);
  background: rgba(139,90,150,0.06);
}
.initiative-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139,90,150,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #a366b4;
  margin-bottom: 16px;
}
.initiative-card h3 { font-size: 1rem; color: white; margin-bottom: 10px; }
.initiative-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.initiative-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(139,90,150,0.15);
  color: #a366b4;
  text-transform: uppercase;
}

/* Block status pills */
.block-status-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 28px 0;
}
@media (max-width: 700px) { .block-status-grid { grid-template-columns: 1fr 1fr; } }
.block-pill {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid;
  font-size: 0.82rem;
}
.block-pill.active   { border-color: rgba(107,200,138,0.3); background: rgba(107,200,138,0.07); }
.block-pill.planning { border-color: rgba(255,200,80,0.3);  background: rgba(255,200,80,0.07); }
.block-pill.proposed { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.block-pill-name { font-weight: 700; color: white; display: block; margin-bottom: 4px; }
.block-pill-cap  { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
.block-pill-dot  { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.block-pill.active .block-pill-dot   { background: #6bc88a; }
.block-pill.planning .block-pill-dot { background: #ffc850; }
.block-pill.proposed .block-pill-dot { background: rgba(255,255,255,0.25); }

/* Heritage natural resources section */
.nat-res-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .nat-res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nat-res-grid { grid-template-columns: 1fr; } }
.nat-res-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.nat-res-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nat-res-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.nat-res-card:hover::after { transform: scaleX(1); }
.nat-res-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.nat-res-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}
.nat-res-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.72; }
.nat-res-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}
.nat-res-badge.green  { background: rgba(34,120,60,0.1);  color: #1e7a3c; }
.nat-res-badge.amber  { background: rgba(180,100,10,0.1); color: #a05c0a; }
.nat-res-badge.purple { background: rgba(107,50,160,0.1); color: var(--purple); }
.nat-res-badge.blue   { background: rgba(40,90,180,0.1);  color: #1e54a8; }

/* ── Water System Modal ──────────────────────────────── */
.nat-res-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  margin-bottom: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: gap 0.2s, opacity 0.2s;
}
.nat-res-readmore:hover { gap: 9px; opacity: 0.75; }

.water-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.water-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.water-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,5,25,0.55);
  backdrop-filter: blur(4px);
}
.water-modal-panel {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(.22,1,.36,1);
}
.water-modal.is-open .water-modal-panel {
  transform: translateY(0) scale(1);
}
.water-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.water-modal-close:hover { background: var(--purple-light); color: var(--purple); }
.water-modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.water-modal-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.water-modal-body p:last-child { margin-bottom: 0; }
.water-modal-source {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-style: italic;
}
@media (max-width: 600px) {
  .water-modal-panel { padding: 28px 22px; }
}

/* ── Social Media Sections (Media Hut) ──────────────────── */
.yt-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.yt-video-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.yt-video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.yt-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.yt-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.yt-video-title {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.fb-feed-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── Media Hut Filter Bar — Scroll Arrows & Fade ──────── */
.mhf-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.mediahub-filter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* fade edges to hint scrollability */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 48px,
    black calc(100% - 48px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 48px,
    black calc(100% - 48px),
    transparent 100%
  );
  padding: 0 4px;
}
.mediahub-filter-inner::-webkit-scrollbar { display: none; }

.mhf-scroll-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, opacity 0.18s;
  z-index: 2;
}
.mhf-scroll-arrow:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}
.mhf-scroll-arrow.mhf-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Tab button base */
.mhf-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.mhf-btn:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}
.mhf-btn.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}
.mhf-count {
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 0.75rem;
}
.mhf-btn.active .mhf-count {
  background: rgba(255,255,255,0.25);
}
/* Social tabs (YouTube/Facebook) get slightly distinct treatment */
.mhf-social-tab {
  border-color: rgba(255,255,255,0.1);
}

/* ── Filter bar social/activity divider ── */
.mhf-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── Activity Event Sections ─────────────────────────── */
.mh-activity-section {
  background: #0a0514;
  padding: 64px 0 80px;
  color: white;
}
.mh-activity-section .container {
  max-width: 1160px;
}

.mh-activity-header {
  margin-bottom: 48px;
}
.mh-activity-header .mh-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 10px;
}
.mh-activity-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
}

/* Event block: two-column layout */
.mh-event-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mh-event-block + .mh-event-block {
  margin-top: 8px;
}

/* Left: event info */
.mh-event-info {
  position: sticky;
  top: 104px;
}
.mh-event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,90,150,0.2);
  border: 1px solid rgba(139,90,150,0.35);
  color: var(--purple-mid);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.mh-event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.35;
}
.mh-event-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin-bottom: 20px;
}
.mh-event-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mh-event-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.mh-event-stat i {
  color: var(--purple-mid);
  width: 14px;
  text-align: center;
}

/* Right: photo grid */
.mh-event-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.mh-event-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  display: block;
}
.mh-event-photo:hover {
  transform: scale(1.03);
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 860px) {
  .mh-event-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mh-event-info { position: static; }
  .mh-event-photos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ─────────────────────────────────────────
   TICKER BAR — force purple (overrides any
   var() resolution issue on file:// origins)
───────────────────────────────────────── */
.ticker-bar {
  background: #8B5A96 !important;
  color: #ffffff !important;
  padding: 11px 0 !important;
  overflow: hidden !important;
  position: relative;
  z-index: 10;
}
.ticker-inner {
  display: flex !important;
  align-items: center;
  white-space: nowrap;
  gap: 0;
  animation: ticker-scroll 60s linear infinite !important;
}
.ticker-item {
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   LANGUAGE SELECTOR
───────────────────────────────────────── */

/* Ensure nav-actions aligns everything in a row with breathing room */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Wrapper for positioning the dropdown */
.nav-lang-wrap {
  position: relative;
}

/* Trigger button — visible on white nav background by default */
.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(74,29,122,0.07);
  border: 1px solid rgba(74,29,122,0.22);
  border-radius: 100px;
  padding: 8px 14px 8px 10px;
  color: #4a1d7a;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav-lang-btn:hover {
  background: #4a1d7a;
  border-color: #4a1d7a;
  color: white;
}
.nav-lang-btn.active {
  background: #4a1d7a;
  border-color: #4a1d7a;
  color: white;
}

/* Flag circle */
.nav-lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
  background: transparent;
}

.nav-lang-label {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-lang-arrow {
  font-size: 0.62rem;
  opacity: 0.55;
  transition: transform 0.2s;
  margin-left: 2px;
}
.nav-lang-btn.active .nav-lang-arrow {
  transform: rotate(180deg);
  opacity: 0.85;
}

/* Dropdown panel */
.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 258px;
  background: #1c1030;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(139,90,150,0.12);
  z-index: 10000;
  overflow: hidden;
  display: none;
  animation: nldIn 0.18s cubic-bezier(0.34,1.4,0.64,1) both;
}
.nav-lang-dropdown.open {
  display: block;
}
@keyframes nldIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Section headers */
.nld-section-header {
  padding: 10px 16px 5px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  font-family: var(--font-body);
}

/* Scrollable region for world languages */
.nld-scroll {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,90,150,0.35) transparent;
}
.nld-scroll::-webkit-scrollbar { width: 4px; }
.nld-scroll::-webkit-scrollbar-thumb {
  background: rgba(139,90,150,0.35);
  border-radius: 4px;
}

/* Individual language row */
.nld-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.14s;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-body);
}
.nld-item:hover {
  background: rgba(139,90,150,0.2);
  color: white;
}
.nld-item.nld-active {
  background: rgba(139,90,150,0.28);
  color: white;
}

/* Flag circle in dropdown */
.nld-flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Language name + romanised label */
.nld-name {
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.nld-name small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.5;
  font-family: var(--font-body);
}

/* Divider between sections */
.nld-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
}

/* ── Suppress Google Translate toolbar ── */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
#google_translate_element,
.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Mobile: hide lang selector on small screens */
@media (max-width: 680px) {
  .nav-lang-wrap { display: none; }
}

/* ================================================================
   PAGE HEADER BAR — inner pages (replaces empty nav-clearance gap)
   Y1 fix
   ================================================================ */
.page-header-bar {
  margin-top: var(--nav-h, 92px);
  background: linear-gradient(90deg, #4a1d7a 0%, #8B5A96 100%);
  padding: 11px 0;
  position: relative;
  z-index: 9;
  overflow: hidden;
}
.page-header-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}
.page-header-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.page-header-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.page-header-crumb:hover { color: white; }
.page-header-crumb i { font-size: 0.65rem; }
.page-header-sep {
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
}
.page-header-current {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
}

/* ================================================================
   HERITAGE HERO — ensure content clears the fixed nav
   Y6 fix: inner pages with page-header-bar no longer need huge padding,
   but the hero band itself should start with breathing room.
   ================================================================ */
.heritage-hero-band {
  padding-top: 72px !important;
}

/* ================================================================
   MOBILE NAV — close-on-link-click (added in main.js, no CSS needed)
   ================================================================ */

/* ================================================================
   ABOUT PAGE MINI-STATS — counter animation support
   Y4: the .counter class is already handled globally; these cards
   just need the .reveal class added in HTML.
   ================================================================ */
.about-mini-stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  min-width: 90px;
}
.about-mini-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.about-mini-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ================================================================
   HERO GAP STANDARDISATION — all inner pages match Heritage (72px)
   page-header-bar already clears the fixed nav via margin-top.
   Remove the duplicate nav-clearance padding from each hero section.
   ================================================================ */
.mediahub-hero {
  padding-top: 0 !important;
}
.mediahub-hero-content {
  padding-top: 72px !important;
}
.about-hero-v2 {
  padding-top: 0 !important;
}
.about-hero-content {
  padding-top: 72px !important;
}

/* ================================================================
   YOUTUBE LIVE FEED CARDS — Media Hut
   ================================================================ */
.yt-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.yt-video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, border-color 0.2s;
}
.yt-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,0,0,0.4);
}
.yt-thumb-wrap {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #111;
}
.yt-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}
.yt-video-card:hover .yt-play-icon { opacity: 1; }
.yt-play-icon i {
  font-size: 2.5rem;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.yt-card-body {
  padding: 14px 16px 16px;
}
.yt-card-title {
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card-date {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
}
.yt-feed-loading {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.4);
}
.yt-feed-loading i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.yt-feed-error {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.yt-feed-error a { color: #FF6B6B; }

/* ================================================================
   FACEBOOK LIVE EMBED — Media Hut
   ================================================================ */
.fb-embed-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  min-height: 500px;
}

/* ================================================================
   DONATE BUTTON — nav & global
   ================================================================ */
.nav-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8a020 0%, #c8700a 100%);
  color: white !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 12px rgba(200,112,10,0.35);
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.nav-donate-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ================================================================
   CHAIRMAN SECTION — split layout (text left, photo right)
   ================================================================ */
.chair-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}
.chair-text-side { /* holds the quote and button */ }
.chair-photo-frame {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chair-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Left-edge fade blends photo into dark bg */
.chair-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1a0f2e 0%, rgba(26,15,46,0.55) 28%, rgba(26,15,46,0.05) 65%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
/* Bottom-edge fade */
.chair-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,46,0.6) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .chair-layout { grid-template-columns: 1fr; gap: 32px; }
  .chair-photo-frame { height: 260px; }
  .chair-photo-frame::before {
    background: linear-gradient(to bottom, rgba(26,15,46,0.15) 0%, rgba(26,15,46,0.7) 100%);
  }
}

/* ================================================================
   UPCOMING EVENTS CARD — beside Recent Activities
   ================================================================ */
.upcoming-events-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.upcoming-events-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.upcoming-events-head i {
  font-size: 1.1rem;
  color: var(--purple);
}
.upcoming-events-head h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin: 0;
}
.upcoming-event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.upcoming-event-item:last-of-type { border-bottom: none; }
.ue-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  background: var(--purple-light);
  border-radius: 8px;
  text-align: center;
}
.ue-day {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.ue-month {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--purple-mid);
}
.ue-info { flex: 1; }
.ue-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2px;
}
.ue-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.upcoming-events-more {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.upcoming-events-more:hover { color: var(--purple-mid); }

/* ================================================================
   INITIATIVES PAGE STYLES
   ================================================================ */
.initiatives-hero {
  background: linear-gradient(135deg, #1a0f2e 0%, #0f1e3a 60%, #0d1f14 100%);
  padding-top: 0;
  position: relative;
  overflow: hidden;
}
.initiatives-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,90,150,0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.initiatives-hero-content {
  padding: 72px 0 64px;
  position: relative;
  z-index: 2;
}
.initiative-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.initiative-block:last-of-type { border-bottom: none; }
.initiative-block.reverse { direction: rtl; }
.initiative-block.reverse > * { direction: ltr; }
.initiative-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.initiative-badge-purple { background: var(--purple-light); color: var(--purple); }
.initiative-badge-green  { background: var(--green-light);  color: var(--green-mid); }
.initiative-badge-blue   { background: var(--blue-light);   color: var(--blue); }
.initiative-badge-amber  { background: #fff0e0;             color: #c8700a; }
.initiative-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.initiative-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.initiative-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.initiative-stat {
  display: flex;
  flex-direction: column;
}
.initiative-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.initiative-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}
.initiative-image-area {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-blue);
  min-height: 320px;
}
.initiative-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
  min-height: 320px;
}
.initiative-img-slot {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--bg-blue) 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: var(--purple-mid);
  font-size: 0.78rem;
  gap: 8px;
  border: 2px dashed rgba(139,90,150,0.25);
}
.initiative-img-slot i { font-size: 1.5rem; opacity: 0.5; }
.initiative-img-slot.has-image { border: none; padding: 0; overflow: hidden; }
.initiative-img-slot.has-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .initiative-block { grid-template-columns: 1fr; gap: 32px; }
  .initiative-block.reverse { direction: ltr; }
}

/* ═══════════════════════════════════════════════
   DONATE MODAL — Calculator-style donation widget
   ═══════════════════════════════════════════════ */
.donate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.donate-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.donate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 20, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.donate-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.donate-overlay.is-open .donate-panel {
  transform: translateY(0) scale(1);
}
/* Header */
.donate-panel-head {
  background: linear-gradient(135deg, #1a0f2e 0%, #2d1654 100%);
  padding: 28px 28px 24px;
  color: white;
  position: relative;
}
.donate-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.donate-close-btn:hover { background: rgba(255,255,255,0.22); }
.donate-head-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,160,32,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #e8a020;
}
.donate-panel-head h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin: 0 0 6px;
}
.donate-panel-head p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}
/* Body */
.donate-panel-body {
  padding: 24px 24px 28px;
}
/* Toggle */
.donate-mode-toggle {
  display: flex;
  background: #f0ecf6;
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 22px;
  gap: 2px;
}
.donate-mode-btn {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted, #6b7280);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.2px;
}
.donate-mode-btn.active {
  background: white;
  color: var(--purple, #8B5A96);
  box-shadow: 0 2px 8px rgba(139,90,150,0.18);
}
/* Amount grid */
.donate-amounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.donate-amount-btn {
  padding: 12px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text, #1a1a2e);
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
  text-align: center;
  line-height: 1.2;
}
.donate-amount-btn:hover {
  border-color: var(--purple, #8B5A96);
  color: var(--purple, #8B5A96);
  transform: translateY(-1px);
}
.donate-amount-btn.selected {
  border-color: var(--purple, #8B5A96);
  background: #f5f0fa;
  color: var(--purple, #8B5A96);
  box-shadow: 0 2px 8px rgba(139,90,150,0.18);
}
/* Custom input */
.donate-custom-wrap {
  position: relative;
  margin-bottom: 18px;
}
.donate-custom-currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--text-muted, #6b7280);
  font-size: 0.92rem;
  pointer-events: none;
}
.donate-custom-input {
  width: 100%;
  padding: 11px 14px 11px 30px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text, #1a1a2e);
  background: white;
  transition: border-color 0.15s;
  box-sizing: border-box;
  outline: none;
}
.donate-custom-input:focus {
  border-color: var(--purple, #8B5A96);
}
.donate-custom-input::placeholder { font-weight: 400; color: #aaa; }
/* Summary bar */
.donate-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f6fc;
  border: 1px solid #ede8f5;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.donate-summary-label {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  font-weight: 500;
}
.donate-summary-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple, #8B5A96);
  font-family: var(--font-display);
}
/* Gateway buttons */
.donate-gateway-row {
  display: flex;
  gap: 10px;
}
.donate-gateway-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
}
.donate-gateway-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.donate-btn-easypaisa {
  background: #1dab4e;
  color: white;
}
.donate-btn-jazzcash {
  background: #e4002b;
  color: white;
}
.donate-gateway-icon {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}
.donate-gateway-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 12px;
  line-height: 1.5;
}
/* CTA band Donate button style */
.cta-donate-btn {
  background: linear-gradient(135deg, #e8a020 0%, #c8700a 100%);
  color: white !important;
  border: none !important;
}
.cta-donate-btn:hover {
  opacity: 0.9;
  color: white !important;
}
@media (max-width: 480px) {
  .donate-panel { border-radius: 16px; }
  .donate-gateway-row { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   DONATE POPOVER — compact nav button popover
   ═══════════════════════════════════════════════ */
.donate-popover {
  position: fixed;
  z-index: 10001;
  width: 340px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.22s cubic-bezier(0.34,1.4,0.64,1);
  pointer-events: none;
}
.donate-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.donate-popover.pop-above {
  transform: translateY(10px);
}
.donate-popover.pop-above.is-open {
  transform: translateY(0);
}
/* Arrow pointing up */
.donate-popover-arrow {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 8px;
}
.donate-popover-arrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border: 8px solid transparent;
  border-top: none;
  border-bottom-color: #1a0f2e;
}
/* Arrow pointing down (when popover is above button) */
.donate-popover.pop-above .donate-popover-arrow {
  top: auto;
  bottom: -8px;
}
.donate-popover.pop-above .donate-popover-arrow::before {
  border-top-color: white;
  border-bottom-color: transparent;
  top: auto;
  bottom: 0;
  border-bottom: none;
  border-top-width: 8px;
}
/* Header */
.donate-popover-head {
  background: linear-gradient(135deg, #1a0f2e 0%, #2d1654 100%);
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* Body — tighter padding than modal */
.donate-popover-body {
  padding: 16px 16px 18px;
}
.donate-popover-body .donate-mode-toggle {
  margin-bottom: 14px;
}
.donate-popover-body .donate-amounts-grid {
  margin-bottom: 10px;
}
.donate-popover-body .donate-amount-btn {
  padding: 9px 6px;
  font-size: 0.82rem;
}
.donate-popover-body .donate-custom-wrap {
  margin-bottom: 12px;
}
.donate-popover-body .donate-summary-bar {
  padding: 9px 13px;
  margin-bottom: 14px;
}
.donate-popover-body .donate-gateway-disclaimer {
  margin-top: 10px;
  font-size: 0.68rem;
}
/* Make nav donate button a proper button (not link) */
button.nav-donate-btn {
  cursor: pointer;
  text-decoration: none;
}
