/* 1. إعدادات المتغيرات (Root) */
:root {
    --gold: #D4AF37;
    --black: #0c0c0caa;
    --light-black: #1a1a1a;
    --white: #ffffff;
    --gray: #a0a0a0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. التنسيق العام (Global) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden; /* يمنع ظهور شريط تمرير عرضي */
}

/* الحاوية العامة لكل الموقع */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3. تنسيق الناف بار (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 110px;
    background-color: black;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 10000;
}

.logo img {
        height: 102px;
    width: 143px;

    display: block;
}

/* القائمة في شاشات الكمبيوتر */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 12px;
    display: inline-block;
    transition: var(--transition);
}

/* تأثير الانبثاق (Pop-out) للروابط */
.nav-links a:hover {
    color: var(--gold);
    transform: scale(1.15) translateY(-3px); /* ينبثق للخارج وللأعلى */
    text-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* زر تغيير اللغة */
.lang-switch a {
    background: var(--gold);
    color: var(--black) !important;
    border-radius: 4px;
    padding: 6px 14px !important;
}

.lang-switch a:hover {
    background: var(--white);
    transform: scale(1.05) !important; /* تقليل التأثير لزر اللغة */
}

/* 4. زر الموبايل (Menu Toggle) */
.menu-toggle {
    display: none; /* مخفي في الكمبيوتر */
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--gold);
    transition: var(--transition);
}

/* 5. التجاوب (Responsive) للموبايل */
@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 107px;
        left: -100%; /* مخفية في البداية */
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        height: calc(100vh - 90px);
        transition: 0.4s ease-in-out;
        padding-top: 40px;
        gap: 0;
    }

    /* عندما يتم تفعيل الكلاس عن طريق JS */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222;
    }

    .nav-links a {
        font-size: 18px;
        padding: 20px;
        width: 100%;
    }
    
    .nav-links a:hover {
        transform: scale(1.05); /* تقليل الانبثاق في الموبايل لمنع التداخل */
    }

    /* شكل زر الإغلاق (X) عند الضغط */
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
/* تمييز الصفحة الحالية في الهيدر */
.nav-links a.active-link {
    color: var(--gold) !important; /* تغيير اللون للذهبي */
    font-weight: bold;
    border-bottom: 2px solid var(--gold); /* اختيارياً: إضافة خط تحت الرابط */
    padding-bottom: 5px;
}
/* --- 1. سكشن الهيرو (Hero Section) --- */
.hero {
    min-height: calc(100vh - 90px);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-bg.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 4rem);
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* لضمان نزول الأزرار تحت بعضها في الموبايل الصغير */
   
}

.btn-gold, .btn-outline {
    padding: 14px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    font-size: 14px;
    letter-spacing: 1px;
     border-radius: 10px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* --- 2. سكشن نبذة عن الشركة (About Preview) --- */
.about-preview {
    padding: 100px 0;
    background-color: var(--light-black);
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--gold);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.about-content p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--white);
    border-color: var(--white);
    padding-inline-start: 10px;
}
/* --- Founder Section Style --- */
.founder-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #111; /* لون خلفية داكن فخم */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #333;
    margin-top: 30px;
}

