/* =========================================================
   مشروع نهضة | NAHDA — إضافات تصميمية على نظام التصميم العام
   يعتمد على المتغيرات المعرّفة في style.css (يجب تحميله أولًا)
   ========================================================= */

/* ---------- هوية نهضة (تدرّج أخضر/ذهبي فوق نظام المنظمة) ---------- */
:root{
  --nh-green:#1d5148;
  --nh-green-deep:#0f2e29;
  --nh-gold:#b8863b;
}

/* ---------- Hero ---------- */
.nh-hero{
  background:var(--forest-950);
  color:#fff;
  padding:56px 0 0;
  position:relative;
  overflow:hidden;
}
.nh-hero::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(1100px 520px at 85% -10%, rgba(184,134,59,.18), transparent 60%);
  pointer-events:none;
}
.nh-hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center;
  position:relative; z-index:1;
  padding-bottom:56px;
}
.nh-hero-eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:"Cairo",sans-serif; font-weight:800; font-size:12px; letter-spacing:.5px;
  color:var(--gold-300); background:rgba(184,134,59,.14);
  border:1px solid rgba(184,134,59,.3);
  padding:7px 14px; border-radius:20px; margin-bottom:20px;
}
.nh-hero h1{
  color:#fff; font-size:clamp(30px,4vw,46px); margin-bottom:8px; font-weight:800;
}
.nh-hero h1 span{ color:var(--gold-300); }
.nh-hero .nh-lead{ color:#d3ddd9; font-size:16.5px; max-width:560px; margin-bottom:28px; }
.nh-hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:36px; }
.nh-hero-quick{
  display:flex; gap:0; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.16); padding-top:24px;
}
.nh-hero-quick div{
  padding:0 24px; border-left:1px solid rgba(255,255,255,.16);
}
[dir="ltr"] .nh-hero-quick div{ border-left:none; border-right:1px solid rgba(255,255,255,.16); }
.nh-hero-quick div:first-child{ padding-inline-start:0; }
.nh-hero-quick div:last-child{ border-left:none; }
[dir="ltr"] .nh-hero-quick div:last-child{ border-right:none; }
.nh-hero-quick b{ display:block; font-family:"Cairo",sans-serif; font-size:22px; font-weight:800; color:#fff; }
.nh-hero-quick span{ font-size:12px; color:#93a9a2; font-weight:600; }

.nh-hero-media{ position:relative; }
.nh-hero-media-frame{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  background:#0c231f;
}
.nh-hero-media-frame img{ width:100%; display:block; }
.nh-hero-media-caption{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-size:12px; color:#93a9a2; margin-top:14px; padding:0 4px;
}
.nh-hero-media-caption b{ color:#d3ddd9; font-weight:700; }

/* ---------- Dashboard ---------- */
.nh-dashboard{
  background:var(--forest-900);
  border-top:1px solid rgba(255,255,255,.1);
  position:relative; z-index:1;
}
.nh-dashboard-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
.nh-dash-item{
  text-align:center; padding:26px 10px;
  border-left:1px solid rgba(255,255,255,.1);
}
[dir="ltr"] .nh-dash-item{ border-left:none; border-right:1px solid rgba(255,255,255,.1); }
.nh-dash-item:first-child{ border-left:none; border-right:none; }
.nh-dash-item b{ display:block; font-family:"Cairo",sans-serif; font-size:clamp(20px,2.4vw,28px); font-weight:800; color:#fff; }
.nh-dash-item span{ font-size:12px; color:#93a9a2; font-weight:600; }
.nh-dash-sub{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  padding:16px 0 22px; border-top:1px solid rgba(255,255,255,.08);
}
.nh-chip{
  display:inline-flex; align-items:center; gap:7px;
  font-family:"Cairo",sans-serif; font-weight:700; font-size:12px;
  color:#e3eae7; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  padding:7px 14px; border-radius:20px;
}
.nh-chip b{ color:var(--gold-300); font-weight:800; }

/* ---------- Statement band ---------- */
.nh-statement{
  max-width:820px; margin:0 auto; text-align:center;
}
.nh-statement p{
  font-family:"Cairo",sans-serif; font-weight:700; color:var(--ink);
  font-size:clamp(19px,2.2vw,25px); line-height:1.6; margin:0;
}

/* ---------- Methodology mini strip ---------- */
.nh-method-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:36px;
}
.nh-method-step{
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  padding:20px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  position:relative;
}
.nh-method-step .icon-badge{ margin-bottom:0; }
.nh-method-step h4{ font-family:"Cairo",sans-serif; font-size:14.5px; font-weight:800; margin:0; color:var(--ink); }
.nh-method-step p{ font-size:12.5px; margin:0; color:var(--ink-500); }
.nh-method-arrow{
  position:absolute; top:26px; left:-24px; color:var(--line);
  width:16px; height:16px;
}
[dir="ltr"] .nh-method-arrow{ left:auto; right:-24px; transform:scaleX(-1); }
.nh-method-step:first-child .nh-method-arrow{ display:none; }

/* ---------- Budget ---------- */
.nh-budget-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:22px;
}
.nh-budget-card{
  padding:34px 28px; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
}
.nh-budget-card--total{
  background:var(--forest-950); border-color:var(--forest-950); color:#fff;
}
.nh-budget-figure{
  font-family:"Cairo",sans-serif; font-weight:800; font-size:clamp(34px,4.2vw,52px);
  color:var(--ink); line-height:1;
}
.nh-budget-card--total .nh-budget-figure{ color:#fff; }
.nh-budget-card--total .nh-budget-figure span{ color:var(--gold-300); }
.nh-budget-label{ font-size:13.5px; color:var(--ink-500); font-weight:700; max-width:220px; }
.nh-budget-card--total .nh-budget-label{ color:#c2d1cc; }
.nh-budget-sub{ font-size:12px; color:var(--ink-500); font-weight:700; margin-top:4px; }
.nh-budget-card--total .nh-budget-sub{ color:#8ba39c; }
.nh-budget-note{
  margin-top:22px; font-size:13px; color:var(--ink-500); text-align:center; max-width:640px; margin-inline:auto;
}

/* ---------- Rehab scope (bento) ---------- */
.nh-rehab-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.nh-rehab-card{
  padding:26px 24px; position:relative;
}
.nh-rehab-card--wide{ grid-column:span 3; }
.nh-rehab-card--water{
  background:linear-gradient(135deg, var(--forest-900), var(--forest-700));
  border-color:var(--forest-700); color:#fff;
}
.nh-rehab-card--water h3, .nh-rehab-card--water p{ color:#fff; }
.nh-rehab-card--water p{ color:#c2d1cc; }
.nh-rehab-card--water .icon-badge{ background:rgba(255,255,255,.12); color:#fff; }
.nh-rehab-num{
  font-family:"Cairo",sans-serif; font-weight:800; font-size:12px; color:var(--gold-700);
  letter-spacing:.5px; margin-bottom:10px; display:block;
}
.nh-rehab-card--water .nh-rehab-num{ color:var(--gold-300); }
.nh-rehab-card h3{ font-size:16.5px; margin-bottom:8px; }
.nh-rehab-card p{ font-size:13.5px; margin-bottom:12px; }
.nh-rehab-card ul{ display:grid; gap:6px; }
.nh-rehab-card ul li{
  font-size:13px; color:var(--ink-700); display:flex; align-items:flex-start; gap:8px;
}
.nh-rehab-card--water ul li{ color:#d3ddd9; }
.nh-rehab-card ul li::before{
  content:""; width:5px; height:5px; border-radius:50%; background:var(--gold-600); flex:none; margin-top:7px;
}
.nh-rehab-card--water ul li::before{ background:var(--gold-300); }

/* ---------- Girls education band ---------- */
.nh-girls-band{
  background:var(--forest-950);
  border-radius:var(--radius-lg);
  padding:48px;
  display:grid; grid-template-columns:.85fr 1.15fr; gap:40px; align-items:center;
  color:#fff;
}
.nh-girls-icon{
  width:76px; height:76px; border-radius:50%;
  background:rgba(184,134,59,.16); border:1px solid rgba(184,134,59,.35);
  display:flex; align-items:center; justify-content:center; color:var(--gold-300);
}
.nh-girls-icon svg{ width:34px; height:34px; }
.nh-girls-band h2{ color:#fff; }
.nh-girls-band p{ color:#c2d1cc; font-size:15.5px; margin-bottom:0; }

/* ---------- Beneficiaries ---------- */
.nh-beneficiary-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.nh-beneficiary-card{ padding:30px 24px; text-align:center; }
.nh-beneficiary-card .icon-badge{ margin:0 auto 16px; }
.nh-beneficiary-card b{ display:block; font-family:"Cairo",sans-serif; font-size:26px; font-weight:800; color:var(--ink); margin-bottom:4px; }
.nh-beneficiary-card span{ font-size:13px; color:var(--ink-500); font-weight:600; }
.nh-beneficiary-note{
  margin-top:26px; text-align:center;
}

/* ---------- Impact grid ---------- */
.nh-impact-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.nh-impact-item{
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  padding:22px 20px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
}
.nh-impact-item .icon-badge{ margin-bottom:0; }
.nh-impact-item span{ font-size:13.5px; font-weight:700; color:var(--ink); line-height:1.4; }

/* ---------- Regions / target schools ---------- */
.nh-region-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.nh-region-card{
  padding:0; overflow:hidden; display:flex; flex-direction:column;
}
.nh-region-head{
  padding:20px 20px 16px; background:var(--paper-alt); border-bottom:1px solid var(--line);
}
.nh-region-card--current .nh-region-head{
  background:var(--forest-950); border-bottom-color:var(--forest-950);
}
.nh-region-phase{
  display:inline-flex; align-items:center; gap:6px;
  font-family:"Cairo",sans-serif; font-weight:800; font-size:10.5px; letter-spacing:.4px;
  padding:5px 11px; border-radius:4px;
  background:var(--gold-700); color:#fff; margin-bottom:12px;
}
.nh-region-card--upcoming .nh-region-phase{
  background:#fff; color:var(--ink-500); border:1px solid var(--line);
}
.nh-region-num{ font-family:"Cairo",sans-serif; font-weight:800; font-size:12px; color:var(--ink-500); }
.nh-region-card--current .nh-region-num{ color:#8ba39c; }
.nh-region-head h3{ font-size:17px; margin:6px 0 2px; }
.nh-region-card--current .nh-region-head h3{ color:#fff; }
.nh-region-head p{ font-size:12.5px; margin:0; color:var(--ink-500); }
.nh-region-card--current .nh-region-head p{ color:#c2d1cc; }
.nh-region-body{ padding:16px 20px 20px; flex:1; }
.nh-region-body p{ font-size:13px; margin:0; color:var(--ink-700); }

/* ---------- Gallery ---------- */
.nh-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.nh-gallery-item{
  position:relative; border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:4/3;
  border:1px solid var(--line);
}
.nh-gallery-item img{ width:100%; height:100%; object-fit:cover; }
.nh-gallery-caption{
  position:absolute; inset-inline:0; bottom:0;
  background:linear-gradient(0deg, rgba(10,31,28,.88), transparent);
  color:#fff; font-size:12.5px; padding:28px 14px 12px;
}
.nh-gallery-note{
  margin-top:20px; font-size:12.5px; color:var(--ink-500); text-align:center;
}

/* ---------- Partnership / support types ---------- */
.nh-support-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:28px 0 32px; }
.nh-support-item{
  display:flex; align-items:center; gap:12px;
  padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  font-size:13.5px; font-weight:700; color:var(--ink);
}
.nh-support-item svg{ width:20px; height:20px; color:var(--gold-700); flex:none; }

/* ---------- Volunteer band ---------- */
.nh-volunteer-band{
  background:linear-gradient(120deg, var(--gold-800), var(--gold-600));
  border-radius:var(--radius-lg);
  padding:44px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  color:#fff;
}
.nh-volunteer-band h3{ color:#fff; font-size:24px; margin-bottom:6px; }
.nh-volunteer-band p{ color:rgba(255,255,255,.88); margin:0; max-width:480px; }
.nh-volunteer-band .btn--gold{ background:var(--forest-950); border-color:var(--forest-950); }
.nh-volunteer-band .btn--gold:hover{ background:#fff; color:var(--forest-950); border-color:#fff; }

/* ---------- Donation accounts ---------- */
.nh-give-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:32px; align-items:start; }
.nh-account-list{ display:grid; gap:10px; }
.nh-account-row{
  display:flex; align-items:center; gap:14px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:14px 18px;
}
.nh-account-label{ font-size:13px; font-weight:700; color:var(--ink-700); flex:1; }
.nh-account-value{ font-family:"Cairo",sans-serif; font-weight:800; font-size:15px; color:var(--ink); direction:ltr; }
.nh-copy-btn{
  display:flex; align-items:center; gap:6px;
  border:1px solid var(--line); background:var(--paper-alt); color:var(--ink-700);
  font-size:11.5px; font-weight:700; padding:7px 11px; border-radius:6px; font-family:"Cairo",sans-serif;
  transition:.2s;
}
.nh-copy-btn svg{ width:13px; height:13px; }
.nh-copy-btn:hover{ border-color:var(--ink); color:var(--ink); }
.nh-copy-btn.copied{ background:var(--forest-950); border-color:var(--forest-950); color:#fff; }
.nh-account-name-note{ text-align:center; font-size:12.5px; color:var(--ink-500); margin-top:12px; }
.nh-contact-card{
  background:var(--forest-950); border-radius:var(--radius-md); padding:28px 26px; color:#fff;
}
.nh-contact-card h3{ color:#fff; font-size:17px; margin-bottom:10px; }
.nh-contact-card p{ color:#c2d1cc; font-size:13.5px; }
.nh-contact-row{ display:flex; align-items:center; gap:10px; margin-top:14px; font-size:14px; font-weight:700; }
.nh-contact-row svg{ width:18px; height:18px; color:var(--gold-300); flex:none; }

/* ---------- Transparency ---------- */
.nh-transparency-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:32px; }
.nh-transparency-card{
  padding:22px 20px; text-align:center; border:1px dashed var(--line); background:transparent;
}
.nh-transparency-card .icon-badge{ margin:0 auto 14px; background:var(--paper-alt); }
.nh-transparency-card h4{ font-size:13.5px; margin-bottom:6px; }
.nh-soon-badge{
  display:inline-block; font-family:"Cairo",sans-serif; font-weight:800; font-size:10px;
  color:var(--ink-500); background:var(--paper-alt); border:1px solid var(--line);
  padding:3px 10px; border-radius:20px;
}

/* ---------- Anchor offset for sticky header ---------- */
[id]{ scroll-margin-top:90px; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .nh-hero-grid{ grid-template-columns:1fr; }
  .nh-hero-media{ order:-1; }
  .nh-dashboard-grid{ grid-template-columns:repeat(2,1fr); }
  .nh-dash-item:nth-child(2){ border-left:none; }
  [dir="ltr"] .nh-dash-item:nth-child(2){ border-right:none; }
  .nh-dash-item:nth-child(3){ border-left:1px solid rgba(255,255,255,.1); border-top:1px solid rgba(255,255,255,.1); }
  .nh-method-strip{ grid-template-columns:repeat(2,1fr); }
  .nh-budget-grid{ grid-template-columns:1fr; }
  .nh-rehab-grid{ grid-template-columns:repeat(2,1fr); }
  .nh-rehab-card--wide{ grid-column:span 2; }
  .nh-girls-band{ grid-template-columns:1fr; text-align:center; padding:36px 28px; }
  .nh-girls-icon{ margin:0 auto; }
  .nh-beneficiary-grid{ grid-template-columns:1fr; }
  .nh-impact-grid{ grid-template-columns:repeat(2,1fr); }
  .nh-region-grid{ grid-template-columns:repeat(2,1fr); }
  .nh-gallery{ grid-template-columns:repeat(2,1fr); }
  .nh-support-grid{ grid-template-columns:1fr; }
  .nh-give-grid{ grid-template-columns:1fr; }
  .nh-transparency-grid{ grid-template-columns:repeat(2,1fr); }
  .nh-volunteer-band{ flex-direction:column; text-align:center; padding:34px 28px; }
}
@media (max-width:760px){
  .nh-hero-quick{ flex-direction:column; gap:14px; }
  .nh-hero-quick div{ border-left:none !important; border-right:none !important; padding-inline-start:0 !important; padding:0; }
  .nh-dashboard-grid{ grid-template-columns:1fr 1fr; }
  .nh-method-strip{ grid-template-columns:1fr; }
  .nh-method-arrow{ display:none; }
  .nh-rehab-grid{ grid-template-columns:1fr; }
  .nh-rehab-card--wide{ grid-column:span 1; }
  .nh-impact-grid{ grid-template-columns:1fr; }
  .nh-region-grid{ grid-template-columns:1fr; }
  .nh-gallery{ grid-template-columns:1fr; }
  .nh-transparency-grid{ grid-template-columns:1fr; }
}
