




@font-face {
  font-family: 'Qahwa Arabic';
  src: url('fonts/Qahwa-Arabic.otf') format('opentype');
}

@font-face {
  font-family: 'IBMPlexArabic';
  src: url('fonts/IBMPlexArabic.ttf') format('truetype');
}




:root {

  --green: #38726c;
  --orange: #fca311;
  --teal: #4ecdc4;
  --red: #e94f37;
  --navy: #001f3f;
  --bej:#f6efe4;
  --brik:#b96414;
  --blue:#0a719e;
  --blue-gray:#66859f;
}
html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  /* الخلفية على html تتمدّد على كامل طول الصفحة وتتحرّك مع المحتوى */
  background-image: url("images/wallpaper.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: scroll;
}
body {
  margin: 0;
  padding: 0;
}

/* إخفاء شريط التمرير (متل باقي صفحات الموقع) */
* {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */
}
*::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}
body {
  margin: 0;
  font-family: 'IBMPlexArabic', sans-serif;
  color: var(--navy);
}
h1, h2, h3 {
  font-family: 'Qahwa Arabic', serif;
}
.navbar {
  background: var(--green);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  z-index: 10;
  display: flex;
  justify-content: center;   /*  logo in the middle */
  align-items: flex-end;     /* lahata ykun llogo bi nus lnav wl extension */
  position:absolute;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar li {
  cursor: pointer;
}


.nav-extension {
  position: absolute;
  top: -26px;                 /*    la telze2 bl navbar wtbyn ut3a wehde */
  left: 50%;
  transform: translateX(-50%);/* lahata ykun llogo bi nus lnav wl extension */
  width: 11%;              
  max-width: 1000px;
  height: 95px;
  background: var(--green);
  border-radius: 0 0 14px 14px;
  z-index: 9; /* behaded men ykun fo2 tene */
  display: flex; /* byaamlu mtl container wbe khalene ethakam bl anaaser el mwjude aalayha ka position w tertib */
  justify-content: center;
  align-items: flex-start;   
}

.logo {
  font-family: 'Qahwa Arabic', serif;
  color: white;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 74px;            /* الشريط + امتداد التاب — لتوسيط عمودي بلا قصّ */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
  z-index: 10;
}

/* أيقونة المنيو على الزاوية حتى لا تزيح اللوغو عن المنتصف */
.navbar .nav-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

/* ════════ Profile (الدائرة بالنافبار) ════════ */
.profile {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.circle-icon {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.circle-icon:hover {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.45);
  transform: scale(1.05);
}
.circle-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--green);
}

.profile-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 16px;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 30;
}
.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-dropdown::before { /* مثلث صغير فوق القائمة */
  content: "";
  position: absolute;
  top: -7px;
  left: 12px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0,0,0,0.06);
}
.profile-info {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.profile-name {
  font-family: 'Qahwa Arabic', serif;
  font-weight: bold;
  font-size: 19px;
  color: var(--green);
}
.profile-row {
  font-size: 13px;
  color: var(--navy);
  margin-top: 6px;
  word-break: break-all;
}
.profile-label {
  font-family: 'Qahwa Arabic', serif;
  color: var(--green);
  font-weight: bold;
}
.profile-link + .profile-link {
  margin-top: 8px;
}
.profile-edit {
  background: #fff !important;
  color: var(--green) !important;
  border: 2px solid var(--green);
}
.profile-edit:hover {
  background: var(--green) !important;
  color: #fff !important;
  opacity: 1;
}
.profile-link {
  display: block;
  text-align: center;
  padding: 9px 10px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Qahwa Arabic', serif;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.25s ease;
}
.profile-link:hover { opacity: 0.88; }

.menu-icon { /*parameter lal 3 ma3 ba3d*/
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon span { /* kl khat mn l3*/
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 70px auto 0;  
}

.slider {
  position: relative;
  width: 90%;
  margin: -30px auto 0;
  height:400px;
  overflow: hidden;
  border-radius:   0 0 20px 20px;
}

.slide {
 display: none;
  width: 100%;
  height: 100%;

}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

.slide.active {
  display: block;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: var(--orange);
  cursor: pointer; /* bs ynkabs 3le bbyn mtl kabse */
  user-select: none; /* bs ykbsu 3lyha ma fehn y3mlu select aw copy*/
}

.arrow.left {
  left: 0px;
  transform: translateY(-50%) rotate(180deg); 
}
.arrow.right {
  right: 0px;
  transform: translateY(-50%) rotate(180deg); 
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--orange);
}


.services { /* kel lcarts*/
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  margin: 130px auto 55px;
  max-width: 1000px;

}

.card-wrapper {/* byjma3 lcart wl nass le thtu*/
  display: flex;
  flex-direction: column;  
  align-items: center;
  width: 240px; /* hajm kl cart */
  text-decoration: none;         
}

.service-card { /*البطاقة نفسها (المربع اللي فيه الصورة).*/
  width: 100%;
  height: 330px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;

}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
}

