/* ============================================
   JAL — Journey Ahead for Livelihoods
   Brand Stylesheet
   No gradients. Solid colours. Award-winning.
   ============================================ */

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

:root {
  /* Brand Colours */
  --blue: #0A4E9D;
  --navy: #0B2E74;
  --green: #4CAF00;
  --green-dark: #0F7A2F;
  --gold: #FDB913;
  --gold-light: #FFD84D;
  --white: #FFFFFF;

  /* Neutrals */
  --bg-light: #F5F9FC;
  --bg-section: #FAFCFE;
  --text-body: #333333;
  --text-heading: #0B2E74;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-light: #F0F4F8;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 46, 116, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 46, 116, 0.10);
  --shadow-lg: 0 8px 28px rgba(11, 46, 116, 0.12);
  --shadow-xl: 0 16px 48px rgba(11, 46, 116, 0.15);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--navy); }

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

ul { list-style: none; }

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-lg {
  padding: 6rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.bg-light { background: var(--bg-light); }
.bg-section { background: var(--bg-section); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-green { background: var(--green); color: var(--white); }
.bg-gold { background: var(--gold); color: var(--navy); }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }

.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--white);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  padding: 0.3rem 1rem;
  background: rgba(76, 175, 0, 0.08);
  border-radius: 100px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-header.text-white .eyebrow {
  color: var(--gold);
  background: rgba(253, 185, 19, 0.15);
}

