
@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);

}







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; /* تقليل حجم الخط الفرعي */
    }
}



/* endsection */


/* section2 */

     /* زيادة الحشو للشاشات الأكبر */
        @media (min-width: 640px) {
            
        }

        .container {
            max-width: 1280px; /* لتحديد أقصى عرض */
            margin: 0 auto;
            margin-top: 75px;
        }

        /* Header/Title Styles */
        .header {
            text-align: center;
            margin-bottom: 3rem; 
        }

        .title-group {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem; /* المسافة بين العناصر */
        }

        .title-group span {
            font-size: 1.25rem;
            color: #f59e0b; /* اللون الأصفر */
        }

        .title-group h1 {
            font-size: 2rem;
            font-weight: 800;
            color: #1f2937;
        }
        
        @media (min-width: 640px) {
             .title-group h1 {
                font-size: 2.25rem; /* حجم أكبر للشاشات المتوسطة */
            }
        }

        /* Video Grid Container - تصميم متجاوب باستخدام CSS Grid */
        .grid-container {
            display: grid;
            gap: 1.5rem; 
            grid-template-columns: 1fr; /* الافتراضي: عمود واحد */
        }

        @media (min-width: 640px) { /* شاشات متوسطة */
            .grid-container {
                grid-template-columns: repeat(2, 1fr); /* عمودان */
            }
        }

        @media (min-width: 1024px) { /* شاشات كبيرة */
            .grid-container {
                grid-template-columns: repeat(3, 1fr); /* ثلاثة أعمدة */
            }
        }

        /* Video Card Styles */
        .video-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: box-shadow 300ms;
        }

        .video-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        }
        
        /* Video Placeholder (للحفاظ على نسبة 16:9) */
        .video-placeholder {
            position: relative;
            padding-top: 56.25%; /* 9 / 16 = 0.5625 */
            background-color: #e5e7eb;
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4rem;
            height: 4rem;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .play-icon:hover {
            transform: translate(-50%, -50%) scale(1.05);
        }
        /* أيقونة المثلث للتشغيل */
        .play-icon svg {
            fill: #1d4ed8;
            width: 1.5rem;
            height: 1.5rem;
            margin-right: -0.25rem;
        }

        /* Card Content */
        .card-content {
            padding: 1.25rem;
        }

        .card-content h2 {
            font-size: 24px;
            font-weight: 700;
            color: rgba(2, 39, 59, 1);
            margin-bottom: 0.25rem;
            line-height: 1.375;
        }

        .card-content p {
            font-size: 16px;
            color: rgba(2, 39, 59, 1);
            margin-bottom: 0.5rem;
        }
        
        /* Date Style (الموضع الجديد) */
        .card-date {
            text-align: left; /* لتحريك التاريخ لليمين في وضع RTL */
            font-size: 15px;
            color: rgba(133, 150, 170, 1);
            margin-bottom: 1rem; 
            padding-top: 0.5rem; 

        }

        /* Action Buttons */
        .button-group {
            display: flex;
            gap: 0.75rem;
            justify-content: center; 
                        padding-top: 21px; /* لجعل الأزرار تأخذ مساحة متساوية في الوضع الافتراضي (الجوال) */
/* لمحاذاة الأزرار لليسار (التي هي اليمين في وضع RTL) */
        }

        .button {
            padding: 0.5rem 2rem;
            font-weight: 500;
            border-radius: 0.5rem;
            transition: background-color 150ms, border-color 150ms;
            cursor: pointer;
            text-align: center;
            flex: 1;
        }
        
        @media (min-width: 640px) {
            .button {
                flex: none; /* لمنع الأزرار من التمدد على الشاشات الكبيرة */
            }
        }

        .primary-button {
            background-color: #2563eb;
            color: white;
            border: 1px solid #2563eb; /* لإزالة الحد الافتراضي */
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        }

        .primary-button:hover {
            background-color: #1d4ed8;
        }

        .secondary-button {
            background-color: #1F88C1;
        color: #ffffff;
        }

        .secondary-button:hover {
            background-color: #090a0b;
        }
/* section2 */








/* FOOTER STRUCTURE */
.soh-footer {
    background-color: var(--dark-blue);
padding: 103px 12px;
  margin-top: 55px;
}

.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;
    }
}