/* ============================================================
   Design Tokens — National Committee for Care of Prisoners
   ============================================================ */
:root {
  /* Primary – SA Flag Green */
  --green-25:  #F0F9F4;
  --green-50:  #E0F3EA;
  --green-100: #BFDCCF;
  --green-200: #88BFA6;
  --green-300: #64AB8B;
  --green-400: #3F976F;
  --green-500: #1B8354;  /* Brand primary */
  --green-600: #176E47;
  --green-700: #125939;
  --green-800: #0E442C;  /* Navbar dark border / footer */
  --green-900: #0A2F1E;  /* Utility bar / darkest */

  /* Secondary – Gold */
  --gold-100:  #F5E5B8;
  --gold-300:  #E7BF53;
  --gold-400:  #E1B02A;
  --gold-500:  #C89A1B;

  /* Neutral */
  --neutral-50:  #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E8E8E8;
  --neutral-400: #A0A0A0;
  --neutral-600: #6B6B6B;
  --neutral-800: #333333;

  /* Typography */
  --font-primary: 'IBM Plex Sans Arabic', sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-primary);
  color: var(--neutral-800);
  background: #fff;
  direction: rtl;
}

a { text-decoration: none; }

img { max-width: 100%; }

/* ============================================================
   Digital Stamp — Guideline 19
   Government registration bar, topmost element on every page
   ============================================================ */
.digital-stamp {
  background: #F3F4F6;   /* gray — matches DGA design system */
  border-bottom: 1px solid #D2D6DB;
  font-size: 0.8rem;
  color: #161616;
  padding: 6px 0;
}

.stamp-icon {
  color: #1B6B3A;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Saudi flag */
.stamp-flag { flex-shrink: 0; border-radius: 2px; }

/* Stamp label text */
.stamp-label { font-size: 0.8rem; color: #161616; }

/* Verify toggle — plain green text, no border, no background (matches hrsd.gov.sa) */
.stamp-verify-btn {
  background: none;
  border: none;
  color: #1B6B3A;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-primary);
}
.stamp-verify-btn:hover { text-decoration: underline; }

/* Chevron flips when panel is open */
.stamp-verify-btn[aria-expanded="true"] .stamp-chevron {
  transform: rotate(180deg);
}
.stamp-chevron { transition: transform .2s; font-size: 0.7rem; }

/* Stamp detail icon color */
.stamp-detail-icon { color: #1B6B3A; font-size: 1rem; margin-top: 3px; flex-shrink: 0; }

/* Collapsible panel border separator */
.stamp-panel-border {
  border-top: 1px solid #D2D6DB;
  background: #F3F4F6;
}

/* Panel inner layout — 3 columns */
.stamp-panel-inner {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  flex-wrap: wrap;
}

/* Single detail item */
.stamp-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 200px;
}
.stamp-detail i {
  font-size: 1.2rem;
  color: #1B6B3A;
  margin-top: 2px;
  flex-shrink: 0;
}
.stamp-detail strong {
  display: block;
  font-size: 0.85rem;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.stamp-detail p {
  font-size: 0.8rem;
  color: #4A4A4A;
  margin: 0;
  line-height: 1.5;
}
.stamp-detail code {
  background: #E5E7EB;  /* gray chip — matches DGA design system */
  color: #161616;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: var(--font-primary);
}

/* ============================================================
   Second Nav Header (Guideline 3)
   Light gray bar — weather, date, time, location + a11y icons
   ============================================================ */
.second-nav {
  background: #F9F9F9;
  border-bottom: 1px solid #E5E5E5;
  padding: 6px 0;
  font-size: 0.8rem;
  color: #4A4A4A;
}

/* Right group: weather + date + time + location */
.second-nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.second-nav-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4A4A4A;
  font-size: 0.8rem;
}
.second-nav-meta i { font-size: 0.85rem; }

/* Left group: accessibility icon buttons */
.a11y-btn {
  background: none;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4A4A4A;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .15s, color .15s, border-color .15s;
}
.a11y-btn:hover {
  background: #E8F5E9;
  color: #1B6B3A;
  border-color: #1B6B3A;
}

/* High contrast mode — toggled by JS */
body.high-contrast { filter: contrast(1.5) grayscale(.2); }

/* Hide utility meta on mobile — a11y buttons always stay visible */
@media (max-width: 767px) {
  .second-nav-meta  { display: none !important; }
  .second-nav-divider { display: none !important; }
}

/* ============================================================
   Navbar
   ============================================================ */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
/* Logo sizing */
.navbar-logo {
  height: 52px;
  max-width: 180px;
  object-fit: contain;
}

/* Hamburger icon — no inline style needed */
.navbar-toggler-icon-custom {
  font-size: 1.6rem;
  color: #1B6B3A;
}

/* Nav links */
.main-navbar .nav-link {
  color: var(--neutral-800) !important;
  font-weight: 500;
  font-size: 0.9375rem;   /* Text md — 15px */
  padding: 1.1rem 0.75rem !important;
  transition: color .2s;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--green-500) !important;
}

/* Dropdown panel */
.main-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-radius: 12px;
  margin-top: 0;
  min-width: 220px;
}

