/* دانشوران — صفحه اول · برنامه ملی · تم روشن */
:root {
  --nh-blue: #003087;
  --nh-blue-mid: #1a4da6;
  --nh-teal: #00B2A9;
  --nh-gold: #C9992A;
  --nh-bg: #F7F9FC;
  --nh-surface: #FFFFFF;
  --nh-text: #0A1628;
  --nh-muted: #5A6580;
  --nh-border: #D8E0EC;
  --nh-radius: 16px;
  --nh-font: 'Vazirmatn', Tahoma, sans-serif;
  --nh-shadow: 0 8px 32px rgba(0, 48, 135, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; direction: rtl; font-family: var(--nh-font); background: var(--nh-bg); color: var(--nh-text); scroll-behavior: smooth; }

.nh-container { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 1.25rem; }

/* header */
.nh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nh-border);
}
.nh-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.nh-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.nh-logo img { width: 48px; height: 48px; object-fit: contain; }
.nh-logo strong { display: block; font-size: 1.05rem; color: var(--nh-blue); }
.nh-logo span { font-size: 0.72rem; color: var(--nh-muted); }
.nh-nav { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nh-nav a { text-decoration: none; color: var(--nh-muted); font-size: 0.9rem; font-weight: 500; }
.nh-nav a:hover { color: var(--nh-blue); }
@media (max-width: 640px) { .nh-nav { display: none; } }

.nh-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.15rem; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.nh-btn-primary { background: var(--nh-blue); color: #fff; box-shadow: 0 4px 14px rgba(0,48,135,0.25); }
.nh-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,48,135,0.35); }
.nh-btn-gold { background: linear-gradient(135deg, var(--nh-gold), #e8b630); color: var(--nh-blue); }
.nh-btn-outline { border: 1.5px solid var(--nh-border); color: var(--nh-blue); background: #fff; }

/* hero poster — light */
.nh-hero {
  position: relative; overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0,176,169,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0,48,135,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--nh-bg) 100%);
  border-bottom: 1px solid var(--nh-border);
}
.nh-hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 2 L58 17 L58 43 L30 58 L2 43 L2 17 Z' fill='none' stroke='%23003087' stroke-width='1'/%3E%3C/svg%3E");
}
.nh-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.nh-hero-side { display: flex; flex-direction: column; gap: 1.25rem; }
.nh-hero-visual { margin: 0; }
.nh-hero-visual img {
  width: 100%;
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  box-shadow: var(--nh-shadow);
  display: block;
}
@media (max-width: 768px) { .nh-hero-grid { grid-template-columns: 1fr; } }

/* visual gallery */
.nh-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.nh-visual-wide { grid-column: 1 / -1; }
.nh-visual-card {
  margin: 0;
  border-radius: var(--nh-radius);
  overflow: hidden;
  border: 1px solid var(--nh-border);
  background: var(--nh-surface);
  box-shadow: var(--nh-shadow);
}
.nh-visual-card img { width: 100%; display: block; }
.nh-visual-card img.nh-photo { aspect-ratio: 16/10; object-fit: cover; }
.nh-hero-visual img.nh-photo { aspect-ratio: 16/10; object-fit: cover; }
.nh-event-banner-img img { aspect-ratio: 4/3; object-fit: cover; }

.nh-footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin: 0.75rem 0; }
.nh-footer-nav a { font-weight: 600; font-size: 0.85rem; }

.nh-visual-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--nh-muted);
  border-top: 1px solid var(--nh-border);
}
@media (max-width: 640px) { .nh-visual-grid { grid-template-columns: 1fr; } }

.nh-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(0,48,135,0.08); color: var(--nh-blue);
  font-size: 0.78rem; font-weight: 700; margin-bottom: 1rem;
}
.nh-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900; line-height: 1.25; margin: 0 0 0.75rem;
  color: var(--nh-blue);
}
.nh-hero-lead { font-size: 1.05rem; color: var(--nh-muted); line-height: 1.85; margin: 0 0 1.5rem; }
.nh-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.nh-poster-card {
  background: var(--nh-surface);
  border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius);
  box-shadow: var(--nh-shadow);
  padding: 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.nh-poster-card::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--nh-blue), var(--nh-teal), var(--nh-gold));
}
.nh-poster-card img { width: 100px; height: 100px; object-fit: contain; margin-bottom: 1rem; }
.nh-poster-card h2 { font-size: 1.1rem; color: var(--nh-blue); margin: 0 0 0.5rem; }
.nh-poster-card p { font-size: 0.88rem; color: var(--nh-muted); margin: 0 0 1.25rem; line-height: 1.6; }
.nh-event-chip {
  display: block; padding: 0.65rem 1rem; margin-bottom: 0.5rem;
  background: var(--nh-bg); border-radius: 10px;
  font-size: 0.85rem; font-weight: 600; color: var(--nh-text);
  text-align: start;
}

