/**
 * LUXURY BLACK & GOLD THEME - الثيم الفخم الأسود والذهبي
 * تصميم فائق الفخامة يأخذ أنفاس العملاء
 * تم إنشاؤه للإعجاب والتأثير المدهش
 */

/* ========== متغيرات الثيم الفخم ========== */
:root {
    /* الألوان الأساسية */
    --luxury-black: #000000;
    --deep-black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2c2c2c;

    /* درجات الذهب الاحترافية - Professional Muted Gold */
    --gold-primary: #D4AA40;
    --gold-light: #F2E8C9;
    --gold-medium: #BF9835;
    --gold-dark: #A58230;
    --gold-royal: #BF9835;
    --gold-subtle: rgba(212, 170, 64, 0.1);

    /* التدرجات الذهبية الاحترافية */
    --gradient-gold-primary: linear-gradient(135deg, #D4AA40 0%, #BF9835 100%);
    --gradient-gold-royal: linear-gradient(135deg, #BF9835 0%, #A58230 100%);
    --gradient-gold-shine: linear-gradient(135deg, #DFBC55 0%, #D4AA40 50%, #BF9835 100%);
    --gradient-black-gold: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    --gradient-gold-black: linear-gradient(135deg, #D4AA40 0%, #BF9835 100%);

    /* التأثيرات والظلال - ظلال داكنة فقط */
    --gold-glow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --gold-glow-strong: 0 8px 30px rgba(0, 0, 0, 0.5);
    --luxury-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    --gold-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

    /* الخطوط والتأثيرات */
    --luxury-border: 1px solid rgba(212, 170, 64, 0.3);
    --luxury-border-gradient: linear-gradient(45deg, #D4AA40, #BF9835);
}

/* ========== إعادة تعيين الألوان الأساسية ========== */
body {
    background: var(--luxury-black) !important;
    color: var(--gold-light) !important;
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* خلفية بسيطة بدون حركات */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    pointer-events: none;
    z-index: -1;
}

/* ========== الهيدر ========== */
.header {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid rgba(212, 170, 64, 0.2) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px) !important;
}

.top-bar {
    background: var(--deep-black) !important;
    border-bottom: 1px solid rgba(212, 170, 64, 0.15) !important;
}

.top-bar-content {
    color: var(--gold-light) !important;
}

.top-bar-item i {
    color: var(--gold-primary) !important;
}

.navbar-brand img {
    filter: none !important;
}

.brand-title {
    color: #000000 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.brand-subtitle {
    color: var(--gold-light) !important;
}

.year-badge {
    background: var(--gradient-gold-primary) !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    color: var(--luxury-black) !important;
    box-shadow: none !important;
}

/* ========== التنقل ========== */
.navbar-nav .nav-link {
    color: var(--gold-light) !important;
    position: relative !important;
    transition: color 0.3s ease !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    margin: 0 2px !important;
    font-size: 0.95rem !important;
}

/* تأثير hover بسيط */
.nav-link.active,
.nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--gold-primary) !important;
    background: rgba(212, 170, 64, 0.08) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(212, 170, 64, 0.15) !important;
    box-shadow: none !important;
    transform: none !important;
    text-shadow: none !important;
}

/* إزالة أي خطوط أو حدود تحتية */
.nav-link::after,
.navbar-nav .nav-link::after,
.nav-item.active .nav-link::after,
.nav-link::before,
.navbar-nav .nav-link::before {
    display: none !important;
    content: none !important;
}

/* قائمة الشركات المنسدلة */
.companies-dropdown {
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px) !important;
}

.dropdown-item {
    color: var(--gold-light) !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    background: rgba(212, 170, 64, 0.1) !important;
    color: var(--gold-primary) !important;
    transform: none !important;
}

/* تعديلات عناصر القائمة المنسدلة للشركات */
.company-item:hover {
    color: #000000 !important;
    transform: none !important;
    background: transparent !important;
}

[dir="rtl"] .company-item:hover {
    transform: none !important;
}

/* زر الدعوة للعمل */
.header-cta {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.header-cta:hover {
    background: var(--gradient-gold-royal) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
}

/* حالة Active */
.header-cta.active {
    background: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    position: relative !important;
}

.header-cta.active::before {
    display: none !important;
}

.header-cta.active i {
    color: var(--gold-primary) !important;
}

.header-cta.active:hover {
    background: rgba(212, 170, 64, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

/* ========== السلايدر الفخم المذهل ========== */
.hero-section-professional {
    /* background removed to show video backgrounds */
    min-height: 100vh !important;
    position: relative !important;
    overflow: hidden !important;
}

/* خلفية الهيرو */
.hero-section-professional::before {
    display: none !important;
}

.hero-section-professional::after {
    display: none !important;
}

.hero-slide-professional {
    /* background removed to preserve video visibility */
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
}

/* خلفيات الفيديو للسلايدر - فخمة واحترافية */
.hero-video-background {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: 1 !important;
    filter: brightness(0.55) saturate(1.2) !important;
    pointer-events: none !important;
}

/* Overlay للنصوص - نفس أسلوب صفحات الشركات */
.hero-video-overlay {
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%) !important;
}

/* Fallback للمتصفحات التي لا تدعم الفيديو */
.hero-slide-professional:not(:has(.hero-video-background)) {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%) !important;
}

/* تأثير الإطار الذهبي المتوهج لكل سلايد - مُعطّل لعدم تغطية الفيديو */
.hero-slide-professional::before {
    content: '' !important;
    display: none !important;
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-gold-primary);
    z-index: -1;
    border-radius: 10px;
    opacity: 0;
    animation: none;
    display: none;
}

@keyframes framePulse {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(212, 170, 64, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 40px rgba(212, 170, 64, 0.8);
    }
}

/* طبقة التداخل الفخمة - معطلة لإظهار الفيديو */
.hero-slide-professional::after {
    display: none !important;
}

/* تأثيرات السلايدر المتقدمة - محسّنة للسلاسة */
.hero-slider-professional {
    position: relative;
}

.hero-slider-professional .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1) !important; /* ease-in-out محسّن */
}

