/**
 * ================================================================
 * style.css - ملف التنسيقات الموحد للموقع
 * ================================================================
 * تم إنشاؤه بناءً على الكود الأصلي من index.php
 */

/* ================================================================
   1. المتغيرات الأساسية
   ================================================================ */
:root {
    --dark: #0A0A0A;
    --dark-light: #1A1A1A;
    --card-bg: #1A1A1A;
    --gold: #C9A031;
    --gold-dark: #A07820;
    --gray: #aaa;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ================================================================
   2. إعادة تعيين واستيراد
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--dark);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

/* ================================================================
   3. شاشة التحميل
   ================================================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 160, 49, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================================
   4. الهيدر والقائمة - تنسيق كامل
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(201, 160, 49, 0.1);
}

.header.scrolled {
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ================================================================
   الشعار (Logo)
   ================================================================ */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.logo-text .gold {
    color: #C9A031;
}

.logo-text .white {
    color: #fff;
}

/* ================================================================
   Navigation Menu - تحسين الشفافية
   ================================================================ */
nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* تنسيق أزرار القائمة - أيقونة أعلى النص */
.nav-menu .nav-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    min-width: 80px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 40px !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Cairo', sans-serif !important;
}

.nav-menu .nav-link i {
    font-size: 22px !important;
    margin: 0 !important;
    display: block !important;
    color: #aaa !important;
    transition: color 0.3s ease !important;
}

.nav-menu .nav-link span {
    font-size: 13px !important;
    display: block !important;
    font-weight: 500 !important;
    color: #aaa !important;
    transition: color 0.3s ease !important;
}

.nav-menu .nav-link:hover i,
.nav-menu .nav-link.active i {
    color: #C9A031 !important;
}

.nav-menu .nav-link:hover span,
.nav-menu .nav-link.active span {
    color: #C9A031 !important;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    background: rgba(201, 160, 49, 0.15) !important;
    border-color: #C9A031 !important;
    transform: translateY(-3px) !important;
}


/* ================================================================
   الهامبرغر (Hamburger Menu)
   ================================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px 4px;
    z-index: 1001;
    background: transparent;
    border: none;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #C9A031;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   تبديل اللغة (Language Switch)
   ================================================================ */
.lang-switch {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(201, 160, 49, 0.1);
}

.lang-btn {
    padding: 6px 14px;
    border-radius: 25px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: #C9A031;
    color: #0A0A0A;
    box-shadow: 0 2px 10px rgba(201, 160, 49, 0.3);
}

.lang-btn:hover:not(.active) {
    color: #C9A031;
    background: rgba(201, 160, 49, 0.1);
}

/* ================================================================
   زر تبديل الوضعية (Theme Toggle)
   ================================================================ */
.theme-toggle {
    background: rgba(201, 160, 49, 0.12);
    border: 2px solid rgba(201, 160, 49, 0.25);
    color: #C9A031;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.theme-toggle:hover {
    background: #C9A031;
    color: #0A0A0A;
    transform: rotate(30deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.3);
}