/* Dropdown group header label */
.main-navbar .dropdown-header {
  font-size: 0.75rem;      /* Text xs — 12px */
  font-weight: 600;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0.6rem 1rem 0.3rem;
}

/* Dropdown items */
.main-navbar .dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  color: var(--neutral-800);
  border-radius: 6px;
}
.main-navbar .dropdown-item:hover {
  background: var(--green-25);
  color: var(--green-500);
}

/* CTA button — منصة العطاء */
.btn-cta {
  background: var(--green-500);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.45rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--green-600); color: #fff !important; }

/* Search icon button */
.navbar-search-btn {
  border: none;
  background: none;
  color: var(--neutral-600);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.navbar-search-btn:hover {
  color: var(--green-500);
  background: var(--green-25);
}

.lang-btn {
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: var(--neutral-800);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--green-500); color: var(--green-500); }

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,47,30,.85) 0%, rgba(14,68,44,.75) 55%, rgba(27,131,84,.45) 100%),
    url('../images/fbg.png') center/cover no-repeat;
  background-color: var(--green-800);
}
/* Decorative circle overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 20% 50%, rgba(27,131,84,.18) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}
.hero-content .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content .hero-desc {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.btn-hero-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 0.6rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.btn-hero-outline:hover {
  background: #fff;
  color: var(--green-800);
}
.hero-indicators {
  position: absolute;
  bottom: 28px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-indicators button.active {
  background: #fff;
  transform: scale(1.2);
}

/* ============================================================
   Section Commons
   ============================================================ */
.section-py { padding: 72px 0; }
.section-py-sm { padding: 56px 0; }

.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}
.section-header p {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
  margin-right: auto;
}
.btn-outline-green {
  border: 1.5px solid var(--green-500);
  color: var(--green-500);
  background: transparent;
  border-radius: 8px;
  padding: 0.45rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background .2s, color .2s;
  font-family: var(--font-primary);
}
.btn-outline-green:hover {
  background: var(--green-500);
  color: #fff;
}
.btn-green {
  background: var(--green-500);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background .2s;
  font-family: var(--font-primary);
}
.btn-green:hover { background: var(--green-600); color: #fff; }

/* ============================================================
   Statistics
   ============================================================ */
.stats-section { background: #fff; border-bottom: 1px solid var(--neutral-200); }
.stat-card {
  text-align: center;
  padding: 32px 16px;
}
.stat-icon {
  width: 52px;
  height: 52px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green-500);
  font-size: 1.4rem;
}
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--neutral-600);
}
.stat-divider {
  border-right: 1px solid var(--neutral-200);
}

/* ============================================================
   Core Tracks (Accordion cards)
   ============================================================ */
.tracks-section { background: var(--neutral-50); }
.track-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: box-shadow .2s, border-color .2s;
}
.track-card:hover {
  box-shadow: 0 4px 20px rgba(27,131,84,.12);
  border-color: var(--green-200);
}
.track-icon {
  width: 44px;
  height: 44px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.track-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}
.track-card p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 0;
}
.track-toggle {
  background: none;
  border: none;
  color: var(--neutral-600);
  cursor: pointer;
  padding: 4px;
  margin-top: 12px;
  transition: color .2s, transform .2s;
}
.track-toggle:hover { color: var(--green-500); }
.track-toggle.open { transform: rotate(180deg); }

/* ============================================================
   Initiatives Carousel
   ============================================================ */
.initiatives-section { background: #fff; }
.initiative-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.initiative-card:hover {
  box-shadow: 0 4px 20px rgba(27,131,84,.12);
  border-color: var(--green-200);
}
.initiative-icon {
  width: 44px;
  height: 44px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.1rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.initiative-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}
.initiative-card p {
  font-size: 0.82rem;
  color: var(--neutral-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.initiative-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Bootstrap carousel override for initiatives */
#initiativesCarousel .carousel-inner { padding-bottom: 48px; }
#initiativesCarousel .carousel-indicators {
  bottom: 0;
}
#initiativesCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-200);
  border: none;
  opacity: 1;
}
#initiativesCarousel .carousel-indicators .active {
  background: var(--green-500);
}

