/* --- Prilue Hero CSS (Centered - No Image) --- */

/* استيراد الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;700;900&family=Poppins:wght@400;600;800&display=swap');

.prilue-custom-hero-block {
    background-color: #f8f9fa;
    padding: 80px 0; /* زيادة الحشو الرأسي لتعويض غياب الصورة */
    overflow: hidden;
    text-align: center; /* توسيط النص في كل الحالات */
    /* الخط الافتراضي (إنجليزي) */
    font-family: 'Poppins', sans-serif;
}

/* في حالة العربي (RTL) يتم تغيير الخط تلقائياً */
[dir="rtl"] .prilue-custom-hero-block {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

.prilue-custom-hero-block * {
    box-sizing: border-box;
}

.prilue-custom-hero-block .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* حاوية المحتوى - تحديد العرض لضمان القراءة المريحة */
.prilue-custom-hero-block .hero-content-wrapper {
    max-width: 800px; /* عرض مثالي للنصوص المركزة */
    margin: 0 auto;   /* توسيط الكتلة بالكامل */
    animation: prilueFadeUp 0.8s ease-out;
}

@keyframes prilueFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* النصوص */
.prilue-custom-hero-block .hero-subtitle {
    color: #09A268;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prilue-custom-hero-block .hero-title {
    font-size: 36px; /* حجم كبير وواضح */
    font-weight: 800;
    color: #0E3EAA;
    margin-bottom: 20px;
    line-height: 1.3;
    margin-top: 0;
}

.prilue-custom-hero-block .hero-desc {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; /* هوامش جانبية في الموبايل */
}

/* الأزرار */
.prilue-custom-hero-block .hero-cta-group {
    display: flex;
    flex-direction: column; /* عمودي في الموبايل */
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.prilue-custom-hero-block .hero-cta, 
.prilue-custom-hero-block .hero-cta-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 35px; /* أزرار أعرض قليلاً */
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%; /* عرض كامل في الموبايل */
    max-width: 300px; /* أقصى عرض للزر في الموبايل */
}

/* ألوان الأزرار */
.prilue-custom-hero-block .hero-cta {
    background-color: #09A268;
    border-color: #09A268;
    color: #fff;
    box-shadow: 0 4px 15px rgba(9, 162, 104, 0.2);
}

.prilue-custom-hero-block .hero-cta:hover {
    background-color: #078a57;
    border-color: #078a57;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(9, 162, 104, 0.3);
}

.prilue-custom-hero-block .hero-cta-secondary {
    background-color: #fff; /* خلفية بيضاء لتمييزه */
    border-color: #0E3EAA;
    color: #0E3EAA;
}

.prilue-custom-hero-block .hero-cta-secondary:hover {
    background-color: #0E3EAA;
    color: #fff;
    transform: translateY(-3px);
}

/* ميديا كويري للشاشات الأكبر (التابلت والكمبيوتر) */
@media (min-width: 768px) {
    .prilue-custom-hero-block {
        padding: 100px 0;
    }

    .prilue-custom-hero-block .hero-title {
        font-size: 52px; /* تكبير العنوان الرئيسي */
    }

    .prilue-custom-hero-block .hero-desc {
        font-size: 20px;
        max-width: 700px; /* تحديد عرض الوصف */
    }

    .prilue-custom-hero-block .hero-cta-group {
        flex-direction: row; /* الأزرار بجانب بعض */
    }

    .prilue-custom-hero-block .hero-cta, 
    .prilue-custom-hero-block .hero-cta-secondary {
        width: auto; /* عرض تلقائي حسب النص */
        min-width: 180px; /* أقل عرض لتوحيد الأحجام */
    }
}