.theme-toggle:active {
    transform: rotate(30deg) scale(0.95);
}
/* ================================================================
   تنسيق الجوال - أيقونة قبل النص (عند عرض أقل من 992px)
   ================================================================ */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        transition: right 0.4s ease;
        padding: 60px 9px 15px;  /* ✅ تقليل padding العلوي */
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
        display: block !important;
    }
    
    nav.show {
        right: 0;
    }
    
    nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
        pointer-events: none;
        z-index: 1;
    }
    
    .nav-menu {
        flex-direction: column !important;
        gap: 3px !important;           /* ✅ مسافة صغيرة بين الأزرار */
        align-items: stretch !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-menu .nav-link {
        flex-direction: row !important;      /* ✅ أيقونة بجانب النص */
        justify-content: flex-start !important;
        align-items: center !important;      /* ✅ محاذاة عمودية في المنتصف */
        gap: 5px !important;                /* ✅ مسافة بين الأيقونة والنص */
        padding: 4px 8px !important;        /* ✅ ✅ ارتفاع صغير جداً للزر */
        min-width: auto !important;
        width: 100% !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        color: #fff !important;
        font-size: 13px !important;
        transform: none !important;
        transition: all 0.2s ease !important;
        line-height: 1.2 !important;         /* ✅ تحسين ارتفاع السطر */
    }
    
    /* ✅ الأيقونة قبل النص */
    .nav-menu .nav-link i {
        font-size: 16px !important;          /* ✅ حجم الأيقونة */
        width: 24px !important;              /* ✅ عرض ثابت للأيقونة */
        text-align: center !important;
        display: inline-block !important;
        color: #C9A031 !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        order: 0 !important;                 /* ✅ الأيقونة أولاً (قبل النص) */
    }
    
    .nav-menu .nav-link span {
        font-size: 13px !important;
        display: inline-block !important;
        font-weight: 500 !important;
        color: #fff !important;
        flex: 1 !important;
        order: 1 !important;                 /* ✅ النص ثانياً (بعد الأيقونة) */
        line-height: 1.2 !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(201, 160, 49, 0.1) !important;
        border-color: #C9A031 !important;
        color: #C9A031 !important;
        transform: translateX(5px) !important;
    }
    
    .nav-menu .nav-link:hover span,
    .nav-menu .nav-link.active span {
        color: #C9A031 !important;
    }
    
    /* ✅ RTL في الجوال - الأيقونة قبل النص (يمين) */
    [dir="rtl"] .nav-menu .nav-link {
        justify-content: flex-start !important;
    }
    
    [dir="rtl"] .nav-menu .nav-link i {
        order: 0 !important;                 /* ✅ الأيقونة أولاً (يمين) */
        margin-left: 0 !important;
    }
    
    [dir="rtl"] .nav-menu .nav-link span {
        order: 1 !important;                 /* ✅ النص ثانياً (يسار الأيقونة) */
        text-align: right !important;
    }
    
    [dir="rtl"] .nav-menu .nav-link:hover,
    [dir="rtl"] .nav-menu .nav-link.active {
        transform: translateX(-5px) !important;
    }
    
    [dir="rtl"] nav {
        right: auto;
        left: -100%;
    }
    
    [dir="rtl"] nav.show {
        left: 0;
        right: auto;
    }
    
    .header-inner {
        gap: 8px !important;
    }
    
    .logo-img {
        max-height: 40px !important;
    }
    
    .logo-text {
        font-size: 18px !important;
    }
    
    .lang-switch {
        padding: 3px;
        gap: 3px;
        border-radius: 25px;
    }
    
    .lang-btn {
        padding: 5px 12px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* ================================================================
   شاشات صغيرة جداً (≤ 576px)
   ================================================================ */
@media (max-width: 576px) {
    .header-inner {
        gap: 5px !important;
    }
    
    .logo-img {
        max-height: 35px !important;
    }
    
    .logo-text {
        font-size: 16px !important;
    }
    
    nav {
        width: 90%;
        max-width: 300px;
        padding: 60px 10px 12px;
    }
    
    .nav-menu {
        gap: 2px !important;              /* ✅ مسافة قليلة جداً */
    }
    
    .nav-menu .nav-link {
        padding: 5px 10px !important;     /* ✅ ✅ ارتفاع صغير جداً */
        font-size: 12px !important;
        gap: 8px !important;
        border-radius: 6px !important;
    }
    
    .nav-menu .nav-link i {
        font-size: 14px !important;
        width: 20px !important;
    }
    
    .nav-menu .nav-link span {
        font-size: 12px !important;
    }
    
    .lang-btn {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 16px;
    }
    
    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .hamburger {
        padding: 6px 3px;
    }
    
    .hamburger span {
        width: 24px;
        height: 2.5px;
    }
}

/* ================================================================
   شاشات صغيرة جداً جداً (≤ 400px)
   ================================================================ */
@media (max-width: 400px) {
    .logo-img {
        max-height: 30px !important;
    }
    
    .logo-text {
        font-size: 14px !important;
    }
    
    nav {
        padding: 50px 8px 10px;
        max-width: 270px;
    }
    
    .nav-menu {
        gap: 1px !important;              /* ✅ ✅ مسافة 1px فقط */
    }
    
    .nav-menu .nav-link {
        padding: 4px 8px !important;      /* ✅ ✅ أصغر ارتفاع ممكن */
        font-size: 11px !important;
        gap: 6px !important;
        border-radius: 4px !important;
    }
    
    .nav-menu .nav-link i {
        font-size: 12px !important;
        width: 18px !important;
    }
    
    .nav-menu .nav-link span {
        font-size: 11px !important;
    }
    
    .lang-btn {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .theme-toggle {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}



/* ================================================================
   Light Mode - الوضع الفاتح (كامل)
   ================================================================ */
body.light-mode {
    background: #ffffff !important;
    color: #1A1A1A !important;
}

/* الهيدر */
body.light-mode .header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.light-mode .logo-text .white {
    color: #1A1A1A !important;
}

body.light-mode .logo-text .gold {
    color: #C9A031 !important;
}

/* ============================================
   Light Mode - إزالة المربع الأبيض خلف الأزرار
   ============================================ */
body.light-mode .nav-link {
    color: #333 !important;
    background: transparent !important;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: #C9A031 !important;
    border-color: #C9A031 !important;
    background: rgba(201, 160, 49, 0.1) !important;
}

body.light-mode .nav-link i {
    color: #666 !important;
}

body.light-mode .nav-link:hover i,
body.light-mode .nav-link.active i {
    color: #C9A031 !important;
}

body.light-mode .nav-link span {
    color: #666 !important;
}

body.light-mode .nav-link:hover span,
body.light-mode .nav-link.active span {
    color: #C9A031 !important;
}

/* Light Mode - أزرار اللغة */
body.light-mode .lang-switch {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(201, 160, 49, 0.15);
}

body.light-mode .lang-btn {
    color: #555;
}

body.light-mode .lang-btn.active {
    background: #C9A031;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(201, 160, 49, 0.3);
}

body.light-mode .lang-btn:hover:not(.active) {
    color: #C9A031;
    background: rgba(201, 160, 49, 0.08);
}

/* Light Mode - زر تبديل الوضعية */
body.light-mode .theme-toggle {
    background: rgba(201, 160, 49, 0.08);
    border-color: rgba(201, 160, 49, 0.2);
    color: #C9A031;
}

body.light-mode .theme-toggle:hover {
    background: #C9A031;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.3);
}

/* Light Mode - الهامبرغر */
body.light-mode .hamburger span {
    background: #333 !important;
}

/* ============================================
   Light Mode - القائمة المنبثقة للجوال (Popup)
   ============================================ */
body.light-mode .menu-popup {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-color: rgba(201, 160, 49, 0.15) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .menu-popup .popup-title {
    color: #C9A031 !important;
    border-bottom-color: rgba(201, 160, 49, 0.15) !important;
}

body.light-mode .menu-popup .nav-menu .nav-link {
    color: #333 !important;
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .menu-popup .nav-menu .nav-link i {
    color: #C9A031 !important;
}

body.light-mode .menu-popup .nav-menu .nav-link span {
    color: #333 !important;
}

body.light-mode .menu-popup .nav-menu .nav-link:hover,
body.light-mode .menu-popup .nav-menu .nav-link.active {
    background: rgba(201, 160, 49, 0.08) !important;
    border-color: #C9A031 !important;
    color: #C9A031 !important;
}

body.light-mode .menu-popup .nav-menu .nav-link:hover span,
body.light-mode .menu-popup .nav-menu .nav-link.active span {
    color: #C9A031 !important;
}

body.light-mode .menu-popup .close-menu {
    background: rgba(201, 160, 49, 0.08) !important;
    border-color: rgba(201, 160, 49, 0.2) !important;
    color: #C9A031 !important;
}

body.light-mode .menu-popup .close-menu:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
}

/* ============================================
   Light Mode - خلفية القائمة المنبثقة (Overlay)
   ============================================ */
body.light-mode .menu-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ============================================
   Light Mode - القائمة المنسدلة للجوال (Dropdown)
   ============================================ */
body.light-mode .mobile-dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top-color: rgba(201, 160, 49, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .mobile-dropdown-menu .nav-menu .nav-link {
    color: #333 !important;
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .mobile-dropdown-menu .nav-menu .nav-link i {
    color: #C9A031 !important;
}

body.light-mode .mobile-dropdown-menu .nav-menu .nav-link span {
    color: #333 !important;
}

body.light-mode .mobile-dropdown-menu .nav-menu .nav-link:hover,
body.light-mode .mobile-dropdown-menu .nav-menu .nav-link.active {
    background: rgba(201, 160, 49, 0.08) !important;
    border-color: #C9A031 !important;
    color: #C9A031 !important;
}

/* ============================================
   Light Mode - تنسيق الجوال (القائمة الجانبية)
   ============================================ */
@media (max-width: 992px) {
    body.light-mode .nav-menu {
        background: transparent !important;
        border-color: transparent !important;
    }
    
    body.light-mode .nav-link {
        color: #333 !important;
        background: transparent !important;
    }
    
    body.light-mode .nav-link:hover,
    body.light-mode .nav-link.active {
        color: #C9A031 !important;
        border-color: #C9A031 !important;
        background: rgba(201, 160, 49, 0.08) !important;
    }
    
    body.light-mode .nav-link i {
        color: #666 !important;
    }
    
    body.light-mode .nav-link:hover i,
    body.light-mode .nav-link.active i {
        color: #C9A031 !important;
    }
    
    body.light-mode .nav-link span {
        color: #666 !important;
    }
    
    body.light-mode .nav-link:hover span,
    body.light-mode .nav-link.active span {
        color: #C9A031 !important;
    }
    
    body.light-mode nav {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.08) !important;
    }
    
    body.light-mode nav::before {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent) !important;
    }
}

/* Light Mode - البطاقات */
body.light-mode .stat-card {
    background: #ffffff !important;
    border-color: #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .stat-card p,
body.light-mode .stat-label {
    color: #555 !important;
}

body.light-mode .stat-number {
    color: #C9A031 !important;
}

body.light-mode .stat-card i {
    color: #C9A031 !important;
}

body.light-mode .sector-card,
body.light-mode .company-card,
body.light-mode .project-card,
body.light-mode .award-card,
body.light-mode .news-slide-card {
    background: #ffffff !important;
    border-color: #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .sector-card:hover,
body.light-mode .company-card:hover,
body.light-mode .project-card:hover,
body.light-mode .award-card:hover,
body.light-mode .news-slide-card:hover {
    border-color: #C9A031 !important;
    box-shadow: 0 8px 25px rgba(201, 160, 49, 0.12) !important;
}

body.light-mode .sector-card h3,
body.light-mode .company-card h3,
body.light-mode .project-card h3,
body.light-mode .award-card h3,
body.light-mode .news-slide-card .news-content h3 {
    color: #1A1A1A !important;
}

body.light-mode .sector-card p,
body.light-mode .company-card p,
body.light-mode .project-card p,
body.light-mode .award-card p,
body.light-mode .news-slide-card .news-content p {
    color: #555 !important;
}

/* عناوين الأقسام */
body.light-mode .section-title {
    color: #1A1A1A !important;
}

body.light-mode .section-title::after {
    background: #C9A031 !important;
}

/* الأقسام */
body.light-mode .sectors-section {
    background: #ffffff !important;
}

body.light-mode .companies-section {
    background: #f8f9fa !important;
}

body.light-mode .projects-section {
    background: #ffffff !important;
}

body.light-mode .awards-section {
    background: #f8f9fa !important;
}

body.light-mode .news-section {
    background: #ffffff !important;
}

body.light-mode .news-slider-section {
    background: #ffffff !important;
}

body.light-mode .news-slider-section .section-title {
    color: #1A1A1A !important;
}

body.light-mode .stats-section {
    background: #f8f9fa !important;
}

body.light-mode .stats-section .stat-card {
    background: #ffffff !important;
}

/* Page Header */
body.light-mode .page-header {
    background: linear-gradient(135deg, #f8f9fa, #e8eaed) !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

body.light-mode .page-header h1 {
    color: #1A1A1A !important;
}

body.light-mode .page-header p {
    color: #555 !important;
}

/* الفوتر */
body.light-mode .footer {
    background: #ffffff !important;
    border-top: 1px solid #e8e8e8 !important;
}

body.light-mode .footer-about p,
body.light-mode .footer-links a,
body.light-mode .footer-contact li {
    color: #555 !important;
}

body.light-mode .footer-links a:hover {
    color: #C9A031 !important;
}

body.light-mode .footer-bottom {
    color: #777 !important;
    border-top: 1px solid #e8e8e8 !important;
}

body.light-mode .footer-links h4,
body.light-mode .footer-contact h4 {
    color: #1A1A1A !important;
}

body.light-mode .footer-social a {
    background: #f0f2f5 !important;
    color: #555 !important;
}

body.light-mode .footer-social a:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
}

/* أزرار */
body.light-mode .btn-outline {
    color: #C9A031 !important;
    border-color: #C9A031 !important;
}

body.light-mode .btn-outline:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
}

body.light-mode .btn-gold {
    color: #ffffff !important;
}

body.light-mode .btn-gold:hover {
    background: #A07820 !important;
}

body.light-mode .loader {
    background: #ffffff !important;
}

body.light-mode .hero-subtitle {
    color: #555 !important;
}

body.light-mode .hero-description {
    color: #666 !important;
}

/* Light Mode - أزرار السلايدر */
body.light-mode .slider-btn {
    background: rgba(201, 160, 49, 0.08) !important;
    border-color: rgba(201, 160, 49, 0.25) !important;
    color: #C9A031 !important;
}

body.light-mode .slider-btn:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
}

body.light-mode .slider-dot {
    background: #ddd !important;
}

body.light-mode .slider-dot.active {
    background: #C9A031 !important;
}

body.light-mode .news-counter {
    color: #555 !important;
}

/* Light Mode - النشرة البريدية */
body.light-mode .newsletter-section {
    background: linear-gradient(135deg, #C9A031, #A07820) !important;
}

body.light-mode .newsletter-container h2 {
    color: #ffffff !important;
}

body.light-mode .newsletter-container p {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.light-mode .newsletter-form input {
    background: #ffffff !important;
    color: #333 !important;
    border: none !important;
}

body.light-mode .newsletter-form button {
    background: #1A1A1A !important;
    color: #C9A031 !important;
}

body.light-mode .newsletter-form button:hover {
    background: #333 !important;
}

/* Light Mode - CTA Section */
body.light-mode .cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e8eaed) !important;
}

body.light-mode .cta-section h2 {
    color: #1A1A1A !important;
}

body.light-mode .cta-section p {
    color: #555 !important;
}

/* Light Mode - شعارات الشركات */
body.light-mode .company-logo {
    background: #ffffff !important;
    border: 2px solid #e8e8e8 !important;
}

body.light-mode .company-logo i {
    color: #C9A031 !important;
}

body.light-mode .company-card:hover .company-logo {
    border-color: #C9A031 !important;
}

body.light-mode .sector-logo {
    background: #ffffff !important;
    border: 2px solid #e8e8e8 !important;
}

body.light-mode .sector-logo i {
    color: #C9A031 !important;
}

body.light-mode .sector-card:hover .sector-logo {
    border-color: #C9A031 !important;
}

body.light-mode .sector-icon {
    background: #ffffff !important;
}

body.light-mode .sector-icon i {
    color: #C9A031 !important;
}

body.light-mode .hero-main-logo {
    filter: brightness(0.1) !important;
}

/* Light Mode - الفيديو التعريفي */
body.light-mode .intro-video-section {
    background: linear-gradient(135deg, #f5f6f8, #e8eaed) !important;
}

body.light-mode .intro-video-wrapper {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .intro-video-content h2 {
    color: #1A1A1A !important;
}

body.light-mode .intro-video-content h2::after {
    background: #C9A031 !important;
}

body.light-mode .intro-video-content p {
    color: #555 !important;
}

body.light-mode .intro-video-wrapper iframe,
body.light-mode .intro-video-wrapper video {
    border-radius: 15px !important;
}

/* ================================================================
   8. زر العودة للأعلى
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background: #C9A031;
    color: #0A0A0A;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(201, 160, 49, 0.4);
}

/* ================================================================
   9. القسم البطولي (Hero Section)
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-main-logo {
    max-width: 180px;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.hero-title span {
    color: #C9A031;
}

.hero-subtitle {
    font-size: 24px;
    color: #aaa;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

/* ================================================================
   10. الأزرار
   ================================================================ */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #C9A031;
    color: #0A0A0A;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #C9A031;
    text-decoration: none;
    font-size: 16px;
}

.btn-gold:hover {
    background: transparent;
    color: #C9A031;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 160, 49, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: #C9A031;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #C9A031;
    text-decoration: none;
    font-size: 16px;
}

.btn-outline:hover {
    background: #C9A031;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 160, 49, 0.3);
}

/* ================================================================
   11. عنوان القسم
   ================================================================ */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #C9A031;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #C9A031;
}

/* ================================================================
   12. الإحصائيات - بطاقات دائرية
   ================================================================ */
.stats-section {
    padding: 10px 0;
    background: var(--dark-light);
    margin-top: -2px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    text-align: center;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    padding-top: 8px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(201, 160, 49, 0.3), transparent);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.stat-card:hover::before {
    width: 200%;
    height: 200%;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 160, 49, 0.25);
    animation: none;
}

.stat-card i {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.1);
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 3px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.stat-card p,
.stat-label {
    font-size: 12px;
    color: var(--gray);
    position: relative;
    z-index: 1;
    margin-top: 0;
    line-height: 1.3;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 160, 49, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(201, 160, 49, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 160, 49, 0); }
}

/* ================================================================
   13. القطاعات
   ================================================================ */
.sectors-section {
    padding: 60px 0;
    background: var(--dark);
}

.sectors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.sector-card {
    flex: 0 0 calc(25% - 25px);
    min-width: 260px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

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

.sector-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C9A031, #A07820);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sector-icon i {
    font-size: 28px;
    color: #0A0A0A;
}

.sector-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    object-fit: contain;
    display: block;
}

.sector-card h3 {
    color: #C9A031;
    margin-bottom: 8px;
    font-size: 18px;
}

.sector-card p {
    color: #aaa;
    line-height: 1.5;
    font-size: 13px;
}

/* ================================================================
   14. الشركات
   ================================================================ */
.companies-section {
    padding: 60px 0;
    background: var(--dark-light);
}

.companies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.company-card {
    flex: 0 0 calc(25% - 25px);
    min-width: 260px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.company-card:hover {
    transform: translateY(-8px);
    border-color: #C9A031;
    box-shadow: var(--shadow);
}

.company-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1A1A1A, #0A0A0A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(201, 160, 49, 0.3);
    transition: all 0.3s ease;
}

.company-card:hover .company-logo {
    border-color: #C9A031;
    transform: scale(1.05);
}

.company-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.company-logo i {
    font-size: 50px;
    color: #C9A031;
}

.company-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.company-category {
    display: inline-block;
    background: rgba(201, 160, 49, 0.15);
    color: #C9A031;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 12px;
}

.company-card p {
    color: #aaa;
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 13px;
}

.company-card .btn-outline {
    padding: 8px 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

/* ================================================================
   15. المشاريع
   ================================================================ */
.projects-section {
    padding: 60px 0;
    background: var(--dark-light);
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #C9A031;
    box-shadow: var(--shadow);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 160, 49, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    padding: 12px 30px;
    background: #C9A031;
    color: #0A0A0A;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: #C9A031;
    margin-bottom: 10px;
    font-size: 20px;
}

.project-content p {
    color: #aaa;
    margin-bottom: 15px;
}

/* ================================================================
   16. الجوائز
   ================================================================ */
.awards-section {
    padding: 60px 0;
    background: var(--dark);
}

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

.award-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.award-card:hover {
    transform: translateY(-8px);
    border-color: #C9A031;
}

.award-icon i {
    font-size: 45px;
    color: #C9A031;
    margin-bottom: 15px;
}

.award-card h3 {
    color: #C9A031;
    margin-bottom: 10px;
    font-size: 18px;
}

.award-card p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
}

.award-year {
    display: inline-block;
    background: #C9A031;
    color: #0A0A0A;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

/* ================================================================
   17. سلايدر الأخبار
   ================================================================ */
.news-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A0A0A, #1A1A1A);
    position: relative;
    overflow: hidden;
}

.news-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 820px;
    margin: 0 auto;
}

.news-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.news-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 10px;
}

.news-slide-card {
    max-width: 700px;
    width: 100%;
    background: #1A1A1A;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.news-slide-card:hover {
    transform: translateY(-5px);
    border-color: #C9A031;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.news-slide-card .news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-slide-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-slide-card:hover .news-image img {
    transform: scale(1.05);
}

.news-slide-card .news-image .news-date-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(201, 160, 49, 0.9);
    color: #0A0A0A;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-slide-card .news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-slide-card .news-content h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-slide-card .news-content p {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-slide-card .news-content .read-more {
    color: #C9A031;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 14px;
}