/* تأثير ثلاثي الأبعاد للسلايدات - أكثر نعومة */
.swiper-slide {
    transform-style: preserve-3d;
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1) !important; /* أطول وأنعم */
    position: relative !important; /* مهم للفيديوهات */
    overflow: hidden !important;
    background: transparent !important;
}

.swiper-slide:not(.swiper-slide-active) {
    transform: scale(0.95) rotateY(-3deg); /* تأثير أخف */
    opacity: 0.8; /* شفافية أقل */
    filter: blur(1px); /* blur أخف */
}

.swiper-slide-active {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
    z-index: 10;
}

.hero-content-professional {
    position: relative !important;
    z-index: 2 !important;
}

/* عناوين الهيرو */
.hero-title-professional {
    background: var(--gradient-gold-shine) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    margin-bottom: 20px !important;
    animation: none !important;
    white-space: nowrap !important;
    max-width: 100% !important;
}

/* شعار الشركة */
.company-name-professional {
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
}

.company-logo-circle {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    box-shadow: none !important;
    animation: none !important;
}

.company-logo-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    transform: none !important;
    animation: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.company-name-text {
    color: var(--text-gray) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* وصف الهيرو */
.hero-description-professional {
    color: var(--gold-light) !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 30px !important;
    text-shadow: none !important;
}

/* الميزات الفخمة */
.hero-features-professional {
    margin-bottom: 40px !important;
}

.feature-item-professional {
    background: transparent !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.feature-item-professional:hover {
    background: rgba(212, 170, 64, 0.1) !important;
    color: var(--gold-primary) !important;
    transform: translateX(5px) !important;
    box-shadow: none !important;
}

.feature-item-professional i {
    color: var(--gold-primary) !important;
    font-size: 1.2rem !important;
    text-shadow: none !important;
}

/* الأزرار */
.btn-professional {
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.5px !important;
}

.btn-primary-professional {
    background: var(--gold-primary) !important;
    border: none !important;
    color: var(--luxury-black) !important;
    box-shadow: none !important;
}

.btn-primary-professional:hover {
    background: var(--gold-medium) !important;
    color: var(--luxury-black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-professional {
    background: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
}

.btn-outline-professional:hover {
    background: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(212, 170, 64, 0.3) !important;
}

/* إزالة تأثير الموجة */
.btn-professional::before {
    display: none;
}

/* الصور الفخمة */
.hero-image-container-professional {
    position: relative !important;
}

.image-frame-professional {
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    animation: none !important;
}

.image-frame-professional img {
    filter: none !important;
    transition: all 0.3s ease !important;
}

.image-frame-professional:hover img {
    filter: none !important;
    transform: scale(1.02) !important;
}

/* ===== SWIPER SLIDER CONTROLS - التحكم بالسلايدر ===== */

/* Container Settings */
.hero-slider-professional {
    pointer-events: auto !important;
    position: relative !important;
    isolation: isolate !important;
}

/* منع المحتوى النصي فقط من اعتراض النقرات */
.hero-slide-professional .hero-title-professional,
.hero-slide-professional .hero-description-professional,
.hero-slide-professional .company-name-professional,
.hero-slide-professional .hero-features-professional span,
.hero-slide-professional .hero-image-professional {
    pointer-events: none !important;
}

/* السماح بالتفاعل مع جميع الأزرار */
.hero-slide-professional a,
.hero-slide-professional button,
.hero-actions-professional,
.hero-actions-professional *,
.btn-professional,
#custom-next-btn,
#custom-prev-btn,
.custom-dot,
#custom-pagination {
    pointer-events: auto !important;
}

/* تحكم السلايدر */
.swiper-button-next-hero,
.swiper-button-prev-hero,
.swiper-button-next,
.swiper-button-prev {
    background: rgba(212, 170, 64, 0.9) !important;
    color: var(--luxury-black) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    position: absolute !important;
    top: 50% !important;
    margin-top: -24px !important;
    overflow: hidden !important;
    z-index: 100 !important;
    pointer-events: all !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-next-hero,
.swiper-button-next {
    left: 30px !important;
}

.swiper-button-prev-hero,
.swiper-button-prev {
    right: 30px !important;
}

.swiper-button-next-hero i,
.swiper-button-prev-hero i {
    pointer-events: none !important;
    font-size: 20px !important;
}

.swiper-button-next-hero::before,
.swiper-button-prev-hero::before,
.swiper-button-next::before,
.swiper-button-prev::before {
    display: none;
}

.swiper-button-next-hero:hover,
.swiper-button-prev-hero:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold-primary) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    animation: none !important;
}

/* مؤشرات السلايدر */
.swiper-pagination-hero,
.swiper-pagination {
    bottom: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 100 !important;
    pointer-events: none !important;
}

.swiper-pagination-hero .swiper-pagination-bullet,
.swiper-pagination-bullet {
    background: rgba(212, 170, 64, 0.3) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    pointer-events: all !important;
}

.swiper-pagination-hero .swiper-pagination-bullet::before,
.swiper-pagination-bullet::before {
    display: none;
}

.swiper-pagination-hero .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active {
    background: var(--gold-primary) !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
    box-shadow: none !important;
    animation: none !important;
}

.swiper-pagination-hero .swiper-pagination-bullet:hover,
.swiper-pagination-bullet:hover {
    transform: scale(1.1) !important;
    opacity: 1 !important;
    background: rgba(212, 170, 64, 0.6) !important;
    box-shadow: none !important;
}

/* شريط التقدم الفخم */
.luxury-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow: hidden;
}

.luxury-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gold-primary);
    transition: width 0.1s ease;
    position: relative;
}

