/*
Theme Name: chtwhkn
Theme URI: http://chtwhkn.bithidigital.com
Author: CHT WHKN
Author URI: http://chtwhkn.bithidigital.com
Description: CHT Women Headman Karbari Network — Khagrachari District Committee
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: chtwhkn
*/
/* ============================================
   CHT Women Headman Karbari Network
   Design System v2 — refined, tight, editorial
   ============================================ */

:root {
  /* Brand colors — CHT forest green primary, indigenous textile palette */
  --color-primary: #1F4D2C;          /* Forest green — CHT hills */
  --color-primary-dark: #102818;
  --color-primary-light: #2D6E40;
  --color-secondary: #6E1A33;        /* Deep maroon — Pinon textile */
  --color-secondary-dark: #4A0F22;
  --color-accent: #C99A2E;           /* Muted saffron */
  --color-accent-light: #E0B845;
  --color-earth: #B05A28;            /* Terracotta */
  --color-earth-dark: #8A3E18;

  /* Neutrals */
  --color-bg: #FAF6EE;
  --color-bg-alt: #F0E8D6;
  --color-surface: #FFFFFF;
  --color-ink: #1C1108;
  --color-ink-soft: #4A3527;
  --color-muted: #7A6957;
  --color-border: #E2D5BC;
  --color-border-strong: #C8B89A;

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-bangla-body: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
  --font-bangla-display: 'Noto Serif Bengali', 'SolaimanLipi', serif;

  /* Layout — tighter */
  --container: 1180px;
  --container-narrow: 960px;
  --container-text: 720px;
  --section-y: clamp(2rem, 3.5vw, 3.25rem);
  --section-y-lg: clamp(2.5rem, 4.5vw, 4.5rem);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(28, 17, 8, 0.05);
  --shadow-md: 0 4px 14px rgba(28, 17, 8, 0.06);
  --shadow-lg: 0 16px 40px rgba(28, 17, 8, 0.1);
  --shadow-xl: 0 30px 70px rgba(28, 17, 8, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease-out); }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }

/* ============================================
   Typography — editorial scale
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.display-1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.display-2 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.h3 { font-size: 1.15rem; font-weight: 500; }
.h4 { font-size: 1rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-primary);
}

.eyebrow.center::before { display: none; }

.lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.text-muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }

em.accent, .italic-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--color-primary);
}

p { color: var(--color-ink-soft); }

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.container-narrow { max-width: var(--container-narrow); }
.container-text { max-width: var(--container-text); }

section {
  padding-block: var(--section-y);
  position: relative;
}

section.section-lg { padding-block: var(--section-y-lg); }

.section-header {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .eyebrow { margin-inline: auto; }

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============================================
   Buttons — refined
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(31, 77, 44, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 77, 44, 0.3);
}

.btn-secondary {
  background: var(--color-ink);
  color: white;
}

.btn-secondary:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-outline:hover {
  background: var(--color-ink);
  color: white;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.25s var(--ease-out);
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

/* ============================================
   Navigation — refined
   ============================================ */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
}

.nav-bar.scrolled {
  background: rgba(250, 246, 238, 0.96);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  max-width: var(--container);
  margin: 0 auto;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  z-index: 110;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-earth) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.62rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  position: relative;
  padding: 0.45rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  border-radius: 999px;
  transition: all 0.2s var(--ease-out);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: rgba(31, 77, 44, 0.06);
}

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);
  color: white;
  border-radius: 50%;
  z-index: 110;
}

.nav-toggle span {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  display: block;
  transition: transform 0.25s var(--ease-out);
}

.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  left: 0;
  transition: all 0.25s var(--ease-out);
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    padding: 1.5rem;
    padding-top: 6rem;
    z-index: 200;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link {
    font-size: 1.15rem;
    font-family: var(--font-display);
    padding: 0.9rem 1.25rem;
    width: 100%;
    border-radius: 8px;
  }
  .nav-cta { margin: 0.5rem 0 0; width: 100%; text-align: center; }
}

