
@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;
    --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;
 --bg: #f2f7fc;
    --card:#fff;
    --text:#061923;
    --muted:#7b8a97;
    --accent:#f5b700;
    --stroke:#e6edf3;
    --radius:14px;
    --shadow:0 6px 18px rgba(6,25,35,.06);

}
  :root{
      --bg:#f7f7f7;
      --card:#faf7f3;
      --ink:#0b2940;
      --muted:#6b7a86;
      --accent:#f7b500;
      --accent-ink:#0e4a66;
      --shadow:0 10px 24px rgba(6,25,35,0.08),0 2px 6px rgba(6,25,35,0.06);
      --radius:18px;
      --gap:22px;
      --container:1100px;
    }







body {
  font-family: 'Noto Sans Arabic', sans-serif;
   
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}


/* شريط التنقل (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(227, 241, 250, 1);
    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: rgb(99, 227, 135);
    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%;
    }
}




  
.webinar-section {
    /* لون الخلفية الفاتح كما في الصورة */
    background-color: #eef7fc; 
    padding: 60px 5%; /* مسافة داخلية باستخدام نسبة مئوية للاستجابة */
    display: flex;
    justify-content: flex-end; /* المحاذاة لليمين */
    align-items: center;
    min-height: 200px;
    box-sizing: border-box;
    width: 100%;
}

.content-container {
    text-align: right; /* محاذاة النص لليمين */
    max-width: 1200px; /* الحد الأقصى للعرض */
    width: 100%;
    /* لترك مسافة على اليمين على الشاشات الكبيرة */
    margin-right: 50px; 
}

/* -------------------------------------- */
/* تنسيقات العنوان الرئيسي (الندوات) */
/* -------------------------------------- */

.main-title {
    font-size: 48px; /* حجم خط كبير */
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    position: relative; 
    display: inline-block; /* ضروري لوضع الماسات بشكل صحيح */
    line-height: 1.2;
}

/* الماسة الصفراء اليمنى (قبل النص في RTL) */
.main-title::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #f7b731; /* اللون الأصفر/البرتقالي */
    transform: rotate(45deg); /* تدوير لتصبح ماسة */
    top: 18%;
    margin-top: -7.5px; 
    right: -25px; /* وضعها على يمين النص */
}

/* الماسة الصفراء اليسرى (بعد النص في RTL) */
.main-title::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #f7b731;
    transform: rotate(45deg);
  top: 18%;

    margin-top: -7.5px;
    left: -25px; /* وضعها على يسار النص */
}

/* -------------------------------------- */
/* تنسيقات العنوان الفرعي */
/* -------------------------------------- */

.subtitle {
    font-size:24px;
    color: #555;
    margin-top: 0;
}

/* -------------------------------------- */
/* Media Query للاستجابة على شاشات الهواتف (أقل من 600 بكسل) */
/* -------------------------------------- */

@media (max-width: 600px) {
    .webinar-section {
        padding: 40px 3%;
    }
    
    .content-container {
        margin-right: 0; /* إزالة الهامش الإضافي */
        text-align: center; /* يمكن توسيط المحتوى على الهواتف لمظهر أفضل */
    }

    .main-title {
        font-size: 2rem; /* تقليل حجم الخط الرئيسي */
    }

    /* تصغير حجم الماسات قليلاً */
    .main-title::before,
    .main-title::after {
        width: 10px;
        height: 10px;
        margin-top: -5px;
        /* يمكن تعديل الـ right/left هنا إذا لزم الأمر */
    }
    
    .subtitle {
        font-size: 1rem; /* تقليل حجم الخط الفرعي */
    }
}




/* sectio2 */
  .wrapp{max-width:1220px; 
     padding:0 16px;
  margin: 123px auto;
}

    .header-cards{
      display:flex; align-items:flex-start; gap:20px; margin-bottom:22px;
    }

    .section-head{
      display:flex; align-items:center; gap:6px;
      color:#283c46; font-weight:800; letter-spacing:.2px;
      flex-shrink:0;
    }
    .section-head .diamond{width:8px; height:8px; transform:rotate(45deg); background:var(--accent); border-radius:1px}
    .section-head h2{margin:0; font-size:32px; line-height:1;}

    .cards{
      display:grid; grid-template-columns:repeat(3, 1fr); gap:var(--gap);
      justify-content:center;
      flex:1;
    }

    .card{
      position:relative; background:var(--card); border-radius:var(--radius);
      box-shadow:var(--shadow); padding:84px 22px 26px;
      width:273.67px; height:422px;
      transition:transform .25s ease, box-shadow .25s ease;
      isolation:isolate;
    }

    .card:nth-child(1), .card:nth-child(2), .card:nth-child(3){transform:none}

    .card:hover{transform:translateY(-2px) scale(1.01); box-shadow:0 12px 28px rgba(6,25,35,.12)}

    .badge{
      position:absolute; inset-block-start:-18px; inset-inline-start:22px; 
      width:95px; height:95px; border-radius:50%; background:var(--accent);
      display:grid; place-items:center; color:#fff; font-weight:800; font-size:20px;
      z-index:1;
      margin-top: 36px;
      font-size: 48px;
    }
    .titlee{color:rgba(9, 99, 148, 1); font-weight:800; font-size:48px; margin:0 0 6px;
    margin-top: 37px;
  margin-right: 15px;  
    }
    .desc{color:rgba(2, 39, 59, 1); margin:0; font-size:20px;
        line-height: 2;
    }
    @media (max-width: 992px){
      .header-cards{flex-direction:column; align-items:flex-start}
      .cards{grid-template-columns:repeat(2,1fr); width:100%}
    }
    @media (max-width: 640px){
      .cards{grid-template-columns:1fr}
      .card{padding-block-start:78px; width:100%; height:auto; transform:none}
      .badge{inset-inline-start:18px}
      .title{font-size:24px}
    }
