/* ============================================================
   INCLUSIVE IMPACT FOUNDATION — Design System & Public Styles
   style.css · v1.0
   ============================================================ */

/* ─── 1. CSS Custom Properties (Design Tokens) ─────────────── */
:root {
  --ink:        #0F2B33;
  --ink-soft:   #1C434D;
  --teal:       #1C7C72;
  --teal-deep:  #0E5750;
  --gold:       #C98A2C;
  --gold-light: #D4A34A;
  --paper:      #FAF5EA;
  --paper-dim:  #F1E9D8;
  --line:       #E2D9C8;
  --white:      #FFFFFF;
  --gray:       #6B7B78;

  /* Typography */
  --font-serif:   'Fraunces', Georgia, serif;
  --font-sans:    'Public Sans', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

  /* Spacing */
  --section-pad-lg: 96px;
  --section-pad-md: 64px;
  --section-pad-sm: 48px;
  --wrap-max:       1180px;
  --wrap-pad:       32px;

  /* Radius */
  --radius:   8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(15,43,51,0.05);
  --shadow-md:  0 4px 24px rgba(15,43,51,0.07);
  --shadow-lg:  0 8px 40px rgba(15,43,51,0.10);
  --shadow-hover: 0 8px 32px rgba(15,43,51,0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 0.7s;
  --duration-fast: 0.3s;
}


/* ─── 2. CSS Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--teal-deep); }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }

::selection {
  background: var(--teal);
  color: var(--white);
}


/* ─── 3. Typography Scale ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  margin-bottom: 24px;
}
h1 em, h1 i {
  font-style: normal;
  color: var(--teal-deep);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 20px;
}
h2 em, h2 i {
  font-style: normal;
  color: var(--teal);
}

h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 16px;
}

h4 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--paper-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 40px;
}


/* ─── 4. Layout Utilities ──────────────────────────────────── */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.section {
  padding: var(--section-pad-lg) 0;
}
.section-alt {
  background-color: var(--paper-dim);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mb-0  { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }


/* ─── 5. Components: Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--teal);
  transition: gap var(--duration-fast) ease, color var(--duration-fast) ease;
}
.link-arrow:hover {
  gap: 10px;
  color: var(--teal-deep);
}
.link-arrow::after {
  content: "→";
}


/* ─── 6. Components: Cards ─────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-flat {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(28,124,114,0.1);
  color: var(--teal-deep);
}
.badge-gold {
  background: rgba(201,138,44,0.12);
  color: var(--gold);
}

.callout {
  border-left: 3px solid var(--gold);
  background: var(--paper-dim);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.callout h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}
.callout p {
  margin-bottom: 0;
}

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 32px 0;
  background: var(--paper-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.quote-block cite {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  font-style: normal;
  letter-spacing: 0.05em;
}


/* ─── Certificate Block ────────────────────────────────────── */
.certificate {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--white);
  max-width: 680px;
  margin: 0 auto;
}
.certificate-header {
  text-align: center;
  margin-bottom: 28px;
}
.certificate-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 4px;
}
.certificate-header p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
}
.cert-table tr {
  border-bottom: 1px solid var(--line);
}
.cert-table tr:last-child {
  border-bottom: none;
}
.cert-table td {
  padding: 12px 0;
  vertical-align: top;
}
.cert-table td:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 40%;
  padding-right: 16px;
}
.cert-table td:last-child {
  font-weight: 500;
  color: var(--ink);
}


/* ─── Stat Card ────────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-card-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}
.stat-card-glass:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.stat-card-glass .stat-number {
  color: var(--gold, #C98A2C);
  transition: transform 0.4s ease;
}
.stat-card-glass:hover .stat-number {
  transform: scale(1.05);
}
.stat-card-glass .stat-label {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: 1px;
}
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ─── Area Card (Program Focus Area) ───────────────────────── */
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.area-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.area-card-body {
  padding: 24px;
}
.area-card-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 500;
}
.area-card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.area-card-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 16px;
}