/* ============================================
   Hero — refined
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1A10 0%, #102818 30%, #1F4D2C 60%, #4A0F22 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4A845' stroke-width='0.8' opacity='0.18'%3E%3Cpath d='M0 40 L40 0 L80 40 L40 80 Z'/%3E%3Cpath d='M20 40 L40 20 L60 40 L40 60 Z'/%3E%3Cpath d='M0 0 L80 80 M80 0 L0 80'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.45;
  pointer-events: none;
}

.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 154, 46, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(176, 90, 40, 0.18) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: white;
}

.hero-content .eyebrow {
  color: var(--color-accent-light);
}

.hero-content .eyebrow::before {
  background: var(--color-accent-light);
}

.hero-title {
  color: white;
  margin: 0.85rem 0 1.1rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-light);
  font-weight: 300;
}

.hero-text {
  font-size: 1.02rem;
  max-width: 560px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 680px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
  color: var(--color-accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 24px;
  background: currentColor;
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* Stylized hill silhouettes for hero */
.hero-hills {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 32%;
  pointer-events: none;
  opacity: 0.55;
}

/* ============================================
   Page Hero — interior pages
   ============================================ */
.page-hero {
  position: relative;
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-earth-dark) 100%);
  color: white;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4A845' stroke-width='0.6' opacity='0.22'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z'/%3E%3Cpath d='M15 30 L30 15 L45 30 L30 45 Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 40%, rgba(224, 184, 69, 0.15) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--color-accent-light);
}

.page-hero .eyebrow::before {
  background: var(--color-accent-light);
}

.page-hero h1 {
  color: white;
  margin-block: 0.65rem 0.85rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.breadcrumb a:hover { color: var(--color-accent-light); }
.breadcrumb span:not(:last-child) { opacity: 0.5; }

/* ============================================
   Cards — refined
   ============================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card-media img { transform: scale(1.04); }

.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.card-body {
  padding: 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.card-text {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.card-meta-dot {
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}

.card-arrow {
  align-self: flex-start;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.25s var(--ease-out);
}

.card:hover .card-arrow { gap: 0.55rem; }

/* Program card */
.program-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent, var(--color-primary));
  box-shadow: var(--shadow-md);
}

.program-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card-accent, var(--color-primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  font-size: 1rem;
}

.program-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.program-card p {
  color: var(--color-muted);
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
  flex: 1;
  line-height: 1.55;
}

.program-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card-accent, var(--color-primary));
  margin-bottom: 0.4rem;
}

/* ============================================
   Stats band
   ============================================ */
.stats-band {
  background: var(--color-ink);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23D4A845' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.75rem;
  text-align: center;
  position: relative;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--color-accent-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Feature block
   ============================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.feature.reverse .feature-media { order: 2; }

@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: -1; }
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--color-bg-alt);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

/* Full-image variant — no crop, shows entire photo */
.feature-media--full {
  aspect-ratio: unset !important;
  overflow: visible !important;
  background: transparent;
}
.feature-media--full img {
  height: auto !important;
  object-fit: unset !important;
}

.feature-media:hover img { transform: scale(1.03); }

.feature-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-accent);
  color: var(--color-ink);
  padding: 0.75rem 1.1rem;
  border-radius: 0 var(--radius-sm) 0 var(--radius-md);
  font-family: var(--font-display);
  z-index: 2;
}

.feature-badge-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.feature-badge-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.15rem;
  opacity: 0.85;
}

/* Pattern/illustration media block (no photo needed) */
.media-pattern {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-earth) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-pattern svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.media-pattern-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 2rem;
  z-index: 2;
}

/* ============================================
   List items
   ============================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.check-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

.dot-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dot-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.dot-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ============================================
   Pillars / Approach cards
   ============================================ */
.pillar {
  background: var(--color-surface);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.pillar-num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.08;
  line-height: 1;
}

.pillar-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 77, 44, 0.08);
  color: var(--color-primary);
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.pillar p {
  color: var(--color-muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

/* ============================================
   Quote
   ============================================ */
.quote-block {
  background: var(--color-bg-alt);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  position: relative;
  border-left: 3px solid var(--color-accent);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-accent);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  opacity: 0.3;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  color: var(--color-ink);
  margin-bottom: 0.85rem;
  padding-left: 1.5rem;
}

.quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 1.5rem;
  display: inline-block;
}

/* ============================================
   Network cards
   ============================================ */
.network-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.network-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.network-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-earth) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.network-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.network-card p {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  flex: 1;
}

.network-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23D4A845' stroke-width='0.5' opacity='0.2'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(201, 154, 46, 0.2) 0%, transparent 55%);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .cta-band-inner { grid-template-columns: 1fr; }
}

