/* ============================================================
   Punjab Nursing & Health Workforce Reform Program
   Design system — "Verified Care" identity
   Palette: clinical teal + warm gold seal accent on paper
   Type: Fraunces (display) / Public Sans (body) / IBM Plex Mono (data)
   ============================================================ */

:root {
  --paper: #F6F4EE;
  --paper-alt: #EDE9DD;
  --ink: #16241F;
  --ink-soft: #48584F;
  --teal: #0E5C52;
  --teal-dark: #0A3B35;
  --teal-tint: #E2ECE7;
  --amber: #C68A2E;
  --amber-dark: #96681F;
  --sage: #8FAE93;
  --line: rgba(22, 36, 31, 0.14);
  --line-soft: rgba(22, 36, 31, 0.08);
  --shadow: 0 8px 30px rgba(15, 30, 25, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 30, 25, 0.14);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --nav-h: 90px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

* {
  overflow-wrap: break-word;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--teal-dark);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--amber-dark);
  display: inline-block;
}

/* Header logo */
.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Footer logo */
.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* ---------- Seal motif (signature element) ---------- */
.seal {
  --size: 44px;
  width: var(--size);
  height: var(--size);
  flex-shrink: 0;
}

.seal circle,
.seal path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal .seal-draw {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.1s cubic-bezier(.4, .7, .3, 1);
}

.seal.in-view .seal-draw {
  stroke-dashoffset: 0;
}

.seal .seal-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset .6s ease .7s;
}

.seal.in-view .seal-check {
  stroke-dashoffset: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-dark);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ============ NAV ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(246, 244, 238, 0.98);  /* bumped from .96 → .98, no blur needed */
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--teal-dark);
}

.brand .seal {
  color: var(--teal);
  --size: 38px;
}

.brand small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a,
.nav-links>li>button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s ease, color .2s ease;
}

.nav-links>li>a:hover,
.nav-links>li>button:hover,
.nav-links>li.open>button {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.nav-links .chev {
  width: 9px;
  height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

.nav-links li.open .chev {
  transform: rotate(225deg) translateY(2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-links li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin:2px;
}

.dropdown a:hover {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .86rem;
  background: var(--teal);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--teal-tint), transparent 60%),
    var(--paper);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  opacity: 0;
  animation: rise .7s ease forwards;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  max-width: 15ch;
  opacity: 0;
  animation: rise .8s ease .12s forwards;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 62ch;
  opacity: 0;
  animation: rise .8s ease .24s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  opacity: 0;
  animation: rise .8s ease .36s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .94rem;
  padding: 14px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: #fff;
}

.btn-amber:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
/* ---------- Scroll to top button ---------- */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:black;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
  z-index: 9998;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
/* Hero map graphic */
.hero-map {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: rise 1s ease .5s forwards;
}

.hero-map svg {
  width: 100%;
  max-width: 620px;
  height: auto;
}

.map-pin {
  transform-origin: center bottom;
  animation: pinDrop .8s cubic-bezier(.34, 1.56, .64, 1) backwards;
}

.map-pin:nth-child(1) {
  animation-delay: .9s;
}

.map-pin:nth-child(2) {
  animation-delay: 1.05s;
}

.map-pin:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes pinDrop {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.6);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.map-pulse {
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .55;
  }

  50% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ============ SECTIONS ============ */
section {
  padding: 84px 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-teal {
  background: var(--teal-dark);
  color: #EFEAD9;
}

.section-teal h2,
.section-teal h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-teal .section-head p {
  color: #C9D9D2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-stagger.in-view>* {
  opacity: 1;
  transform: none;
}

.reveal-stagger.in-view>*:nth-child(1) {
  transition-delay: .02s;
}

.reveal-stagger.in-view>*:nth-child(2) {
  transition-delay: .1s;
}

.reveal-stagger.in-view>*:nth-child(3) {
  transition-delay: .18s;
}

.reveal-stagger.in-view>*:nth-child(4) {
  transition-delay: .26s;
}

.reveal-stagger.in-view>*:nth-child(5) {
  transition-delay: .34s;
}

.reveal-stagger.in-view>*:nth-child(6) {
  transition-delay: .42s;
}

.reveal-stagger.in-view>*:nth-child(7) {
  transition-delay: .5s;
}

.reveal-stagger.in-view>*:nth-child(8) {
  transition-delay: .58s;
}

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card .seal {
  color: var(--teal);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: .96rem;
  margin-bottom: 0;
}

.card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: #FBF1DE;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Snapshot table */
.snapshot {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.snapshot-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .96rem;
}

.snapshot-row:last-child {
  border-bottom: none;
}

.snapshot-row dt {
  color: var(--ink-soft);
  font-weight: 600;
}

.snapshot-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--teal-dark);
  text-align: right;
}