.section-header.text-white p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-body);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--bg-light);
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(76, 175, 0, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content h1 .accent {
  color: var(--green);
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual img {
  max-width: 100%;
  filter: drop-shadow(var(--shadow-lg));
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}

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

.card-body {
  padding: 1.75rem;
}

.card-body-tight {
  padding: 1.25rem;
}

/* ---------- Icon Box ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.icon-box-blue { background: rgba(10, 78, 157, 0.10); color: var(--blue); }
.icon-box-green { background: rgba(76, 175, 0, 0.10); color: var(--green); }
.icon-box-gold { background: rgba(253, 185, 19, 0.12); color: var(--gold); }
.icon-box-navy { background: rgba(11, 46, 116, 0.10); color: var(--navy); }

/* ---------- Grid Systems ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* ---------- Value Cards ---------- */
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(10, 78, 157, 0.2);
}

.value-card .icon-box {
  margin-bottom: 1.25rem;
}

.value-card h4 {
  margin-bottom: 0.6rem;
  color: var(--text-heading);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Program Cards ---------- */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(10, 78, 157, 0.2);
}

.program-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.program-card-header .program-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.program-card-header h4 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.program-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.program-card .flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(253, 185, 19, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.program-card .photo-placeholder {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 0 1.5rem 1rem;
  border: 2px dashed var(--border);
}

.program-card .photo-placeholder span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.program-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}

.program-link:hover {
  gap: 0.6rem;
  color: var(--navy);
}

/* ---------- Problem → Response ---------- */
.problem-response {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.problem-response .pr-problem {
  background: #FEF3F2;
  border: 1px solid #FEE4E2;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.problem-response .pr-problem .pr-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B42318;
  margin-bottom: 0.35rem;
}

.problem-response .pr-problem h5 {
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.problem-response .pr-problem p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.problem-response .pr-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.problem-response .pr-response {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.problem-response .pr-response .pr-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.problem-response .pr-response h5 {
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.problem-response .pr-response p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Theory of Change ---------- */
.toc-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.toc-step {
  flex: 1;
  min-width: 200px;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.toc-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  z-index: 1;
  transform: translateY(-50%);
}

.toc-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 24px;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.toc-step .toc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.toc-step:nth-child(1) .toc-icon { background: rgba(10, 78, 157, 0.10); color: var(--blue); }
.toc-step:nth-child(2) .toc-icon { background: rgba(15, 122, 47, 0.10); color: var(--green-dark); }
.toc-step:nth-child(3) .toc-icon { background: rgba(253, 185, 19, 0.12); color: var(--gold); }
.toc-step:nth-child(4) .toc-icon { background: rgba(76, 175, 0, 0.10); color: var(--green); }
.toc-step:nth-child(5) .toc-icon { background: rgba(11, 46, 116, 0.10); color: var(--navy); }

.toc-step .toc-stage {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.toc-step .toc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Organogram ---------- */
.organogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.org-node {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  min-width: 280px;
  box-shadow: var(--shadow-sm);
}

.org-node h5 {
  margin-bottom: 0.25rem;
  color: var(--blue);
}

.org-node p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.org-connector {
  width: 2px;
  height: 32px;
  background: var(--blue);
}

.org-node.level-1 { border-color: var(--blue); background: var(--blue); }
.org-node.level-1 h5 { color: var(--white); }
.org-node.level-1 p { color: rgba(255, 255, 255, 0.85); }

.org-node.level-2 { border-color: var(--navy); }
.org-node.level-2 h5 { color: var(--navy); }

.org-node.level-3 { border-color: var(--green); }
.org-node.level-3 h5 { color: var(--green-dark); }

.org-node.level-4 { border-color: var(--gold); }
.org-node.level-4 h5 { color: #B8860B; }

.org-node.level-5 { border-color: var(--green-dark); background: var(--bg-light); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item .timeline-dot {
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item.current .timeline-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green);
}

.timeline-item .timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.timeline-item .timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.timeline-item .timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Beneficiary Chips ---------- */
.beneficiary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.beneficiary-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
}

.beneficiary-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.beneficiary-chip svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* ---------- Director Message ---------- */
.director-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.director-photo {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  flex-shrink: 0;
}

.director-photo .photo-placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(10, 78, 157, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}

.director-photo .photo-placeholder-icon svg {
  width: 40px;
  height: 40px;
}

.director-photo span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.director-message {
  padding-top: 0.5rem;
}

.director-message .director-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.director-message .director-title {
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.director-message .message-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  white-space: pre-line;
}

.director-message .message-text strong {
  color: var(--text-heading);
}

.director-signature {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.director-signature .sig-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-heading);
}

.director-signature .sig-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--blue);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(76, 175, 0, 0.08);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .icon-box {
  width: 44px;
  height: 44px;
}

.contact-info-item .icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-info-item .ci-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-item .ci-value {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.contact-info-item .ci-value a {
  color: var(--blue);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #B42318;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 78, 157, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230A4E9D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-alert.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: var(--green-dark);
}

.form-alert.error {
  background: #FEF3F2;
  border: 1px solid #FEE4E2;
  color: #B42318;
}

/* ---------- Downloads ---------- */
.download-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.download-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 78, 157, 0.2);
}

.download-card .download-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(253, 185, 19, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-card .download-icon svg {
  width: 28px;
  height: 28px;
}

.download-card .download-info {
  flex-grow: 1;
}

.download-card .download-info h4 {
  margin-bottom: 0.35rem;
}

.download-card .download-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.download-card .download-status {
  flex-shrink: 0;
}

.download-card .download-status .badge-soon {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

/* ---------- Success Stories Placeholder ---------- */
.stories-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border);
}

.stories-placeholder .sp-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(253, 185, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.stories-placeholder .sp-icon svg {
  width: 40px;
  height: 40px;
}

.stories-placeholder h3 {
  margin-bottom: 0.75rem;
}

.stories-placeholder p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Info Banner ---------- */
.info-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(253, 185, 19, 0.08);
  border: 1px solid rgba(253, 185, 19, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.info-banner svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.info-banner p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ---------- Registration Badge ---------- */
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 175, 0, 0.08);
  border: 1px solid rgba(76, 175, 0, 0.2);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--green-dark);
}

.reg-badge svg {
  width: 18px;
  height: 18px;
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  background: var(--bg-light);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb .separator {
  color: var(--border);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

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

.footer-brand .nav-brand img {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--bg-light);
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 400px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .director-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .director-photo {
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .problem-response {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .problem-response .pr-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .toc-steps {
    flex-direction: column;
    gap: 0;
  }

  .toc-step {
    width: 100%;
    min-width: unset;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
    text-align: left;
    align-items: center;
  }

  .toc-step .toc-icon {
    margin: 0;
  }

  .toc-step:not(:last-child)::after,
  .toc-step:not(:last-child)::before {
    display: none;
  }

  .toc-step:not(:last-child)::after {
    content: '';
    display: block;
    position: static;
    width: 2px;
    height: 24px;
    background: var(--border);
    border-radius: 0;
    border: none;
    transform: none;
    grid-column: 1;
    margin-left: 31px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 1rem 1rem 1rem 3rem;
  }

  .timeline-item .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .download-card .download-status {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .section-lg {
    padding: 4rem 0;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat .stat-number {
    font-size: 1.6rem;
  }

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

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .nav-brand img {
    height: 40px;
    max-width: 180px;
  }

  .cta-banner {
    padding: 2rem 1.25rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .organogram {
    gap: 0;
  }

  .org-node {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .footer, .nav-toggle, .btn, .cta-banner {
    display: none;
  }

  body {
    color: #000;
  }
}

/* ---------- Photo Styling ---------- */
.program-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.program-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.section-banner-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}

.rounded-img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.location-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

@media (max-width: 768px) {
  .program-hero-img {
    max-height: 250px;
  }

  .program-card-img {
    height: 180px;
  }

  .gallery-img {
    height: 160px;
  }

  .section-banner-img {
    max-height: 220px;
  }

  .rounded-img {
    max-height: 250px;
  }

  .location-img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .program-card-img {
    height: 160px;
  }
}