/* sectio2 */

/* section3 */

  .wrapp{
    max-width: 1100px;
    margin: 103px auto;
    padding: 0 16px;
  
  }

  .donation-banner{
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1.15fr; /* هنا قلبنا الترتيب */
    align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
      background-color: #096394;
  }

  .media{
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background:#0a3e52;
  }
  .media::before{
    content:""; display:block; padding-top: 56%;
  }
  .media img{
    position:absolute; inset:0;
    width:100%; height:100%; object-fit: cover;
    display:block;
    transition: transform .5s ease;
  }
  .media:hover img{ transform: scale(1.03); }

  .content{
    color:#fff;
  }
  .kicker{ font-weight:700; opacity:.85; margin-bottom:6px;font-size: 20px; }
  .title{ font-weight:800; font-size:48px; margin: 4px 0 10px; line-height:1.1;color: rgba(255, 255, 255, 1); }
  .copy{ opacity:.95; font-size: 20px; }
  .copy p{ margin:.25rem 0; }

  .cta{ margin-top:16px; display:flex; gap:12px; flex-wrap:wrap; }
  .btn{
    background:#FFFFFF; color: #096394;
    padding: 10px 18px; font-weight:700; border-radius: 6px;
    border:0; cursor:pointer;
    transition: transform .06s ease,
     opacity .2s ease;
     margin-top: 12px;
  margin-right: 32px;;
  }
  .btn:hover{ opacity:.9; }
  .btn:active{ transform: translateY(1px); }

  @media (max-width: 900px){
    .donation-banner{
      grid-template-columns: 1fr;
      padding: 18px;
    }
    .content{ text-align:center; }
    .cta{ justify-content:center; }
  }

/* section3 */
/* section4 */

    .section{max-width:var(--maxw);margin:36px auto;padding:24px 16px}

    .header{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:26px;position:relative}
    .diamond{width:8px;height:8px;background:var(--accent);transform:rotate(45deg);border-radius:1px}
    .titlep{font-weight:800;font-size:26px;letter-spacing:.3px;position:relative;}

    .titlep::before,
    .titlep::after{
      content:"";
      position:absolute;
      top:50%;
      transform:translateY(-50%) rotate(45deg);
      width:10px;
      height:10px;
      background:var(--accent);
      border-radius:2px;
    }
    .titlep::before{right:calc(100% + 12px);}
    .titlep::after{left:calc(100% + 12px);}

    .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;align-items:start;justify-items:center}

    .kpi{display:flex;gap:6px;place-items:center;text-align:center;min-width:200px;position:relative}
    .kpi .desc{color:rgba(35, 31, 32, 1);font-size:20px;max-width:28ch;position:relative;}

    /* الرقم مع الماسات */
    .kpi .value{
      font-weight:800;
      font-size:64px;
      color:#1F88C1;
      line-height:1;
      display:inline-flex;
      align-items:center;
      gap:12px;
    }
  

    /* الماسات حول النص */
 
  

    @media (max-width:720px){
      .grid{grid-template-columns:1fr;gap:22px}
      .titlep{font-size:22px}
      .kpi .value{font-size:38px}
    }


/* section4 */



/* section5 */
   .wrapk{
      max-width: 980px;
      padding: clamp(16px, 3.5vw, 28px);
      margin: 0 auto;
    }

    /* Title */
    .faq-title{
      display:flex;align-items:center;justify-content:center;
      gap:12px;margin: 10px 0 22px;
      font-weight:800; letter-spacing:.3px;
    }
    .faq-title .dots{
      display:inline-flex; align-items:center; gap:6px; color:var(--accent);
    }
    .faq-title h1{
      margin:0; font-size: clamp(22px, 2.8vw, 34px);
    }

    /* Accordion */
    .accordion{display:grid; gap:14px;}

    .item{
      background:rgba(227, 241, 250, 1); border:1px solid var(--ring);
      border-radius: var(--radius); overflow: hidden;
      box-shadow: var(--shadow);
    }

    .trigger{
      width:100%; display:flex; align-items:center; justify-content:space-between;
      gap:14px; background:rgba(227, 241, 250, 1); color:inherit;
      border:0; padding:16px 18px; font:inherit; text-align:start; cursor:pointer;
    }
    .trigger:focus-visible{outline: 3px solid #9ad1ff; outline-offset: 2px; border-radius: 14px;}
    .q{
      display:flex; align-items:center; gap:12px; flex:1 1 auto;
      font-weight:700; font-size: 24px;
    }
    .q .chev{
      inline-size: 26px; block-size: 26px; flex: 0 0 26px;
      display:grid; place-items:center; border-radius: 999px;
      background: rgba(227, 241, 250, 1); border:1px solid var(--ring);
      transition: transform .25s ease;
    }

    .item[open] .q .chev{ transform: rotate(180deg); }

    .answer{
      padding: 0 18px 16px 18px; color:#22323f; background: rgba(227, 241, 250, 1);
      border-top: 1px solid var(--ring); font-size:20px;
    }
    .answer p{margin:12px 0;}
    .answer ul{margin: 10px 20px 10px 0; padding:0 18px; color:#1b2b37}
    .answer li{margin:6px 0}
    .answer .note{
      background:#fff7dd; border:1px solid #ffe6a4; color:var(--accent-ink);
      padding:10px 12px; border-radius:12px; margin-top:10px
    }

    /* small screens */
    @media (max-width: 520px){
      .trigger{padding:14px}
      .answer{padding:0 14px 14px}
    }
/* section5 */