/* ---------- DLI Ledger cards (signature system) ---------- */
.dli-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 30px 26px;
  position: relative;
  overflow: hidden;
}

.dli-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--amber);
}

.dli-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.dli-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dli-head h3 {
  margin: 0;
  font-size: 1.12rem;
  padding-top: 6px;
}

.dli-sub {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dli-sub li {
  display: flex;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink-soft);
  padding-left: 2px;
}

.dli-sub li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Timeline / process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width:780px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  padding: 26px 0 0;
}

.process-step .num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--amber-dark);
  font-weight: 700;
}

.process-step h4 {
  font-size: 1.02rem;
  margin: 8px 0;
  color: var(--teal-dark);
}

.process-step p {
  color: var(--ink-soft);
  font-size: .92rem;
}

/* ---------- Tabs (Events & Updates) ---------- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.tab-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  position: relative;
  top: 1px;
  border-bottom: 2.5px solid transparent;
}

.tab-btn.active {
  color: var(--teal-dark);
  border-bottom-color: var(--amber);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: rise .5s ease forwards;
}

/* ---------- Location tabs (CoE cities) ---------- */
.city-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.city-btn {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .25s ease;
}

.city-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.city-panel {
  display: none;
}

.city-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: rise .5s ease forwards;
}
@media (max-width: 900px) {
  .city-panel.active { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .city-panel.active { grid-template-columns: 1fr; }
}

/* ---------- Status pill ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Publications / downloads list ---------- */
.doc-list {
  display: grid;
  gap: 14px;
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.doc-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.doc-row .doc-name {
  font-weight: 600;
  font-size: .96rem;
}

.doc-row .doc-meta {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--ink-soft);
}

.doc-download {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 8px 16px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}

.doc-row:hover .doc-download {
  background: var(--teal);
  color: #fff;
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.accordion-trigger .plus {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
}

.accordion-trigger .plus::before {
  width: 100%;
  height: 2px;
  top: 8px;
}

.accordion-trigger .plus::after {
  width: 2px;
  height: 100%;
  left: 8px;
  transition: transform .3s ease;
}

.accordion-item.open .plus::after {
  transform: rotate(90deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.accordion-panel p {
  padding: 0 4px 22px;
  color: var(--ink-soft);
  max-width: 1015px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width:780px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--amber);
}

.stat .label {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #C9D9D2;
}

/* ---------- Team ---------- */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width:640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: .96rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-tint);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 70px 30px;
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  background: #fff;
}

.empty-state .seal {
  margin: 0 auto 18px;
  color: var(--sage);
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--teal-dark);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.cta-banner p {
  color: #CFE3DC;
  margin: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--teal-dark);
  color: #CFE3DC;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-brand .seal {
  color: var(--amber);
}

.site-footer h5 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.site-footer p {
  font-size: .9rem;
  color: #AFC7BE;
}

.site-footer ul {
  display: grid;
  gap: 12px;
}

.site-footer ul a {
  font-size: .9rem;
  color: #CFE3DC;
  transition: color .2s ease;
}

.site-footer ul a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #8FA89E;
}

/* ============ Page hero (interior pages) ============ */
.page-hero {
  padding: 64px 0 56px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  max-width: 20ch;
}