.domain-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--line);
}

/* Work card hover lift */
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25) !important;
}


/* ─── Director / Team Card ─────────────────────────────────── */
.dir-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.dir-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.dir-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  flex-shrink: 0;
}
.dir-card-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.dir-card-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.dir-card-info p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}


/* ─── Seal (circular registration mark) ────────────────────── */
.seal {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  flex-shrink: 0;
}
.seal-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  line-height: 1.4;
}
.seal-year {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}


/* ─── Collaboration Row ────────────────────────────────────── */
.collab-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.collab-row:last-child { border-bottom: none; }
.collab-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
}
.collab-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.collab-content p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 0;
}


/* ─── Timeline (Milestones) ────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 0;
}


/* ─── Blog Card ────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-card-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}
.blog-card-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.blog-card-body h3 a:hover {
  color: var(--teal);
}
.blog-card-excerpt {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.tag-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(28,124,114,0.08);
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-right: 6px;
  margin-bottom: 6px;
}


/* ─── Forms ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28,124,114,0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--gold);
}
.field-error {
  display: block;
  font-size: 13px;
  color: var(--gold);
  margin-top: 4px;
}
.form-hint {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.flash-message {
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
}
.flash-success {
  background: rgba(28,124,114,0.1);
  color: var(--teal-deep);
  border: 1px solid rgba(28,124,114,0.2);
}
.flash-error {
  background: rgba(201,138,44,0.1);
  color: var(--gold-light);
  border: 1px solid rgba(201,138,44,0.2);
}


/* ─── 7. HEADER / NAVIGATION ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: box-shadow var(--duration-fast) ease, background var(--duration-fast) ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(15,43,51,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo-link {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.nav-link:hover {
  color: var(--teal);
  background: rgba(28,124,114,0.06);
}
.nav-link.active {
  color: var(--teal);
  font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-fast) ease;
  z-index: 100;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.dropdown-menu a:hover {
  background: rgba(28,124,114,0.06);
  color: var(--teal);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    padding-left: 20px;
    padding-top: 0;
    margin-bottom: 10px;
  }
  .dropdown-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .dropdown-menu li:last-child a {
    border-bottom: none;
  }
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--teal-deep) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1010;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all var(--duration-fast) ease;
  border-radius: 2px;
}
.hamburger.open .hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,43,51,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main content offset for fixed header */
main {
  /* Removed margin-top: 72px because header is position: sticky, causing a visible gap */
}


/* ─── 8. HERO SECTION ──────────────────────────────────────── */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(28,124,114,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-side {
  position: relative;
  z-index: 1;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.hero-card-text {
  flex: 1;
}
.hero-card-text h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.hero-card-text p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.6;
}
.hero-card-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-top: 12px;
  display: block;
}


