/*
Theme Name:   Hestia Child Theme
Template:     hestia
Version:      1.0.0
Description:  قالب ابن مخصص للتعديل الكامل على قالب هيستيا
*/

/* ==========================================================================
   1. تهيئة وتصفير المتصفح (Professional Core Reset)
   ========================================================================== */
html, body, div, span, h1, h2, h3, p, a, section, header, footer, select, input, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

:root {
    --ink: #2a1945;         /* البنفسجي الغامق الفاخر للبراند */
    --ink-light: #3b255c;   /* البنفسجي المتوسط الحجم */
    --lime: #bfd83a;        /* الأخضر الليموني المضيء للإجراءات */
    --lime-hover: #a6bd2e;  /* درجة التفاعل عند تمرير الماوس */
    --cream: #f7f6f0;       /* الخلفية العاجية الأساسية للموقع */
    --white: #ffffff;
    --grey-text: #6e6677;   /* نصوص الوصف مريحة للعين */
    --sky-blue: #4a90e2;    /* الأزرق السماوي الاحترافي لعناوين الكروت */
    --soft-shadow: 0 10px 30px rgba(42, 25, 69, 0.05);
    --border-color: #edeaf3;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: 'Alexandria', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* حاوية التمركز المركزي المرن للمحتوى */
.container-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}

/* ==========================================================================
   2. شريط التنبيه العلوي (Top Strip)
   ========================================================================== */
.thebox-top-strip {
    background-color: var(--ink);
    color: var(--white);
    padding: 14px 0;
    font-size: 13px;
    font-weight: 400;
}

.thebox-top-strip .container-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thebox-top-meta {
    display: flex;
    gap: 25px;
    opacity: 0.85;
}

/* ==========================================================================
   3. الهيدر وشريط الملاحة (Sticky Header Navigation)
   ========================================================================== */