.news-slide-card .news-content .read-more:hover {
    gap: 10px;
    color: #D4AA3A;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 160, 49, 0.2);
    color: #C9A031;
    border: 2px solid #C9A031;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #C9A031;
    color: #0A0A0A;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    right: -10px;
}

.slider-btn-next {
    left: -10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #444;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #C9A031;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(201, 160, 49, 0.5);
}

.news-counter {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 15px;
}

/* ================================================================
   18. الفيديو التعريفي
   ================================================================ */
.intro-video-section {
    padding: 80px 0;
    background: var(--dark-light);
}

.intro-video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-video-content h2 {
    font-size: 36px;
    color: #C9A031;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.intro-video-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #C9A031;
}

.intro-video-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 15px;
}

.intro-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-video-wrapper iframe,
.intro-video-wrapper video {
    width: 100%;
    height: 350px;
    border: none;
}

/* ================================================================
   19. النشرة البريدية
   ================================================================ */
.newsletter-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #C9A031, #A07820);
}

.newsletter-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-container h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 15px;
    flex: 1;
    min-width: 180px;
}

.newsletter-form input:focus {
    outline: 2px solid #0A0A0A;
}

.newsletter-form button {
    padding: 12px 28px;
    background: #0A0A0A;
    color: #C9A031;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ================================================================
   20. قسم CTA
   ================================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A0A0A, #1A1A1A);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    color: #C9A031;
    margin-bottom: 15px;
}