/* dimensions */
.nh-section { padding: 4rem 0; }
.nh-section-alt { background: var(--nh-surface); border-block: 1px solid var(--nh-border); }
.nh-head { text-align: center; margin-bottom: 2.5rem; }
.nh-overline { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; color: var(--nh-teal); margin-bottom: 0.5rem; }
.nh-h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--nh-blue); margin: 0 0 0.5rem; }
.nh-sub { color: var(--nh-muted); max-width: 560px; margin-inline: auto; line-height: 1.7; }

.nh-dim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.nh-dim {
  padding: 1.5rem; border-radius: var(--nh-radius);
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  transition: border-color .2s, box-shadow .2s;
}
.nh-dim:hover { border-color: var(--nh-teal); box-shadow: var(--nh-shadow); }
.nh-dim .ico { font-size: 2rem; margin-bottom: 0.75rem; }
.nh-dim h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--nh-blue); }
.nh-dim p { margin: 0; font-size: 0.88rem; color: var(--nh-muted); line-height: 1.65; }

/* stats */
.nh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 640px) { .nh-stats { grid-template-columns: repeat(2, 1fr); } }
.nh-stat {
  text-align: center; padding: 1.25rem;
  background: var(--nh-surface); border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
}
.nh-stat strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--nh-blue); }
.nh-stat span { font-size: 0.8rem; color: var(--nh-muted); }

/* first event banner */
.nh-event-banner {
  padding: 2rem;
  border-radius: var(--nh-radius);
  background: linear-gradient(135deg, var(--nh-blue) 0%, #1a4da6 60%, #0d3d8a 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.nh-event-banner-img { margin: 0; }
.nh-event-banner-img img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.25);
  display: block;
}
@media (max-width: 768px) {
  .nh-event-banner { grid-template-columns: 1fr; text-align: center; }
  .nh-event-banner-img { max-width: 280px; margin-inline: auto; }
}
.nh-event-banner h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.nh-event-banner p { margin: 0; opacity: 0.85; font-size: 0.95rem; line-height: 1.6; }
.nh-event-banner .nh-btn-gold { white-space: nowrap; }

/* footer */
.nh-footer {
  padding: 2rem 0; text-align: center;
  border-top: 1px solid var(--nh-border);
  font-size: 0.85rem; color: var(--nh-muted);
}
.nh-footer a { color: var(--nh-blue); text-decoration: none; }
.nh-footer img { height: 36px; margin-bottom: 0.5rem; }

/* roadmap */
.nh-roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .nh-roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nh-roadmap { grid-template-columns: 1fr; } }
.nh-road-item {
  position: relative; padding: 1.5rem 1.25rem;
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius); border-top: 3px solid var(--nh-teal);
}
.nh-road-phase {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .05em;
  color: var(--nh-teal); margin-bottom: 0.5rem;
}
.nh-road-item h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--nh-blue); }
.nh-road-item p { margin: 0; font-size: 0.86rem; color: var(--nh-muted); line-height: 1.7; }

/* final CTA */
.nh-cta {
  padding: 3.5rem 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--nh-blue) 0%, #1a4da6 55%, var(--nh-teal) 140%);
}
.nh-cta h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; }
.nh-cta p { margin: 0 0 1.5rem; opacity: 0.9; }

/* ===== extended landing sections ===== */

/* dark / accent section variant */
.nh-section-dark {
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(0,178,169,0.18) 0%, transparent 55%),
    linear-gradient(160deg, #04183f 0%, #003087 55%, #06245e 100%);
  color: #fff;
  border-block: none;
}
.nh-section-dark .nh-h2 { color: #fff; }
.nh-section-dark .nh-overline { color: var(--nh-gold); }
.nh-section-dark .nh-sub { color: rgba(255,255,255,0.78); }

/* vision & mission split */
.nh-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .nh-vm-grid { grid-template-columns: 1fr; } }
.nh-vm-card {
  padding: 2rem; border-radius: var(--nh-radius);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.nh-vm-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--nh-teal), #0a8f88);
}
.nh-vm-card h3 { margin: 0 0 0.6rem; font-size: 1.25rem; color: #fff; }
.nh-vm-card p { margin: 0; color: rgba(255,255,255,0.82); line-height: 2; font-size: 0.98rem; }
.nh-vm-card .nh-quote { margin: 1rem 0 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--nh-gold); font-style: italic; color: var(--nh-gold); font-size: 0.95rem; line-height: 1.9; }