.founder-image {
    flex: 0 0 280px; /* عرض الصورة */
    max-width: 280px;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.founder-info {
    flex: 1;
}

.founder-info h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.qualifications ul {
    list-style: none;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qualifications li {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.qualifications li i {
    color: var(--gold);
    font-size: 0.9rem;
}

.bio {
    line-height: 1.8;
    color: var(--gray);
    text-align: justify;
    margin-top: 15px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-image {
        max-width: 250px;
        margin-bottom: 25px;
    }

    .qualifications li {
        justify-content: center;
    }
}
/* --- 3. سكشن الاستكشاف (Cards Grid) --- */
.explore-section {
    padding: 80px 0; /* تم تقليل البادينغ العلوي والسفلي للسكشن */
    background-color: var(--black);
}

.section-title {
    color: var(--gold);
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* تصغير بسيط جداً */
    margin-bottom: 40px; /* تقليل المسافة تحت العنوان */
    text-transform: uppercase;
}

.cards-grid {
    display: grid;
    /* تصغير min-width للكرت ليسمح بتواجد 3 كروت بشكل مرتاح */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; /* تقليل الفجوة بين الكروت */
}

.explore-card {
    position: relative;
    height: 280px; /* تم تصغير الارتفاع من 400px إلى 280px */
    background-color: var(--light-black);
    border: 1px solid #222;
    display: flex;
    align-items: flex-end;
    padding: 20px; /* تقليل المسافات الداخلية */
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.explore-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px); /* تقليل حركة الرفع عند الهوفر */
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, transparent 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.explore-card h3 {
    color: var(--gold);
    font-size: 1.25rem; /* تصغير حجم الخط من 1.5rem */
    margin-bottom: 8px;
}

.explore-card p {
    color: var(--white);
    font-size: 0.85rem; /* تصغير الخط من 0.95rem */
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.4;
}

.explore-card .arrow {
    color: var(--gold);
    font-size: 1.2rem; /* تصغير السهم قليلاً */
    display: inline-block;
    transition: var(--transition);
}

/* باقي كود السهم والـ RTL يبقى كما هو دون تغيير */
.explore-card:hover .arrow {
    transform: translateX(10px);
}

[dir="rtl"] .explore-card:hover .arrow {
    transform: translateX(-10px) rotate(180deg);
}

[dir="rtl"] .explore-card .arrow {
    display: inline-block;
    transform: rotate(180deg);
}

/* --- 4. تحسينات الميديا كويري (Responsive) --- */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .about-preview, .explore-section {
        padding: 50px 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px; /* حصر عرض الكرت في الموبايل لكي لا يبدو عريضاً جداً */
        margin: 0 auto;
    }

    .explore-card {
        height: 250px; /* ارتفاع أصغر للموبايل */
    }
}
/* الأيقونة الخلفية للكرت */
.card-icon {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    font-size: 5rem; /* حجم كبير */
    color: var(--gold);
   
    z-index: 1;
    transition: var(--transition);
}

/* حركة الأيقونة عند الهوفر */
.explore-card:hover .card-icon {
    opacity: 0.2;
    transform: scale(1.1) rotate(-10px);
}

/* تعديل بسيط على الكنتنت لضمان ظهوره بوضوح */
.card-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* لضمان التوافق مع الاتجاهات */
[dir="rtl"] .card-icon {
    transform: rotate(0deg);
}
/* --- 1. هيرو صفحة من نحن --- */
.about-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('../images/about-bg.jpg') no-repeat center center/cover;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.about-hero h1 {
    color: var(--gold);
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-transform: uppercase;
}

/* --- 2. السكاشن العامة في الصفحة --- */
.about-section {
    padding: 60px 0;
}

.gold-title {
    color: var(--gold);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.gold-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

/* تعديل الخط في العربي */
[dir="rtl"] .gold-title::after {
    left: auto;
    right: 0;
}

.section-text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: justify;
}

/* --- 3. كرت المؤسس (Founder Card) --- */
.founder-card {
    background-color: var(--light-black);
    padding: 40px;
    border-inline-start: 5px solid var(--gold); /* يتكيف مع اتجاه اللغة */
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.founder-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.qualifications {
    background: rgba(212, 175, 55, 0.05);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.qualifications strong {
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.qualifications ul {
    list-style: none;
    padding-inline-start: 15px;
}

.qualifications li {
    position: relative;
    margin-bottom: 8px;
    color: var(--white);
}

.qualifications li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-inline-start: -1em;
}

.bio {
    font-size: 1.05rem;
    color: var(--gray);
}

/* --- 4. شبكة القيم (Our Values) --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-box {
    background: var(--light-black);
    padding: 40px 25px;
    text-align: center;
    border: 1px solid #222;
    transition: var(--transition);
}

.value-box:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    background: linear-gradient(to bottom, var(--light-black), #222);
}

.value-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-box p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 5. تحسينات التجاوب (Responsive) --- */
@media (max-width: 768px) {
    .about-hero { padding: 70px 0; }
    .about-section { padding: 40px 0; }
    .founder-card { padding: 25px; }
    .text-center { text-align: center !important; }
}
/* --- 1. إعدادات الفوتر الأساسية --- */
.main-footer {
    background-color: var(--light-black);
    padding: 80px 0 30px;
    border-top: 2px solid var(--gold);
    color: var(--white);
    margin-top: 50px; /* ضمان وجود مسافة عن السكاشن السابقة */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* توزيع مساحة أكبر للوجو ووصف الشركة */
    gap: 50px;
    margin-bottom: 50px;
}

/* --- 2. قسم التعريف بالشركة --- */
.footer-about .footer-logo {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-about p {
    color: var(--gray);
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.6;
}

/* --- 3. روابط سريعة --- */
.footer-links h3, .footer-social h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--gold);
    transform: translateX(8px); /* انبثاق لليمين في الإنجليزي */
}

/* دعم الانبثاق لليسار في العربي */
[dir="rtl"] .footer-links ul li a:hover {
    transform: translateX(-8px);
}

/* --- 4. أيقونات التواصل الاجتماعي --- */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: #222;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px) rotate(360deg); /* تأثير حركة دورانية خفيفة */
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- 5. الجزء السفلي (حقوق النشر) --- */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- 6. التجاوب (Responsive) --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* عمودين في التابلت */
        gap: 40px;
    }
    
    .footer-about {
        grid-column: span 2; /* اللوجو يأخذ العرض كاملاً فوق */
        text-align: center;
    }
    
    .footer-about p {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
        text-align: center;
    }
    
    .footer-about, .footer-links, .footer-social {
        grid-column: span 1;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links ul li a:hover {
        transform: scale(1.1); /* نغير التأثير في الموبايل ليكون تكبير فقط */
    }
}
/* --- إعدادات صفحة رؤية المالك --- */

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-black); }