.service-card:hover img {
  transform: scale(1.05);      
  
}
.service-card.brik:hover img {
filter: sepia(70%) hue-rotate(-25deg) saturate(280%) brightness(90%);

}

.service-card.green:hover img {
  filter: sepia(70%) hue-rotate(80deg) saturate(150%) brightness(70%) ;


}

.service-card.blue:hover img {
filter: sepia(40%) hue-rotate(170deg) saturate(250%) brightness(95%);

}


.service-card.blue-gray:hover img {
filter: sepia(100%) hue-rotate(180deg) saturate(120%) brightness(110%);

}
.card-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}
.card-title.blue {
  color: var(--blue);
}
.card-title.green {
  color: var(--green);
}
.card-title.brik {
  color: var(--brik);
}
.card-title.blue-gray {
  color: var(--blue-gray);
}
.card-title:hover {
  opacity: 0.85;
}



.svg-wrapper {
  width: 100%;       /* ياخد عرض الشاشة */
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
  display: block;
  overflow: auto;
}

.brief{ /*isnad brief */
  fill: rgb(255, 255, 255);
  font-size: 120px;
  font-family: "Qahwa Arabic";
  font-weight: bold;
  text-anchor: end;
  dominant-baseline: middle;
}
.brtxt1{
   fill: var(--navy);
  font-size: 22pt;
  font-family: "IBMPlexArabic";
  font-weight: bold;
  text-anchor: end;
  dominant-baseline: middle;
}

.quest{ /* اسئلة شائعة*/
  font-size: 50px;
  font-weight: bold;
  color:var(--green);
  margin:20;
  text-align: right;
}

.det {
  width: fit-content;
  max-width: 600px;
  margin: 0 0 0 auto; /* yelze2 3al yamin b RTL */
  overflow: hidden;
}
.det.fetehh{
  border-radius:   8px 0 0 0;
  background: #e5f1ea;
}
.det.feteh{
  background: #e5f1ea;
  
}
.det.kehle{
  background: #d1e3dc;
}
.det:hover{
  background: var(--bej);
}

.sumtxt {
  font-family: "Qahwa Arabic";
  font-size: 30px;
  font-weight: bold;
  color: var(--green);
  list-style: none;
  padding: 16px 32px;
  cursor: pointer;
  display: flex;
  align-items: center; /* bekhale l arrow wl txt jnb b3d*/
  cursor: pointer;
  user-select: none;
}
.sumtxt:hover {
  color:var(--brik);
}


.sumtxt::after { 
  content: "▼";
  font-size: 18px;
  margin-left: 10px;
  transition: transform 0.3s;
}

details[open] .sumtxt::after {
  transform: rotate(180deg);
}

details[open].det {
  background: var(--bej); 
}
details[open] .sumtxt {
  color: var(--brik);
}



.pr {
  font-weight: bold;
  font-size: 18px;
  color: var(--navy);
  padding: 0 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}
/* فتح/إغلاق بالـCSS وحده (يعمل حتى لو تعطّل الجافاسكربت) */
details[open] .pr {
  max-height: 600px;
  padding: 10px 20px 16px;
}
.faq-container {
  display: flex;
  align-items: center; /* la tsir l 3ajale b nafs mestawa l as2ile */
  justify-content: space-between;
  gap: 60px;
  margin-top: 20px;
  padding: 0 0 0 40px; /* yamin: 0 lal as2ile telze2 3al hef, shmel: 40px lal 3ajale */
}