.luxury-progress-fill::after {
    display: none;
}

/* ========== تأثيرات ========== */

/* إخفاء الجزيئات */
.luxury-particles {
    display: none !important;
}

/* مؤشر التمرير */
.luxury-scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* ========== استجابة الشاشات ========== */
@media (max-width: 768px) {
    .hero-title-professional {
        font-size: 2.5rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: none !important;
        max-width: 100% !important;
    }

    .company-logo-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    .company-logo-circle img {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .btn-professional {
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title-professional {
        font-size: 2rem !important;
    }

    .feature-item-professional {
        padding: 10px 15px !important;
    }
}

/* ========== تأثيرات بسيطة ========== */

/* إزالة البريق والتوهج */
.luxury-shimmer::before {
    display: none;
}

.luxury-glow-text {
    text-shadow: none;
    animation: none;
}

/* ==========================================
   الصفحات الداخلية - INNER PAGES STYLES
   ========================================== */

/* ===== Hero Sections للصفحات الداخلية ===== */
.about-hero-section,
.products-hero,
.gallery-hero,
.contact-hero-advanced,
.company-hero {
    background: linear-gradient(135deg, var(--luxury-black) 0%, var(--charcoal) 50%, var(--deep-black) 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 180px 0 30px !important;
    min-height: auto !important;
}

/* Companies Hero - Full Screen */
.companies-hero {
    background: #0a0a0a !important;
    position: relative !important;
    overflow: hidden !important;
    /* padding managed by companies.php inline styles only */
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.about-hero-section::before,
.companies-hero::before,
.products-hero::before,
.gallery-hero::before,
.contact-hero-advanced::before,
.company-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.about-hero-section .hero-overlay,
.companies-hero .hero-background,
.products-hero .hero-background,
.gallery-hero .hero-background {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(26,26,26,0.8) 100%) !important;
}

/* عناوين Hero */
.about-hero-section .hero-title,
.companies-hero .hero-title,
.products-hero .hero-title,
.gallery-hero .hero-title,
.contact-hero-advanced .hero-title,
.company-hero .hero-title,
.hero-title {
    color: var(--gold-primary) !important;
    -webkit-text-fill-color: var(--gold-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.hero-title .title-main,
.hero-title span {
    color: var(--gold-primary) !important;
    -webkit-text-fill-color: var(--gold-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Hero Subtitles */
.about-hero-section .hero-subtitle,
.companies-hero .hero-subtitle,
.companies-hero .hero-description,
.products-hero .hero-subtitle,
.gallery-hero .hero-subtitle,
.contact-hero-advanced .hero-subtitle,
.hero-subtitle {
    color: var(--gold-light) !important;
    opacity: 0.9 !important;
}

/* Hero Content Centering - All Pages */
.about-hero-section .container,
.products-hero .container,
.gallery-hero .container,
.contact-hero-advanced .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.about-hero-section .hero-content,
.products-hero .hero-content,
.gallery-hero .hero-content,
.contact-hero-advanced .hero-content {
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.about-hero-section .hero-badge,
.products-hero .hero-badge,
.gallery-hero .hero-badge,
.contact-hero-advanced .hero-badge {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.about-hero-section .hero-badge i,
.products-hero .hero-badge i,
.gallery-hero .hero-badge i,
.contact-hero-advanced .hero-badge i {
    font-size: 2.5rem !important;
}

/* Hero Badges */
.about-hero-section .hero-badge,
.contact-hero-advanced .hero-badge,
.companies-hero .hero-badge,
.hero-badge {
    background: var(--gradient-gold-primary) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.companies-hero .hero-badge i,
.about-hero-section .hero-badge i,
.contact-hero-advanced .hero-badge i,
.hero-badge i {
    color: #000000 !important;
}

/* Hero Features */
.about-hero-section .hero-features .feature-item,
.contact-hero-advanced .hero-features .feature-item,
.companies-hero .hero-features .feature-item,
.hero-features .feature-item {
    background: rgba(212, 170, 64, 0.08) !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
}

.hero-features .feature-item i {
    color: var(--gold-primary) !important;
}

.hero-features {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

/* ===== Sections العامة ===== */
section {
    background: var(--luxury-black) !important;
}

.section-padding,
.our-story,
.our-values,
.our-companies-globe,
.companies-section,
.products-section,
.gallery-section,
.contact-section-advanced {
    background: var(--luxury-black) !important;
    color: var(--gold-light) !important;
}

.bg-light {
    background: var(--deep-black) !important;
}

/* ===== Section Titles ===== */
.section-title h2,
.section-title .title,
h2, h3, h4 {
    color: var(--gold-primary) !important;
}

.section-title .subtitle,
.green-bg-subtitle,
.subtitle {
    background: rgba(212, 170, 64, 0.1) !important;
    color: var(--gold-primary) !important;
    padding: 6px 18px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
}

/* Section Title Layout - العنوان الفرعي في سطر منفصل */
.section-title {
    margin-bottom: 50px !important;
}

.section-title.text-center {
    text-align: center !important;
}

.section-title h2 {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

.section-title p {
    color: var(--gold-light) !important;
    opacity: 0.8 !important;
    margin-top: 15px !important;
}

/* Section Subtitle - العنوان الثانوي تحت البادج */
.section-subtitle {
    color: var(--gold-light) !important;
    font-size: 1.3rem !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    opacity: 0.95 !important;
}

.section-title .subtitle,
.section-header .subtitle {
    display: block !important;
    margin-bottom: 10px !important;
}

/* Section Padding تحسين */
.section-padding {
    padding: 100px 0 !important;
}

/* مسافات بين الأقسام */
section + section {
    margin-top: 0 !important;
}

/* البطاقات - مسافات محسنة */
.value-card,
.highlight-item,
.vision-card,
.mission-card {
    padding: 40px 30px !important;
    margin-bottom: 30px !important;
}

.values-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

/* ===== Cards - البطاقات ===== */
.company-card,
.product-card,
.value-card,
.service-card,
.stat-card,
.highlight-item,
.contact-card,
.vision-card,
.mission-card {
    background: var(--charcoal) !important;
    border: 1px solid rgba(212, 170, 64, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

/* Vision & Mission Cards */
.vision-card,
.mission-card {
    height: 100% !important;
}

.vision-card .card-icon,
.mission-card .card-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 25px !important;
    background: var(--gradient-gold-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vision-card .card-icon i,
.mission-card .card-icon i {
    font-size: 2rem !important;
    color: var(--luxury-black) !important;
}

.vision-card h3,
.mission-card h3 {
    margin-bottom: 20px !important;
}

.vision-points li,
.mission-points li {
    color: var(--gold-light) !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.vision-points li i,
.mission-points li i {
    color: var(--gold-primary) !important;
}

.company-card:hover,
.product-card:hover,
.value-card:hover,
.service-card:hover,
.highlight-item:hover {
    border-color: rgba(212, 170, 64, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-4px) !important;
}

.company-card .card-background,
.product-card .card-background {
    background: var(--charcoal) !important;
}

/* Card Titles */
.company-card h3,
.company-card h4,
.product-card h3,
.product-card h4,
.value-card h3,
.service-card h3,
.card-title {
    color: var(--gold-primary) !important;
}

/* Card Descriptions */
.company-card p,
.product-card p,
.value-card p,
.service-card p,
.card-description {
    color: var(--gold-light) !important;
    opacity: 0.85 !important;
}

/* Card Icons */
.company-card .card-icon,
.value-card .value-icon,
.service-card .service-icon,
.highlight-icon,
.card-icon {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
    box-shadow: var(--gold-shadow) !important;
}

.value-icon i,
.service-icon i,
.highlight-icon i,
.card-icon i {
    color: var(--luxury-black) !important;
}

/* Value Card Icon - تحسين */
.value-card .value-icon {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 25px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
}

/* Highlight Item Icon */
.highlight-item .highlight-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.highlight-item h4 {
    color: var(--gold-primary) !important;
    margin-bottom: 15px !important;
}

.highlight-item p {
    color: var(--gold-light) !important;
    opacity: 0.85 !important;
}

/* ===== Buttons - الأزرار ===== */
.btn,
.btn-primary,
.btn-success,
.btn-outline-primary,
.btn-outline-success,
.cta-btn,
.view-btn,
.submit-btn {
    background: var(--gold-primary) !important;
    border: none !important;
    color: var(--luxury-black) !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.cta-btn:hover,
.view-btn:hover,
.submit-btn:hover {
    background: var(--gold-medium) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline,
.btn-outline-primary,
.btn-outline-success {
    background: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
}

.btn-outline:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
    background: rgba(212, 170, 64, 0.1) !important;
    color: var(--gold-primary) !important;
}

/* ===== Forms - النماذج ===== */
.form-control,
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
    color: var(--gold-light) !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
.form-input:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 0 3px rgba(212, 170, 64, 0.15) !important;
    outline: none !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--gold-dark) !important;
    opacity: 0.7 !important;
}

label {
    color: var(--gold-light) !important;
    font-weight: 600 !important;
}

/* ===== Gallery - المعرض ===== */
.gallery-item,
.gallery-card {
    border: 2px solid var(--gold-dark) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
}

.gallery-item:hover,
.gallery-card:hover {
    border-color: rgba(212, 170, 64, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transform: scale(1.02) !important;
}

.gallery-filter-btn,
.filter-btn {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
    color: var(--gold-light) !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active,
.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* ===== Products - المنتجات ===== */
.product-card {
    background: var(--charcoal) !important;
}

.product-card .product-image {
    border-bottom: 2px solid var(--gold-dark) !important;
}

.product-card .product-title {
    color: var(--gold-primary) !important;
}

.product-card .product-price,
.product-price {
    color: var(--gold-primary) !important;
    font-weight: 800 !important;
}

.product-card .product-category,
.product-category {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
    padding: 5px 15px !important;
    border-radius: 15px !important;
    font-size: 0.85rem !important;
}

/* ===== Contact Page - صفحة الاتصال ===== */
.contact-info-card,
.contact-form-card {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
    border-radius: 20px !important;
    padding: 40px !important;
}

.contact-item {
    color: var(--gold-light) !important;
}

.contact-item i {
    color: var(--gold-primary) !important;
    background: rgba(212, 170, 64, 0.1) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== Company Page - صفحة الشركة ===== */
/* Note: .company-header excluded to preserve homepage styling */
.company-intro,
.company-services,
.company-stats,
.company-gallery {
    background: var(--luxury-black) !important;
}

/* Company page specific header (not homepage) */
.company-page .company-header {
    background: var(--luxury-black) !important;
}

.stat-item,
.stat-card {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
    border-radius: 20px !important;
    text-align: center !important;
    padding: 30px !important;
}

.stat-item:hover,
.stat-card:hover {
    border-color: rgba(212, 170, 64, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.stat-number,
.stat-value {
    color: var(--gold-primary) !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
}

.stat-label,
.stat-title {
    color: var(--gold-light) !important;
}

/* ===== About Page - صفحة من نحن ===== */
.story-content p,
.story-content .lead {
    color: var(--gold-light) !important;
}

.story-highlights .highlight-item {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
}

.story-highlights .highlight-item:hover {
    border-color: rgba(212, 170, 64, 0.3) !important;
    transform: translateX(5px) !important;
}

.story-highlights .highlight-item h4 {
    color: var(--gold-primary) !important;
}

.story-highlights .highlight-item p {
    color: var(--gold-light) !important;
}

/* Our Values */
.our-values .value-card {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
    text-align: center !important;
    padding: 40px 30px !important;
}

.our-values .value-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    border-radius: 50% !important;
}

/* Companies Circle */
.companies-circle-system .central-circle {
    background: var(--gradient-gold-primary) !important;
    border: 1px solid var(--gold-primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.companies-circle-system .central-circle h3 {
    color: var(--luxury-black) !important;
}

.companies-circle-system .company-circle {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
}

.companies-circle-system .company-circle:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* ===== Footer Adjustments ===== */
.footer {
    background: var(--deep-black) !important;
    border-top: 1px solid rgba(212, 170, 64, 0.2) !important;
}

.footer-widget h4 {
    color: var(--gold-primary) !important;
    border-bottom: none !important;
    padding-bottom: 15px !important;
}

.footer-links a {
    color: var(--gold-light) !important;
    transition: all 0.3s ease !important;
}

.footer-links a:hover {
    color: var(--gold-primary) !important;
    padding-right: 10px !important;
}

.footer-links a i {
    color: var(--gold-primary) !important;
}

.social-links .social-link {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
    color: var(--gold-light) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.social-links .social-link:hover {
    background: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
    transform: translateY(-3px) !important;
}

.footer-bottom {
    background: var(--luxury-black) !important;
    border-top: 1px solid var(--gold-dark) !important;
}

.footer-bottom p {
    color: var(--gold-light) !important;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: transparent !important;
}

.breadcrumb-item a {
    color: var(--gold-light) !important;
}

.breadcrumb-item.active {
    color: var(--gold-primary) !important;
}

/* ===== Pagination ===== */
.pagination .page-link {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
    color: var(--gold-light) !important;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--gradient-gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--luxury-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ===== Selection ===== */
::selection {
    background: var(--gold-primary);
    color: var(--luxury-black);
}

/* ===== Links ===== */
a {
    color: var(--gold-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* ===== Tables ===== */
table {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
}

th {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

td {
    color: var(--gold-light) !important;
    border-color: var(--gold-dark) !important;
}

/* ===== Alerts ===== */
.alert {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
    color: var(--gold-light) !important;
    border-radius: 15px !important;
}

.alert-success {
    border-color: var(--gold-primary) !important;
}

/* ===== Modals ===== */
.modal-content {
    background: var(--charcoal) !important;
    border: 2px solid var(--gold-dark) !important;
    border-radius: 20px !important;
}

.modal-header {
    border-bottom: 1px solid var(--gold-dark) !important;
}

.modal-header .modal-title {
    color: var(--gold-primary) !important;
}

.modal-header .btn-close {
    filter: invert(1) !important;
}

.modal-body {
    color: var(--gold-light) !important;
}

.modal-footer {
    border-top: 1px solid var(--gold-dark) !important;
}

/* ===== Loading Spinner ===== */
.spinner-border,
.spinner {
    color: var(--gold-primary) !important;
}

/* ===== Tooltips ===== */
.tooltip-inner {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* ===== Floating shapes ===== */
.floating-shape {
    background: var(--gradient-gold-primary) !important;
    opacity: 0.1 !important;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
    .about-hero-section,
    .products-hero,
    .gallery-hero,
    .contact-hero-advanced {
        padding: 140px 0 25px !important;
        min-height: auto !important;
    }

    .companies-hero {
        min-height: auto !important;
        /* padding managed by companies.php inline styles only */
    }

    .company-card,
    .product-card,
    .value-card {
        margin-bottom: 20px !important;
    }
}

/* ==========================================
   تجاوز قوي لجميع الألوان الخضراء
   OVERRIDE ALL GREEN COLORS
   ========================================== */

/* إزالة جميع التدرجات الخضراء */
*[style*="green"],
*[style*="#2ECC71"],
*[style*="#27AE60"],
*[style*="#1ABC9C"],
*[style*="#16A085"],
*[style*="#3498DB"],
.bg-success,
.text-success,
.btn-success,
.border-success {
    background: var(--gradient-gold-primary) !important;
    background-color: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* تجاوز الألوان في المتغيرات */
:root {
    --primary-color: var(--gold-primary) !important;
    --secondary-color: var(--gold-medium) !important;
    --accent-color: var(--gold-light) !important;
    --success-color: var(--gold-primary) !important;
    --text-dark: var(--gold-light) !important;
    --text-light: var(--gold-light) !important;
    --bg-light: var(--charcoal) !important;
    --bg-dark: var(--luxury-black) !important;
    --green-primary: var(--gold-primary) !important;
    --green-secondary: var(--gold-medium) !important;
    --green-accent: var(--gold-dark) !important;
}

/* تجاوز كل العناصر ذات الخلفية الخضراء */
.bg-primary,
.bg-gradient,
[class*="bg-green"],
[class*="green-bg"] {
    background: var(--gradient-gold-primary) !important;
}

/* Hero overlays */
.hero-overlay,
.hero-bg-gradient,
.hero-gradient,
.hero-pattern,
.hero-background {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.9) 100%) !important;
}

/* جميع الأيقونات */
.fa, .fas, .far, .fab, .fal, .fad,
i[class*="fa-"] {
    color: var(--gold-primary) !important;
}

/* استثناء الأيقونات داخل الأزرار الذهبية */
.btn-primary-professional i,
.btn i,
.btn-primary i,
.btn-success i,
[class*="btn-gold"] i,
.header-cta i,
.hero-badge i,
.value-icon i,
.service-icon i,
.highlight-icon i,
.company-logo-circle i {
    color: var(--luxury-black) !important;
}

/* النصوص في البطاقات */
.card,
.card-body,
.card-header,
.card-footer {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
    color: var(--gold-light) !important;
}

/* العناوين الفرعية */
.lead,
.text-muted,
.text-secondary {
    color: var(--gold-light) !important;
    opacity: 0.85 !important;
}

/* الفواصل */
hr,
.divider {
    border-color: var(--gold-dark) !important;
    background: var(--gold-dark) !important;
}

/* روابط التنقل */
.nav-link,
.navbar-nav .nav-link {
    color: var(--gold-light) !important;
}

.nav-link:hover,
.nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-primary) !important;
}

/* خلفيات الأقسام البديلة */
section:nth-child(even) {
    background: var(--deep-black) !important;
}

section:nth-child(odd) {
    background: var(--luxury-black) !important;
}

/* تنسيق العناصر التفاعلية */
.accordion-button,
.accordion-item {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
    color: var(--gold-light) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* Tabs */
.nav-tabs .nav-link {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
    color: var(--gold-light) !important;
}

.nav-tabs .nav-link.active {
    background: var(--gradient-gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* Progress bars */
.progress {
    background: var(--charcoal) !important;
}

.progress-bar {
    background: var(--gradient-gold-primary) !important;
}

/* Badges */
.badge {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* List groups */
.list-group-item {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
    color: var(--gold-light) !important;
}

.list-group-item:hover {
    background: var(--deep-black) !important;
}

/* Toast notifications */
.toast {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
}

.toast-header {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

.toast-body {
    color: var(--gold-light) !important;
}

/* Popovers */
.popover {
    background: var(--charcoal) !important;
    border-color: var(--gold-dark) !important;
}

.popover-header {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

.popover-body {
    color: var(--gold-light) !important;
}

/* Dropdown */
.dropdown-menu {
    background: var(--charcoal) !important;
    border: 1px solid var(--gold-dark) !important;
}

.dropdown-item {
    color: var(--gold-light) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gradient-gold-primary) !important;
    color: var(--luxury-black) !important;
}

/* Main content wrapper */
main,
.main-content,
#main-content {
    background: var(--luxury-black) !important;
}

/* Container backgrounds */
.container,
.container-fluid {
    background: transparent !important;
}

/* Grid backgrounds */
.row {
    background: transparent !important;
}

/* Column backgrounds */
[class*="col-"] {
    background: transparent !important;
}

/* ==========================================
   SPECIAL EXCEPTIONS FOR INDEX-LUXURY PAGE
   استثناءات خاصة للصفحة الرئيسية
   ========================================== */

/* Company name header - should remain gold gradient */
.company-name-header[style],
.company-card-uniform .company-name-header,
.company-card-new .company-name-header {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)) !important;
}

/* Company cards in homepage should respect inline styles */
.company-card-uniform[style],
.company-card-new[style] {
    background: var(--deep-black) !important;
}

/* Preserve slider functionality */
.hero-slider-professional .swiper-slide-active {
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
}

/* Companies section in homepage */
.companies-section .company-card-uniform,
.companies-section .company-card-new {
    background: var(--deep-black) !important;
    border: 1px solid rgba(212, 170, 64, 0.3) !important;
}

.company-name-title {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Company description text */
.company-card-uniform .company-description,
.company-card-new .company-description {
    color: var(--gold-light) !important;
}

/* ==========================================
   HERO SLIDER FIXES - إصلاحات السلايدر
   ========================================== */

/* Remove black backgrounds from hero slide elements - section keeps black as fallback */
.hero-slide-professional,
.hero-visual-professional,
.hero-image-container-professional {
    background: transparent !important;
}

/* Image frame should be transparent with gold border only */
.hero-slider-professional .image-frame-professional {
    background: linear-gradient(135deg,
        rgba(212, 170, 64, 0.25) 0%,
        rgba(212, 170, 64, 0.35) 50%,
        rgba(212, 170, 64, 0.25) 100%) !important;
}

/* Company name badge should be semi-transparent, not solid black */
.hero-slider-professional .company-name-professional {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

/* Hero title - solid gold color */
.hero-slider-professional .hero-title-professional,
.hero-section-professional .hero-title-professional,
.hero-slider-professional h1.hero-title-professional {
    color: var(--gold-primary) !important;
    -webkit-text-fill-color: var(--gold-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
}

/* Force ALL elements inside hero slider to have transparent background */
.hero-slider-professional *:not(.company-name-professional):not(.btn-professional):not(.swiper-pagination-bullet):not(.image-frame-professional):not(#custom-next-btn):not(#custom-prev-btn) {
    background: transparent !important;
    background-color: transparent !important;
}

/* Re-apply solid gold for title after the transparent rule */
.hero-slider-professional .hero-title-professional {
    color: var(--gold-primary) !important;
    -webkit-text-fill-color: var(--gold-primary) !important;
    background: none !important;
}

/* Only these elements should have backgrounds */
.hero-slider-professional .company-name-professional {
    background: rgba(0, 0, 0, 0.5) !important;
}

.hero-slider-professional .hero-features-professional span {
    background: transparent !important;
    border: none !important;
}

.hero-slider-professional .btn-professional {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)) !important;
}

/* Ensure row and columns are transparent */
.hero-slider-professional .row,
.hero-slider-professional .container,
.hero-slider-professional [class*="col-"],
.hero-slider-professional .hero-visual-professional,
.hero-slider-professional .hero-image-container-professional,
.hero-slider-professional .hero-content-professional {
    background: transparent !important;
    background-color: transparent !important;
}

/* Ensure swiper-slide itself is transparent */
.hero-slider-professional .swiper-slide {
    background: transparent !important;
    background-color: transparent !important;
}

/* Navigation arrows */
#custom-next-btn,
#custom-prev-btn {
    background: rgba(212, 170, 64, 0.9) !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    color: #000 !important;
}

/* ==========================================
   ABOUT PAGE OVERRIDES - تجاوزات صفحة من نحن
   ========================================== */

/* Force all about page sections to have dark background */
.about-hero-section,
.our-story,
.vision-mission,
.our-values,
.our-companies-globe,
.mission-vision,
.our-companies-about,
.why-choose,
.about-section,
section.section-padding,
section.bg-light {
    background: var(--luxury-black) !important;
}

/* Section title styling */
.section-title h2,
.about-content h2 {
    color: var(--gold-primary) !important;
}

/* Story content and all paragraph text */
.story-content p,
.story-content .lead,
.about-content .lead,
.vision-card p,
.mission-card p,
.value-card p,
.highlight-item p,
.mv-card p,
.why-card p,
.timeline-content p {
    color: var(--gold-light) !important;
}

/* Card styling */
.vision-card,
.mission-card,
.value-card,
.highlight-item,
.mv-card,
.why-card,
.timeline-content {
    background: var(--charcoal) !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
}

.vision-card:hover,
.mission-card:hover,
.value-card:hover,
.highlight-item:hover,
.mv-card:hover,
.why-card:hover,
.timeline-content:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 20px 40px rgba(212, 170, 64, 0.2) !important;
}

/* Card titles */
.vision-card h3,
.mission-card h3,
.value-card h3,
.highlight-item h4,
.mv-card h3,
.why-card h4,
.timeline-content h4 {
    color: var(--gold-primary) !important;
}

/* Feature items in about */
.feature-item,
.about-features .feature-item {
    background: var(--charcoal) !important;
    border: 1px solid rgba(212, 170, 64, 0.2) !important;
}

.feature-item .content h4,
.about-features .feature-item h4 {
    color: var(--gold-primary) !important;
}

.feature-item .content p,
.about-features .feature-item p {
    color: var(--gold-light) !important;
}

/* Icons */
.card-icon,
.value-icon,
.highlight-icon,
.mv-icon,
.why-icon {
    background: var(--gradient-gold-primary) !important;
    color: #000000 !important;
}

.card-icon i,
.value-icon i,
.highlight-icon i,
.mv-icon i,
.why-icon i {
    color: #000000 !important;
}

/* Subtitle badge */
.green-bg-subtitle,
.section-badge,
.subtitle {
    background: var(--gradient-gold-primary) !important;
    color: #000000 !important;
}

/* Lists in vision/mission */
.vision-points li,
.mission-points li {
    color: var(--gold-light) !important;
}

.vision-points i,
.mission-points i {
    color: var(--gold-primary) !important;
}

/* ==========================================
   PHASE 2: TYPOGRAPHY & SPACING
   تحسين الخطوط والمسافات
   ========================================== */

/* تسلسل الخطوط */
body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[dir="ltr"] body {
    font-family: 'Poppins', sans-serif;
}

/* العناوين */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3 {
    font-family: 'Montserrat', sans-serif !important;
}

h1 { font-size: 2.8rem !important; }
h2 { font-size: 2.2rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.2rem !important; }

/* النص العادي */
p {
    line-height: 1.8 !important;
    font-size: 1rem !important;
}

.lead {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
}

/* Section titles - عناوين الأقسام */
.section-title h2 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
}

.section-title p {
    font-size: 1.05rem !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* مسافة بين عنوان القسم والمحتوى */
.section-title {
    margin-bottom: 60px !important;
}

/* البطاقات - تصميم نظيف */
.company-card,
.product-card,
.value-card,
.service-card,
.stat-card,
.highlight-item,
.contact-card,
.vision-card,
.mission-card {
    border-radius: 12px !important;
}

/* Card padding محسّن */
.value-card,
.highlight-item,
.vision-card,
.mission-card {
    padding: 35px 30px !important;
}

/* ==========================================
   PHASE 7: PROFESSIONAL TOUCHES
   لمسات احترافية نهائية
   ========================================== */

/* Smooth transitions on all interactive elements */
a, button, .btn, input, textarea, select,
.card, .company-card, .product-card, .value-card,
.gallery-item, .nav-link {
    transition: all 0.3s ease !important;
}

/* Focus-visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--gold-primary) !important;
    outline-offset: 3px !important;
    box-shadow: none !important;
}

/* Button & card press effect */
.btn:active,
.btn-professional:active,
.header-cta:active,
.card:active,
[class*="-card"]:active {
    transform: scale(0.97) !important;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
