/* ==========================================================================
   1. الهوية اللونية والخطوط والتهيئة العامة
   ========================================================================== */
:root {
    --primary-navy: #0B2240;      /* الكحلي الداكن للموقع */
    --secondary-green: #14733D;   /* الأخضر الاستثماري الناصع للأزرار والخط الزمني */
    --accent-gold: #CCA352;       /* الذهبي الفاخر للمسات الهامة والأيقونات */
    --text-dark: #1A202C;         /* الأسود المريح للقراءة */
    --text-muted: #5A6A80;        /* الرمادي الفاخر للأوصاف */
    --bg-light: #F7FAFC;          /* خلفية رمادية خفيفة جداً تحاكي صورتك */
    --white: #FFFFFF;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.text-center {
    text-align: center;
}

/* الأزرار المطابقة لتصميم الصورة */
.btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-green {
    background-color: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(20, 115, 61, 0.2);
}

.btn-green:hover {
    background-color: #0E5A2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 115, 61, 0.3);
}

.btn-navy {
    background-color: var(--primary-navy);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(11, 34, 64, 0.15);
}

.btn-navy:hover {
    background-color: #051224;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 34, 64, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-green);
    color: var(--secondary-green);
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--secondary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* تخطيطات الشبكة المرنة (Grids) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* العناوين والوسم التعريفي */
.section-tag {
    background-color: rgba(20, 115, 61, 0.08);
    border: 1px solid rgba(20, 115, 61, 0.15);
    color: var(--secondary-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background-color: var(--secondary-green);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 600;
}

/* ==========================================================================
   2. شريط التنقل (Header)
   ========================================================================== */
header {
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
   box-shadow: 0 8px 24px rgba(11, 34, 64, 0.08);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 75px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    color: var(--primary-navy);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--secondary-green);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-green);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch-btn {
    background: var(--white);
    border: 1px solid #CBD5E0;
    color: var(--primary-navy);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-switch-btn:hover {
    border-color: var(--secondary-green);
    color: var(--secondary-green);
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-navy);
    cursor: pointer;
    display: none;
}

/* ==========================================================================
   3. قسم الترحيب البانورامي (Hero Section)
   ========================================================================== */
/* ==========================================================================
   3. قسم الترحيب البانورامي (مصحح لتظهر الصورة بأعلى دقة وأجمل ألوان)
   ========================================================================== */
.hero {
    /* تم تغيير الموضع هنا إلى center bottom ليتم سحب الصورة وعرض القباب والساحات السفلية */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.35) 100%),
                url('images/hero-bg.png') no-repeat center bottom/cover;
    
    /* تم زيادة التباعد الرأسي ليكون القسم أكثر اتساعاً وتظهر الصورة بشكل طولي رائع */
    padding: 240px 0 170px; 
    
    text-align: center;
    position: relative;
    background-attachment: scroll; 
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* تظليل ناعم جداً يكاد يكون غير مرئي للحفاظ على حدة وتفاصيل الصورة الأصلية */
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
    /* إضافة ظل أبيض ناعم خلف الخط لضمان مقروئيته بنسبة 100% فوق معالم الصورة الحادة */
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.95), 
                 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-green);
    margin-bottom: 40px;
    /* تباين ممتاز للأخضر الاستثماري */
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9),
                 0 1px 4px rgba(255, 255, 255, 0.9);
}

/*

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.25) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.hero h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--secondary-green);
    margin-bottom: 40px;
}

*/

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   4. قسم من نحن وصورة غرفة الاجتماعات (About Section)
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: block;
    width: 100%;
    height: 380px;
    object-cover: cover;
}

.about-text .desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.9;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ==========================================================================
   5. البطاقات الاستثمارية والخدمات (Services & Why Us)
   ========================================================================== */
.services-section, 
.why-saudi-section, 
.why-us-section {
    padding: 100px 0;
}

.services-section {
    background-color: #F8FAFC; /* خلفية ناعمة تطابق صورتك */
}

.why-saudi-section {
    background-color: var(--white);
}

.why-us-section {
    background-color: #F8FAFC;
}

.service-card, .why-card {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.service-card:hover, .why-card:hover {
   transform: translateY(-10px);

box-shadow: 0 18px 40px rgba(11, 34, 64, 0.12);

border-color: var(--secondary-green);
}

.icon-wrap, .icon-wrap-gold, .icon-wrap-blue {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
}

.icon-wrap {
    background-color: rgba(20, 115, 61, 0.08);
    color: var(--secondary-green);
}

.icon-wrap-gold {
    background-color: rgba(204, 163, 82, 0.08);
    color: var(--accent-gold);
}

.icon-wrap-blue {
    background-color: rgba(11, 34, 64, 0.06);
    color: var(--primary-navy);
}

.service-card h3, .why-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy);
}