.wheel {
    position: relative;
    width: 400px;
    height: 400px;
    margin-top: 0;
    flex-shrink: 0;
    transform: rotate(0deg);
    transition: transform 1s ease-in-out;
    transform-origin: center center;
  }

.circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  top: 50%;
  left: 50%;
  margin: -100px; 
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: sepia(80%) hue-rotate(100deg) saturate(110%) brightness(100%) ;
}

.circle:nth-child(1) { transform: rotate(0deg) translateY(-110px); } /*lrotate la thaded kl sura wen mawke3a bl nesbe lal center wl translate y la haded lmasefe le ben lsuwar ;*/
.circle:nth-child(2) { transform: rotate(90deg) translateY(-110px); }
.circle:nth-child(3) { transform: rotate(180deg) translateY(-120px); }
.circle:nth-child(4) { transform: rotate(270deg) translateY(-120px); }




.buttons {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 230px;
}

.btn {
  position: relative;
  text-align: center;
  padding: 12px 24px;
  border-radius: 12px;
  width: 200px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  font-family: Qahwa Arabic;
  transition: background 0.3s ease;
}

.btn.brik {
background:var(--brik); 
color: #fff;
} 
.btn.green {
 background: var(--green); 
color: #fff;
}   
.btn.blue  { 
  background: none;
  border: 2px solid var(--green);
  color:var(--green);
}

.btn:hover {
  opacity: 0.85;
}

.donation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  margin: 130px auto 0;   /* مسافة فوق القسم — ينزل لتحت بشكل نظيف */
  padding: 0 24px;
}


.dtitle{
  font-size: 42px;
  font-weight: bold;
  color: var(--blue);
  margin: 0;
}


.view-all {
  font-family: Qahwa Arabic;
  font-size: 30px;
  font-weight: bold;
  color: #2a6f97;
  text-decoration: none;
  position: relative;
  margin: 0;
}

.view-all::after {
  content: ""; 
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;              
  height: 22px;            
  background-image: url("images/arw.svg");
  background-repeat: no-repeat;
  background-size: contain; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-all:hover::after,
.view-all:active::after,
.view-all:focus::after {
  opacity: 1;
}
.cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 24px auto 0;
  padding: 0 20px;
}

/* بطاقات الحالات الخاصة (تُجلب من قسم التبرعات) */
.cards .case-card {
  background: var(--blue);
  border-radius: 20px;
  width: 330px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cards .case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(10, 113, 158, 0.3);
}

.cards .case-img {
  height: 200px;
  border-radius: 12px;
  background: #2b2b2b;
  overflow: hidden;
}
.cards .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cards .case-body {
  padding: 14px 8px 6px;
  color: #fff;
}
.cards .case-title {
  text-align: right;
  font-size: 24px;
  margin: 0 0 8px;
  color: #fff;
}
.cards .case-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #eaf3f8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards .case-progress {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  height: 14px;
  overflow: hidden;
  margin-bottom: 8px;
}
.cards .case-progress-fill {
  background: #fff;
  height: 100%;
  border-radius: 20px;
  transition: width 0.4s ease;
}

.cards .case-amounts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cards .case-amount {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #fff;
}
.cards .case-amount:first-child { text-align: left; align-items: flex-start; }
.cards .case-amount:last-child  { text-align: right; align-items: flex-end; }
.cards .amount-label { opacity: 0.85; }
.cards .amount-val { font-weight: bold; font-size: 15px; }

.cards .case-btn {
  align-self: center;
  background: #fff;
  color: var(--blue);
  font-size: 16px;
  padding: 8px 28px;
  border-radius: 8px;
  transition: 0.25s;
}
.cards .case-card:hover .case-btn {
  background: var(--orange);
  color: #fff;
}

.cards .cases-msg {
  color: var(--blue);
  font-size: 20px;
  text-align: center;
  width: 100%;
}
.isnadon{
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 60px 0 0 0;
  max-width: 100%;
  background: #ffffff;
}
.isnad-title{
  font-size: 42px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 0px;
 
}
.image-side{
  position: relative;
  width: 42%;
  max-width: 560px;
  overflow: hidden;
  margin: 0;
  background: #2f2f2f;
}
.image-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* temle l etar kemel mahma ken tul lnass bdun fragh */
  display: block;
}
.text-side{
flex:1;
font-size: 18px;
font-weight: bold;
line-height: 1.5;
color: var(--navy);
text-align:justify;
position: relative;
padding: 40px 60px;

}
.text-side p {
  margin-top:10px;
}


