@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Cairo:wght@200..1000&display=swap');

:root {
    /* ... (احتفظ بالمتغيرات الأصلية) ... */
    --primary-color: #007bff; /* أزرق للأزرار */
    --secondary-color: #1e8449; /* أخضر للشعار */
    --text-color: #333;
    --bg-color: #fff;
    --border-radius: 8px;
    --primary: #0b4d8f;
--primary-600: #115da9;
--accent: #f2c64b;
--heading: #0f2233;
--text: #2a2e34;
--dark-blue: #0A141A; 
    --white: #FFFFFF;
       --dark-blue: #0A192F; /* Background color from the image */
    --white: #FFFFFF;    /* Text color */
    --hover-color: #64FFDA; /* A bright color for smooth hover (optional: use a subtle white/light blue if you prefer) */
    --transition-speed: 0.3s; /* Smoothness for hovers */
    --icon-size: 1.5rem; /* Base size for social icons */
    --text-color: #B0B0B0; 
    --link-hover-color: #5BC0F8; /* لون أزرق فاتح جميل للهوفر */
    --padding-desktop: 70px 100px 40px;
    --padding-mobile: 40px 20px 20px;
    --border-color: rgba(255, 255, 255, 0.15); 
    --ink:#061923;
--muted:#3b5563;
--accent:#f2b307;
--bg:#ffffff;
--card:#f3f5f7;
--maxw:1160px;
}
:root{
--muted: #6b7280;
--card-bg: #ffffff;
--surface: #fafbfc;
--border: #e5e7eb;
--link: #1e74c7;
--link-700: #195da0;
  --bg:#F3F7FD;          /* خلفية الصفحة */
      --card:#ffffff;        /* خلفية الكارت */
      --ink:#0E1B2A;         /* نص داكن */
      --muted:#8A8F98;       /* نص فاتح */
      --accent:#F5B700;      /* الماسة الصفراء */
      --btn:#E7F6EE;         /* لون زر التفاصيل */
      --btn-ink:#0B6E4F;     /* نص الزر */
      --shadow: 0 6px 18px rgba(0,0,0,.08);
      --radius:14px;
    --footer-bg:#77b3cf; /* لون الخلفية */
      --ink:#fff;
      --muted:rgba(255,255,255,.8);
      --muted-2:rgba(255,255,255,.62);
      --hover:#fff;
      --divider:rgba(255,255,255,.38);
      --ring:rgba(255,255,255,.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}
a {
    color: #f6ebeb;
    /* text-decoration: nne; */
    font-size: 0.95em;
    transition: color 0.3s;
}

a:hover {
    color: var(--white);
}

body {
  font-family: 'Noto Sans Arabic', sans-serif;

}

/* شريط التنقل (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
        /* قيمة عالية جداً لضمان ظهوره في المقدمة */

}


/* الترتيب الجديد للأقسام (شاشات الكمبيوتر) */
.navbar-right { /* زر تبرع الآن (أقصى اليمين) */
    order: 3;
    display: flex;
    align-items: center;
}

.navbar-links { /* الروابط والشعار (المنتصف) */
    order: 2;
    list-style: none;
    display: flex;
    align-items: center; /* لمحاذاة الشعار مع الروابط */
    flex-grow: 1;
    justify-content: center; /* لجعل الروابط في المنتصف */
    gap: 25px;
}

.navbar-left { /* مربع البحث (أقصى اليسار) */
    order: 1;
    display: flex;
    align-items: center;
}

/* الشعار */
.logo-container {
    list-style: none; /* إزالة التنقيط من عنصر li الخاص بالشعار */
    padding: 0 10px;
}
.logo {
    font-size: 32px;
    color: var(--secondary-color);
    /* إزالة أي هوامش غير ضرورية */
}

/* زر التبرع */
.donate-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.3s;
    margin-inline-start: 15px; /* مسافة عن زر فتح القائمة */
}

.donate-btn:hover {
    background-color: #0056b3;
}

/* الروابط */
.navbar-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.navbar-links li a:hover {
    color: var(--primary-color);
}

/* مربع البحث */
.search-box {
    display: flex;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 40px;
}

.search-box input {
    border: none;
    padding: 0 10px;
    outline: none;
    width: 200px;
    text-align: right;
}