/* رأس الصفحة */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../images/vision-bg.jpg') center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.page-header h1 {
    color: var(--gold);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
}

/* الرسالة الافتتاحية */
.message-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
}

.message-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--white);
    margin-bottom: 25px;
    text-align: justify;
}

.message-content strong { color: var(--gold); }

.quote-mark {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.4;
    position: absolute;
}

.quote-mark.start { top: 0; left: 0; }
.quote-mark.end { bottom: 0; right: 0; }

/* أركان الرؤية */
.section-title-gold {
    text-align: center;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--black);
    padding: 40px 30px;
    border: 1px solid #333;
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.pillar-icon-box {
    width: 70px;
    height: 70px;
    background: var(--gold);
    color: var(--black);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); /* شكل سداسي احترافي */
}

.pillar-card h3 { color: var(--gold); margin-bottom: 15px; font-size: 1.3rem; }
.pillar-card p { color: var(--gray); font-size: 0.95rem; }

/* الأهداف المستقبلية */
.goals-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.goal-node {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: var(--light-black);
    border-inline-start: 4px solid var(--gold);
}

.goal-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
}

.goal-info h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.25rem; }
.goal-info p { color: var(--gray); font-size: 1rem; }

/* التجاوب */
@media (max-width: 992px) {
    .goals-flex { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .message-wrapper { padding: 40px 15px; }
    .quote-mark { display: none; }
    .page-header { height: 200px; }
}
/* --- التخطيط الجديد لصفحة الخبرات --- */
/* --- التخطيط المدمج لصفحة الخبرات --- */
/* --- سكشن الخبرات (Expertise) --- */
.expertise-flex-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.expertise-gallery {
    flex: 0 0 45%;
    position: sticky;
    top: 100px;
    height: 550px; /* ارتفاع المعرض في الشاشات الكبيرة */
}

.image-wrapper {
    position: absolute;
    border: 4px solid var(--black);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border-radius: 8px;
    overflow: hidden;
}

.img-large { width: 85%; height: 420px; z-index: 1; top: 0; left: 0; }
.img-small { width: 65%; height: 320px; z-index: 2; bottom: 20px; right: 0; }

.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* الكروت المصغرة */
.expertise-content-grid {
    flex: 1;
    display: grid;
    gap: 15px;
}

.exp-card-mini {
    display: flex;
    gap: 20px;
    background: var(--light-black);
    padding: 20px;
    border-inline-start: 3px solid transparent;
    transition: 0.3s;
}

.exp-card-mini:hover {
    border-color: var(--gold);
    background: #1a1a1a;
    transform: translateX(10px);
}

[dir="rtl"] .exp-card-mini:hover { transform: translateX(-10px); }

.exp-icon-mini i { font-size: 1.8rem; color: var(--gold); }
.exp-txt h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 5px; }
.exp-txt p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* --- سكشن نقاط القوة (Strengths) --- */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

.strength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--light-black);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #222;
    transition: var(--transition);
}

.strength-item i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 15px;
}