.isnad-btn {
  display: block;
  margin-left: 0px;      
  margin-right: auto;  
  width: 80px;    
  padding: 5px 18px; 
  border: 2px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-size: 20px;
  font-family: Qahwa Arabic;
  font-weight: bold;
  text-decoration: none;
  background: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}
.isnad-btn:hover {
  background: var(--green);
  color: #fff;
}
.isnad-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: #fff;
  background: var(--green);
  padding: 40px 30px;
  margin-top: 0;
  direction: rtl;
}
.isnad-footer .column {
  transform: translateY(-10px); /*erfa3ha shwy la fu2 */
}

.isnad-footer h2 {
  margin-bottom: 10px;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
}


.isnad-footer  h3 {
  text-align: center;    
  font-size: 65px;       
  color: #fff;          
  font-weight: bold;
  margin-bottom: 1px;
  transform: translateY(-30px);
  margin-right: -80px;
}


.isnad-footer .isnad p {
  font-weight: regular;
  margin-right: 50px;
  font-size: 10px;       
  line-height: 1;      
  text-align: justify;    
  white-space: pre-line;
 transform: translateY(-60px);
}


.isnad-footer p,
.isnad-footer li,
.isnad-footer a {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  text-decoration: none;
}

.isnad-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.isnad-footer a:hover {
  text-decoration: underline;
}

.menu {
  position: fixed;     /*fu2 kel l elements*/
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;        
  background: var(--green);
  padding: 20px;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  transform: translateX(100%); /*mekhfeye kelha bara lsheshe*/
  transition: transform 0.4s ease;
  z-index: 9999;       /*fu2 kel l elements*/
}