.search-box button {
    background-color: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-box button:first-of-type,
.search-box button:last-of-type {
    border-inline-start: 1px solid #ccc;
}

/* الشريط الجانبي (Sidebar) - لم يتغير */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar a {
    padding: 15px 25px 15px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
    background-color: var(--primary-color);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-inline-start: 50px;
}

.donate-btn-sidebar {
    background-color: var(--primary-color);
    color: white !important;
    text-align: center;
    margin-top: 20px;
}
 .navbar-links {
          pointer-events: auto !important; /* تأكد من السماح بالنقرات */

    }


/* زر فتح القائمة (يظهر فقط في الجوال) */
.openbtn {
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    display: none; /* مخفي في الشاشات الكبيرة */
    padding: 0;
    margin-inline-start: 15px; /* مسافة عن زر تبرع الآن */
}
.logo img {
    height: 40px;
}


/* ------------------------------------- */
/* التجاوبية (Media Queries) */
/* ------------------------------------- */

@media screen and (max-width: 992px) {
    .navbar-links {
        display: none; /* إخفاء الروابط والشعار في الشاشات الأصغر */
    }

    .openbtn {
        display: block; /* إظهار زر فتح القائمة */
    }
    
    /* إعادة ترتيب الأقسام في الجوال ليكون التبرع أقصى اليمين والبحث أقصى اليسار */
    .navbar-right {
        order: 1; /* اليمين */
    }
    .navbar-left {
        order: 3; /* اليسار */
    }
}


@media screen and (max-width: 600px) {
    .navbar {
        padding: 10px;
    }

    .search-box input {
        width: 100px;
    }

    .donate-btn {
        /* إبقاء زر التبرع ظاهرًا هنا أو يمكنك إخفاؤه حسب رغبتك */
        /* display: none; */ 
    }

    .sidebar {
        width: 70%;
    }
}



/* section1 */
.container {
    display: flex;
    flex-direction: row-reverse; 
    background-color: white;
    overflow: hidden;
}

/* === Text Content Styling === */
.content-text {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .content-text h1 {
    font-weight:800;
font-size: 64px;
color: rgba(6, 25, 35, 1);
margin: 4px 0 10px;
font-family: 'Noto Sans Arabic', sans-serif;
    line-height: 1.2; /* إضافة line-height لتحسين القراءة */

}

.content-text p {
    font-size: 24px;
    color: rgba(6, 25, 35, 1);
    margin-bottom: 40px;
    font-weight: 500;
    font-family: 'Noto Sans Arabic', sans-serif;
     line-height: 1.6;


}
.content-image img{
    width: 590px;
    height: 557px;
     animation: float-animation 6s ease-in-out infinite;
}

/* === Buttons Styling === */
 .btns {
      display: flex;
      gap: 10px;
      /* align-items: flex-start!important; */
    }

    .btn {
      padding: 10px 20px;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      transition: all 0.3s ease;
    }

    .btn-light {
      background: #e6f4ff;
      color: rgba(34, 149, 210, 1);
      width: 194px;
      height: 45px;
       cursor: pointer;
    font-family: 'Tajawal', sans-serif;
     font-weight:700;
     letter-spacing:-0.1px;
         border:none;
          border-radius:6px;
    }
    .btn-light:hover {
      background: #cdeaff;
      transform: translateY(-2px);
    }

     .btn-border-arrow {
      background-color: #2295D2;;   /* الأزرق */
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    
    .btn-text {
      padding: 12px 22px;
      display: flex;
      align-items: center;
      color: #ffffff;
      width: 132px;
      height: 45px;
      background: #2295D2;
       cursor: pointer;
    font-weight:700;
     letter-spacing:-0.1px;
         border:none;
          border-radius:6px;
    }

    .btn-divider {
      width: 2px; 
      align-self: stretch;          /* يخلي الخط ياخد ارتفاع الزر كله */
      background: rgba(255, 255, 255, 0.9);
    }

    .btn-icon {
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-icon svg {
      width: 20px;
      height: 20px;
      fill: #fff;
      transition: transform 0.3s ease;
    }

    .btn-border-arrow:hover .btn-icon svg {
      transform: translateX(-4px);
    }


    @media (max-width: 768px) {
  .btns {
    flex-direction: column;   /* يخلي الأزرار تحت بعض */
    align-items: center;
  }
  .btn, .btn-border-arrow {
    width: 186px;              /* عرض كامل */
    text-align: center;
  }
  .btn-text {
    justify-content: center;
    padding: 12px;
  }
 .btn-icon {
  padding: 0 8px;    /* بدل 16px خليتها 8px */
  display: flex;
  align-items: center;
  justify-content: center;
}
    .btn,
    .btn-light,
    .btn-border-arrow,
    .btn-text {
        font-size: 14px; /* تصغير حجم الخط في الأزرار */
    }

    .btn-light,
    .btn-text {
        height: 40px; /* تقليل ارتفاع الأزرار قليلاً */
    }
}


    /* زر الرجوع */
    /* .btn-back {
      display: flex;
      align-items: center;
      gap: 5px;
    } */

/* === Image/Map Styling === */
.content-image {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; 
    

}


/* ---------------------------------------------------- */
/* NEW CSS ANIMATION CODE                     */
/* ---------------------------------------------------- */

/* Defines the keyframes for the floating effect */
@keyframes float-animation {
    0% {
        transform: translateY(0px); /* Starting position */
    }
    50% {
        transform: translateY(-15px); /* Move up by 15 pixels */
    }
    100% {
        transform: translateY(0px); /* Return to original position */
    }
}




/* الهواتف الصغيرة (480 بكسل وأقل) */
/* === Responsive Breakpoints === */
/* Large tablets and below */
@media (max-width: 1024px){
.container{ padding: clamp(16px, 3vw, 32px); }
}


/* Tablets */
@media (max-width: 900px){
.content-text{ flex-basis: 52%; }
.content-image{ flex-basis: 48%; }
}




/* Mobiles */
@media (max-width: 768px){
  .container {
    flex-direction: column; 
    text-align: center;
    padding: clamp(16px, 4vw, 28px);
  }

  .content-image {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .content-image img {
    width: 100%;         /* الصورة تاخد عرض الشاشة */
    max-width: 320px;    /* أقصى عرض للصورة على الموبايل */
    height: auto;        /* يحافظ على التناسب */
  }

   .btns {
    justify-content: flex-start;
  } 

  .btn, .btn-border-arrow {
    width: 100%;
    max-width: 220px;
  }
}

.content-image{ order:-1; }
/* .btns{ justify-content: center; } */
.btn, .btn-border-arrow{ width: 100%;    max-width: 186px; }
.btn-text{ justify-content: center; padding: 0 12px; border-radius:6px; }
.btn-icon{ padding:0 10px; }
:root{ --btn-h: 42px; }



/* Small mobiles */
@media (max-width: 420px){
    .btns{
            width: 179px;
            margin: auto;
}
   
.btn, .btn-border-arrow{ max-width: 100%; }
 }




/* end section1 */
/* start section2 */


.wrap{   
  
    margin: 78px 83px;
    padding: 0 16px;
    height: 500px;}


.eyebrow{
  font-weight:700;
  font-size:18px;
  color:var(--muted);
  margin-bottom:20px;
  text-align: right;
}


.section{
display:grid;
grid-template-columns: 1fr 1.2fr;
align-items:start;
gap:32px;
}


.text-col{padding-inline-start:8px;}


.title-line{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.diamond{width:10px;height:10px;background:var(--accent);transform:rotate(45deg);display:inline-block;border-radius:2px}


.h1{font-weight:800;font-size:40px;line-height:1.3;color:var(--ink);margin:0 0 16px 0;}


p.lead{font-size:24px;line-height:1.9;font-weight:500;
  text-align: right;margin:0;color:rgba(6, 25, 35, 1)}


/* .media{
background:
linear-gradient(0deg, transparent 0, transparent 100%),
conic-gradient(from 45deg, #e9eef2 0 25%, #ffffff 0 50%, #e9eef2 0 75%, #ffffff 0 100%);
background-size:100% 100%, 28px 28px;
border-radius:12px;
min-height:340px;
box-shadow:0 2px 6px rgb(0 0 0 / 6%);
border:1px solid #e6ebef;
} */
.media img{
    width: 298.5px;
    height: 372px;
}


.media-col{
display:flex;
flex-direction:row;
gap:16px;
}
.media-col .media{flex:1;min-height:340px;
    display: contents;}


@media (max-width: 900px){
.h1{font-size:34px}
.lead p{font-size:17px}
.section{gap:24px}
.media-col .media{min-height:280px}
}

@media (max-width: 720px){
.wrap{margin:40px auto}
.section{grid-template-columns:1fr;}
.text-col{order:2}
.reveal.in{opacity:1;transform:none}
.media img{
        width: 216.5px;
}
}
@media (max-width:480px) {
    .media img {
        width: 171.5px;
    }
}
 /* section3 */



.banner {
    display: flex;
    justify-content: center;
    align-items: center;
  height: 101px;
}


.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: center;
width: 1140px;
max-width: 95%;
}


/* العنوان */
.heading {
display: flex;
align-items: center;
gap: 10px;
justify-self: end;
}
.heading h2 {
margin: 0;
font-size: 32px;
font-weight: 800;
font-family: 'Noto Sans Arabic', sans-serif;

}
.diamond {
width: 9px;
height: 9px;
background: rgb(247,181,0);
transform: rotate(45deg);
border-radius: 2px;
}


/* الشركاء */
.partner {
display: flex;
align-items: center;
gap: 12px;
flex-direction: row-reverse;
}
.partner .name {
margin: 0 0 3px;
font-size: 20px;
font-weight: 700;
}
.partner .sub {
margin: 0;
font-size: 16px;
color: rgba(0,0,0,.55);
}




/* أيقونة الهلال */
.icon-crescent img,
.icon-redcross img {
    width: 50px;
    height: 50px;
        object-fit: cover;
    
}
/* موبايل متوسط (≤ 768px): العناصر صفوف متتالية */
@media (max-width: 768px){
  .grid{
    grid-template-columns: 1fr;
    row-gap: 14px;
            margin-top: 362px;
  }
  .heading{
    justify-self:start;
  }
  .partner{
         justify-self: right;
  }
   .partner .name{ font-weight: 700; }
  .partner .sub{  font-size: 14px; }
  
  p.lead  {
    font-size: 18px;
    line-height: 1.8;      /* تباعد مريح بين السطور */
    white-space: normal;   /* يكسر السطر طبيعي */
    display: block;
    padding: 0 16px;       /* مسافة يمين وشمال */
    margin: 0 auto;        /* يخلي النص في المنتصف */
    text-align: start;     /* الكلام يبدأ من اليمين في العربي */
  }
}

/* موبايل صغير جداً (≤ 420px): تصغير طفيف ولفّ العناصر إن لزم */
@media (max-width: 420px){
  .partner{
    gap:10px;
    flex-wrap:wrap;
  }

    p.lead {
        font-size: 16px;
    }
  

  @media (max-width: 380px){
  .partner{
    flex-direction: row-reverse;     /* نفس الاتجاه */
    gap: 8px;
  }
  .heading h2{
    font-size: 18px;                 /* تصغير طفيف للعنوان */
  }
}
}

/* دعم تباعد أفضل في الشاشات الكبيرة جداً */
@media (min-width: 1440px){
  .grid{ column-gap: 36px; }
}





/* end section3  */

/* start section4 */

/* ====== حاوية عامة ====== */
.section-wrap{
  padding:56px 16px 72px;
  background:#fff;
  color:#061923;
  font-family:"Noto Sans Arabic",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.7;
}

/* العنوان */
.section-head{
  text-align:center;
  max-width:920px;
  margin:0 auto 28px;
}
.section-eyes {
  font-size:32px;
  font-weight:800;
  letter-spacing:-0.2px;
  margin:0 0 10px;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.section-eyes::before,
.section-eyes::after{
  content:"◆";
  font-size:14px;
  color:#f7b500; /* لمعة صفراء صغيرة */
}
.section-sub{
  font-size:24px;
  color:#30414a;
  margin:0 auto;
}

/* الشبكة */
.cards{
  max-width:1180px;
  margin:28px auto 28px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

/* الكارت */
.card{
  background:rgba(255, 255, 255, 1);
  border:1px solid #e7eff6;
  border-radius:14px;
  padding:22px 18px;
  min-height:400px;
  display:flex;
  flex-direction:column;
  gap:12px;
  width: 271.25px;
  box-shadow:0 6px 14px rgba(7,41,58,.06);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  will-change:transform;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 26px rgba(7,41,58,.12);
  background:#ffffff;
  border-color:#d9e7f2;
}

/* الأيقونة داخل دائرة */
.card-icon{
  width:48px; height:48px;
  border-radius:50%;
  display:grid; place-items:center;
  margin-bottom:4px;
}
.card-icon img{width:53px; height:53px}

/* العنوان والنص */
.card h3{
  margin:0;
  font-size:24px;
  font-weight:400;
  color:#0b2a3a;
  letter-spacing:-.2px;
}
.card p{
  margin:0;
  font-size:20px;
  color:#3b4e57;
  font-weight: 300;
}

/* رابط قراءة المزيد مع “مثلث” متحرك */
.read-more{
  margin-top:auto;
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 0;
  font-size:16px;
  font-weight:600;
  color:rgba(2, 39, 59, 1);
  text-decoration:none;
  position:relative;
}
.read-more img{
    width: 9px;
}
.card:hover .read-more::after,
.read-more:hover::after{ transform:translateX(4px) }

/* زر “عرض كافة المشاريع” */
.more-cta{
  display:flex; justify-content:center;
  margin-top:18px;
}
.more-cta a{
  display:inline-flex; 
  align-items:center; 
  gap:10px;
  padding:10px 18px;
  border:1.5px solid #02273B;
  border-radius:12px;
  text-decoration:none;
  color:#0b2a3a;
  font-weight:600;
  font-size:20px;
  background:#fff;
  box-shadow:0 2px 10px rgba(7,41,58,.05);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.more-cta a:hover{ transform:translateY(1px); 
    color: #ffffff; background-color: #8ed0f4; }

/* ====== RESPONSIVE ====== */
/* شاشات كبيرة متوسطة */
@media (max-width:1200px){
  .cards{grid-template-columns:repeat(3,1fr)}
  .section-eyes{font-size:21px}
}
/* تابلت */
@media (max-width:992px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .section-wrap{       padding: 267px 14px 60px;}
  .section-sub{font-size:15px}
  .card{min-height:230px}
}
/* موبايل */
@media (max-width:600px){
  .cards{grid-template-columns:1fr; gap:14px}
  .section-eyes{font-size:19px}
  .section-sub{font-size:14.5px}
  .card{padding:18px 16px; border-radius:12px;
        margin: auto;}
  .card h3{font-size:18px}
  .card p{font-size:14px}
  .read-more{font-size:13.5px}
}
/* موبايل صغير جدًا */
@media (max-width:380px){
  .section-wrap{padding:36px 12px 52px}
  .card{padding:16px 14px}
  .card h3{font-size:17px}
}

@media (prefers-reduced-motion: reduce){
  .card, .read-more::after, .more-cta a{transition:none}
}
/* end section4 */
/* section5 */
    .container-cards {
      position: relative;
      width: 100%;
      /* max-width: 1200px; */
      text-align: center;
      /* background-color: #F3F7FD; */
    }

    /* الخريطة */
    .map {
      width: 100%;
    max-width: 1014px;
          margin: auto;
      display: block;
      background: black;
    }

    /* الطفل */
    .child {
      position: absolute;
      top: 56%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 753px;
      z-index: 2;
      animation: float 4s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translate(-50%, -50%) translateY(0); }
      50% { transform: translate(-50%, -50%) translateY(-12px); }
    }

    /* الكروت */
    .carde {
      position: absolute;
      background: white;
      padding: 15px 20px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      /* gap: 12px; */
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      max-width: 260px;
      z-index: 3;
      opacity: 0;
      animation: fadeIn 1s ease forwards;
    }
     .number {
      font-size: 26px;
      font-weight: bold;
      color: rgba(229, 169, 16, 1); 
      min-width: 60px;
      text-align: center;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* القلب */
    .heart {
      position: absolute;
      top: -18px;
      width: 38px;
      /* animation: pulse 1.5s infinite; */
    }

    .carde.left .heart {     top: -17px;
    left: -15px; }
    .carde.right .heart { right: -18px; }

    /* .carde .card1 .heart img,
    .carde .card3 .heart img{
    left: -17px;
    } */
/* 
   @keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8); /* تكبر الهالة */
    /* opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  } */
 */

    /* الرقم */
   

    .text {
      font-size: 16px;
      color: rgba(6, 25, 35, 1);
      text-align: left;
      line-height: 1.2;
    }

    /* توزيع الكروت حول الطفل */
    .card1 {     
      width: 334px;
     top: 28%;
    left: 23%;
    animation-delay: 0.2s; 
    letter-spacing: -1px;
  }
    .card2 {     top: 22%;
    right: 23%; animation-delay: 0.4s;
  letter-spacing: -0.8px; }
    .card3 { bottom: 34%;
    left: 21%; animation-delay: 0.6s; }
    .card4 {    bottom: 35%;
    right: 22%;
        letter-spacing: -0.8px;
         animation-delay: 0.8s; }

    /* المثلث */
    .carde::after {
      content: "";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-style: solid;
    }

    /* مثلث لليسار */
    .carde.left::after {
      right: -12px;
      border-width: 10px 0 10px 12px;
      border-color: transparent transparent transparent white;
    }

    /* مثلث لليمين */
    .carde.right::after {
      left: -12px;
      border-width: 10px 12px 10px 0;
      border-color: transparent white transparent transparent;
    }

    /* ريسبونزف */
    @media (max-width: 768px) {
      /* body {
        flex-direction: column;
        padding: 15px;
      } */

      .map { display:none; }

        .child {
        position: relative;
        transform: none;
        margin: 0px auto 21px;
        width: 219px;
        animation: floatMobile 4s 
        ease-in-out infinite;
        margin-left: -73px;
    }
    /* موبايل وتابلت صغير */
@media (max-width: 768px) {
  .cards-containerr {
    /* نخليهم عمود واحد مع الطفل في الأول */
    display: grid;
    grid-template-areas:
      "child"
      "card1"
      "card2"
      "card3"
      "card4";
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    max-width: 100%;
  }

  /* ترتيب العناصر داخل الجريد */
  .child  { grid-area: child; }
  .card1  { grid-area: card1; }
  .card2  { grid-area: card2; }
  .card3  { grid-area: card3; }
  .card4  { grid-area: card4; }

  /* أحجام ملائمة للموبايل */
  .child {
    width: clamp(140px, 45vw, 220px);
    margin-inline: auto;
  }

  .cards-containerr .card1,
  .cards-containerr .card2,
  .cards-containerr .card3,
  .cards-containerr .card4 {
    width: min(92vw, 360px);
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    padding: 12px 14px;
    letter-spacing: 0;         /* نلغي ضغط الحروف في الشاشات الصغيرة */
  }

  /* إن كنت لسه مستخدم تموضع مطلق للكروت، نلغيه على الموبايل */
  .card1, .card2, .card3, .card4 {
    position: static !important;
    top: auto; right: auto; bottom: auto; left: auto;
  }

  /* لو فيه مثلث ::after على الكرت، نزبط مكانه */
  .card1::after, .card2::after, .card3::after, .card4::after {
    display: none; /* أو فعّله وعدّل الاتجاه حسب تصميمك */
  }
}

/* موبايل أصغر جدًا */
@media (max-width: 480px) {
  .cards-container { gap: 10px; padding: 12px; }

  .cards-container .card1,
  .cards-container .card2,
  .cards-container .card3,
  .cards-container .card4 {
    width: 94vw;
    padding: 10px 12px;
    font-size: 14px;      /* صغّر النص شوية للعرض الضيق */
  }

  .child { width: clamp(120px, 50vw, 180px); }
}

      @keyframes floatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
      }

      .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }

      .carde {
        position: relative;
        max-width: 90%;
        width: 100%;
margin: 10px auto;        
opacity: 0;
        animation: slideUp 0.8s ease forwards;
      }

      .carde:nth-child(3) { animation-delay: 0.2s; }
      .carde:nth-child(4) { animation-delay: 0.4s; }
      .carde:nth-child(5) { animation-delay: 0.6s; }
      .carde:nth-child(6) { animation-delay: 0.8s; }

      @keyframes slideUp {
        from { opacity: 0; transform: translateY(50px); }
        to { opacity: 1; transform: translateY(0); }
      }

      .heart {
        position: static;
        margin: 0 auto 8px;
        display: block;
      }

      .carde::after {
        display: none; /* المثلث يختفي في الموبايل */
      }
    }




    /* <!-- section6 start --> */
    
/* section6 */
    .testi-container{
    /* max-width:1120px; */
    margin-inline:auto;
    padding:2rem 1rem 4rem;
  }

  /* ====== عنوان القسم ====== */
  .testi-title{
    display:flex; align-items:center; justify-content:center; gap:.6rem;
    margin:.25rem 0 1.75rem;
    color:#0c2a3a;
  }
  .testi-title h2{
    margin:0;
    font-size:clamp(1.35rem,1.1rem + 1vw,1.75rem);
    font-weight:800;
    letter-spacing:.2px;
  }
  .testi-diamond{
    width:10px; height:10px; background:#f7b500; transform:rotate(45deg);
    border-radius:2px; flex:0 0 auto;
  }

  /* ====== شبكة الكروت ====== */
  .testi-cards{
    display:grid; grid-template-columns:1fr; gap:1rem;
  }
  @media (min-width:700px){ .testi-cards{ grid-template-columns:repeat(2,1fr); } }
  @media (min-width:1024px){ .testi-cards{ grid-template-columns:repeat(4,1fr); } }

  .testi-card{
    background:#fff;
    border:1px solid #e6eef3;
    border-radius:14px;
    /* overflow:hidden; */
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .testi-card:hover{ transform:translateY(-4px); box-shadow:0 10px 24px rgba(6,25,35,.08); }

  .testi-thumb{
    position:relative; aspect-ratio:16/9; width:100%;
    background:
      linear-gradient(45deg,#f0f3f6 25%,transparent 25%) -8px 0/16px 16px,
      linear-gradient(45deg,transparent 75%,#f0f3f6 75%) -8px 0/16px 16px,
      linear-gradient(45deg,#f0f3f6 25%,transparent 25%,transparent 75%,#f0f3f6 75%) 0 0/16px 16px,
      #eaf0f4;
  }

  /* زر التشغيل مع الأنيميشن */
  .testi-play{ position:absolute; inset:0; display:grid; place-items:center; }
  .testi-play-btn{
    position:relative; width:52px; height:52px; border-radius:50%;
    background:#fff; border:2px solid #cfe1eb; box-shadow:0 4px 16px rgba(0,0,0,.08);
    display:grid; place-items:center; cursor:pointer;
    transition:transform .2s ease;
  }
  .testi-play-btn:active{ transform:scale(.96); }
  .testi-play-btn::after{
    content:"";
    border-style:solid;
    border-width:8px 0 8px 12px;
    border-color:transparent transparent transparent #2e7aa1;
    margin-right:2px;
  }
  .testi-play-btn::before{
    content:"";
    position:absolute; inset:0; border-radius:50%;
    box-shadow:0 0 0 0 rgba(46,122,161,.35);
    animation:testi-pulse 1.6s ease-out infinite;
  }
  @keyframes testi-pulse{
    0%{ box-shadow:0 0 0 0 rgba(46,122,161,.35); }
    70%{ box-shadow:0 0 0 14px rgba(46,122,161,0); }
    100%{ box-shadow:0 0 0 0 rgba(46,122,161,0); }
  }

  .testi-ripple, .testi-ripple::after{
    content:""; position:absolute; inset:-6px; border-radius:50%;
    border:2px solid rgba(46,122,161,.25);
    animation:testi-ripple 1.9s ease-out infinite;
  }
  .testi-ripple::after{ animation-delay:.5s; }
  @keyframes testi-ripple{
    0%{ transform:scale(.7); opacity:.9; }
    70%{ transform:scale(1.35); opacity:0; }
    100%{ transform:scale(1.35); opacity:0; }
  }

  /* النص */
  .testi-content{ padding:14px 16px 18px; }
  .testi-title-text{
    margin:0 0 .35rem; font-weight:700; font-size:24px; color:rgba(2, 39, 59, 1);
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em;
  }
  .testi-excerpt{
    margin:0; color:rgba(70, 94, 114, 1); font-size:20px; line-height:1.6;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:3.7em;
  }
  .testi-more{
    display:inline-flex; align-items:center; gap:6px; margin-top:.75rem;
    font-size:16px; color:rgba(31, 136, 193, 1); text-decoration:none; font-weight:600;
  }
  .testi-more img{ width:14px; transition:transform .25s ease; }
  /* .testi-more:hover img{ transform:translateX(-3px); } */

  /* زر عرض الكل */
  .testi-actions{ display:flex; justify-content:center; margin-top:1.5rem; }
  .testi-btn{
    border:1.5px solid #c9dbe5; background:#fff; color:#0e2b3c;
    padding:.65rem 1.1rem; border-radius:999px; font-weight:600; cursor:pointer;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .testi-btn:hover{ background:#f6fafc; border-color:#b4cfdd; }
  .testi-btn:active{ transform:translateY(1px); }

  @media (max-width:420px){
    .testi-content{ padding:12px 12px 16px; }
    .testi-title-text{ font-size:14px }
    .testi-excerpt{ font-size:12.5px }
    .testi-play-btn{ width:48px; height:48px }
  }

  /* end section */
    /* <!-- section7 start --> */

  .wrap{
      /* max-width:1140px; */
      /* margin:28px auto 40px; */
      padding:0 20px;
      text-align:center;
    }

   

    .book{
      display:grid;
      grid-template-columns:repeat(3, 1fr);
      gap:22px;
    }
    @media (max-width:1024px){ .book{grid-template-columns:repeat(2, 1fr);} }
    @media (max-width:680px){  .book{grid-template-columns:1fr;} }

    /* الكارت */
    .mediaTile{
      background:var(--card);
      box-shadow:var(--shadow);
      /* overflow:hidden; */
      text-align:center;
      width: 373.33px;
      position:relative;
      transition:transform .35s ease, box-shadow .35s ease;
    }
    .mediaTile:hover{ transform:translateY(-8px); box-shadow:0 10px 26px rgba(0,0,0,.12); }

    /* الصورة + التظليل عند الهوفر (زي الكارت الأوسط بالصورة) */
    .mediaTile__figure{
      position:relative;
      aspect-ratio: 16 / 11;          /* قريب جدًا من أبعاد الصورة */
      overflow:hidden;
          margin: auto;
    }



    .mediaTile__img{
      width:100%; height:100%; object-fit:cover; display:block;
      transition:transform .45s ease;
    }
    .mediaTile:hover .mediaTile__img{ transform:scale(1.04); }

    .mediaTile__overlay{
      position:absolute; inset:0; pointer-events:none;
      background:linear-gradient(0deg, rgba(17,43,69,.25), rgba(17,43,69,.25));
      opacity:0; transition:opacity .35s ease;
    }
    .mediaTile:hover .mediaTile__overlay{ opacity:1; }

    /* زر التفاصيل يظهر عند الهوفر في المنتصف */
    .mediaTile__cta{
      position:absolute; inset:auto 50% 50% auto;
      transform:translate(50%,50%) scale(.8);
      padding:10px 16px 10px 12px;
      background:var(--btn);
      color:var(--btn-ink);
      border-radius:10px;
      font-size:14px; font-weight:600;
      text-decoration:none;
      box-shadow:0 4px 10px rgba(11,110,79,.18);
      opacity:0; transition:transform .32s ease, opacity .32s ease, filter .2s ease;
      display:inline-flex; align-items:center; gap:8px;
      background-color: #ffffff;
    }
  
   
    .mediaTile:hover .mediaTile__cta{
      opacity:1; transform:translate(50%,50%) scale(1);
      color: #04724D;
    }
    .mediaTile__cta:hover{ filter:brightness(.96); }

    /* جسم الكارت */
    .mediaTile__body{ padding:16px 16px 18px; }
    .mediaTile__date{
     font-size: 14px;
    color: rgba(133, 150, 170, 1);
    text-align: right;
    margin-bottom: 6px;
    }
    .mediaTile__title{
          font-size: 24px;
    font-weight: 500;
    margin: 6px 0 8px;
    color: rgba(2, 39, 59, 1);
    }
    .mediaTile__desc{
      font-size:16px; color:rgba(2, 39, 59, 1); margin:0 6px 0;
    }

   

   

    @media (min-width: 480px) {
   .mediaTile {
    margin: auto;

   }
  }


     /* section8 */
  

  /* ضبط حجم الخط الأساسي للـ body على الشاشات الصغيرة والكبيرة (p-4 sm:p-8) */
        @media (min-width: 640px) {
      
        }

        .container-wrapper {
            max-width: 1280px; /* max-w-7xl equivalent */
            margin: 0 auto; /* mx-auto equivalent */
            border-radius: 0.75rem;
            padding-top: 64rem; /* rounded-xl equivalent */
        }

        @media (min-width: 640px) {
            .container-wrapper {
                padding: 2.5rem; /* sm:p-10 equivalent */
            }
        }
        
        /* ------------------------------------------- */
        /* Header Styles               */
        /* ------------------------------------------- */
        
        .header-section {
            text-align: center; /* text-center equivalent */
            margin-bottom: 2.5rem; /* mb-10 equivalent */
        }

        .header-content {
            display: flex;
            justify-content: center; /* justify-center equivalent */
            align-items: center; /* items-center equivalent */
        }

        .main-title {
            font-size: 32px; /* text-3xl equivalent */
            font-weight:700;
            color: #1f2937; /* text-gray-800 equivalent */
            margin-left: 0.75rem; /* mx-3 equivalent */
            margin-right: 0.75rem; /* mx-3 equivalent */
        }

        @media (min-width: 640px) {
            .main-title {
                font-size: 2.25rem; /* sm:text-4xl equivalent */
            }
        }

        .subtitle {
            color: #6b7280; /* text-gray-500 equivalent */
            margin-top: 0.5rem; /* mt-2 equivalent */
        }

        /* NEW CSS DIAMOND ACCENT (كما طلبت) */
        .diamond-accent {
            width: 10px;
            height: 10px;
            background-color: #facc15; /* Tailwind yellow-500 equivalent */
            transform: rotate(45deg);
            display: inline-block;
        }

        /* ------------------------------------------- */
        /* Logo Grid                 */
        /* ------------------------------------------- */

        .logo-grid {
            display: grid;
            gap: 1rem; /* gap-4 equivalent */
            grid-template-columns: repeat(2, 1fr); /* grid-cols-2 (Mobile) */
        }

        @media (min-width: 640px) {
            .logo-grid {
                gap: 1.5rem; /* sm:gap-6 equivalent */
            }
        }

        @media (min-width: 768px) {
            .logo-grid {
                grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 (Tablet) */
            }
        }

        @media (min-width: 1024px) {
            .logo-grid {
                grid-template-columns: repeat(5, 1fr); /* lg:grid-cols-5 (Desktop for 5x2 layout) */
            }
        }

        .logo-card {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            transition: transform 0.3s ease, filter 0.3s ease;
        }

        .logo-card:hover {
            transform: scale(1.03); 
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
        }

        .logo-card img {
            width: 100%; /* w-full equivalent */
            height: auto;
            max-width: 150px; /* max-w-[150px] equivalent */
            object-fit: contain;
        }
/* FOOTER STRUCTURE */
.soh-footer {
    background-color: var(--dark-blue);
    padding: 30px 20px;
}

.soh-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allows sections to wrap on smaller screens */
    justify-content: space-between;
    gap: 30px; /* Space between columns */
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

/* 1. LOGO SECTION */
.soh-logo-section {
    flex: 1 1 200px; /* Flexible width, min-width 200px */
}

.soh-logo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.soh-logo h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
}

.soh-logo-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 2. LINK GROUPS (Support & About) */
.soh-link-group {
    flex: 1 1 150px; /* Flexible width, min-width 150px */
}

.soh-link-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.soh-link-group ul {
    list-style: none;
}

.soh-link-group li {
    margin-bottom: 8px;
}

.soh-link-group a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    /* Smooth hover effect for links */
    transition: color var(--transition-speed) ease;
}

.soh-link-group a:hover {
    color: var(--hover-color);
}


/* 3. CONTACT SECTION */
/* 3. CONTACT SECTION */
.soh-contact-group {
    flex: 1 1 300px;
    /* إزالة محاذاة اليمين لتظهر الأيقونات بجوار الخط */
    text-align: left; 
    
    /* *** التعديل: إضافة border عمودي على اليسار (بالطول) *** */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px; /* مساحة بين الخط الفاصل والمحتوى */
}
/* ملاحظة: سنستخدم محاذاة اليمين داخل الـ Media Query للشاشات الصغيرة */

.soh-contact-group h3{
  color: rgba(255, 255, 255, 1);
}
.soh-contact-group p {
    font-size: 0.9rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
}

/* SOCIAL ICONS (THE MAIN FOCUS) */
/* SOCIAL ICONS (THE MAIN FOCUS) */
.soh-social-icons {
    /* *** التعديل: إضافة border علوي *** */
    padding-top: 15px; /* مسافة بين الخط الفاصل والأيقونات */
    margin-bottom: 20px;
    /* Space out icons */
    display: flex;
    gap: 15px; /* Space between icons */
}

.soh-social-icons a {
    /* Critical for ensuring icons are square/same dimensions */
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--icon-size); /* Same width */
    height: var(--icon-size); /* Same height = same dimensions/square */
    font-size: var(--icon-size);
    color: var(--white);
    text-decoration: none;
    /* Smooth hover transition */
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

/* Smooth Hover Effect */
.soh-social-icons a:hover {
    color: var(--hover-color);
    /* Subtle scale effect for extra smoothness/pop */
    transform: translateY(-3px);
}


/* COPYRIGHT SECTION */
.soh-copyright {
    margin: 20px auto 0;
    text-align: center;
}

.soh-copyright p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .soh-footer-container {
        /* On medium screens, switch to two columns */
        justify-content: space-around;
    }

    /* Reset text alignment for better reading on smaller screens */
    .soh-contact-group {
        text-align: left;
        /* Put contact info under social links for better flow */
        flex: 1 1 100%; /* Take full width */
        order: 4; /* Move to the bottom of the main container */
        margin-top: 20px;
    }

    .soh-social-icons {
        justify-content: flex-start; /* Align icons to the left */
        margin-bottom: 10px;
    }

    .soh-link-group,
    .soh-logo-section {
        flex: 1 1 40%; /* Each takes about half width */
    }

    .soh-link-group {
        /* Add some margin to separate blocks */
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .soh-footer-container {
        /* On small screens, stack all sections */
        flex-direction: column;
        gap: 20px;
    }

    .soh-link-group,
    .soh-logo-section {
        flex: 1 1 100%; /* Take full width */
    }

    .soh-contact-group {
        order: initial; /* Back to default order */
        text-align: left;
    }

    .soh-social-icons {
        justify-content: flex-start;
        margin-bottom: 10px;
    }
}