.cta-section p {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   21. الفوتر (Footer)
   ================================================================ */
.footer {
    background: #0A0A0A;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(201, 160, 49, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about h3 {
    color: #C9A031;
    font-size: 22px;
    margin-bottom: 12px;
}

.footer-about p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 800;
}

.footer-logo-text .gold {
    color: #C9A031;
}

.footer-logo-text .white {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.footer-social a:hover {
    background: #C9A031;
    color: #0A0A0A;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: #C9A031;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #C9A031;
    padding-right: 3px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact ul li i {
    color: #C9A031;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #888;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .design-by {
    color: #D4AF37;
    font-weight: bold;
}

/* ================================================================
   22. Page Header (صفحة الأخبار)
   ================================================================ */
.page-header {
    background: linear-gradient(135deg, #0A0A0A, #1A1A1A);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 160, 49, 0.2);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #C9A031;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #C9A031;
}

.page-header p {
    color: #aaa;
    font-size: 18px;
    margin-top: 20px;
}

/* ================================================================
   23. News Stats Section (صفحة الأخبار)
   ================================================================ */
.news-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #111111, #0A0A0A);
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.news-stats-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.news-stat-card {
    text-align: center;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.news-stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(201, 160, 49, 0.3), transparent);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.news-stat-card:hover::before {
    width: 200%;
    height: 200%;
}

.news-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #C9A031;
    box-shadow: 0 0 20px rgba(201, 160, 49, 0.25);
    animation: none;
}

.news-stat-card .stat-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.news-stat-card i {
    font-size: 36px;
    color: #C9A031;
    margin-bottom: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.news-stat-card:hover i {
    transform: scale(1.1);
}

.news-stat-card .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #C9A031;
    margin-bottom: 5px;
    line-height: 1;
}

.news-stat-card .stat-label {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    max-width: 110px;
    margin: 0 auto;
}

/* ================================================================
   24. Featured News (صفحة الأخبار)
   ================================================================ */
.featured-section {
    padding: 60px 0;
    background: #0A0A0A;
}

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

.featured-card {
    background: #1A1A1A;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: #C9A031;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.featured-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #C9A031;
    color: #0A0A0A;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.featured-content {
    padding: 25px;
}

.featured-content .news-date {
    color: #C9A031;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.featured-content h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
}

.featured-content p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 14px;
}

.featured-content .read-more {
    color: #C9A031;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.featured-content .read-more:hover {
    gap: 10px;
    color: #D4AA3A;
}

/* ================================================================
   25. Filter Buttons (صفحة الأخبار)
   ================================================================ */
.filter-section {
    margin-bottom: 50px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: #C9A031;
    border: 2px solid #C9A031;
    padding: 10px 28px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #C9A031;
    color: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 160, 49, 0.3);
}