.menu.open {
  transform: translateX(0); /* tutl3 mn the top-right */
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.menu a:hover {
  text-decoration:none;
  color: var(--orange);
}
.close-btn {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  text-align: right;
  margin-bottom: 20px;
}
.close-btn:hover {
  color:var(--orange);}


/* ════════ Responsive Navbar ════════
   منع تجاوز اللوغو لحدود اللسان (nav-extension) على الشاشات الصغيرة */
@media (max-width: 900px) {
  .nav-extension { width: 170px; }
  .logo { font-size: 38px; }
}

@media (max-width: 600px) {
  /* نخفي التاب المعلّق ونوسّط اللوغو داخل الشريط نفسه (أنظف على الموبايل) */
  .navbar { height: 52px; align-items: center; }
  .nav-extension { display: none; }
  .logo { height: 52px; font-size: 28px; }
  .circle-icon { left: 14px; width: 30px; height: 30px; }
  .menu-icon { right: 14px; }
  .menu-icon span { width: 22px; }
  .slider-wrapper { margin-top: 64px; }
}

@media (max-width: 380px) {
  .logo { font-size: 24px; }
}


/* ════════ Responsive Layout (الصفحة كاملة) ════════ */
html, body { overflow-x: hidden; }

/* قسم "من نحن" يتكيّف تلقائياً (HTML) */

/* ── أجهزة لوحية / شاشات متوسطة ── */
@media (max-width: 992px) {
  /* بطاقات الخدمات */
  .services { flex-wrap: wrap; gap: 28px; margin: 110px auto 40px; max-width: 92%; }

  /* السلايدر */
  .slider { height: 320px; }

  .quest { font-size: 40px; }

  /* الأسئلة الشائعة: تكديس عمودي */
  .faq-container { flex-direction: column; align-items: center; margin-top: 50px; }
  .det, .det.kehle { width: 92%; max-width: 520px; }

  /* العجلة الزخرفية: نخفيها على الشاشات الأصغر */
  .wheel { display: none; }

  /* الأزرار */
  .buttons { flex-wrap: wrap; gap: 24px; margin-top: 60px; }

  /* صف التبرعات */
  .donation-row { margin-top: 90px; }
  .dtitle { font-size: 32px; }
  .view-all { font-size: 26px; }

  /* كروت التبرعات */
  .cards { flex-wrap: wrap; gap: 24px; margin-top: 24px; }
  .cards .case-card { width: 280px; }

  /* قسم ادعم إسناد */
  .isnadon { flex-direction: column; gap: 0; margin: 60px 0 0 0; align-items: stretch; max-width: 100%; }
  .image-side { width: 100%; max-width: none; height: 280px; margin-top: 0; }
  .text-side { max-width: 100%; }

  /* الفوتر: عمودين */
  .isnad-footer { grid-template-columns: repeat(2, 1fr); }
  .isnad-footer h3 { margin-right: 0; transform: translateY(-10px); font-size: 50px; text-align: right; }
  .isnad-footer .isnad p { margin-right: 0; transform: none; }
}

/* ── موبايل ── */
@media (max-width: 600px) {
  .slider-wrapper { margin-top: 60px; }
  .slider { height: 200px; width: 92%; }
  .arrow { font-size: 34px; }

  .services { gap: 16px; margin-top: 100px; }
  .card-wrapper { width: 44%; }
  .service-card { height: 150px; }
  .card-title { font-size: 17px; }

  /* الأسئلة الشائعة — تنظيم ومسافات مريحة */
  .quest { font-size: 28px; text-align: center; margin: 54px 0 4px; }
  .faq-container { margin-top: 16px; padding: 0 14px; gap: 0; }
  .faq-container > div { width: 100%; }
  .det, .det.kehle { width: 100%; max-width: 480px; margin: 0 auto 12px; border-radius: 12px; }
  .sumtxt { font-size: 16px; margin: 0; padding: 14px 18px; }
  .pr { font-size: 15px; }

  /* قسم من نحن / إسناد */
  .about-section { padding: 40px 14px 20px; }
  .about-title { font-size: 30px; padding: 12px 28px; }
  .about-body { padding: 22px 22px 30px; }
  .about-body p { font-size: 16px; line-height: 1.8; }

  .buttons { flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
  .btn { width: 88%; max-width: 320px; font-size: 19px; }

  .donation-row { margin-top: 70px; padding: 0 16px; gap: 10px; }
  .dtitle { font-size: 24px; }
  .view-all { font-size: 18px; }
  /* السهم الزخرفي أسفل النص، ويظهر فقط عند الضغط على "مشاهدة الكل" */
  .view-all::after { top: auto; bottom: -16px; }

  .cards { gap: 20px; margin-top: 20px; }
  .cards .case-card { width: 100%; max-width: 340px; }

  /* ادعم إسناد — بلا مسافة بيضاء فوقه */
  .isnadon { margin-top: 0; }
  .isnad-title { font-size: 28px; }
  .text-side { font-size: 16px; padding: 22px 18px; }
  .text-side p, .isnad-text { font-size: 15px; line-height: 2; }

  /* الفوتر: عمود واحد */
  .isnad-footer { grid-template-columns: 1fr; text-align: center; padding: 16px; }
  .isnad-footer .column { transform: none; }
  .isnad-footer h3 { font-size: 42px; transform: none; margin-right: 0; text-align: center; }
  .isnad-footer .isnad p { margin-right: 0; transform: none; text-align: center; }
}


/* ════════════ قسم "عن إسناد" — تصميم متجاوب ════════════ */
.about-section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 18px;
}
.about-card {
  position: relative;
  background: #e5f1ea;
  border-radius: 26px;
  padding: 46px 40px 40px;
  box-shadow: 0 14px 40px rgba(56, 114, 108, 0.12);
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(185,100,20,0.06), transparent 45%);
  pointer-events: none;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  padding: 12px 34px;
  border-radius: 0 26px 0 26px;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  box-shadow: 0 6px 18px rgba(56,114,108,0.3);
}
.about-badge-text {
  font-family: 'Qahwa Arabic', serif;
  font-size: 34px;
  line-height: 1;
}
.about-body { margin-top: 58px; }
.about-lead {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  line-height: 2;
  margin: 0 0 16px;
}
.about-lead .hl { color: var(--brik); }
.about-text {
  font-size: 17px;
  color: #3a4a47;
  line-height: 2.1;
  margin: 0 0 26px;
}
.about-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brik);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 13px 30px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'IBMPlexArabic', sans-serif;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(185,100,20,0.25);
}
.about-more-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(185,100,20,0.35); }