.cta-band h2 {
  color: white;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  max-width: 460px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-form-row {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cta-form button {
  background: var(--color-accent);
  color: var(--color-ink);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease-out);
}

.cta-form button:hover {
  background: white;
}

.cta-form small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  padding-left: 0.75rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer-brand .brand-name {
  color: white;
  font-size: 1rem;
}

.footer-brand .brand-tag {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s var(--ease-out);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.footer-title {
  color: white;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease-out);
}

.footer-list a:hover {
  color: var(--color-accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover { color: var(--color-accent-light); }

/* ============================================
   Forms
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  transition: all 0.2s var(--ease-out);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 77, 44, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field-help {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 17, 8, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }

@media (max-width: 760px) {
  .gallery-item.tall { grid-row: auto; aspect-ratio: 1; }
  .gallery-item.wide { grid-column: auto; aspect-ratio: 1; }
}

/* ============================================
   Map / pins
   ============================================ */
.map-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-surface);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  transition: all 0.2s var(--ease-out);
}

.map-marker:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.map-marker::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(31, 77, 44, 0.2);
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.in { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.fade-in.in { opacity: 1; }

[data-delay="100"] { transition-delay: 80ms; }
[data-delay="200"] { transition-delay: 160ms; }
[data-delay="300"] { transition-delay: 240ms; }
[data-delay="400"] { transition-delay: 320ms; }
[data-delay="500"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Utilities
   ============================================ */
.bg-cream { background: var(--color-bg-alt); }
.bg-dark { background: var(--color-ink); color: white; }

.divider {
  height: 1px;
  background: var(--color-border);
  margin-block: 2.25rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(31, 77, 44, 0.08);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.75rem; }

/* Focus accessibility */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================
   i18n — Bangla typography & language switcher
   ============================================ */
.lang-bn body,
body.lang-bn {
  font-family: var(--font-bangla-body);
  font-size: 16px;
  line-height: 1.7;
}

body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4,
body.lang-bn h5,
body.lang-bn h6,
body.lang-bn .display-1,
body.lang-bn .display-2,
body.lang-bn .h1,
body.lang-bn .h2,
body.lang-bn .h3,
body.lang-bn .h4 {
  font-family: var(--font-bangla-display);
  letter-spacing: -0.005em;
  line-height: 1.25;
  font-weight: 600;
}

body.lang-bn .display-1,
body.lang-bn .hero-title {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.2;
}

body.lang-bn .display-2 {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.25;
}

body.lang-bn em,
body.lang-bn .italic-accent,
body.lang-bn em.accent {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
}

body.lang-bn .eyebrow,
body.lang-bn .tag {
  font-family: var(--font-bangla-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

body.lang-bn .nav-link {
  font-family: var(--font-bangla-body);
  font-size: 0.88rem;
}

body.lang-bn .footer-title {
  font-family: var(--font-bangla-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

body.lang-bn .btn {
  font-family: var(--font-bangla-body);
  font-size: 0.88rem;
}

body.lang-bn .quote-text {
  font-family: var(--font-bangla-display);
  font-style: normal;
  line-height: 1.5;
}

body.lang-bn .card-title {
  font-family: var(--font-bangla-display);
}

body.lang-bn .brand-name {
  font-family: var(--font-bangla-display);
  font-weight: 600;
}

body.lang-bn .brand-tag {
  font-family: var(--font-bangla-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.68rem;
}

body.lang-bn .stat-label,
body.lang-bn .hero-stat-label,
body.lang-bn .card-tag,
body.lang-bn .card-meta,
body.lang-bn .program-tag,
body.lang-bn .network-tag,
body.lang-bn .activities-title,
body.lang-bn .program-focus-label,
body.lang-bn .contact-item-label,
body.lang-bn .feature-badge-label,
body.lang-bn .breadcrumb {
  font-family: var(--font-bangla-body);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
}

/* Language toggle UI */
.lang-toggle {
  display: inline-flex;
  background: rgba(31, 77, 44, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 2px;
  margin-right: 0.5rem;
}

.lang-toggle button {
  padding: 0.32rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  line-height: 1;
}

.lang-toggle button.active {
  background: var(--color-primary);
  color: white;
}

.lang-toggle button:not(.active):hover {
  color: var(--color-primary);
}

.lang-toggle button[data-lang="bn"] {
  font-family: var(--font-bangla-body);
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  .lang-toggle {
    margin: 0.5rem 0;
    width: 100%;
    justify-content: center;
  }
}

/* CHT textile-inspired ornament strip */
.ornament-strip {
  height: 6px;
  background-image:
    linear-gradient(90deg,
      var(--color-primary) 0 16.66%,
      var(--color-accent) 16.66% 33.33%,
      var(--color-secondary) 33.33% 50%,
      var(--color-earth) 50% 66.66%,
      var(--color-accent) 66.66% 83.33%,
      var(--color-primary) 83.33% 100%);
  position: relative;
}

.ornament-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='6' viewBox='0 0 40 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 3 L4 0 L8 3 L12 0 L16 3 L20 0 L24 3 L28 0 L32 3 L36 0 L40 3 L36 6 L32 3 L28 6 L24 3 L20 6 L16 3 L12 6 L8 3 L4 6 Z' fill='%231C1108' opacity='0.15'/%3E%3C/svg%3E");
}

/* ============================================
   Mobile Polish — million-dollar feel
   ============================================ */
@media (max-width: 640px) {
  /* Hero tighter on mobile */
  .hero {
    min-height: 100svh;
    padding: 5rem 0 2.5rem;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
  .hero-stats { justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 2rem; }

  /* Section breathing room */
  section { padding-block: 2.25rem; }

  /* Cards full-width, less dense */
  .card { padding: 1.25rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 1rem; }

  /* Typography scale down gracefully */
  .display-1 { font-size: 2rem; line-height: 1.08; }
  .display-2 { font-size: 1.45rem; }
  .lead { font-size: 0.97rem; }

  /* Buttons full-width on mobile */
  .hero-actions .btn { width: 100%; max-width: 280px; padding: 0.9rem 1.5rem; font-size: 0.92rem; }

  /* Stats row more compact */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Section header less margin */
  .section-header { margin-bottom: 1.5rem; }

  /* Page hero smaller */
  .page-hero { padding: 4rem 0 2rem; }
  .page-hero h1 { font-size: 1.9rem; }

  /* Programmes/Networks cards - make them card-stack */
  .program-card, .network-card { border-radius: 12px; }

  /* Contact grid single column */
  .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .contact-info { order: 2; }
  .contact-form-card { order: 1; }

  /* Footer compact */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hide decorative scroll cue on mobile */
  .scroll-cue { display: none; }

  /* CTA band */
  .cta-band { padding-block: 2rem; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-form-row { flex-direction: column; border-radius: 12px; padding: 0.5rem; }
  .cta-form button { border-radius: 8px; padding: 0.75rem; width: 100%; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); display: grid; gap: 1rem; }
  .hero-stat-num { font-size: 1.75rem; }
  .eyebrow { font-size: 0.65rem; }
  .card-tag, .program-tag, .network-tag { font-size: 0.6rem; }
}

/* ===== Section variant classes (media.html / leadership.html) ===== */
.section {
  padding-block: clamp(2rem, 3.5vw, 3.25rem);
  position: relative;
}
.section--cream { background: var(--color-bg-alt, #F9F5EC); }
.section--paper { background: var(--color-surface, #FAF6EE); }
.section--sand  { background: var(--color-accent-bg, #F5F0E4); }

/* section-head / accent-rule from media.html design system */
.section-head { margin-bottom: 2rem; }
.section-head.center { text-align: center; }
.accent-rule { width: 3rem; height: 3px; background: var(--color-primary, #1F4D2C); margin: 0.75rem auto 1rem; border-radius: 2px; }
.section-head:not(.center) .accent-rule { margin-left: 0; }
.lead { font-size: 1.05rem; color: var(--color-ink-soft, #555); max-width: 600px; }
.section-head.center .lead { margin-inline: auto; }

/* gallery-item cursor pointer */
.gallery-item { cursor: pointer; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item { overflow: hidden; }
.gallery-item img { transition: transform 0.35s ease; }


/* ============ redesign.css ============ */
/* ============================================================
   CHT WHKN — Design Overhaul v3
   Reference: iprights.org, landislife.org, aippnet.org
   Goal: Million-dollar NGO feel — professional, image-forward,
         clean mobile, dark green anchor nav, bright footer.
   ============================================================ */

/* ============================================================
   1. ROOT OVERRIDES — cleaner, more modern palette
   ============================================================ */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #EEF5F0;
  --color-bg-green: #F0F7F2;
  --nav-bg: #102818;
  --footer-bg: #0B1F12;
}

body {
  background: #FFFFFF;
}

/* ============================================================
   2. NAVBAR — always dark green, white text (like Land is Life)
   ============================================================ */
.ornament-strip {
  top: 0;
  z-index: 1001;
}

.nav-bar {
  background: var(--nav-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  top: 6px !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-bar.scrolled {
  background: var(--nav-bg) !important;
  border-bottom-color: rgba(255,255,255,0.12) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* Brand in nav */
.brand-mark {
  background: linear-gradient(135deg, rgba(201,154,46,0.9) 0%, rgba(176,90,40,0.8) 100%) !important;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1rem;
  font-weight: 700;
}

.brand-name {
  color: #FFFFFF !important;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.brand-tag {
  color: rgba(255,255,255,0.55) !important;
}

/* Nav links */
.nav-link {
  color: rgba(255,255,255,0.80) !important;
  font-size: 0.84rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-light) !important;
  background: rgba(255,255,255,0.09) !important;
}

/* Lang toggle in nav */
.lang-toggle {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.18) !important;
}

.lang-toggle button {
  color: rgba(255,255,255,0.65) !important;
}

.lang-toggle button.active {
  background: var(--color-accent) !important;
  color: #1C1108 !important;
}

.lang-toggle button:not(.active):hover {
  color: white !important;
}

/* Hamburger toggle */
.nav-toggle {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Nav CTA button */
.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-ink) !important;
  border-color: transparent !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--color-accent-light) !important;
  color: var(--color-ink) !important;
}

/* ============================================================
   3. MOBILE MENU — full dark green overlay, no overlap
   ============================================================ */
@media (max-width: 1080px) {
  .nav-menu {
    background: var(--nav-bg) !important;
    padding-top: 5.5rem !important;
    gap: 0.15rem !important;
  }

  .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-size: 1.1rem !important;
    padding: 0.85rem 1.1rem !important;
    border-radius: 8px !important;
    width: 100% !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,255,255,0.1) !important;
    color: var(--color-accent-light) !important;
  }

  .lang-toggle {
    margin: 0.75rem 0 0.25rem 0 !important;
    width: auto !important;
    align-self: flex-start !important;
  }

  .nav-cta {
    margin: 0.5rem 0 0 0 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.9rem !important;
  }

  /* Ensure nav is above everything */
  .nav-bar { z-index: 500 !important; }
  .nav-menu { z-index: 490 !important; }
  .ornament-strip { z-index: 501 !important; }
}

/* ============================================================
   4. SECTIONS — white body with green alternates
   ============================================================ */
section {
  background: #FFFFFF;
}

section.bg-cream {
  background: var(--color-bg-green) !important;
}

.stats-band {
  background: #0B1F12 !important;
}

/* ============================================================
   5. HERO — more immersive, deeper gradient
   ============================================================ */
.hero {
  background: linear-gradient(150deg,
    #050E09 0%,
    #0B1F12 20%,
    #1A4028 55%,
    #3D0E1C 100%
  ) !important;
  min-height: 78vh !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh !important;
    padding-top: 5.5rem !important;
    padding-bottom: 3rem !important;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.2rem) !important;
    margin-top: 0.6rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-text {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .hero-actions {
    gap: 0.75rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 260px !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem 1.5rem !important;
    margin-top: 2rem !important;
  }
}

/* ============================================================
   6. PROGRAMMES GRID — nicer on mobile
   ============================================================ */
@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .program-card {
    border-radius: 14px !important;
    padding: 1.35rem !important;
  }

  .pillar {
    border-radius: 12px !important;
  }
}

/* ============================================================
   7. FEATURE / MISSION SECTION — better mobile
   ============================================================ */
@media (max-width: 880px) {
  .feature {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .feature-media {
    aspect-ratio: 4 / 3 !important;
  }
}

/* ============================================================
   8. HOMEPAGE CONTACT SECTION
   ============================================================ */
.homepage-contact {
  background: linear-gradient(135deg, #102818 0%, #0B1F12 60%, #1A0A10 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.homepage-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23D4A845' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
}

.homepage-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,154,46,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.homepage-contact .container {
  position: relative;
  z-index: 1;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 760px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-split-info {
    order: 2;
  }

  .contact-split-form {
    order: 1;
  }
}

.contact-split-info .eyebrow {
  color: var(--color-accent-light) !important;
}

.contact-split-info .eyebrow::before {
  background: var(--color-accent-light) !important;
}

.contact-split-info h2 {
  color: white !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}

.contact-split-info h2 em {
  color: var(--color-accent-light);
  font-style: italic;
  font-weight: 300;
}

.contact-split-info p {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-info-item a {
  color: var(--color-accent-light);
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: white;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

/* Contact form card */
.contact-form-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(8px);
}

.contact-form-panel h3 {
  color: white !important;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.contact-form-panel .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
  .contact-form-panel .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.12);
}

.contact-form-panel textarea {
  min-height: 110px;
  resize: vertical;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-form-panel .full-width {
  margin-bottom: 0.75rem;
}

.contact-form-panel .btn-send {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form-panel .btn-send:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,154,46,0.35);
}

/* ============================================================
   9. FOOTER — pure white text, darker bg
   ============================================================ */
.site-footer {
  background: var(--footer-bg) !important;
  padding-top: 3.5rem;
}

.footer-brand .brand-name {
  color: #FFFFFF !important;
  font-size: 1.05rem;
}

.footer-brand .brand-tag {
  color: rgba(255,255,255,0.55) !important;
}

.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-earth) 100%) !important;
}

.footer-about {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-title {
  color: #FFFFFF !important;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.1rem;
}

.footer-list a {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.87rem;
  padding: 0.1rem 0;
  display: inline-block;
}

.footer-list a:hover {
  color: var(--color-accent-light) !important;
}

.footer-contact-item {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.87rem;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.82) !important;
}

.footer-contact-item a:hover {
  color: var(--color-accent-light) !important;
}

.footer-bottom {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.76rem;
}

.footer-bottom a:hover {
  color: var(--color-accent-light) !important;
}

.footer-social a {
  color: rgba(255,255,255,0.70) !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.10);
}

.footer-social a:hover {
  background: var(--color-accent) !important;
  color: var(--color-ink) !important;
  border-color: transparent !important;
}

.site-footer p {
  color: rgba(255,255,255,0.78) !important;
}

/* ============================================================
   10. SECTION BORDER ACCENT — adds visual richness
   ============================================================ */
.stats-band {
  background: #0B1F12 !important;
}

/* ============================================================
   11. BUTTONS — bolder CTA
   ============================================================ */
.btn-primary {
  font-weight: 700 !important;
}

/* ============================================================
   12. CARDS ON WHITE BG — subtle shadow lift
   ============================================================ */
.card, .program-card, .pillar, .network-card {
  box-shadow: 0 1px 4px rgba(16, 40, 24, 0.06);
}

.card:hover, .program-card:hover, .pillar:hover, .network-card:hover {
  box-shadow: 0 8px 28px rgba(16, 40, 24, 0.12) !important;
}

/* ============================================================
   13. MOBILE OVERALL POLISH
   ============================================================ */
@media (max-width: 640px) {
  /* Reduce section density */
  section {
    padding-block: 2.5rem !important;
  }

  section.section-lg {
    padding-block: 3rem !important;
  }

  /* Better typography rhythm on mobile */
  .lead {
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
  }

  /* Check list more readable */
  .check-list li {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* Quote block mobile */
  .quote-block {
    padding: 1.5rem 1.25rem !important;
  }

  /* Stats band compact */
  .stats-band {
    padding: 2.5rem 0 !important;
  }

  .stat-num {
    font-size: 2rem !important;
  }

  /* Network cards */
  .grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Page hero padding */
  .page-hero {
    padding: 5rem 0 2.5rem !important;
  }

  /* Homepage contact */
  .homepage-contact {
    padding: 2.5rem 0 !important;
  }

  .contact-form-panel {
    padding: 1.5rem !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.1rem !important;
  }

  .hero-actions .btn {
    max-width: 100% !important;
  }

  .grid-4 {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   14. SMOOTH SCROLL RESET — slightly more modern
   ============================================================ */
html { scroll-behavior: smooth; }

/* ============================================================
   15. SELECTION COLOR
   ============================================================ */
::selection {
  background: rgba(201, 154, 46, 0.35);
  color: #0B1F12;
}