.page-hero p.lead {
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* ============ Utility ============ */
.mt-0 {
  margin-top: 0;
}

.center {
  text-align: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.small-caps {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============ Responsive nav (mobile) ============ */
@media (max-width: 1300px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links>li {
    width: 100%;
  }

  .nav-links>li>a,
  .nav-links>li>button {
    width: 100%;
    justify-content: space-between;
    padding: 16px 14px;
    font-size: 1.02rem;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0;
  }

  .nav-links li.open .dropdown {
    max-height: 300px;
    padding: 6px 0 10px;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============ Responsive header/brand ============ */
@media (max-width: 640px) {
  :root {
    --nav-h: 68px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-logo.piu-round {
    width: 38px !important;
    height: 38px !important;
  }

  .brand span {
    font-size: .8rem;
    max-width: 150px;
    line-height: 1.25;
  }
}

@media (max-width: 400px) {
  .brand span {
    max-width: 118px;
    font-size: .74rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .cta-banner {
    padding: 40px 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .snapshot-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .snapshot-row dd {
    text-align: left;
  }
}

/* V2 supplied imagery and responsive layouts */
.hero-photo {
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background: #082f2a
}

.hero-image-wrap {
  position: absolute;
  inset: 0
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.65) 45%,
        rgba(0,0,0,.50) 75%,
        rgba(0,0,0,.45) 100%);
}
.hero-photo h1,
.hero-photo p,
.hero-photo .lead,
.hero-photo .eyebrow{
    text-shadow:0 2px 12px rgba(0,0,0,.55);
}

.hero-photo .btn-ghost{
    color:#fff;
    border:2px solid rgba(255,255,255,.9);
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(6px);
}

.hero-photo .btn-ghost:hover{
    background:#fff;
    color:var(--teal-dark);
    border-color:#fff;
}
.hero-photo .container {
  position: relative;
  z-index: 2
}

.hero-photo h1,
.hero-photo .lead {
  color: #fff
}

.hero-photo .eyebrow {
  color: #f0c86b
}

.hero-photo .eyebrow::before {
  background: #f0c86b
}

.hero-photo .hero-map {
  margin-top: 42px;
  max-width: 430px;
  margin-left: auto
}

.map-image {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .22))
}

.image-card {
  overflow: hidden;
  padding: 0 0 28px
}

.image-card>*:not(.card-image) {
  margin-left: 30px;
  margin-right: 30px
}

.card-image {
  height: 210px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--teal-tint)
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.image-card:hover img {
  transform: scale(1.06)
}

.section-media {
  padding: 84px 0
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center
}

.media-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem)
}

.media-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem
}

.media-frame {
  border-radius: 22px;
  overflow: hidden;
  background: var(--teal-tint);
  box-shadow: var(--shadow-lg)
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover
}

.component-visual {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.component-visual img {
  width: 100%
}

.city-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: .3s;
  display: flex;
  flex-direction: column;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.city-card > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.city-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.city-card-content .status-pill {
  align-self: flex-start;
}

.city-card-content p {
  flex: 1;
}

.city-card-content .btn {
  margin-top: auto;
  align-self: flex-start;
}
.city-card>div {
  padding: 24px
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none
}

.feature-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft)
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800
}

.dli-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}
@media (max-width: 780px) {
  .dli-grid { grid-template-columns: 1fr; }
}

.contact-layout{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:40px;
    align-items:stretch;
}

.contact-info{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:35px;
    box-shadow:var(--shadow);
}

.map-embed{
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    height:100%;
    min-height:520px;
    padding:0;
    background:#fff;
}

.map-embed iframe{
    display:block;
    width:100%;
    height:100%;
    min-height:520px;
    border:0;
}

.contact-detail{
    margin-top:22px;
}

.contact-detail strong{
    display:block;
    margin-bottom:6px;
    color:var(--teal-dark);
}

.contact-detail span,
.contact-detail a{
    color:var(--ink-soft);
}
.contact-form-wrap {
  margin-top: 30px
}

.office-placeholder {
  min-height: 350px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff
}

.placeholder-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: auto
}

@media(max-width:960px) {
  .hero-photo {
    min-height: 680px
  }

  .hero-photo .hero-map {
    margin-left: 0;
    max-width: 360px
  }

  .media-split,
  .contact-layout {
    grid-template-columns: 1fr
  }

  .media-frame {
    order: -1
  }
}