/* ─── 9. STATS STRIP ──────────────────────────────────────── */
.stats-strip {
  padding: 56px 0;
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* ─── 10. WHO WE ARE / VISION / COMMITMENT SECTIONS ───────── */
.who-section,
.vision-section,
.commitment-section,
.work-areas-section,
.impact-numbers-section,
.blog-section,
.leadership-section,
.partner-cta-section {
  padding: var(--section-pad-lg) 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.vision-grid h3 {
  color: var(--teal-deep);
}


/* ─── 11. REGISTRATION / CERTIFICATE SECTION ──────────────── */
.registration-section {
  padding: var(--section-pad-lg) 0;
  background: var(--paper-dim);
}


/* ─── 12. FOCUS AREAS SECTION ──────────────────────────────── */
.domain-block {
  margin-bottom: 56px;
}
.domain-block:last-child { margin-bottom: 0; }


/* ─── 13. PARTNER CTA BANNER ──────────────────────────────── */
.partner-cta-section {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
  background: #eef8f8;
  border: 1px solid #d1e5e5;
}
.trust-badge {
  text-align: center;
  padding: 32px 24px;
  background: transparent;
  border: none;
  border-right: 1px solid #d1e5e5;
  border-radius: 0;
}
.trust-badge:last-child {
  border-right: none;
}
.trust-badge-value {
  font-family: var(--font-heading, sans-serif);
  font-size: 36px;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 8px;
}
.trust-badge-label {
  font-family: var(--font-body, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #1a365d;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}
.trust-badge-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 14.5px;
  color: #4a5568;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
}


/* ─── 14. BLOG LISTING PAGE ───────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}
.blog-sidebar {
  position: sticky;
  top: 96px;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sidebar-widget ul li {
  margin-bottom: 8px;
}
.sidebar-widget ul li a {
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-widget ul li a:hover { color: var(--teal); }
.sidebar-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all var(--duration-fast) ease;
}
.pagination a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.pagination .active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}


/* ─── 15. BLOG POST PAGE ──────────────────────────────────── */
.post-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
}
.post-body h2 { margin-top: 40px; font-size: 28px; }
.post-body h3 { margin-top: 32px; font-size: 22px; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol {
  margin: 16px 0 20px 24px;
  color: var(--ink-soft);
}
.post-body li { margin-bottom: 8px; line-height: 1.7; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }

.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px auto;
  max-width: 760px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-bar span {
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--paper-dim);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all var(--duration-fast) ease;
}
.share-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}


/* ─── 16. BREADCRUMBS ──────────────────────────────────────── */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.breadcrumbs a { color: var(--teal); }
.breadcrumbs a:hover { color: var(--teal-deep); }
.breadcrumbs .sep { margin: 0 8px; color: var(--line); }


/* ─── 17. LIGHTBOX ─────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,43,51,0.92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
  z-index: 9001;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--duration-fast) ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}


/* ─── 18. VALUES GRID ──────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(28,124,114,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
}
.value-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.6;
}


/* ─── 19. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.footer-legal-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--teal); }

.footer-contact {
  font-style: normal;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact a {
  color: var(--teal);
}
.footer-contact a:hover {
  color: var(--teal-deep);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all var(--duration-fast) ease;
}
.social-link:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 4px;
}
.footer-note {
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.04em;
}


/* ─── 20. REVEAL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ─── 21. RESPONSIVE: Tablet ≤ 1024px ─────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-pad-lg: 72px;
    --wrap-pad: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-side { display: none; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .vision-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .dir-card { flex-direction: column; text-align: center; align-items: center; }

  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Trust Badges - 1 Column on Tablet/Mobile to prevent cramped text */
  .trust-badges { grid-template-columns: 1fr; }
  .trust-badge { border-right: none; border-bottom: 1px solid #d1e5e5; }
  .trust-badge:last-child { border-bottom: none; }
}


/* ─── 22. RESPONSIVE: Mobile ≤ 768px ──────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad-lg: 56px;
    --wrap-pad: 20px;
  }

  /* Mobile Nav */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--paper);
    z-index: 1005;
    padding: 80px 32px 40px;
    transition: right var(--duration-fast) ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(15,43,51,0.1);
  }
  .main-nav.open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
    text-align: center;
    border-radius: var(--radius) !important;
  }

  .hamburger { display: flex; }

  /* Grid collapses */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }

  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .certificate { padding: 24px; }
}


/* ─── 23. RESPONSIVE: Small Mobile ≤ 480px ────────────────── */
@media (max-width: 480px) {
  :root {
    --section-pad-lg: 40px;
    --wrap-pad: 16px;
  }

  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-number { font-size: 26px; }

  .card { padding: 20px; }
  .dir-card { padding: 24px; }
  .collab-row { flex-direction: column; gap: 12px; }
}


/* ─── 24. Reduced Motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ─── 25. PRINT ────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hamburger, .nav-overlay,
  .btn, .share-bar, .lightbox-overlay { display: none !important; }
  main { margin-top: 0; }
  body { background: #fff; color: #000; }
}

em, i { font-style: normal !important; }