/* ================================================================
   26. News Grid (صفحة الأخبار)
   ================================================================ */
.news-page {
    padding: 80px 0;
    background: var(--dark);
}

body.light-mode .news-page {
    background: #ffffff !important;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.news-card {
    flex: 0 0 calc(33.333% - 30px);
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

/* ✅ الوضع الفاتح - بطاقات الأخبار */
body.light-mode .news-card {
    background: #ffffff !important;
    border-color: #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .news-card:hover {
    border-color: #C9A031 !important;
    box-shadow: 0 8px 25px rgba(201, 160, 49, 0.12) !important;
    transform: translateY(-8px);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: #C9A031;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #1A1A1A;
}

body.light-mode .news-image {
    background: #f0f2f5 !important;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(201, 160, 49, 0.9);
    color: #0A0A0A;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.news-content {
    padding: 20px;
}

.news-content .news-date {
    color: #C9A031;
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

.news-content .news-date i {
    margin-left: 5px;
}

/* ✅ عنوان الخبر - الوضع المظلم */
.news-content h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

/* ✅ عنوان الخبر - الوضع الفاتح */
body.light-mode .news-content h3 {
    color: #1A1A1A !important;
}

/* ✅ نص الخبر - الوضع المظلم */
.news-content p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 13px;
    height: 65px;
    overflow: hidden;
}

/* ✅ نص الخبر - الوضع الفاتح */
body.light-mode .news-content p {
    color: #555 !important;
}

.news-content .read-more {
    color: #C9A031;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.news-content .read-more:hover {
    gap: 10px;
    color: #D4AA3A;
}

/* ================================================================
   ✅ تنسيقات إضافية للوضع الفاتح
   ================================================================ */

/* ✅ خلفية قسم الأخبار المميزة */
body.light-mode .featured-news-section {
    background: #f8f9fa !important;
}

/* ✅ بطاقات الأخبار المميزة - الوضع الفاتح */
body.light-mode .featured-news-card {
    background: #ffffff !important;
    border-color: #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .featured-news-card:hover {
    border-color: #C9A031 !important;
    box-shadow: 0 8px 25px rgba(201, 160, 49, 0.12) !important;
}

body.light-mode .featured-news-card .news-content h3 {
    color: #1A1A1A !important;
}

body.light-mode .featured-news-card .news-content p {
    color: #555 !important;
}

body.light-mode .featured-news-card .news-image {
    background: #f0f2f5 !important;
}

/* ✅ أزرار التصفية - الوضع الفاتح */
body.light-mode .filter-btn {
    color: #C9A031 !important;
    border-color: #C9A031 !important;
}

body.light-mode .filter-btn:hover,
body.light-mode .filter-btn.active {
    background: #C9A031 !important;
    color: #ffffff !important;
}

/* ✅ No Data - الوضع الفاتح */
body.light-mode .no-data {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
}

body.light-mode .no-data h3 {
    color: #1A1A1A !important;
}

body.light-mode .no-data p {
    color: #555 !important;
}

/* ✅ تنبيه الأخبار - الوضع الفاتح */
body.light-mode .news-alert {
    background: rgba(201, 160, 49, 0.06) !important;
    border-color: rgba(201, 160, 49, 0.15) !important;
    color: #1A1A1A !important;
}

/* ================================================================
   ✅ Responsive
   ================================================================ */
@media (max-width: 992px) {
    .news-card {
        flex: 0 0 calc(50% - 30px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .news-card {
        flex: 0 0 100%;
        min-width: auto;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .news-page {
        padding: 40px 0;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content h3 {
        font-size: 16px;
        height: auto;
    }
    
    .news-content p {
        font-size: 12px;
        height: auto;
    }
}
/* ================================================================
   27. No Data (صفحة الأخبار)
   ================================================================ */
.no-data {
    text-align: center;
    padding: 60px 20px;
    background: #1A1A1A;
    border-radius: 20px;
}

.no-data i {
    font-size: 60px;
    color: #C9A031;
    margin-bottom: 20px;
}

.no-data h3 {
    color: #fff;
    margin-bottom: 10px;
}

.no-data p {
    color: #aaa;
}

/* ================================================================
   28. تجاوب الفوتر
   ================================================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    .footer-logo-text {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-about h3 {
        font-size: 20px;
    }
    
    .footer-logo-text {
        font-size: 22px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* ================================================================
   29. التجاوب العام
   ================================================================ */
@media (max-width: 1200px) and (min-width: 993px) {
    .sector-card {
        flex: 0 0 calc(33.333% - 25px);
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        width: 140px;
        height: 140px;
        padding: 20px 15px;
    }
    
    .stat-card i {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 26px;
    }
    
    .sector-card {
        flex: 0 0 calc(50% - 25px);
    }
    
    .company-card {
        flex: 0 0 calc(50% - 25px);
    }
    
    /* صفحة الأخبار */
    .news-card {
        flex: 0 0 calc(50% - 30px);
    }
    
    .featured-slider {
        grid-template-columns: 1fr;
    }
    
    .news-stats-grid {
        gap: 20px;
    }
    
    .news-stat-card {
        width: 140px;
        height: 140px;
    }
    
    .news-stat-card i {
        font-size: 32px;
    }
    
    .news-stat-card .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-card {
        width: 120px;
        height: 120px;
        padding: 15px 10px;
    }
    
    .stat-card i {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-card p {
        font-size: 10px;
    }
    
    .sector-card {
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .company-card {
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-video-wrapper iframe,
    .intro-video-wrapper video {
        height: 250px;
    }
    
    /* صفحة الأخبار */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .news-card {
        flex: 0 0 100%;
    }
    
    .featured-card {
        flex: 0 0 100%;
    }
    
    .featured-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        width: 100px;
        height: 100px;
        padding: 12px 8px;
    }
    
    .stat-card i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-card p {
        font-size: 9px;
        margin-top: 4px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: auto;
    }
    
    /* صفحة الأخبار */
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .news-card {
        flex: 0 0 100%;
    }
    
    .featured-card {
        flex: 0 0 100%;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .news-stats-grid {
        gap: 15px;
    }
    
    .news-stat-card {
        width: 120px;
        height: 120px;
    }
    
    .news-stat-card i {
        font-size: 28px;
    }
    
    .news-stat-card .stat-number {
        font-size: 24px;
    }
    
    .news-stat-card .stat-label {
        font-size: 10px;
        max-width: 90px;
    }
    
    .news-content h3 {
        font-size: 16px;
        height: auto;
    }
    
    .news-content p {
        font-size: 12px;
        height: auto;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        width: 85px;
        height: 85px;
        padding: 8px 4px;
    }
    
    .stat-card i {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-card p {
        font-size: 8px;
    }
    
    /* صفحة الأخبار */
    .news-stat-card {
        width: 100px;
        height: 100px;
    }
    
    .news-stat-card i {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .news-stat-card .stat-number {
        font-size: 20px;
    }
    
    .news-stat-card .stat-label {
        font-size: 9px;
        max-width: 80px;
    }
}

/* ================================================================
   الوضع الفاتح للفوتر
   ================================================================ */
body.light-mode .footer {
    background: #ffffff !important;
    border-top: 1px solid #e8e8e8 !important;
}

body.light-mode .footer-about p,
body.light-mode .footer-links a,
body.light-mode .footer-contact ul li {
    color: #555 !important;
}

body.light-mode .footer-links a:hover {
    color: #C9A031 !important;
}

body.light-mode .footer-bottom {
    color: #777 !important;
    border-top: 1px solid #e8e8e8 !important;
}

body.light-mode .footer-links h4,
body.light-mode .footer-contact h4 {
    color: #1A1A1A !important;
}

body.light-mode .footer-social a {
    background: #f0f2f5 !important;
    color: #555 !important;
}

body.light-mode .footer-social a:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
}

body.light-mode .footer-logo-text .white {
    color: #1A1A1A !important;
}

body.light-mode .footer-logo-text .gold {
    color: #C9A031 !important;
}
/*########################################################################################
/* ================================================================
   الهيدر - التحكم بالشفافية عند التمرير (مع تلاشي سلس)
   ================================================================ */

/* ✅ الحالة الافتراضية: خلفية شفافة (في أعلى الصفحة) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px 0;
    background: transparent !important;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 1px solid rgba(201, 160, 49, 0.05);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

/* ✅ عند التمرير للأسفل (scrolled) - خلفية داكنة مع تمويه */
.header.scrolled {
    background: rgba(10, 10, 10, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(201, 160, 49, 0.15) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 10px 0 !important;
}

/* ✅ عند التمرير للأعلى (transparent) - خلفية شفافة */
.header.transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(201, 160, 49, 0.05) !important;
    box-shadow: none !important;
    padding: 15px 0 !important;
}

/* ================================================================
   ✅ الوضع المظلم (Dark Mode) - تحسين ظهور الأزرار عند الشفافية
   ================================================================ */

/* ✅ خلفية شفافة مع حدود واضحة - الوضع المظلم */
.header.transparent .nav-menu .nav-link {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.header.transparent .nav-menu .nav-link i {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3) !important;
}

.header.transparent .nav-menu .nav-link span {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3) !important;
}

.header.transparent .nav-menu .nav-link:hover,
.header.transparent .nav-menu .nav-link.active {
    background: rgba(201, 160, 49, 0.25) !important;
    border-color: #C9A031 !important;
    box-shadow: 0 0 30px rgba(201, 160, 49, 0.2) !important;
    transform: translateY(-2px) !important;
}

.header.transparent .nav-menu .nav-link:hover i,
.header.transparent .nav-menu .nav-link.active i,
.header.transparent .nav-menu .nav-link:hover span,
.header.transparent .nav-menu .nav-link.active span {
    color: #C9A031 !important;
    text-shadow: 0 0 20px rgba(201, 160, 49, 0.3) !important;
}

/* ================================================================
   ✅ الوضع الفاتح (Light Mode) - إصلاح الشفافية
   ================================================================ */

/* ✅ عند التمرير للأسفل (scrolled) - خلفية فاتحة مع تمويه */
body.light-mode .header.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06) !important;
}

/* ✅ عند التمرير للأعلى (transparent) - خلفية شفافة */
body.light-mode .header.transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: none !important;
}

/* ✅ خلفية شفافة مع حدود واضحة - الوضع الفاتح */
body.light-mode .header.transparent .nav-menu .nav-link {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #1A1A1A !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .header.transparent .nav-menu .nav-link i {
    color: rgba(26, 26, 26, 0.9) !important;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.3) !important;
}

body.light-mode .header.transparent .nav-menu .nav-link span {
    color: rgba(26, 26, 26, 0.9) !important;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.3) !important;
}

body.light-mode .header.transparent .nav-menu .nav-link:hover,
body.light-mode .header.transparent .nav-menu .nav-link.active {
    background: rgba(201, 160, 49, 0.2) !important;
    border-color: #C9A031 !important;
    box-shadow: 0 0 30px rgba(201, 160, 49, 0.15) !important;
    color: #C9A031 !important;
    transform: translateY(-2px) !important;
}

body.light-mode .header.transparent .nav-menu .nav-link:hover i,
body.light-mode .header.transparent .nav-menu .nav-link.active i,
body.light-mode .header.transparent .nav-menu .nav-link:hover span,
body.light-mode .header.transparent .nav-menu .nav-link.active span {
    color: #C9A031 !important;
    text-shadow: 0 0 20px rgba(201, 160, 49, 0.2) !important;
}

/* ================================================================
   ✅ الشعار - الوضع المظلم الشفاف
   ================================================================ */
.header.transparent .logo-text .white {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.header.transparent .logo-text .gold {
    color: #C9A031 !important;
    text-shadow: 0 2px 10px rgba(201, 160, 49, 0.2) !important;
}

/* ================================================================
   ✅ الشعار - الوضع الفاتح الشفاف
   ================================================================ */
body.light-mode .header.transparent .logo-text .white {
    color: #1A1A1A !important;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3) !important;
}

body.light-mode .header.transparent .logo-text .gold {
    color: #C9A031 !important;
    text-shadow: 0 2px 10px rgba(201, 160, 49, 0.2) !important;
}

/* ================================================================
   ✅ أزرار اللغة - الوضع المظلم الشفاف
   ================================================================ */
.header.transparent .lang-btn {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.header.transparent .lang-btn.active {
    background: #C9A031 !important;
    color: #0A0A0A !important;
    border-color: #C9A031 !important;
}

.header.transparent .lang-btn:hover:not(.active) {
    color: #C9A031 !important;
    background: rgba(201, 160, 49, 0.15) !important;
    border-color: #C9A031 !important;
}

/* ================================================================
   ✅ أزرار اللغة - الوضع الفاتح الشفاف
   ================================================================ */
body.light-mode .header.transparent .lang-btn {
    color: rgba(26, 26, 26, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.light-mode .header.transparent .lang-btn.active {
    background: #C9A031 !important;
    color: #ffffff !important;
    border-color: #C9A031 !important;
}

body.light-mode .header.transparent .lang-btn:hover:not(.active) {
    color: #C9A031 !important;
    background: rgba(201, 160, 49, 0.1) !important;
    border-color: #C9A031 !important;
}

/* ================================================================
   ✅ زر تبديل الوضعية - الوضع المظلم الشفاف
   ================================================================ */
.header.transparent .theme-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.header.transparent .theme-toggle:hover {
    background: #C9A031 !important;
    color: #0A0A0A !important;
    border-color: #C9A031 !important;
    transform: rotate(30deg) scale(1.05) !important;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.3) !important;
}

/* ================================================================
   ✅ زر تبديل الوضعية - الوضع الفاتح الشفاف
   ================================================================ */
body.light-mode .header.transparent .theme-toggle {
    color: rgba(26, 26, 26, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .header.transparent .theme-toggle:hover {
    background: #C9A031 !important;
    color: #ffffff !important;
    border-color: #C9A031 !important;
    transform: rotate(30deg) scale(1.05) !important;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.3) !important;
}

/* ================================================================
   ✅ أيقونات الهامبرغر - الوضع المظلم الشفاف
   ================================================================ */
.header.transparent .hamburger span {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2) !important;
}

.header.transparent .hamburger:hover span {
    background: #C9A031 !important;
}

/* ================================================================
   ✅ أيقونات الهامبرغر - الوضع الفاتح الشفاف
   ================================================================ */
body.light-mode .header.transparent .hamburger span {
    background: rgba(26, 26, 26, 0.9) !important;
    box-shadow: 0 1px 8px rgba(255, 255, 255, 0.2) !important;
}

body.light-mode .header.transparent .hamburger:hover span {
    background: #C9A031 !important;
}

/* ================================================================
   ✅ أزرار التحكم - الوضع المظلم الشفاف
   ================================================================ */
.header.transparent .lang-switch {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ================================================================
   ✅ أزرار التحكم - الوضع الفاتح الشفاف
   ================================================================ */
body.light-mode .header.transparent .lang-switch {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ================================================================
   ✅ تحسينات إضافية للهيدر في الوضعين
   ================================================================ */

/* ✅ تحسين مظهر الهيدر عند التمرير */
.header.scrolled .logo-img {
    max-height: 45px !important;
    transition: max-height 0.4s ease !important;
}

.header.transparent .logo-img {
    max-height: 55px !important;
    transition: max-height 0.4s ease !important;
}

/* ✅ دعم RTL للهيدر الشفاف */
[dir="rtl"] .header.transparent .nav-menu .nav-link:hover,
[dir="rtl"] .header.transparent .nav-menu .nav-link.active {
    transform: translateX(-5px) !important;
}

[dir="rtl"] .header.scrolled .nav-menu .nav-link:hover,
[dir="rtl"] .header.scrolled .nav-menu .nav-link.active {
    transform: translateX(-5px) !important;
}

/* ================================================================
   ✅ تحسينات للشاشات الصغيرة
   ================================================================ */
@media (max-width: 992px) {
    .header.transparent {
        padding: 12px 0 !important;
    }
    
    .header.scrolled {
        padding: 8px 0 !important;
    }
    
    .header.transparent .logo-img {
        max-height: 40px !important;
    }
    
    .header.scrolled .logo-img {
        max-height: 35px !important;
    }
    
    /* ✅ تحسين القائمة المنبثقة في الوضع الشفاف - المظلم */
    .header.transparent nav {
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    /* ✅ تحسين القائمة المنبثقة في الوضع الشفاف - الفاتح */
    body.light-mode .header.transparent nav {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    /* ✅ تحسين عناصر القائمة في الجوال - الوضع المظلم الشفاف */
    .header.transparent .nav-menu .nav-link {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }
    
    .header.transparent .nav-menu .nav-link i,
    .header.transparent .nav-menu .nav-link span {
        color: #ffffff !important;
    }
    
    /* ✅ تحسين عناصر القائمة في الجوال - الوضع الفاتح الشفاف */
    body.light-mode .header.transparent .nav-menu .nav-link {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: #1A1A1A !important;
    }
    
    body.light-mode .header.transparent .nav-menu .nav-link i,
    body.light-mode .header.transparent .nav-menu .nav-link span {
        color: #1A1A1A !important;
    }
    
    /* ✅ نفس تأثير التمرير للجوال في كلا الوضعين */
    .header.transparent .nav-menu .nav-link:hover,
    .header.transparent .nav-menu .nav-link.active {
        background: rgba(201, 160, 49, 0.2) !important;
        border-color: #C9A031 !important;
        color: #C9A031 !important;
    }
    
    .header.transparent .nav-menu .nav-link:hover i,
    .header.transparent .nav-menu .nav-link.active i,
    .header.transparent .nav-menu .nav-link:hover span,
    .header.transparent .nav-menu .nav-link.active span {
        color: #C9A031 !important;
    }
    
    body.light-mode .header.transparent .nav-menu .nav-link:hover,
    body.light-mode .header.transparent .nav-menu .nav-link.active {
        color: #C9A031 !important;
        background: rgba(201, 160, 49, 0.15) !important;
        border-color: #C9A031 !important;
    }
    
    body.light-mode .header.transparent .nav-menu .nav-link:hover i,
    body.light-mode .header.transparent .nav-menu .nav-link.active i,
    body.light-mode .header.transparent .nav-menu .nav-link:hover span,
    body.light-mode .header.transparent .nav-menu .nav-link.active span {
        color: #C9A031 !important;
    }
}

@media (max-width: 576px) {
    .header.transparent {
        padding: 10px 0 !important;
    }
    
    .header.scrolled {
        padding: 6px 0 !important;
    }
    
    .header.transparent .logo-img {
        max-height: 35px !important;
    }
    
    .header.scrolled .logo-img {
        max-height: 30px !important;
    }
}

/**********************************************************************
/* ================================================================
   ✅ زر "اقرأ المزيد" / "Read More" - تصميم ذهبي شبيه بزر القائمة
   ================================================================ */

.read-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: 'Cairo', sans-serif !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 8px 20px !important;
    border-radius: 40px !important;
    border: 2px solid #C9A031 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    color: #C9A031 !important;
}

.read-more::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(201, 160, 49, 0.08) !important;
    transform: scaleX(0) !important;
    transform-origin: right !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 40px !important;
    z-index: 0 !important;
}

.read-more:hover::before {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

.read-more i {
    position: relative !important;
    z-index: 1 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 14px !important;
}

.read-more:hover i {
    transform: translateX(-5px) !important;
}

[dir="rtl"] .read-more:hover i {
    transform: translateX(5px) !important;
}

.read-more span,
.read-more .text {
    position: relative !important;
    z-index: 1 !important;
}

.read-more:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.15) !important;
    border-color: #C9A031 !important;
}

.read-more:active {
    transform: scale(0.95) !important;
}

/* ✅ الوضع الفاتح */
body.light-mode .read-more {
    color: #C9A031 !important;
    border-color: #C9A031 !important;
    background: transparent !important;
}

body.light-mode .read-more::before {
    background: rgba(201, 160, 49, 0.08) !important;
}

body.light-mode .read-more:hover {
    border-color: #C9A031 !important;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.12) !important;
}

/* ✅ الوضع المظلم */
body.dark-mode .read-more {
    color: #C9A031 !important;
    border-color: #C9A031 !important;
    background: transparent !important;
}

body.dark-mode .read-more::before {
    background: rgba(201, 160, 49, 0.12) !important;
}

body.dark-mode .read-more:hover {
    border-color: #C9A031 !important;
    box-shadow: 0 4px 20px rgba(201, 160, 49, 0.2) !important;
}

/* ✅ أحجام مختلفة */
.read-more-sm {
    padding: 6px 16px !important;
    font-size: 12px !important;
    border-radius: 30px !important;
}

.read-more-sm i {
    font-size: 12px !important;
}

.read-more-lg {
    padding: 12px 32px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
}

.read-more-lg i {
    font-size: 16px !important;
}

.read-more-icon {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.read-more-icon i {
    font-size: 18px !important;
    margin: 0 !important;
}

.read-more-icon:hover i {
    transform: rotate(15deg) !important;
}

[dir="rtl"] .read-more-icon:hover i {
    transform: rotate(-15deg) !important;
}

/* ✅ RTL */
[dir="rtl"] .read-more {
    gap: 8px !important;
}

[dir="rtl"] .read-more i {
    transform: rotate(180deg) !important;
}

[dir="rtl"] .read-more:hover i {
    transform: rotate(180deg) translateX(-5px) !important;
}

/* ✅ تأثير نبض إضافي */
.read-more.pulse:hover {
    animation: pulse-gold 1.5s ease infinite !important;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(201, 160, 49, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(201, 160, 49, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 160, 49, 0); }
}

/* ============================================
   فيديو خلفية الهيرو
   ============================================ */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}