@media(max-width:640px) {
  .hero-photo {
    min-height: 760px
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 38, 34, .9), rgba(6, 38, 34, .7))
  }

  .hero-photo .hero-map {
    max-width: 100%;
    margin-top: 30px
  }

  .card-image {
    height: 190px
  }

  .media-frame img {
    min-height: 250px
  }

  .contact-info,
  .map-embed,
  .contact-form-wrap {
    padding: 24px
  }

  .map-embed {
    padding: 0
  }

  .map-embed iframe {
    height: 320px
  }
}


/* Program Snapshot Layout */

.snapshot-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: stretch;
}

/* Left side */
.snapshot {
    height: 100%;
    margin: 0;
}

/* Right side - Vision + Mission */
.snapshot-layout > .grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

/* Make both cards equal height */
.snapshot-layout > .grid > .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: flex-start;
}

.snapshot-map{
    overflow:hidden;
    border-radius:18px;
    border:1px solid var(--line);
    background:#fff;
    box-shadow:var(--shadow);
    transition:.4s ease;
    cursor:pointer;
}

.snapshot-map img{
    width:100%;
    display:block;
    transition:transform .6s ease;
}

.snapshot-map:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-lg);
}

.snapshot-map:hover img{
    transform:scale(1.08);
}

@media(max-width:900px){

    .snapshot-layout {
        grid-template-columns: 1fr;
    }

    .snapshot-layout > .grid {
        height: auto;
        grid-template-rows: none;
    }

    .snapshot-layout > .grid > .card {
        height: auto;
    }

    .snapshot-map {
        order: -1;
    }

}

/* ==========================
   DLI Page Enhancements
========================== */

.page-hero{
    background:
        radial-gradient(circle at top right, rgba(198,138,46,.08), transparent 35%),
        linear-gradient(to bottom,#f9f7f2,#f6f4ee);
    border-bottom:1px solid var(--line);
}

.dli-card{
    transition:.35s ease;
}

.dli-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
    border-color:rgba(198,138,46,.35);
}

.dli-card::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:90px;
    height:90px;
    background:radial-gradient(circle,
        rgba(198,138,46,.08),
        transparent 70%);
}

.dli-num{
    width:56px;
    height:56px;
    font-size:.95rem;
    font-weight:700;
}

.dli-card p{
    color:var(--ink-soft);
    margin-bottom:0;
}

.dli-sub{
    margin-top:16px;
}

.dli-sub li{
    line-height:1.55;
}

.stat-strip .card{
    text-align:center;
    padding:28px;
}

.stat-strip .num{
    font-size:2.3rem;
    margin-bottom:6px;
}

.stat-strip .label{
    color:var(--ink-soft);
}

@media(max-width:780px){

.stat-strip{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:560px){

.stat-strip{
grid-template-columns:1fr;
}

}


.photo.ratio-16-9{ aspect-ratio: 16 / 9; }
.reveal.in-view{ opacity:1; transform:none; }

/* About page placeholder */

.about-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:460px;
    text-align:center;
    padding:50px;
}

.about-placeholder::before,
.about-placeholder::after{
    display:none;
}

.about-placeholder-content{
    max-width:520px;
}

.about-placeholder-icon{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    border-radius:50%;
    background:var(--teal-tint);
    color:var(--teal);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2.4rem;
}

.about-placeholder h3{
    margin-bottom:14px;
    font-size:2rem;
}

.about-placeholder p{
    color:var(--ink-soft);
    margin-bottom:30px;
    font-size:1.05rem;
    line-height:1.7;
}
/* -------------------------------------Social media icons------------------------------------- */
/* Contact Page */

.contact-layout{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:40px;
    align-items:stretch;
}

.contact-info{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:35px;
    box-shadow:var(--shadow);
}

.contact-detail{
    margin-top:22px;
}

.contact-detail strong{
    display:block;
    color:var(--teal-dark);
    margin-bottom:6px;
}

.contact-detail span,
.contact-detail a{
    color:var(--ink-soft);
}

.map-embed{
    overflow:hidden;
    border-radius:18px;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}

.social-links{
    display:flex;
    gap:12px;
    margin-top:12px;
}