/* ==========================================================================
   6. الخط الزمني التفاعلي لآلية العمل (Roadmap Timeline)
   ========================================================================== */
.process-section {
    padding: 100px 0;
    background-color: var(--white);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
    gap: 20px;
}

/* الخط الأفقي الواصل بين الخطوات */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 3px;
    background-color: var(--secondary-green);
    z-index: 1;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(11, 34, 64, 0.15);
}

/* تمييز النقاط الدائرية باللون الأخضر المتتابع */
.timeline-item:nth-child(even) .timeline-node {
    background-color: var(--secondary-green);
}

.timeline-item h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

/* ==========================================================================
   7. منظومة الاستثمار وشعارات الجهات الرسمية الـ 8 (Ecosystem)
   ========================================================================== */
.ecosystem-section {
    padding: 100px 0;
    background-color: #F8FAFC;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.partner-logo-box {
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
}

.partner-logo-box:hover {
    border-color: var(--secondary-green);
    box-shadow: 0 6px 15px rgba(0,0,0,0.03);
}

.partner-logo-box img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
}

.logo-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   8. البانر السفلي العريض للتواصل والتذييل (CTA Banner)
   ========================================================================== */
.cta-contact-section {
    background: linear-gradient(180deg, var(--white) 0%, #EBF4FF 100%);
    padding: 100px 0;
    border-top: 1px solid #E2E8F0;
}

.cta-contact-section h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 35px;
}

.cta-buttons-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* تصميم عريض وزر واتساب مميز مع الرقم */
.cta-buttons-wrap .btn-green {
    padding: 16px 40px;
    border-radius: 35px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.btn-text span {
    font-size: 11px;
    opacity: 0.9;
}

.phone-num {
    font-size: 18px;
    font-weight: 800;
    direction: ltr !important;
}

.footer-meta-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-navy);
}

.footer-meta-info p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-meta-info i {
    color: var(--secondary-green);
}

footer {
    background-color: var(--primary-navy);
    color: #E2E8F0;
    padding: 30px 0;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================================
   9. التوافق ودعم الاتجاهات (RTL/LTR & Mobile Responsive)
   ========================================================================== */
html[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}

/* دعم الاتجاه الأجنبي للخط الزمني */
html[dir="ltr"] .btn-text {
    align-items: flex-start;
    text-align: left;
}

/* التوافق مع الهواتف الذكية */
@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #menuBtn {
        display: block;
    }

    nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid #E2E8F0;
        display: none;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        text-align: center;
    }

    nav ul li a.active::after {
        display: none;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h2 {
        font-size: 18px;
    }

    /* تحويل الخط الزمني ليكون رأسياً في شاشات الجوال */
    .process-timeline {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .process-timeline::before {
        top: 40px;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: auto;
    }

    .timeline-item {
        width: 100%;
    }
}
/* ==========================================================================
   تنسيق وتحريك أسهم اللغات (المزيد عن الشركة) - نهائي ومصحح
   ========================================================================== */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.arrow-rtl, .arrow-ltr {
    font-size: 14px;
    transition: transform var(--transition);
}

/* في الوضع العربي (RTL): أظهر السهم الأيسر وأخفِ الأيمن */
html[dir="rtl"] .arrow-ltr { display: none; }
html[dir="rtl"] .arrow-rtl { display: inline-block; }

/* في الوضع الإنجليزي (LTR): أظهر السهم الأيمن وأخفِ الأيسر */
html[dir="ltr"] .arrow-rtl { display: none; }
html[dir="ltr"] .arrow-ltr { display: inline-block; }

/* حركة السهم عند تمرير الماوس (تلقائياً للغة الحالية) */
.btn-outline:hover .arrow-rtl {
    transform: translateX(-6px);
}

.btn-outline:hover .arrow-ltr {
    transform: translateX(6px);
}
/* ==========================================================================
   تنسيق أزرار قسم من نحن (الـ PDF وزر التفاصيل)
   ========================================================================== */
.about-buttons {
    display: flex;
    gap: 16px;      /* مسافة مريحة بين الزرين */
    flex-wrap: wrap; /* لجعلها تترتب عمودياً تلقائياً على الشاشات الصغيرة */
    margin-top: 24px;
}

/* إعطاء أيقونة الـ PDF لوناً ولمسة خفيفة لتبرز */
.about-buttons .btn-navy i {
    font-size: 16px;
    color: var(--white);
}

/* ضبط ظهور الأزرار لتأخذ العرض الكامل على شاشات الهواتف فقط لسهولة الضغط */
@media (max-width: 576px) {
    .about-buttons {
        flex-direction: column;
        width: 100%;
    }
    .about-buttons .btn {
        width: 100%;
    }
}