/* ── النافذة المنبثقة ── */
.about-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 36, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
  opacity: 0;
  transition: opacity .25s ease;
}
.about-modal.show { opacity: 1; }
.about-modal[hidden] { display: none; }
.about-modal-box {
  background: #fff;
  border-radius: 22px;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0 0 28px;
  position: relative;
  transform: translateY(18px) scale(.97);
  transition: transform .25s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.about-modal.show .about-modal-box { transform: none; }
.about-modal-head {
  background: var(--green);
  color: #fff;
  padding: 30px 28px 24px;
  border-radius: 22px 22px 40px 22px;
  text-align: center;
}
.about-modal-logo {
  font-family: 'Qahwa Arabic', serif;
  font-size: 40px;
  display: block;
  line-height: 1.1;
}
.about-modal-title {
  font-family: 'IBMPlexArabic', sans-serif;
  font-size: 17px;
  font-weight: 600;
  opacity: .9;
  margin: 6px 0 0;
  color: #fff;
}
.about-modal-content { padding: 24px 28px 0; }
.about-modal-content p {
  font-size: 16px;
  line-height: 2.1;
  color: #3a4a47;
  margin: 0 0 16px;
  position: relative;
  padding-inline-start: 16px;
}
.about-modal-content p::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--brik);
  opacity: .5;
}
.about-modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}
.about-modal-close:hover { background: rgba(255,255,255,0.45); }

/* ── تجاوب الموبايل ── */
@media (max-width: 600px) {
  .about-section { margin: 40px auto; }
  .about-card { padding: 40px 20px 28px; border-radius: 20px; }
  .about-badge { padding: 9px 22px; }
  .about-badge-text { font-size: 26px; }
  .about-body { margin-top: 46px; }
  .about-lead { font-size: 18px; line-height: 1.9; }
  .about-text { font-size: 15px; line-height: 1.95; }
  .about-more-btn { width: 100%; justify-content: center; font-size: 16px; }
  .about-modal-logo { font-size: 32px; }
  .about-modal-content p { font-size: 15px; line-height: 1.95; }
}


/* ════════════ قسم الأرقام (Impact) — تصميم مسطّح منظّم ════════════ */
.impact {
  background: var(--green);
  color: #fff;
  margin: 10px 0 0;
  padding: 54px 24px 58px;
  text-align: center;
}
.impact-title {
  font-family: 'Qahwa Arabic', serif;
  color: #fff;
  font-size: 38px;
  margin: 0 0 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 20px;
  max-width: 1040px;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
/* خط فاصل أفقي بين الصفّين */
.stats-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255,255,255,0.22);
  margin: 6px 4%;
}
.stat-ico {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.92);
}
/* أيقونات صفحة المساعدات (صور) — نوحّد حجمها ولونها أبيض لتناسب الخلفية */
.stat-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.stat-num {
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.5px;
  direction: ltr;
  font-family: 'IBMPlexArabic', sans-serif;
}
.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

/* تفاعل: عند الضغط/المرور يتحوّل الرقم والأيقونة للّون الآجري */
.stat { cursor: pointer; }
.stat-num, .stat-ico { transition: color .25s ease; }
.stat-img { transition: filter .25s ease; }
.stat:hover .stat-num, .stat:active .stat-num,
.stat:hover .stat-ico, .stat:active .stat-ico {
  color: var(--brik);
}
/* أيقونات الصور (المساعدات) — تلوين تقريبي للآجري عند الضغط */
.stat:hover .stat-img, .stat:active .stat-img {
  filter: brightness(0) saturate(100%) invert(45%) sepia(72%) saturate(1100%) hue-rotate(2deg) brightness(95%);
}

@media (max-width: 760px) {
  .impact { padding: 40px 18px 44px; margin-top: 10px; }
  .impact-title { font-size: 28px; margin-bottom: 26px; }
  /* عمودان بلا فجوات + خط فاصل تحت كل سطر */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stats-divider { display: none; }
  .stat {
    padding: 22px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }
  /* آخر سطر (آخر بطاقتين) بلا خط */
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-ico, .stat-img { width: 34px; height: 34px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 14px; }
}
