.elementor-4081 .elementor-element.elementor-element-cba3ebf{--display:flex;}/* Nekit custom element styles *//* المتغيرات */
:root {
    --primary: #0A1128;
    --gold: #D4AF37;
    --gold-light: #E4C580;
    --gold-dark: #9B7D23;
    --text-light: #FFFFFF;
}

/* --- إعدادات عامة للهيدر (ديسكتوب) --- */
.smart-header {
    font-family: 'Tajawal', sans-serif;
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; background-color: var(--primary, #0A1128);
    z-index: 1000; box-sizing: border-box;
    transition: transform 0.4s ease, background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.smart-header.is-sticky {
    background-color: #12284C; backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); padding: 1rem 5%;
}
.smart-header.is-hidden { transform: translateY(-100%); }

/* زر الهمبرجر (مخفي في الديسكتوب) */
.mobile-toggle { display: none; background: transparent; border: none; color: var(--text-light, #FFFFFF); font-size: 1.8rem; cursor: pointer; padding: 0; }

/* اللوجو */
.site-logo a {
    font-size: 1.8rem; font-weight: 800; color: var(--text-light, #FFFFFF);
    text-decoration: none; white-space: nowrap;
    background: linear-gradient(to left, var(--gold-light, #E4C580), var(--gold-dark, #9B7D23));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* القائمة العلوية (توسيط في الديسكتوب) */
.site-nav { margin: 0 auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; }
.nav-links li { position: relative; display: flex; align-items: center; }

/* الفاصل بين الكلمات (|) - يمين للعربي ويسار للإنجليزي */
.nav-links li:not(:last-child)::after {
    content: '|'; position: absolute; left: -1rem;
    color: var(--gold, #D4AF37); font-weight: 700; font-size: 1.2rem;
}
[dir="ltr"] .nav-links li:not(:last-child)::after { left: auto; right: -1rem; }

.nav-links a { color: var(--text-light, #FFFFFF); text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: color 0.3s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--gold, #D4AF37); }

/* أزرار الإغلاق والسوشيال ميديا (مخفية في الديسكتوب) */
.close-menu, .mobile-socials { display: none; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.6); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.menu-overlay.active { opacity: 1; visibility: visible; }

/* زر اللغة */
.lang-switch { display: flex; align-items: center; justify-content: flex-end; cursor: pointer; background: transparent; padding: 0; border: none; width: 32px; }
.lang-icon {
    display: inline-block; width: 32px !important; height: 32px !important; aspect-ratio: 1 / 1;
    background-color: #FFFFFF !important;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.lang-switch:hover .lang-icon { transform: scale(1.1); opacity: 0.85; }

/* =========================================
   تجاوب الموبايل (إصلاح وتوسيط دقيق)
   ========================================= */
@media (max-width: 992px) {
    /* إعادة توزيع الهيدر: همبرجر 32px - لوجو ممتد - لغة 32px */
    .smart-header { justify-content: space-between; }
    .mobile-toggle { display: block; width: 32px; }
    .site-logo { flex: 1; text-align: center; margin: 0 10px; } /* التوسيط المثالي */
    [dir="ltr"] .site-logo { text-align: center; }

    /* القائمة الجانبية (عربي RTL) */
    .site-nav {
        position: fixed; top: 0; right: -100%; left: auto;
        width: 300px; max-width: 80%; height: 100vh; margin: 0;
        background-color: var(--primary, #0A1128); flex-direction: column; align-items: flex-start;
        padding: 2rem; z-index: 999; transition: right 0.4s ease, left 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5); overflow-y: auto;
    }
    .site-nav.active { right: 0; }

    /* القائمة الجانبية (إنجليزي LTR) */
    [dir="ltr"] .site-nav { right: auto; left: -100%; box-shadow: 5px 0 20px rgba(0,0,0,0.5); }
    [dir="ltr"] .site-nav.active { left: 0; }

    .close-menu { display: block; background: none; border: none; color: #fff; font-size: 2rem; align-self: flex-end; cursor: pointer; margin-bottom: 2rem; }
    
    .nav-links { flex-direction: column; width: 100%; gap: 1.5rem; align-items: flex-start; }
    .nav-links li:not(:last-child)::after { display: none; }
    .nav-links a { font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; padding-bottom: 10px; display: block; }

    /* السوشيال ميديا في الموبايل */
    .mobile-socials { display: flex; gap: 1.5rem; margin-top: 3rem; justify-content: center; width: 100%; padding-top: 2rem; border-top: 1px solid rgba(212, 175, 55, 0.3); }
    .mobile-socials img { width: 35px; height: 35px; object-fit: contain; transition: transform 0.3s ease; }
    .mobile-socials img:hover { transform: scale(1.1); }
}/* Nekit custom element styles ends here */