.thebox-main-nav {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(42, 25, 69, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.thebox-nav-wrap {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.thebox-logo-box {
    font: 800 26px 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.thebox-logo-icon {
    width: 28px;
    height: 28px;
    border: 3px solid var(--ink);
    border-radius: 8px;
    transform: rotate(45deg);
    position: relative;
}

.thebox-logo-icon::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px solid var(--ink);
}

.thebox-menu-links {
    display: flex;
    gap: 35px;
    font-size: 14px;
    font-weight: 600;
}

.thebox-menu-links a:hover {
    color: #765ca8;
}

.btn-primary-cta {
    background-color: var(--lime);
    color: var(--ink);
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(191, 216, 58, 0.2);
}

.btn-primary-cta:hover {
    background-color: var(--lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 216, 58, 0.3);
}

/* ==========================================================================
   4. قسم الهيرو الفاخر (Premium Hero Section)
   ========================================================================== */
.hero-premium {
    background-color: var(--ink);
    color: var(--white);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.hero-premium::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    left: -200px;
    top: -150px;
    pointer-events: none;
}

.hero-premium-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-premium-content {
    z-index: 10;
}

.badge-premium-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--lime);
    font: 700 11px 'Manrope', sans-serif;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-premium-content h1 {
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.25;
    margin: 0 0 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-premium-content p {
    color: #e1dce9;
    font-size: 16px;
    line-height: 2;
    margin: 0 0 40px;
}

.hero-premium-actions {
    display: flex;
    gap: 16px;
}

.btn-ghost-premium {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.btn-ghost-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* المجسمات الهندسية المحسنة جهة اليسار */
.hero-premium-visuals {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visuals-ring-layer {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(191, 216, 58, 0.15);
    border-radius: 50%;
}

.mockups-flex-box {
    display: flex;
    gap: 25px;
    align-items: center;
    z-index: 5;
}

.premium-mockup-node {
    background: linear-gradient(135deg, #4f3675, #1d0f33);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 25px 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    transition: transform 0.4s ease;
}

.premium-mockup-node:hover {
    transform: translateY(-10px) scale(1.02);
}

.premium-mockup-node.tall {
    width: 130px;
    height: 280px;
    border-radius: 8px;
    transform: rotate(-5deg);
}

.premium-mockup-node.wide {
    width: 160px;
    height: 220px;
    border-radius: 12px;
    margin-top: 60px;
}

.mockup-brand-text {
    font: 800 22px/1.2 'Manrope', sans-serif;
    letter-spacing: 0.5px;
}

.mockup-tag-text {
    font: 700 8px 'Manrope', sans-serif;
    color: var(--lime);
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* ==========================================================================
   5. العناوين وهندسة الأقسام الافتراضية
   ========================================================================== */
.premium-section-head {
    text-align: center;
    margin-bottom: 60px;
}

.premium-section-head .kicker-title {
    color: var(--grey-text);
    font: 700 12px 'Manrope', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.premium-section-head h2 {
    font-size: 34px;
    color: var(--ink);
    font-weight: 800;
    margin: 0;
}

.premium-section-head p {
    color: var(--grey-text);
    font-size: 15px;
    line-height: 1.8;
    margin: 12px auto 0;
    max-width: 540px;
}

/* ==========================================================================
   6. قسم القطاعات الأربعة (WHAT WE DO)
   ========================================================================== */
.sectors-premium-block {
    padding: 100px 0;
    background-color: var(--white);
}

.sectors-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sector-premium-card {
    background-color: var(--cream);
    padding: 40px 30px;
    border-radius: 8px;
    border-top: 4px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sector-premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--lime);
    box-shadow: var(--soft-shadow);
}

/* ==========================================================================
   7. التحكم المطلق والمتجاوب للجوال (Responsive Media Query)
   ========================================================================== */
@media (max-width: 767px) {
    
    /* فرض كسر وعزل كلاسات واجهات ووردبريس وهيستيا التلقائية لمنع تداخل اللون الأبيض */
    .hero-premium,
    .page-header,
    .main,
    #page,
    .wrapper,
    div[class*="hero"] {
        background-color: #2a1945 !important; /* إجبار الخلفية على الأرجواني الداكن ليتضح النص */
        background-image: none !important;
        padding: 45px 0 !important;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
    }

    /* تحويل البنية الشبكية الثنائية لتعرض طردياً وعمودياً بدقة */
    .hero-premium-grid,
    .hero-layout,
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* ممركزة وملاءمة العناوين النصية لتناسب الشاشة الصغيرة */
    .hero-premium-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 10px !important;
        width: 100% !important;
    }

    .hero-premium-content h1,
    h1[class*="title"] {
        font-size: 26px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        margin-bottom: 16px !important;
        text-align: center !important;
    }

    .hero-premium-content p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        color: #e1dce9 !important;


/* ==========================================================================
   تنسيقات قسم المنتجات المطور والجاهز للتخصيص
   ========================================================================== */
.products-premium-block {
    padding: 90px 0;
    background-color: var(--cream); /* الحفاظ على الخلفية العاجية للموقع */
}

/* شبكة الكروت (3 أعمدة متساوية على الشاشات الكبيرة) */
.products-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    direction: rtl; /* توجيه تدفق المحتوى واللغة من اليمين إلى اليسار */
}

/* تنسيق كرت المنتج المفرد */
.product-premium-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--soft-shadow); /* الظل الناعم الافتراضي للموقع */
    border-top: 3px solid transparent;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

/* حركات وتفاعل الكرت عند مرور الماوس (Hover) */
.product-premium-card:hover {
    transform: translateY(-6px);
    border-color: var(--lime); /* إضاءة الكرت باللون الأخضر الليموني المميز للماركة */
}

/* حاوية عرض الصور لضمان ثبات وتمركز الأبعاد بدون تشويه */
.product-visual-wrapper {
    width: 100%;
    height: 160px; /* ارتفاع موحد لجميع الحاويات لحل مشكلة عدم التساوي بالصورة */
    background-color: #edeaf3; /* خلفية ناعمة مريحة للعين وخلف الصور */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 4px;
    padding: 15px;
    overflow: hidden;
}

/* ضبط استجابة وحجم الصورة داخل الصندوق */
.product-premium-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* للحفاظ على جودة الأبعاد القياسية لصور منتجاتك */
}

/* تنسيق عناوين الخدمات باللون الأزرق السماوي */
.product-premium-card h3 {
    font-size: 21px;
    color: var(--sky-blue);
    font-weight: 700;
    margin: 0 0 14px 0;
}

/* تنسيق الفقرات والشروحات النصية المتوازنة */
.product-premium-card p {
    font-size: 13.5px;
    color: var(--grey-text);
    line-height: 1.8;
    margin: 0 0 25px 0;
    flex-grow: 1; /* دفع زر الطلب للأسفل دائماً لتساوي الكروت */
    max-width: 310px;
}

/* روابط طلب المواصفات والتسعير */
.product-premium-action {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-premium-action:hover {
    color: #765ca8; /* تدرج بنفسجي ناعم عند تفاعل الماوس */
}

/* ==========================================================================
   التوافق الكامل لشبكة المنتجات مع الألواح والهواتف الذكية
   ========================================================================== */
@media (max-width: 991px) {
    .products-premium-grid {
        grid-template-columns: repeat(2, 1fr); /* عمودين على الشاشات المتوسطة */
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .products-premium-block {
        padding: 60px 0;
    }
    .products-premium-grid {
        grid-template-columns: 1fr; /* عمود رأسي واحد مريح للتصفح على الجوال */
        gap: 25px;
    }
    .product-premium-card {
        padding: 30px 20px;
    }
    .product-premium-card h3 {
        font-size: 19px;
    }
}

/* ==========================================================================
   تنسيق وإصلاح قسم نموذج الاتصال المطور (Contact Form Fix)
   ========================================================================== */

/* 1. إخفاء نصوص معاينة التنبيهات الافتراضية المزعجة الموضحة أعلى الصورة */
.elementor-message-success,
.elementor-message-danger,
div[class*="preview"][class*="notification"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. إعادة تهيئة حاوية القسم الرئيسي للنموذج لمنع تداخل الحقول مع صورة الخلفية */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--cream); /* الحفاظ على لون الخلفية العاجية للموقع */
    direction: rtl;
    text-align: right;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* تقسيم مساحة العرض بين الصورة والنموذج */
    gap: 50px;
    align-items: center;
}

/* 3. حاوية الصورة الخلفية الجانبية الممركزة */
.contact-visual-side {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.contact-visual-side img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 4. لوحة تنسيق نموذج المراسلة (الحاوية الفاخرة للنموذج) */
.contact-form-panel {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 5. تنسيق الحقول النصية ومربعات الإدخال بالكامل */
.form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* اصطفاف حقول (الاسم، البريد، الجوال) بجانب بعضها هندسياً */
    gap: 15px;
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-custom label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.form-group-custom input,
.form-group-custom textarea {
    width: 100% !important;
    border: 1px solid #dcd6e3 !important;
    background-color: var(--white) !important;
    padding: 14px 16px !important;
    font-family: 'Alexandria', sans-serif !important;
    font-size: 13px !important;
    color: var(--ink) !important;
    border-radius: 6px !important;
    outline: none !important;
    transition: border-color 0.2s ease;
}

/* تغيير لون حواف الحقول عند الكتابة أو الضغط عليها (Focus) */
.form-group-custom input:focus,
.form-group-custom textarea:focus {
    border-color: #725693 !important; /* اللون البنفسجي المخصص للماركة */
    box-shadow: 0 0 0 3px rgba(114, 86, 147, 0.08) !important;
}

.form-group-custom textarea {
    resize: vertical;
    min-height: 120px;
}

/* 6. تنسيق زر الإرسال الأخضر الليموني بالكامل ليصبح عريضاً ومحدداً */
.btn-form-submit {
    background-color: var(--lime) !important;
    color: var(--ink) !important;
    border: 0 !important;
    padding: 14px 35px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    font-family: 'Alexandria', sans-serif !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    align-self: flex-start; /* تمركز الزر جهة اليمين */
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(191, 216, 58, 0.2) !important;
}

.btn-form-submit:hover {
    background-color: var(--lime-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(191, 216, 58, 0.3) !important;
}

/* ==========================================================================
   التوافق الكامل لقسم نموذج الاتصال مع الجوال والشاشات الصغيرة
   ========================================================================== */
@media (max-width: 991px) {
    .contact-form-grid {
        grid-template-columns: 1fr; /* تحويل القسم لصف واحد رأسي على الشاشات المتوسطة */
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .contact-form-panel {
        padding: 25px 20px;
    }
    .form-row-three {
        grid-template-columns: 1fr; /* تحويل حقول (الاسم، البريد، الجوال) فوق بعضها لسهولة الكتابة بالجوال */
        gap: 15px;
    }
    .btn-form-submit {
        width: 100% !important; /* تمدد زر الإرسال بملء عرض الشاشة على الجوال */
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   تنسيق الصفحة الرئيسية الفاخر - THE BOX DESIGN STUDIO
   ========================================================================== */

/* التنسيق والهيكلة العامة */
.thebox-home-page {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تنسيقات العناوين المشتركة للأقسام */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 28px;
    color: #111111;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* خط التزيين السفلي البنفسجي */
.section-title h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #6f42c1; /* البنفسجي المعتمد للهوية */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 15.5px;
    color: #666666;
    line-height: 1.6;
}

/* الأزرار العامة للموقع */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    text-align: center;
}

.btn-primary {
    background-color: #6f42c1;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.15);
}

.btn-primary:hover {
    background-color: #5a32a3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: #111111 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #6f42c1;
    color: #6f42c1 !important;
    background: transparent;
}

.btn-outline:hover {
    background-color: #6f42c1;
    color: #ffffff !important;
}

/* 1. قسم الواجهة الترحيبية (Hero Section) - تأثير الصورة الوسط المتوازن */
.hero-section {
    position: relative;
    background: url('https://thebox-design.com') no-repeat center center; 
    background-size: cover;
    padding: 140px 0;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* تدرج بنفسجي داكن بنسبة عزل وشفافية وسط 50% يبرز الكلمات ويحفظ تفاصيل الصورة بالخلف */
    background: linear-gradient(135deg, rgba(35, 12, 59, 0.50), rgba(15, 4, 28, 0.55)) !important; 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 26px;
    color: #ebdfff; /* تفتيح اسم الاستوديو */
    letter-spacing: 1px;
    margin: 0 0 15px 0 !important;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero-content p {
    font-size: 17px;
    max-width: 780px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    color: #f6f3ff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 2. قسم المزايا التنافسية (Features Section) */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #fcfaff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 10px 25px rgba(111, 66, 193, 0.04);
    border-color: #f1edfa;
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
    display: block;
}

.feature-item h4 {
    font-size: 20px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14.5px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* 3. قسم لمحة عن الخدمات (Services Overview) */
.services-overview-section {
    padding: 80px 0;
    background-color: #fbfaff; /* أرضية مريحة جداً ومائلة للبنفسجي الناعم */
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 45px;
}

.overview-card {
    background: #ffffff;
    border: 1px solid #f1edfa;
    padding: 35px 25px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.overview-card:hover {
    border-color: #6f42c1;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(111, 66, 193, 0.06);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 18px;
    display: block;
}

.overview-card h4 {
    font-size: 19px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.overview-card p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.center-btn {
    text-align: center;
}

/* 4. قسم أرقام وإحصائيات (Counter Section) */
.stats-section {
    background-color: #111111;
    color: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box .stat-number {
    display: block;
    font-size: 40px;
    font-weight: bold;
    color: #6f42c1; /* إضاءة الأرقام بالبنفسجي */
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.stat-box .stat-label {
    font-size: 15px;
    color: #cccccc;
    font-weight: 600;
}

/* 5. قسم كيف نعمل (Workflow Section) */
.workflow-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-item {
    text-align: center;
    padding: 10px;
}

.step-number {
    width: 52px;
    height: 52px;
    background-color: #6f42c1;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 22px auto;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.25);
}

.step-item h5 {
    font-size: 17px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* 6. قسم دعوة للتواصل النهائي (Final CTA) */
.final-cta-section {
    background-color: #fdfcff;
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid #f1edfa;
}

.final-cta-section h3 {
    font-size: 26px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.final-cta-section p {
    font-size: 15.5px;
    color: #555555;
    margin-bottom: 30px;
}

/* شاشات الجوال والأجهزة اللوحية التجاوبية (Responsive) */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .hero-buttons a {
        display: block;
        margin: 10px auto;
        max-width: 280px;
        width: 100%;
    }
    .overview-grid, .features-grid, .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .section-title h3 {
        font-size: 24px;
    }
}