/* lead intro paragraph */
.nh-lead-block { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.nh-lead-block p { font-size: 1.08rem; line-height: 2.1; color: var(--nh-muted); margin: 0; }

/* importance / necessity cards with number */
.nh-need-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.nh-need {
  position: relative; padding: 1.75rem 1.5rem 1.5rem;
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius); overflow: hidden;
}
.nh-need::before {
  content: attr(data-n); position: absolute; top: -0.5rem; inset-inline-end: 0.5rem;
  font-size: 4rem; font-weight: 900; color: rgba(0,48,135,0.06); line-height: 1;
}
.nh-need .ico { font-size: 1.75rem; margin-bottom: 0.6rem; }
.nh-need h3 { margin: 0 0 0.4rem; font-size: 1.02rem; color: var(--nh-blue); position: relative; }
.nh-need p { margin: 0; font-size: 0.88rem; color: var(--nh-muted); line-height: 1.75; }

/* challenges vs response (two-column compare) */
.nh-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .nh-compare { grid-template-columns: 1fr; } }
.nh-compare-col { border-radius: var(--nh-radius); padding: 1.5rem; border: 1px solid var(--nh-border); background: var(--nh-surface); }
.nh-compare-col.is-challenge { border-top: 3px solid #c0392b; }
.nh-compare-col.is-response { border-top: 3px solid var(--nh-teal); }
.nh-compare-col h3 { margin: 0 0 1rem; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.nh-compare-col.is-challenge h3 { color: #b23528; }
.nh-compare-col.is-response h3 { color: #0a8f88; }
.nh-checklist { list-style: none; margin: 0; padding: 0; }
.nh-checklist li { position: relative; padding-inline-start: 1.75rem; margin-bottom: 0.85rem; font-size: 0.9rem; line-height: 1.7; color: var(--nh-text); }
.nh-checklist li::before { position: absolute; inset-inline-start: 0; top: 0.05rem; font-size: 1rem; }
.nh-checklist.is-x li::before { content: '✕'; color: #c0392b; }
.nh-checklist.is-check li::before { content: '✓'; color: var(--nh-teal); }

/* goals (objective list) */
.nh-goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.nh-goal {
  display: flex; gap: 1rem; padding: 1.4rem;
  background: var(--nh-surface); border: 1px solid var(--nh-border); border-radius: var(--nh-radius);
}
.nh-goal .badge {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(0,178,169,0.12); color: var(--nh-teal);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.05rem;
}
.nh-goal h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--nh-blue); }
.nh-goal p { margin: 0; font-size: 0.86rem; color: var(--nh-muted); line-height: 1.7; }

/* KPI counters */
.nh-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .nh-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.nh-kpi {
  text-align: center; padding: 1.75rem 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--nh-radius);
}
.nh-kpi .num { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1; }
.nh-kpi .num .suffix { color: var(--nh-gold); }
.nh-kpi .label { margin-top: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* achievements timeline-ish */
.nh-achieve-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.nh-achieve {
  padding: 1.5rem; border-radius: var(--nh-radius);
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  border-inline-start: 4px solid var(--nh-gold);
}
.nh-achieve .ico { font-size: 1.6rem; margin-bottom: 0.5rem; }
.nh-achieve h3 { margin: 0 0 0.35rem; font-size: 0.98rem; color: var(--nh-blue); }
.nh-achieve p { margin: 0; font-size: 0.85rem; color: var(--nh-muted); line-height: 1.7; }

/* benchmarks */
.nh-bench-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.nh-bench {
  padding: 1.5rem; border-radius: var(--nh-radius);
  background: var(--nh-surface); border: 1px solid var(--nh-border);
  transition: transform .2s, box-shadow .2s;
}
.nh-bench:hover { transform: translateY(-3px); box-shadow: var(--nh-shadow); }
.nh-bench .flag { font-size: 1.8rem; margin-bottom: 0.5rem; }
.nh-bench h3 { margin: 0 0 0.15rem; font-size: 1rem; color: var(--nh-blue); }
.nh-bench .org { font-size: 0.78rem; color: var(--nh-teal); font-weight: 700; margin-bottom: 0.5rem; }
.nh-bench p { margin: 0; font-size: 0.85rem; color: var(--nh-muted); line-height: 1.7; }
.nh-bench-note { text-align: center; max-width: 640px; margin: 1.75rem auto 0; font-size: 0.82rem; color: var(--nh-muted); line-height: 1.7; }

/* pillars (mission strip) */
.nh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .nh-pillars { grid-template-columns: 1fr; } }
.nh-pillar { padding: 1.1rem 1.25rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; }
.nh-pillar strong { display: block; color: var(--nh-gold); font-size: 0.95rem; margin-bottom: 0.25rem; }
.nh-pillar span { font-size: 0.84rem; color: rgba(255,255,255,0.78); line-height: 1.6; }

.nh-reveal { opacity: 0; transform: translateY(20px); transition: .6s ease; }
.nh-reveal.nh-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nh-reveal { opacity: 1; transform: none; transition: none; } }