.social-links a{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--teal);
    color:#fff;
    transition:.3s;
    font-size:18px;
}

.social-links a:hover{
    background:var(--amber);
    transform:translateY(-3px);
}

@media(max-width:900px){

.contact-layout{
    grid-template-columns:1fr;
}

}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 21px;
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Original social media colors */
.footer-social a:nth-child(1) {
    color: #1877F2; /* Facebook */
}

.footer-social a:nth-child(2) {
    color: #0A66C2; /* LinkedIn */
}

.footer-social a:nth-child(3) {
    color: #E4405F; /* Instagram */
}

.footer-social a:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}
.footer-social a:nth-child(1) i {
    transform: translateY(1px);
}
.hero-slider{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.hero-slider .slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.hero-slider .slide.active{
    opacity:1;
}

.hero-prev,
.hero-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    z-index:20;
    transition:.3s;
}

.hero-prev:hover,
.hero-next:hover{
    background:rgba(255,255,255,.35);
}

.hero-prev{
    left:30px;
}

.hero-next{
    right:30px;
}

.hero-dots{
    position:absolute;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:20;
}

.hero-dots .dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    cursor:pointer;
    transition:.3s;
}

.hero-dots .dot.active{
    background:#fff;
    transform:scale(1.25);
}
.hero-slide-caption {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 15;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
  margin: 0;
  opacity: 1;
  transition: opacity .4s ease;

  /* text-wrap fixes */
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.3;
  max-width: 700px;
  width: 90%;
  padding: 0 16px;
  text-wrap: balance; /* modern browsers — keeps lines even */
}

.hero-slide-caption.fade-out {
  opacity: 0;
}

/* Tablets */
@media (max-width: 980px) {
  .hero-slide-caption {
    max-width: 560px;
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    bottom: 90px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-slide-caption {
    max-width: 320px;
    font-size: 1.05rem;
    line-height: 1.35;
    bottom: 70px;
    width: 92%;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero-slide-caption {
    max-width: 280px;
    font-size: .95rem;
    bottom: 60px;
  }
}

/* Large / X-laptop screens */
@media (min-width: 1440px) {
  .hero-slide-caption {
    max-width: 820px;
    font-size: 2.1rem;
    bottom: 120px;
  }
}

@media(max-width:768px){

.hero-prev,
.hero-next{
    width:42px;
    height:42px;
    font-size:22px;
}

.hero-prev{left:15px;}
.hero-next{right:15px;}

}
/* -----Index PAge Facebook feed and text css--------- */
/* Hero intro + Facebook feed side by side */
.intro-social-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 54px;
    align-items: start;
}

.intro-social-title {
    margin-top: 0;
}

.intro-social .facebook-feed {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.intro-social .facebook-feed iframe {
    display: block;
    width: 100%;
}

@media (max-width: 960px) {
    .intro-social-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .intro-social .facebook-feed iframe {
        height: 360px;
    }
}
/* Section divider */
.section-divider {
    border: none;
    height: 1px;
    background: var(--line);
    margin: 0;
}

/* Optional: fancier divider with a centered accent, matches your amber/teal branding */
.section-divider-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.section-divider-accent::before,
.section-divider-accent::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.section-divider-accent .divider-mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    margin: 0 16px;
    flex-shrink: 0;
}

.photo.ratio-16-9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand {
  flex-shrink: 0;
  gap: 10px;
}

.brand span {
  max-width: 230px;
  white-space: normal;
}

.nav-links {
  gap: 2px;
}

.nav-links > li > a,
.nav-links > li > button {
  padding: 10px 10px;
  font-size: .88rem;
}
.brand-logo.piu-round {
  border-radius: 50%;
  object-fit: contain;   /* crop-to-fill, not contain */
  width: 72px;
  height: 72px;
  mix-blend-mode: normal;   /* multiply looks odd once it's cropped/cover — turn off for this one */
  border: 1px solid var(--line);
}

.cta-social-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.cta-social-layout .cta-banner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-social-layout .card.intro-social {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cta-social-layout .facebook-feed {
    flex: 1;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .cta-social-layout {
        grid-template-columns: 1fr;
    }
}