/* ============================================================
   Social Impact
   ============================================================ */
.impact-section { background: var(--green-25); }
.impact-card {
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.impact-icon {
  width: 52px;
  height: 52px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.impact-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 6px;
}
.impact-label {
  font-size: 0.875rem;
  color: var(--neutral-600);
}

/* ============================================================
   News Section
   ============================================================ */
.news-section { background: #fff; }
.news-card {
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.news-card .news-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card .news-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card .news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .news-tag {
  display: inline-block;
  background: var(--green-25);
  color: var(--green-500);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.news-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
  line-height: 1.5;
}
.news-card p {
  font-size: 0.82rem;
  color: var(--neutral-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.news-card .btn-read-more {
  background: var(--green-500);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  align-self: flex-start;
  transition: background .2s;
}
.news-card .btn-read-more:hover { background: var(--green-600); }

/* ============================================================
   Partners
   ============================================================ */
.partners-section { background: var(--neutral-50); padding: 56px 0; }
.partners-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 40px;
  text-align: center;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .2s, opacity .2s;
}
.partner-logo:hover { filter: none; opacity: 1; }
.partner-logo-placeholder {
  width: 80px;
  height: 60px;
  background: var(--neutral-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
}
.partner-arrow {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.partner-arrow:hover { border-color: var(--green-500); color: var(--green-500); }

/* ============================================================
   Footer
   ============================================================ */
.main-footer {
  background: var(--green-800);
  color: rgba(255,255,255,.85);
  padding: 60px 0 0;
}
.footer-col h6 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.7);
  font-size: 0.85rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 0.95rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--green-500); color: #fff; }

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 8px;
  transition: background .2s;
  width: 100%;
}
.app-badge:hover { background: rgba(255,255,255,.18); color: #fff; }
.app-badge i { font-size: 1.3rem; }

.footer-bottom {
  background: var(--green-900);
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom .vision-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.75rem;
}
.vision-badge {
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.7rem;
}
.footer-bottom p {
  color: rgba(255,255,255,.55);
  font-size: 0.78rem;
  margin: 0;
}
.footer-timestamp {
  color: rgba(255,255,255,.45);
  font-size: 0.75rem;
  display: block;
  margin-top: 4px;
}

/* ── Feedback Section (Guideline 7) ───────────────────────── */
.feedback-section {
  background: #F9F9F9;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
  padding: 28px 0;
}
.feedback-bar { font-size: 0.9375rem; color: #1A1A1A; }
.feedback-question { font-weight: 600; font-size: 1rem; }
.feedback-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  border: 1px solid #1B6B3A;
  border-radius: 8px;
  background: #fff;
  color: #1B6B3A;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.feedback-vote-btn:hover,
.feedback-vote-btn.active { background: #1B6B3A; color: #fff; }
.feedback-vote-btn--no { border-color: #4A4A4A; color: #4A4A4A; }
.feedback-vote-btn--no:hover,
.feedback-vote-btn--no.active { background: #4A4A4A; color: #fff; border-color: #4A4A4A; }
.feedback-percent { color: #4A4A4A; font-size: 0.85rem; }
.feedback-percent-num { font-weight: 700; color: #1B6B3A; }
.feedback-form-wrap { margin-top: 24px; }
.feedback-form-inner {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.feedback-form-title { font-size: 1.125rem; font-weight: 600; color: #1A1A1A; margin: 0; }
.feedback-close-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #4A4A4A;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .2s;
}
.feedback-close-btn:hover { background: #F0F0F0; }
.feedback-sub { font-weight: 600; font-size: 0.9rem; color: #1A1A1A; margin-bottom: 8px; }
.feedback-check-label,
.feedback-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #4A4A4A;
  cursor: pointer;
}
.feedback-textarea {
  border-radius: 8px;
  border-color: #E5E5E5;
  font-size: 0.9rem;
  resize: vertical;
}
.feedback-textarea:focus { border-color: #2D8B4E; box-shadow: 0 0 0 3px rgba(45,139,78,.15); }
.feedback-links { font-size: 0.825rem; color: #4A4A4A; }
.feedback-links a { color: #1B6B3A; text-decoration: underline; }
.btn-feedback-submit {
  background: #1B6B3A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-feedback-submit:hover { background: #2D8B4E; }

/* ── Cookies Banner ────────────────────────────────────────── */
.cookies-banner {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: min(480px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  padding: 20px;
  z-index: 9999;
}
.cookies-icon { font-size: 1.5rem; color: #1B6B3A; margin-top: 2px; }
.cookies-title { font-size: 0.9375rem; font-weight: 700; color: #1A1A1A; margin: 0 0 6px; }
.cookies-body { font-size: 0.8125rem; color: #4A4A4A; line-height: 1.6; margin: 0; }
.cookies-policy-link { font-size: 0.8rem; color: #1B6B3A; text-decoration: underline; }
.cookies-x {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: #6B6B6B;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
}
.cookies-x:hover { background: #F0F0F0; color: #1A1A1A; }
.btn-cookies-accept {
  background: #1B6B3A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-cookies-accept:hover { background: #2D8B4E; }
.btn-cookies-text {
  background: none;
  border: none;
  color: #1B6B3A;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-cookies-text:hover { color: #2D8B4E; }
.cookies-toggles { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cookies-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #1A1A1A;
  padding: 8px 12px;
  background: #F9F9F9;
  border-radius: 8px;
}
.cookies-always-active {
  font-size: 0.75rem;
  color: #1B6B3A;
  font-weight: 600;
}
.form-check-input:checked { background-color: #1B6B3A; border-color: #1B6B3A; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .main-navbar .nav-link { padding: 0.6rem 0.5rem !important; }
  .hero-content { padding: 64px 0 60px; }
  .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 767px) {
  .section-py { padding: 48px 0; }
  .utility-bar .utility-meta { display: none; }
  .stat-divider { border-right: none; border-bottom: 1px solid var(--neutral-200); }
  .hero-content { padding: 48px 0 56px; }
}

/* ── Last Modified Date bar ─────────────────────────────── */
.last-modified-bar {
  padding: 8px 0;
  background: #fff;
  border-top: 1px solid #E5E5E5;
}

.last-modified-text {
  font-size: 0.8rem;
  color: #6B7280;
  direction: rtl;
}

/* ============================================================
   Services Section
   Card carousel with chips + dual CTAs
   Layout: header (title + view-all) -> 4-card carousel -> dots
   ============================================================ */
.services-section {
  background: #fff;
}

/* Header row — title/desc + view-all button */
.services-header {
  margin-bottom: 2.5rem;
}
@media (max-width: 767.98px) {
  /* Mobile: stack vertically per Instruction #12 */
  .services-header .services-header-cta {
    margin-top: 1rem;
    align-self: flex-start;
  }
}

/* Card */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 4px 20px rgba(27, 131, 84, .12);
  border-color: var(--green-200);
}

/* Overlay link — makes the whole card clickable without nesting <a> in <a> */
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px; /* hide label visually */
  overflow: hidden;
}
.service-card-overlay:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

/* Ensure buttons remain clickable above overlay */
.service-card .service-actions .btn-green,
.service-card .service-actions .btn-outline-green {
  position: relative;
  z-index: 2;
}

/* Icon — reuse track-icon pattern */
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.1rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-card h5 {
  font-size: 1rem;        /* Text lg semibold */
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 6px;
}
.service-card .service-desc {
  font-size: 0.82rem;     /* Text sm regular */
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

/* Chips row */
.service-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.service-chip--filled {
  background: var(--green-25);
  color: var(--green-500);
  border-color: var(--green-25);
}
.service-chip--outlined {
  background: #fff;
  color: var(--green-500);
  border-color: var(--green-500);
}
.service-chip--default {
  background: #fff;
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}

/* Actions row */
.service-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.service-actions .btn-green,
.service-actions .btn-outline-green {
  font-size: .8rem;
  padding: .35rem .9rem;
}

/* Carousel overrides — match initiatives carousel style */
#servicesCarousel .carousel-inner { padding-bottom: 48px; }
#servicesCarousel .carousel-indicators { bottom: 0; margin-bottom: 0; }
#servicesCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-200);
  border: none;
  opacity: 1;
  margin: 0 4px;
}
#servicesCarousel .carousel-indicators .active {
  background: var(--green-500);
}

/* "Peek" effect — 5th card partially visible on XL screens only */
@media (min-width: 1200px) {
  #servicesCarousel .carousel-inner {
    overflow: visible;
    /* Prevent peek from causing horizontal scroll on body */
    clip-path: inset(-20px -20px -20px 0);
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  #servicesCarousel .carousel-item {
    transition: none;
  }
}

.carousel-item{

  margin-right:0 !important;
  float:none !important;
}


/* ============================================================
   National Role Page (Note #1)
   New components for the strategic positioning page
   ============================================================ */

/* Draft banner — REMOVE after content approval */
.draft-banner {
  background: #FFF3CD;
  border-bottom: 2px solid #DBA102;
  color: #92400E;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1100;
}

/* Breadcrumb bar */
.breadcrumb-bar {
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  padding: 12px 0;
}
.breadcrumb-bar .breadcrumb {
  font-size: 0.85rem;
  margin: 0;
}
.breadcrumb-bar .breadcrumb-item a {
  color: var(--green-500);
  text-decoration: none;
}
.breadcrumb-bar .breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-bar .breadcrumb-item.active {
  color: var(--neutral-600);
}
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--neutral-400);
  margin: 0 8px;
}

/* Hero — solid deep green with gold accent */
.role-hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.role-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: var(--gold-400);
}
.role-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 176, 42, 0.15);
  color: var(--gold-300);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.role-hero-badge i { font-size: 0.85rem; }
.role-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}
.role-hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 760px;
}
.role-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gold-400);
  color: var(--green-900);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .2s;
}
.btn-hero-primary:hover {
  background: var(--gold-500);
  color: var(--green-900);
}

/* Section utility helpers */
.section-py { padding: 72px 0; }
.section-eyebrow {
  display: inline-block;
  color: var(--green-500);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 12px;
}
.section-lead {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Pillars section */
.role-pillars-section { background: #fff; }
.role-pillar-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.role-pillar-card:hover {
  box-shadow: 0 12px 32px rgba(27, 131, 84, 0.12);
  border-color: var(--green-300);
  transform: translateY(-4px);
}
.role-pillar-num {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 1px;
}
.role-pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--green-25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.role-pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 12px;
}
.role-pillar-desc {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.75;
  margin-bottom: 16px;
}
.role-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--neutral-200);
  padding-top: 16px;
}
.role-pillar-list li {
  position: relative;
  padding-right: 22px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--neutral-800);
  line-height: 1.55;
}
.role-pillar-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--green-50);
  border: 2px solid var(--green-500);
  border-radius: 50%;
}
.role-pillar-list li:last-child { margin-bottom: 0; }

/* Reuse stats-section with new context */
.role-stats-section { background: #fff; }

/* Audiences section */
.role-audiences-section {
  background: var(--neutral-50);
}
.audience-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  padding: 28px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.audience-card:hover {
  box-shadow: 0 8px 24px rgba(27, 131, 84, 0.1);
  border-color: var(--green-300);
  transform: translateY(-3px);
}
.audience-card-featured {
  border-color: var(--green-500);
  border-width: 2px;
  background: linear-gradient(180deg, #fff 0%, var(--green-25) 100%);
}
.audience-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.audience-card-featured .audience-icon {
  background: var(--green-500);
  color: #fff;
}
.audience-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 10px;
}
.audience-desc {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}
.audience-link {
  color: var(--green-500);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color .2s;
}
.audience-link:hover {
  color: var(--green-700);
}
.audience-link i {
  transition: transform .2s;
}
.audience-link:hover i {
  transform: translateX(-3px);
}

/* Journey timeline */
.role-journey-section {
  background: #fff;
}
.journey-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.journey-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 8%;
  left: 8%;
  height: 3px;
  background: var(--green-100);
  z-index: 0;
}
.journey-step {
  flex: 1 1 220px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.journey-step-marker {
  width: 56px;
  height: 56px;
  background: var(--green-500);
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(27, 131, 84, 0.2);
}
.journey-step-num {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.journey-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}
.journey-step-meta {
  font-size: 0.75rem;
  color: var(--green-700);
  margin-bottom: 8px;
  font-weight: 500;
}
.journey-step-body p {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0;
}

/* Why-it-matters block */
.role-why-section {
  background: linear-gradient(135deg, var(--green-25) 0%, #fff 100%);
}
.role-why-block {
  background: #fff;
  border: 1px solid var(--green-100);
  border-right: 4px solid var(--gold-400);
  border-radius: 12px;
  padding: 36px 32px;
}
.role-why-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 16px;
}
.role-why-text {
  font-size: 1rem;
  color: var(--neutral-800);
  line-height: 1.85;
  margin: 0;
}

/* ============================================================
   National Role — Homepage Summary Block
   Compact 5-card display + CTA, links to full page
   ============================================================ */
.national-role-summary {
  background: linear-gradient(135deg, var(--green-25) 0%, #fff 100%);
  padding: 64px 0;
}
.national-role-summary .summary-header {
  margin-bottom: 32px;
}
.national-role-summary .summary-eyebrow {
  display: block;
  color: var(--green-500);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.national-role-summary .summary-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 10px;
}
.national-role-summary .summary-lead {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.role-pillar-mini {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  height: 100%;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  display: block;
}
.role-pillar-mini:hover {
  border-color: var(--green-500);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(27, 131, 84, 0.1);
}
.role-pillar-mini-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}
.role-pillar-mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin: 0;
}

/* ============================================================
   Responsive — National Role page
   ============================================================ */
@media (max-width: 991.98px) {
  .role-hero { padding: 56px 0 64px; }
  .role-hero-title { font-size: 1.9rem; }
  .role-hero-desc { font-size: 0.95rem; }
  .section-title { font-size: 1.5rem; }
  .section-py { padding: 56px 0; }
  .journey-timeline::before { display: none; }
  .journey-timeline { flex-direction: column; gap: 24px; }
  .journey-step { text-align: right; display: flex; gap: 16px; align-items: flex-start; }
  .journey-step-marker { margin: 0; flex-shrink: 0; }
  .journey-step-body { flex-grow: 1; }
}

@media (max-width: 575.98px) {
  .role-hero-title { font-size: 1.5rem; }
  .role-hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .role-pillar-card { padding: 24px 20px; }
  .role-pillar-num { top: 18px; left: 20px; }
}

/* ============================================================
   About Page (من نحن) — Note #2 implementation
   ============================================================ */

/* Page header */
.about-header {
  background: linear-gradient(135deg, var(--green-25) 0%, #fff 100%);
  padding-bottom: 32px;
}
.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 16px;
}
.about-intro {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--neutral-800);
  max-width: 920px;
  margin: 0;
}

/* Tabs */
.about-tabs {
  border-bottom: 2px solid var(--neutral-200);
  margin-top: 24px;
  flex-wrap: wrap;
}
.about-tabs .nav-link {
  color: var(--neutral-600);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 20px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.about-tabs .nav-link:hover {
  color: var(--green-500);
  border-bottom-color: var(--green-100);
}
.about-tabs .nav-link.active {
  color: var(--green-700);
  border-bottom-color: var(--green-500);
  background: none;
}
.about-tab-content {
  padding: 40px 0 56px;
}

/* Headings inside tabs */
.about-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 16px;
}
.about-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: 28px;
  margin-bottom: 12px;
}
.about-tab-content p {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--neutral-800);
  margin-bottom: 16px;
}

/* Bulleted lists */
.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.about-list li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--neutral-800);
}
.about-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

/* Values grid (Tab 3) */
.about-values-grid {
  margin-top: 24px;
}
.about-value-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 24px 22px;
  height: 100%;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.about-value-card:hover {
  box-shadow: 0 6px 20px rgba(27, 131, 84, 0.1);
  border-color: var(--green-300);
  transform: translateY(-2px);
}
.about-value-icon {
  width: 48px;
  height: 48px;
  background: var(--green-25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.about-value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 10px;
}
.about-value-card p {
  font-size: 0.88rem;
  color: var(--neutral-600);
  line-height: 1.7;
  margin: 0;
}

/* ADDED VALUES — Note #2 — distinct visual treatment */
.about-values-added {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px dashed var(--gold-300);
}
.about-values-added-header {
  margin-bottom: 24px;
}
.badge-draft {
  display: inline-block;
  background: #FFF3CD;
  color: #92400E;
  border: 1px solid var(--gold-300);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.about-values-added-lead {
  font-size: 0.95rem;
  color: var(--neutral-600);
  line-height: 1.8;
  max-width: 820px;
  margin-top: 8px;
}
.about-value-card--added {
  background: linear-gradient(180deg, #fff 0%, #FFFBF0 100%);
  border-color: var(--gold-300);
  border-right: 4px solid var(--gold-400);
}
.about-value-card--added:hover {
  border-color: var(--gold-400);
  box-shadow: 0 6px 20px rgba(225, 176, 42, 0.18);
}
.about-value-icon--added {
  background: var(--gold-100);
  color: var(--gold-500);
}

/* Responsive — About page */
@media (max-width: 767.98px) {
  .about-title { font-size: 1.6rem; }
  .about-intro { font-size: 0.95rem; }
  .about-tabs .nav-link { padding: 10px 12px; font-size: 0.85rem; }
  .about-h2 { font-size: 1.25rem; }
  .about-h3 { font-size: 1rem; }
}

/* ============================================================
   Stat Progress Bars (Note #3)
   Decorative bars under numbers — fill triggered by JS on scroll
   ============================================================ */
.stat-bar,
.impact-bar {
  width: 70%;
  height: 4px;
  background: var(--green-25);
  border-radius: 4px;
  margin: 12px auto 0;
  overflow: hidden;
  position: relative;
}
.stat-bar > span,
.impact-bar > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(to left, var(--green-400), var(--green-600));
  border-radius: 4px;
  transition: width 1.6s cubic-bezier(.2,.7,.3,1);
}
.stat-bar > span.is-filled,
.impact-bar > span.is-filled {
  width: 100%;
}

/* Slight upgrade to existing impact card padding for the bar */
.impact-card { padding-bottom: 24px; }

/* ============================================================
   About > Impact Tab (Note #3, Tab #5)
   Consolidated metrics block inside من نحن
   ============================================================ */
.about-impact-grid {
  margin-top: 12px;
}
.about-impact-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.about-impact-card:hover {
  box-shadow: 0 6px 20px rgba(27, 131, 84, 0.1);
  border-color: var(--green-300);
  transform: translateY(-2px);
}
.about-impact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.2rem;
  margin: 0 auto 12px;
}
.about-impact-number {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 6px;
}
.about-impact-number > span {
  display: inline-block;
}
.about-impact-label {
  font-size: 0.82rem;
  color: var(--neutral-600);
  line-height: 1.5;
  min-height: 38px;
}
.about-impact-card--accent {
  background: linear-gradient(180deg, #fff 0%, var(--green-25) 100%);
  border-color: var(--green-100);
}
.about-impact-card--accent .about-impact-icon {
  background: var(--green-500);
  color: #fff;
}

/* Responsive — Impact tab */
@media (max-width: 767.98px) {
  .about-impact-number { font-size: 1.5rem; }
  .about-impact-label { font-size: 0.78rem; min-height: 0; }
  .about-impact-card { padding: 18px 14px; }
}

/* ============================================================
   Help Journey Page (Notes #4 + #5)
   ============================================================ */

/* Hero */
.help-hero {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.help-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--gold-400);
}
.help-hero-eyebrow {
  display: inline-block;
  background: rgba(225, 176, 42, 0.18);
  color: var(--gold-300);
  padding: 5px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.help-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.help-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 720px;
  line-height: 1.7;
}
.help-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-help-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gold-400);
  color: var(--green-900);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn-help-primary:hover { background: var(--gold-500); color: var(--green-900); }
.btn-help-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-help-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* Persona section */
.persona-section { background: #fff; }

.persona-grid { margin-top: 8px; }

.persona-card {
  width: 100%;
  background: #fff;
  border: 2px solid var(--neutral-200);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.persona-card:hover {
  border-color: var(--green-300);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 131, 84, 0.1);
}
.persona-card.active {
  border-color: var(--green-500);
  background: linear-gradient(180deg, #fff 0%, var(--green-25) 100%);
  box-shadow: 0 6px 20px rgba(27, 131, 84, 0.15);
}
.persona-icon {
  width: 56px;
  height: 56px;
  background: var(--green-25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.5rem;
  margin: 0 auto 14px;
  transition: background .2s, color .2s;
}
.persona-card.active .persona-icon {
  background: var(--green-500);
  color: #fff;
}
.persona-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 8px;
}
.persona-desc {
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin: 0;
  line-height: 1.5;
}

/* Persona panels */
.persona-panel {
  display: none;
  background: var(--green-25);
  border: 1px solid var(--green-100);
  border-radius: 16px;
  padding: 32px 28px;
  margin-top: 24px;
  animation: panelFadeIn .35s ease;
}
.persona-panel.active { display: block; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 12px;
}
.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.panel-list li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--neutral-800);
  line-height: 1.6;
}
.panel-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--green-500);
  font-weight: 700;
}
.panel-note {
  background: #fff;
  border: 1px dashed var(--green-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin: 0;
}
.panel-note i {
  color: var(--green-500);
  margin-left: 6px;
}

.panel-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.panel-steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.panel-steps li strong {
  display: block;
  color: var(--green-700);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.panel-steps li p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--neutral-600);
}

.btn-panel-cta {
  display: inline-flex;
  align-items: center;
  background: var(--green-500);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn-panel-cta:hover { background: var(--green-700); color: #fff; }

/* After-contact timeline */
.after-contact-section { background: var(--neutral-50); }
.contact-timeline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.contact-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--green-100);
  z-index: 0;
}
.contact-step {
  flex: 1 1 180px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-step-marker {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 3px solid var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(27,131,84,0.12);
}
.contact-step-marker span {
  color: var(--green-500);
  font-weight: 700;
  font-size: 1.3rem;
}
.contact-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 6px;
}
.contact-step p {
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin: 0;
}

/* FAQ */
.help-faq-section { background: #fff; }
.help-faq-section .accordion-button {
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-25);
  border: none;
  font-size: 0.95rem;
}
.help-faq-section .accordion-button:not(.collapsed) {
  background: var(--green-500);
  color: #fff;
  box-shadow: none;
}
.help-faq-section .accordion-item {
  border: 1px solid var(--neutral-200);
  border-radius: 8px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.help-faq-section .accordion-body {
  font-size: 0.9rem;
  color: var(--neutral-800);
  line-height: 1.7;
}

/* Page Feedback Widget */
.page-feedback-section {
  background: var(--neutral-50);
  padding: 32px 0 48px;
}
.page-feedback-block {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.page-feedback-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 14px;
}
.page-feedback-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn-feedback {
  background: #fff;
  border: 1.5px solid var(--green-200);
  color: var(--green-600);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-feedback:hover { background: var(--green-25); border-color: var(--green-500); }
.btn-feedback.is-selected {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
}
.page-feedback-thanks {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--green-500);
  font-weight: 600;
}

/* Help-journey responsive */
@media (max-width: 991.98px) {
  .help-hero { padding: 48px 0 56px; }
  .help-hero-title { font-size: 1.8rem; }
  .contact-timeline::before { display: none; }
  .contact-timeline { flex-direction: column; gap: 20px; }
  .contact-step { display: flex; gap: 14px; align-items: flex-start; text-align: right; }
  .contact-step-marker { margin: 0; flex-shrink: 0; }
}
@media (max-width: 575.98px) {
  .help-hero-title { font-size: 1.5rem; }
  .help-hero-actions { flex-direction: column; }
  .btn-help-primary, .btn-help-secondary { justify-content: center; }
  .persona-panel { padding: 22px 18px; }
}

/* ============================================================
   About Page — 3-axis positioning (Note #6)
   New thematic structure for the opening paragraph (hrc.gov.sa pattern)
   ============================================================ */
.about-intro--lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-700);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 920px;
}
.about-pillars-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.about-pillar {
  background: #fff;
  border: 1px solid var(--green-100);
  border-right: 4px solid var(--green-500);
  border-radius: 10px;
  padding: 18px 20px;
}
.about-pillar-tag {
  display: inline-block;
  background: var(--green-25);
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.about-pillar p {
  font-size: 0.92rem;
  color: var(--neutral-800);
  line-height: 1.7;
  margin: 0;
}

/* Responsive — collapse to single column on tablet/mobile */
@media (max-width: 991.98px) {
  .about-pillars-mini { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   About > Founding Timeline + Leadership + Structure (Note #7)
   Visual restructure of "نبذة عن اللجنة" — text remains verbatim
   ============================================================ */

/* Founding Timeline (horizontal, 2 markers) */
.founding-timeline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  margin: 24px 0 32px;
  padding-top: 8px;
}
.founding-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 12%;
  left: 12%;
  height: 3px;
  background: var(--green-100);
  z-index: 0;
}
.founding-step {
  flex: 1 1 220px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 8px;
}
.founding-marker {
  width: 28px;
  height: 28px;
  background: var(--green-500);
  border: 4px solid #fff;
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 2px 8px rgba(27,131,84,0.18);
}
.founding-year {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 4px;
}
.founding-event {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 6px;
}
.founding-detail {
  font-size: 0.8rem;
  color: var(--neutral-600);
  margin: 0;
  line-height: 1.5;
}

/* Leadership cards (no photos — gray placeholder + text) */
.leadership-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.leadership-card:hover {
  border-color: var(--green-300);
  box-shadow: 0 4px 16px rgba(27,131,84,0.08);
}
.leadership-photo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--neutral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  font-size: 1.6rem;
  flex-shrink: 0;
}
.leadership-info {
  flex-grow: 1;
}
.leadership-role {
  display: block;
  font-size: 0.78rem;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.leadership-title {
  font-size: 0.95rem;
  color: var(--neutral-800);
  font-weight: 700;
  line-height: 1.5;
}

/* Structure facts (3 cards) */
.structure-fact {
  background: linear-gradient(180deg, #fff 0%, var(--green-25) 100%);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
}
.structure-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 8px;
}
.structure-label {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

/* Responsive — Founding timeline becomes vertical on mobile */
@media (max-width: 767.98px) {
  .founding-timeline::before { display: none; }
  .founding-timeline { flex-direction: column; gap: 18px; }
  .founding-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: right;
    background: var(--green-25);
    border-radius: 10px;
    padding: 14px;
  }
  .founding-marker { margin: 4px 0 0; flex-shrink: 0; }
  .founding-year { font-size: 1.3rem; }
}




.box-img {
    width: 50px;
    margin-bottom: 50px;
}
.center-align {
    text-align: center;
}
.odd-brown {
    background: #231F20;
}

.tag{
  font-size:0.7em !important;
}