/* --- سكشن الخدمات --- */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.service-check {
    padding: 15px;
    background: var(--light-black);
    border: 1px solid #222;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- التجاوب الكامل (Responsive) --- */
@media (max-width: 992px) {
    .expertise-flex-layout { flex-direction: column; }
    
    .expertise-gallery { 
        width: 100%; 
        height: auto; /* إلغاء الارتفاع الثابت */
        position: relative; 
        top: 0; 
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .image-wrapper { 
        position: relative; /* إلغاء الـ absolute في الموبايل */
        width: 100% !important; 
        height: 300px !important; 
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .img-small { display: block; } /* إظهار الصورة الثانية بشكل مرتب تحت الأولى */
}

@media (max-width: 1200px) {
    .strengths-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .strengths-grid { grid-template-columns: 1fr; }
    .services-list { grid-template-columns: 1fr; }
}
/* --- صفحة الشركات التابعة Subsidiaries --- */

.subs-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sub-card {
    display: flex;
    background: var(--light-black);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: var(--transition);
}

.sub-card:hover { border-color: var(--gold); transform: scale(1.01); }

.sub-year {
    background: var(--gold);
    color: var(--black);
    padding: 40px 30px;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.sub-card-body { padding: 30px; flex-grow: 1; }
.sub-card-body h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: 10px; }
.sub-location { color: var(--white); margin-bottom: 15px; font-style: italic; opacity: 0.8; }
.sub-location i { color: var(--gold); margin-inline-end: 8px; }

.sub-focus { margin-top: 20px; padding-top: 20px; border-top: 1px solid #333; }
.sub-focus ul { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; margin-top: 10px; }
.sub-focus li { font-size: 0.9rem; color: var(--gray); display: flex; align-items: center; gap: 8px; }
.sub-focus li i { color: var(--gold); font-size: 0.8rem; }

/* سكشن الشبكة العالمية */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.network-box {
    padding: 40px;
    background: #111;
    border: 1px solid #222;
}

.network-box i { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.network-box h3 { color: var(--white); margin-bottom: 15px; }
.network-box p { color: var(--gold); font-weight: bold; }

/* سكشن الفوائد */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--black);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover { background: #1a1a1a; }
.benefit-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.benefit-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 15px; }
.benefit-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* التجاوب */
@media (max-width: 768px) {
    .sub-card { flex-direction: column; }
    .sub-year { padding: 20px; min-width: auto; }
    .sub-focus ul { flex-direction: column; gap: 10px; }
}
/* --- صفحة القيمة المضافة Value Added --- */

.lead-text {
    font-size: 1.3rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--light-black);
    padding: 40px 30px;
    border: 1px solid #222;
    transition: var(--transition);
    position: relative;
}

.feature-box:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.f-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* المزايا التنافسية */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.adv-item {
    background: var(--black);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
}

.adv-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.adv-item span {
    color: var(--white);
    font-weight: 500;
}

/* سكشن لماذا تختارنا */
.why-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-text { flex: 1; }
.why-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.why-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.experience-badge {
    width: 250px;
    height: 250px;
    border: 5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light-black);
}

.experience-badge .num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
}

.experience-badge .txt {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* التجاوب */
@media (max-width: 992px) {
    .why-wrapper { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .experience-badge { width: 200px; height: 200px; }
    .experience-badge .num { font-size: 3rem; }
}
/* --- صفحة رؤية الشركة Company Vision --- */

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.vmv-card {
    background: var(--light-black);
    padding: 40px;
    border: 1px solid #222;
    transition: 0.3s;
}

.vmv-card.highlight {
    border-color: var(--gold);
    background: #111;
}

.vmv-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.vmv-card h3 { color: var(--gold); margin-bottom: 20px; }
.vmv-card p { line-height: 1.8; color: var(--gray); }

.values-list { list-style: none; padding: 0; }
.values-list li { margin-bottom: 12px; color: var(--gray); font-size: 0.95rem; position: relative; padding-inline-start: 15px; }
.values-list li::before { content: "•"; color: var(--gold); position: absolute; inset-inline-start: 0; }

/* الأهداف الاستراتيجية */
.goals-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.goal-box {
    padding: 30px;
    background: var(--black);
    border-inline-start: 3px solid var(--gold);
}

.goal-box i { font-size: 1.8rem; color: var(--gold); margin-bottom: 15px; display: block; }
.goal-box h4 { color: var(--white); margin-bottom: 10px; }
.goal-box p { color: var(--gray); font-size: 0.9rem; }

/* سكشن تواصل معنا الذهبي */
.bg-gold {
    background: var(--gold);
    color: var(--black);
}

.bg-gold h2 { font-weight: 800; margin-bottom: 20px; }
.bg-gold p { font-size: 1.2rem; margin-bottom: 30px; }

.btn-black-gold {
    background: var(--black);
    color: var(--gold);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
}

.btn-black-gold:hover { background: #333; color: #fff; }

/* التجاوب */
@media (max-width: 768px) {
    .vmv-grid, .goals-grid-modern { grid-template-columns: 1fr; }
}
/* --- صفحة تواصل معنا Contact --- */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--light-black);
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.info-card:hover { transform: translateY(-5px); background: #1a1a1a; }
.info-icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.info-card h3 { color: var(--gold); margin-bottom: 15px; font-size: 1.2rem; }
.info-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 5px; }

.direct-contact {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.contact-item { font-size: 1.2rem; color: var(--white); display: flex; align-items: center; gap: 12px; }
.contact-item i { color: var(--gold); }

/* نموذج التواصل */
.form-wrapper { max-width: 900px; margin: 0 auto; background: var(--black); padding: 50px; border: 1px solid #333; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full-width { grid-column: span 2; }

.form-group label { color: var(--gold); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    background: #111; border: 1px solid #333; color: white; padding: 12px; border-radius: 4px;
}

.submit-btn {
    background: var(--gold); color: black; padding: 15px 40px; border: none; 
    font-weight: bold; cursor: pointer; transition: 0.3s; width: 100%; font-size: 1.1rem;
}

.submit-btn:hover { background: #fff; }

/* سكشن المعلومات الإضافية */
.info-flex { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.info-block h4 { color: var(--gold); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.info-block p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .direct-contact { flex-direction: column; gap: 20px; align-items: center; }
}
/* --- Timeline Projects --- */
/* --- سكشن مقدمة المشاريع المطور --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* تقسيم الساحة بين الصورة والكروت */
    gap: 60px;
    align-items: start;
}

.intro-visual h2 {
    margin-bottom: 30px;
}

.intro-image-wrapper {
    position: relative;
    max-width: 100%;
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.gold-frame {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: 1;
}

[dir="rtl"] .gold-frame {
    right: auto;
    left: 15px;
}

/* --- تنسيق كروت المشاريع المميزة الجديد --- */
.featured-achievements {
    display: flex;
    flex-direction: column;
    gap: 15px; /* تقليل المسافة لملء الفراغ */
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light-black);
    padding: 15px 20px;
    border-inline-start: 3px solid var(--gold);
    transition: var(--transition);
}

.achievement-card:hover {
    background: #222;
    transform: translateX(5px);
}

[dir="rtl"] .achievement-card:hover {
    transform: translateX(-5px);
}

.achievement-card .year-badge {
    background: var(--gold);
    color: var(--black);
    padding: 5px 12px;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 4px;
    min-width: 55px;
    text-align: center;
}

.achievement-card h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.achievement-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    margin: 0;
}

/* --- التجاوب مع الموبايل --- */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr; /* جعلهم فوق بعض في الشاشات الصغيرة */
        gap: 40px;
    }
    .intro-visual {
        text-align: center;
    }
    .intro-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- باقي سكشن التايم لاين --- */
.main-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    gap: 30px;
}

.timeline-date {
    min-width: 110px;
    color: var(--gold);
    font-weight: 800;
    font-size: 1.1rem;
    text-align: end;
}

.timeline-content {
    background: var(--light-black);
    padding: 20px;
    border-radius: 8px;
    flex-grow: 1;
    color: var(--white);
    border: 1px solid #222;
}

.timeline-content li {
    list-style: none;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
}
.achievement-entry {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--light-black);
    padding: 25px;
    border-inline-start: 4px solid var(--gold);
}

.year-badge {
    background: var(--gold);
    color: var(--black);
    padding: 10px 20px;
    font-weight: 800;
    height: fit-content;
    border-radius: 5px;
}

.main-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    gap: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    inset-inline-start: 118px;
    top: 0;
    height: 120%;
    width: 2px;
    background: var(--gold);
    opacity: 0.3;
}

.timeline-date {
    min-width: 100px;
    color: var(--gold);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: end;
}

.timeline-content {
    background: var(--light-black); /* تعديل ليتناسب مع التصميم الداكن */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #222;
    flex-grow: 1;
    color: var(--white);
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    margin-bottom: 10px;
    color: var(--gray);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.timeline-content li i {
    color: var(--gold);
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .intro-flex {
        flex-direction: column;
        text-align: center;
    }
    .intro-image-wrapper {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .timeline-item { flex-direction: column; gap: 10px; }
    .timeline-item::before { display: none; }
    .timeline-date { text-align: start; }
    .achievement-entry { flex-direction: column; }
}