/* ============ I-STEM Redesign - Modern Government Official ============ */
:root {
  /* Brand palette inspired by Indian tricolour, kept restrained for gov tone */
  --navy: #0B2545;
  --navy-deep: #061935;
  --navy-soft: #133A6B;
  --saffron: #E07A1F;          /* accent */
  --saffron-deep: #B8601A;
  --emerald: #0F8A65;          /* secondary accent */
  --sand: #F4EEE3;
  --paper: #FBFAF6;
  --ink: #0E1726;
  --ink-soft: #364152;
  --muted: #6B7385;
  --line: #E5E1D6;
  --line-strong: #C9C2B0;
  --white: #FFFFFF;

  --grad-hero: linear-gradient(135deg, #0B2545 0%, #133A6B 55%, #1E4F8E 100%);
  --grad-accent: linear-gradient(120deg, #E07A1F 0%, #D86E2C 100%);

  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 1px 1px rgba(11,37,69,.04);
  --shadow-md: 0 8px 24px rgba(11,37,69,.08), 0 2px 6px rgba(11,37,69,.06);
  --shadow-lg: 0 24px 60px rgba(11,37,69,.14);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1240px;

  --font-display: 'Fraunces', 'Tinos', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --t-fast: .18s cubic-bezier(.4,0,.2,1);
  --t: .28s cubic-bezier(.4,0,.2,1);
  --t-slow: .55s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --navy: #C8D6EE;
  --navy-deep: #E2EAF7;
  --navy-soft: #93A8CC;
  --sand: #1A2233;
  --paper: #0C1320;
  --ink: #ECF1F8;
  --ink-soft: #B6BFCF;
  --muted: #8B95A8;
  --line: #1F2A3D;
  --line-strong: #2A3650;
  --white: #131C2E;

  --grad-hero: linear-gradient(135deg, #050B18 0%, #0A1830 55%, #16315C 100%);
  --grad-accent: linear-gradient(120deg, #E07A1F 0%, #C75E10 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

/* ============ Dark-mode contrast safeguards ============ */
[data-theme="dark"] .partners,
[data-theme="dark"] .news-featured,
[data-theme="dark"] .news-item,
[data-theme="dark"] .program-card,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .hero-card .search-inline { background: #131C2E; color: var(--ink); }

[data-theme="dark"] .cta-band {
  background: #15203A;
  border-color: var(--line);
}
[data-theme="dark"] .cta-band .visual .ring {
  background: #1A2540;
  border-color: #243155;
  color: var(--ink);
}
[data-theme="dark"] .stats-band { background: #101A2E; }
[data-theme="dark"] .stat .icon { background: #18233D; border-color: var(--line-strong); }
[data-theme="dark"] .site-footer { background: #050B18; }
[data-theme="dark"] .top-bar { background: #050B18; }
[data-theme="dark"] .page-banner h1,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .testimonials-band h2 { color: #fff; }
[data-theme="dark"] .search-box { background: #131C2E; }
[data-theme="dark"] .search-box input[type="search"] { color: var(--ink); border-bottom-color: var(--line); }
[data-theme="dark"] .search-box .quick a { background: #1A2540; color: var(--ink); }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea { background: #1A2540; color: var(--ink); border-color: var(--line-strong); }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--saffron); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ Top utility bar ============ */
.top-bar {
  background: var(--navy-deep);
  color: #C9D3E6;
  font-size: 12.5px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar .gov-tag { display: flex; align-items: center; gap: 8px; }
.top-bar .gov-tag span.dot { width: 6px; height: 6px; background: var(--saffron); border-radius: 50%; }
.top-bar nav { display: flex; gap: 22px; align-items: center; }
.top-bar nav a { color: #B7C2D6; transition: color var(--t-fast); }
.top-bar nav a:hover { color: #fff; }
.top-bar .lang { display: inline-flex; align-items: center; gap: 6px; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,246,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), border-color var(--t);
}
[data-theme="dark"] .site-header { background: rgba(12,19,32,.82); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark {
  width: 46px; height: 46px;
  background: var(--grad-hero);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(224,122,31,.6), transparent 50%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
[data-theme="dark"] .brand-text strong { color: var(--navy-deep); }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav a:hover { color: var(--navy); background: rgba(11,37,69,.05); }
[data-theme="dark"] .primary-nav a:hover { background: rgba(255,255,255,.05); color: var(--navy-deep); }
.primary-nav a.active { color: var(--navy); }
.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all var(--t-fast);
  background: transparent;
}
.icon-btn:hover { background: var(--sand); color: var(--navy); transform: translateY(-1px); }
[data-theme="dark"] .icon-btn:hover { background: var(--line); color: var(--navy-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14.5px;
  transition: all var(--t-fast);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 6px 14px rgba(224,122,31,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(224,122,31,.38); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
[data-theme="dark"] .btn-outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline:hover { background: var(--navy); color: #fff; }
[data-theme="dark"] .btn-outline:hover { background: var(--navy-deep); color: var(--paper); }
.btn-ghost { color: var(--ink-soft); padding: 11px 14px; }
.btn-ghost:hover { color: var(--navy); }

.menu-toggle { display: none; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(6,25,53,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  display: none;
  padding: 96px 24px 24px;
}
.search-overlay.is-open { display: block; animation: fadeIn var(--t); }
.search-box {
  max-width: 720px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.search-box input[type="search"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 22px;
  padding: 14px 8px;
  border: none; outline: none; background: transparent;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}
.search-box input[type="search"]:focus { border-color: var(--saffron); }
.search-box .quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-box .quick a {
  font-size: 13px; padding: 6px 12px;
  background: var(--sand); border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: all var(--t-fast);
}
.search-box .quick a:hover { background: var(--navy); color: #fff; }
.search-results { margin-top: 14px; max-height: 360px; overflow-y: auto; }
.search-results a {
  display: block; padding: 12px 10px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.search-results a:hover { background: var(--sand); }
.search-results .r-title { font-weight: 600; color: var(--navy); }
[data-theme="dark"] .search-results .r-title { color: var(--navy-deep); }
.search-results .r-snip { font-size: 13px; color: var(--muted); }

/* ============ Hero (homepage) ============ */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #E9EEF7;
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(224,122,31,.25), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(15,138,101,.22), transparent 60%);
  pointer-events: none;
}
.hero::after {
  /* Subtle chakra-inspired ring */
  content: "";
  position: absolute;
  right: -180px; top: -180px;
  width: 540px; height: 540px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  box-shadow: inset 0 0 0 80px rgba(255,255,255,.02);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-pill);
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #FFD7B5;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; background: var(--saffron); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(224,122,31,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,122,31,.7); }
  70% { box-shadow: 0 0 0 12px rgba(224,122,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,122,31,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.04;
  margin: 22px 0 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: #FFC18A;
  font-weight: 500;
}
.hero p.lead {
  font-size: 18px;
  max-width: 540px;
  color: #C7D3E6;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  margin: 0 0 14px;
}
.search-inline {
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.search-inline input {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  border: none; outline: none;
  background: transparent;
  color: var(--ink);
}
.search-inline select {
  border: none; outline: none; background: var(--sand);
  padding: 12px; border-radius: 8px; font-size: 13px;
  color: var(--ink-soft);
}
.search-inline button {
  background: var(--grad-accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.hero-card .quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-card .quick-links a {
  font-size: 12.5px;
  padding: 6px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-pill);
  color: #DCE5F5;
  transition: all var(--t-fast);
}
.hero-card .quick-links a:hover { background: rgba(255,255,255,.16); color: #fff; }

.hero-meta {
  display: flex; gap: 24px; margin-top: 26px;
  color: #B6C3DB; font-size: 13px;
}
.hero-meta .m { display: flex; align-items: center; gap: 8px; }
.hero-meta i { color: var(--saffron); }

/* ============ Marquee (partners / ministries) ============ */
.partners {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
[data-theme="dark"] .partners { background: var(--white); }
.partners .label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}
.partner-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center;
  gap: 32px 56px;
}
.partner-row .p-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  opacity: .65;
  letter-spacing: -0.005em;
  transition: opacity var(--t-fast), color var(--t-fast);
}
.partner-row .p-item:hover { opacity: 1; color: var(--navy); }
[data-theme="dark"] .partner-row .p-item:hover { color: var(--navy-deep); }

/* ============ Sections ============ */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron-deep); font-weight: 700; margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--navy);
}
[data-theme="dark"] .section-head h2 { color: var(--navy-deep); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.section-head.left { text-align: left; margin-left: 0; }

/* ============ Stats ============ */
.stats-band {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat {
  padding: 20px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
[data-theme="dark"] .stat .num { color: var(--navy-deep); }
.stat .num .plus { color: var(--saffron); font-size: 32px; vertical-align: top; margin-left: 2px; }
.stat .label {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.stat .icon {
  position: absolute; top: 20px; right: 24px;
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--saffron);
}

/* ============ About preview block ============ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.about-grid .imgwrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--navy);
}
.about-grid .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.about-grid .imgwrap .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(11,37,69,.85);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(6px);
}
.about-grid .imgwrap .badge strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #FFC18A; }
.about-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,3.6vw,42px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; color: var(--navy); }
[data-theme="dark"] .about-grid h2 { color: var(--navy-deep); }
.about-grid .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 700; margin-bottom: 12px; display: inline-block; }
.about-grid p { color: var(--ink-soft); font-size: 16.5px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: start; gap: 12px; }
.feature-list li::before {
  content: ""; flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-accent);
  margin-top: 3px;
  position: relative;
  box-shadow: 0 4px 10px rgba(224,122,31,.3);
}
.feature-list li {
  position: relative;
}
.feature-list li span.check {
  position: absolute; left: 5px; top: 6px;
  color: #fff; font-size: 12px; font-weight: 700;
}

/* ============ Programs / Schemes ============ */
.programs-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
[data-theme="dark"] .chip:hover { color: var(--navy-deep); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
[data-theme="dark"] .chip.active { background: var(--navy-deep); color: var(--paper); border-color: var(--navy-deep); }

.programs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--t);
  display: flex; flex-direction: column;
}
.program-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.program-card:hover::before { transform: scaleX(1); }
.program-card .ico {
  width: 52px; height: 52px;
  background: var(--sand);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--saffron-deep);
  margin-bottom: 18px;
  font-size: 22px;
}
.program-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
[data-theme="dark"] .program-card h3 { color: var(--navy-deep); }
.program-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.program-card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--saffron-deep); font-weight: 700;
  margin-bottom: 12px;
}
.program-card .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  transition: gap var(--t-fast);
}
[data-theme="dark"] .program-card .arrow { color: var(--navy-deep); }
.program-card:hover .arrow { gap: 14px; }

/* ============ News ============ */
.news-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
}
.news-featured {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t);
}
.news-featured:hover { box-shadow: var(--shadow-md); }
.news-featured .img {
  aspect-ratio: 16/10; overflow: hidden; background: var(--navy);
}
.news-featured .img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.news-featured:hover .img img { transform: scale(1.04); }
.news-featured .body { padding: 28px; }
.news-featured .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 700; }
.news-featured h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; line-height: 1.2; margin: 10px 0;
  color: var(--navy); letter-spacing: -0.015em;
}
[data-theme="dark"] .news-featured h3 { color: var(--navy-deep); }
.news-featured p { color: var(--ink-soft); margin: 0 0 14px; }
.news-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }

.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: grid; grid-template-columns: 70px 1fr;
  gap: 18px; padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.news-item:hover { transform: translateX(4px); border-color: var(--navy); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .news-item:hover { border-color: var(--navy-deep); }
.news-item .date {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; color: var(--saffron-deep);
  text-align: center; line-height: 1.1;
}
.news-item .date strong { display: block; font-size: 26px; color: var(--navy); letter-spacing: -0.02em; }
[data-theme="dark"] .news-item .date strong { color: var(--navy-deep); }
.news-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 4px; line-height: 1.3; color: var(--navy); }
[data-theme="dark"] .news-item h4 { color: var(--navy-deep); }
.news-item p { font-size: 13px; margin: 0; color: var(--ink-soft); }

/* ============ Testimonials ============ */
.testimonials-band { background: var(--navy); color: #DCE5F5; }
.testimonials-band .section-head h2 { color: #fff; }
.testimonials-band .section-head p { color: #A8B6D2; }
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.t-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t);
}
.t-card:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.t-card .quote-mark {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 600;
  color: var(--saffron); line-height: 1;
  margin-bottom: 8px;
}
.t-card .quote { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.5; color: #ECEFF7; margin: 0 0 24px; }
.t-card .author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.t-card .author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-accent); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
}
.t-card .author .who strong { display: block; color: #fff; font-size: 14.5px; }
.t-card .author .who small { color: #9FAFCB; font-size: 12.5px; }

/* ============ CTA Band ============ */
.cta-band {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin: 80px auto;
  max-width: calc(var(--container) - 40px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cta-band::before {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 320px; height: 320px;
  background: var(--grad-accent);
  opacity: .08;
  border-radius: 50%;
  filter: blur(8px);
}
.cta-band h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy); margin: 0 0 12px;
}
[data-theme="dark"] .cta-band h3 { color: var(--navy-deep); }
.cta-band p { color: var(--ink-soft); margin: 0 0 18px; font-size: 16.5px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .visual {
  text-align: right;
  position: relative;
  z-index: 1;
}
.cta-band .visual .ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 16px solid var(--white);
  display: inline-grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 60px;
  color: var(--navy);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  letter-spacing: -0.04em;
}
[data-theme="dark"] .cta-band .visual .ring { color: var(--navy-deep); }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-deep);
  color: #B7C2D6;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h5 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; color: #fff;
  margin: 0 0 18px; letter-spacing: -0.005em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { font-size: 14px; color: #99A8C2; transition: color var(--t-fast); }
.footer-grid ul a:hover { color: var(--saffron); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #99A8C2; }
.footer-brand p { font-size: 14px; color: #99A8C2; margin: 18px 0; max-width: 320px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #99A8C2;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }

.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
  color: #7F8DA8;
}
.footer-bottom a { color: #99A8C2; }
.footer-bottom a:hover { color: var(--saffron); }

/* ============ Inner page header ============ */
.page-banner {
  background: var(--grad-hero);
  color: #fff;
  padding: 84px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(224,122,31,.18), transparent 60%);
}
.page-banner .container { position: relative; }
.breadcrumb { font-size: 13px; color: #B6C3DB; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: #B6C3DB; }
.breadcrumb a:hover { color: var(--saffron); }
.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 760px;
}
.page-banner p { color: #C7D3E6; font-size: 18px; max-width: 640px; margin: 0; }

/* ============ Article body ============ */
.prose { max-width: 820px; margin: 0 auto; padding: 80px 0; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; margin: 48px 0 16px; color: var(--navy); letter-spacing: -0.015em; }
[data-theme="dark"] .prose h2 { color: var(--navy-deep); }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 32px 0 12px; color: var(--navy); }
[data-theme="dark"] .prose h3 { color: var(--navy-deep); }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 24px; }
.prose ul li { margin: 8px 0; color: var(--ink-soft); }
.prose strong { color: var(--navy); }
[data-theme="dark"] .prose strong { color: var(--navy-deep); }
.prose blockquote {
  border-left: 3px solid var(--saffron);
  padding: 6px 22px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 19px;
}

/* ============ News page list ============ */
.news-page-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 28px;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 80px 0;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
}
.contact-item .ic {
  width: 48px; height: 48px;
  background: var(--sand); border-radius: 12px;
  display: grid; place-items: center; color: var(--saffron-deep);
}
.contact-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 6px; color: var(--navy); }
[data-theme="dark"] .contact-item h4 { color: var(--navy-deep); }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.contact-item a:hover { color: var(--saffron-deep); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  margin: 0 0 6px; color: var(--navy);
}
[data-theme="dark"] .contact-form h3 { color: var(--navy-deep); }
.contact-form p.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(224,122,31,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-msg { margin-top: 12px; font-size: 13.5px; padding: 10px 12px; border-radius: 8px; display: none; }
.form-msg.is-show { display: block; }
.form-msg.ok { background: rgba(15,138,101,.1); color: var(--emerald); border: 1px solid rgba(15,138,101,.3); }

/* ============ Skip link / Accessibility ============ */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
  font-size: 13px;
}
.skip-link:focus { left: 16px; z-index: 100; }

/* ============ Animations ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .cta-band .visual { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }
  .site-header .container { min-height: 64px; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 14px; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 16px; border-radius: 8px; }
  .menu-toggle { display: grid; }
  .top-bar nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .programs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-page-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .row-2 { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
}
