/* Combined CSS - Sun May 17 09:53:13 EDT 2026 */
/* ============================================
   language_switcher.css - مبدل اللغة (AR / EN)
   التصميم: عصري، بسيط، متجاوب
   ============================================ */

/* الحاوية الرئيسية لمبدل اللغة */
.language-switcher.letters-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* أزرار اللغة (AR / EN) */
.lang-letter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 38px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.25);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* تأثير الخلفية عند المرور */
.lang-letter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.lang-letter-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* حالة المرور (hover) */
.lang-letter-btn:hover {
    transform: translateY(-2px);
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold, #C9A84C);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
    color: #ffffff;
}

/* الحالة النشطة (اللغة الحالية) */
.lang-letter-btn.active {
    background: linear-gradient(135deg, #9A7A2E, #C9A84C);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
    color: #000000;
}

/* النص داخل الزر */
.lang-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* تلميح (tooltip) عند المرور */
.lang-letter-btn {
    position: relative;
}

.lang-letter-btn::after {
    content: attr(data-lang-name);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--gold, #C9A84C);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.lang-letter-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   التجاوب مع الشاشات المختلفة (Responsive)
   ============================================ */

/* للشاشات المتوسطة (تابلت) */
@media (max-width: 992px) {
    .language-switcher.letters-only {
        gap: 6px;
    }
    
    .lang-letter-btn {
        width: 45px;
        height: 34px;
        font-size: 13px;
    }
    
    .lang-text {
        font-size: 13px;
    }
}

/* للشاشات الصغيرة (جوال) */
@media (max-width: 768px) {
    .language-switcher.letters-only {
        gap: 5px;
    }
    
    .lang-letter-btn {
        width: 40px;
        height: 32px;
        font-size: 12px;
    }
    
    .lang-text {
        font-size: 12px;
    }
    
    /* إخفاء التلميح على الجوال لتجنب الفوضى */
    .lang-letter-btn::after {
        display: none;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .lang-letter-btn {
        width: 38px;
        height: 30px;
        font-size: 11px;
    }
    
    .lang-text {
        font-size: 11px;
    }
}

/* ============================================
   دعم RTL/LTR
   ============================================ */
html[dir="rtl"] .lang-letter-btn::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .lang-letter-btn:hover::after {
    transform: translateX(50%) translateY(0);
}

/* ============================================
   تأثيرات إضافية
   ============================================ */

/* نبض للزر النشط */
@keyframes letterPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(201, 168, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    }
}

.lang-letter-btn.active {
    animation: letterPulse 1.5s infinite;
}

/* تأثير عند النقر */
.lang-letter-btn:active {
    transform: scale(0.95);
}/* smart_popups.css - تنسيق النوافذ المنبثقة الذكية */

/* أنماط النوافذ المنبثقة */
.smart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.popup-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px 35px;
    text-align: center;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gold);
}

.popup-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* نافذة الخروج */
.offer-box {
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.discount-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px 18px;
}

.code-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(201, 168, 76, 0.15);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(201, 168, 76, 0.3);
}

/* نافذة الاشتراك */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.subscribe-form input {
    padding: 14px 18px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.subscribe-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.subscribe-form button {
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border: none;
    border-radius: 12px;
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

.privacy-note {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
}

.privacy-note i {
    color: var(--gold);
    margin-left: 5px;
}

/* نافذة العرض الخاص */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.countdown-timer .timer-box {
    background: var(--black);
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
}

.countdown-timer .timer-box span:first-child {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.countdown-timer .timer-box span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 10px;
}

.offer-cta:hover {
    transform: translateY(-2px);
    gap: 15px;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.popup-btn {
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Cairo', sans-serif;
}

.continue-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    width: 100%;
}

.continue-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Toast notifications */
.smart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--black-card);
    border-right: 4px solid var(--gold);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.smart-toast.show {
    transform: translateX(0);
}

.smart-toast.toast-error {
    border-right-color: #e74c3c;
}

.smart-toast.toast-error i {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .popup-content {
        padding: 30px 20px;
    }
    .popup-content h3 {
        font-size: 20px;
    }
    .code-text {
        font-size: 14px;
    }
    .countdown-timer {
        gap: 8px;
    }
    .countdown-timer .timer-box {
        padding: 6px 10px;
        min-width: 50px;
    }
    .countdown-timer .timer-box span:first-child {
        font-size: 18px;
    }
}/* ======================================== */
/* footer.css - تنسيقات الفوتر الموحدة */
/* ======================================== */

/* إعادة تعيين المتغيرات للتأكد */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --silver: #B8BEC7;
    --silver-light: #D8DDE5;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #FFFFFF;
    --text-muted: #888888;
}

/* تنسيق الفوتر الرئيسي */
footer {
    background: #050505;
    border-top: 1px solid var(--black-border);
    padding: 60px 0 0;
    margin-top: 0;
    width: 100%;
    direction: rtl;
}

/* شبكة الفوتر */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 40px;
}

/* القسم الخاص بالعلامة التجارية */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--black);
}

.footer-brand .logo-text h1 {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    margin: 0;
}

.footer-brand .logo-text p {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 0;
}

.footer-brand > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 15px 0 20px;
}

/* أزرار التواصل الاجتماعي */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* أعمدة الفوتر */
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* قسم شهادات الأمان */
.trust-section {
    border-top: 1px solid var(--black-border);
    padding: 30px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 40px;
    font-size: 13px;
    color: var(--silver);
    transition: all 0.3s;
}

.trust-badge i {
    color: var(--gold);
    font-size: 14px;
}

.trust-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* الفوتر السفلي */
.footer-bottom {
    border-top: 1px solid var(--black-border);
    padding: 20px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom .gold-text {
    color: var(--gold);
    font-weight: 700;
}

.footer-bottom i {
    color: var(--gold);
}

/* زر العودة للأعلى */
#scrollTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(201,168,76,0.3);
    transition: all 0.3s;
    z-index: 999;
}

#scrollTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

#scrollTop.visible {
    display: flex;
}

/* استجابة للشاشات */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .socials {
        justify-content: center;
    }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .trust-section {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* ======================================== */
/* دعم الاتجاهين RTL و LTR */
/* ======================================== */

/* الاتجاه من اليمين لليسار (العربية) */
html[dir="rtl"] .footer-col h4::after {
    right: 0;
    left: auto;
}

html[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .socials {
    flex-direction: row;
}

/* الاتجاه من اليسار لليمين (الإنجليزية) */
html[dir="ltr"] .footer-col h4::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-col ul li a:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-grid {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .footer-brand .logo {
    justify-content: flex-start;
}

html[dir="ltr"] .footer-col h4 {
    text-align: left;
}

html[dir="ltr"] .footer-col ul li a {
    text-align: left;
}

html[dir="ltr"] .trust-section {
    direction: ltr;
}

html[dir="ltr"] .footer-bottom {
    direction: ltr;
}

/* تعديل موقع زر العودة للأعلى حسب الاتجاه */
html[dir="rtl"] #scrollTop {
    left: 32px;
    right: auto;
}

html[dir="ltr"] #scrollTop {
    right: 32px;
    left: auto;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    html[dir="ltr"] .footer-brand .logo {
        justify-content: center;
    }
    
    html[dir="ltr"] .footer-col h4 {
        text-align: center;
    }
    
    html[dir="ltr"] .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    html[dir="ltr"] .footer-col ul li a {
        text-align: center;
        justify-content: center;
    }
}
/* تنسيق شعار الفوتر */
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* تنسيق الصورة + النص معاً */
.footer-logo-combined {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-combined .footer-logo-img {
    height: 45px;
}

.footer-logo-combined .logo-text h1 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--tx);
}

.footer-logo-combined .logo-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.7;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-logo-combined .logo-text {
        display: none; /* إخفاء النص في الموبايل */
    }
}/* style.css - التنسيقات العامة للموقع */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --silver: #B8BEC7;
    --silver-light: #D8DDE5;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #FFFFFF;
    --white-soft: #F5F3EF;
    --text-muted: #888888;
}

/* جميع التنسيقات الأخرى هنا... */
/* ===== إصلاح CLS للشعارات ===== */
.header-logo-img {
    width: 122px;
    height: 40px;
    display: block;
}

.loader-logo {
    width: 60px;
    height: 61px;
    display: block;
}

/* منع تغيير التخطيط أثناء التحميل */
img {
    aspect-ratio: attr(width) / attr(height);
    contain: strict;
}

/* ===== تحسينات الهيدر والقائمة ===== */

/* إخفاء النص لبرامج القراءة */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* زر القائمة في الهاتف */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.3);
    color: #C9A84C;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

/* القائمة المنبثقة */
.mobile-nav {
    display: none;
}

/* للهواتف */
@media (max-width: 768px) {
    /* إظهار زر القائمة */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* إخفاء القائمة العادية */
    header nav:not(.mobile-nav) {
        display: none !important;
    }
    
    /* إخفاء أزرار الهيدر */
    .header-btns .btn-outline,
    .header-btns .btn-primary,
    .header-btns .user-menu {
        display: none !important;
    }
    
    /* تنسيق القائمة المنبثقة */
    .mobile-nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #0A0A0A !important;
        border-bottom: 2px solid #C9A84C !important;
        padding: 20px !important;
        flex-direction: column !important;
        gap: 5px !important;
        z-index: 9999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }
    
    .mobile-nav.open {
        display: flex !important;
    }
    
    .mobile-nav a {
        padding: 12px 15px !important;
        color: #B8BEC7 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        transition: all 0.3s !important;
        text-align: center !important;
    }
    
    .mobile-nav a:hover {
        color: #C9A84C !important;
    }
    
    /* أزرار تسجيل الدخول داخل القائمة */
    .mobile-nav .auth-buttons {
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 2px solid rgba(201,168,76,0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .mobile-nav .btn-outline-mobile {
        background: transparent !important;
        border: 1px solid #C9A84C !important;
        color: #C9A84C !important;
        text-align: center !important;
        padding: 12px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
    }
    
    .mobile-nav .btn-primary-mobile {
        background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
        color: #0A0A0A !important;
        text-align: center !important;
        padding: 12px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
        border: none !important;
    }
    
    .mobile-nav .btn-outline-mobile:hover,
    .mobile-nav .btn-primary-mobile:hover {
        transform: translateY(-2px) !important;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    .mobile-nav a {
        padding: 10px !important;
        font-size: 14px !important;
    }
}

/* تنسيق القائمة المنبثقة المحسن */
.mobile-nav {
    background: #0A0A0A !important;
    padding: 20px !important;
}

.mobile-nav a {
    display: block !important;
    padding: 12px 15px !important;
    color: #B8BEC7 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    transition: all 0.3s !important;
    text-align: center !important;
}

.mobile-nav a:hover {
    color: #C9A84C !important;
    background: rgba(201,168,76,0.1) !important;
}

/* قسم الأزرار */
.mobile-nav .auth-buttons {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 2px solid rgba(201,168,76,0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mobile-nav .btn-outline-mobile {
    background: transparent !important;
    border: 1px solid #C9A84C !important;
    color: #C9A84C !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.mobile-nav .btn-primary-mobile {
    background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
    color: #0A0A0A !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    border: none !important;
}

.mobile-nav .btn-outline-mobile:hover,
.mobile-nav .btn-primary-mobile:hover {
    transform: translateY(-2px) !important;
}

/* للهواتف */
@media (max-width: 768px) {
    .mobile-nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }
}

/* ======================================== */
/* إخفاء النص مع بقائه لبرامج قراءة الشاشة */
/* ======================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* للتوافق مع المتصفحات القديمة */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ===== CSS مجمع - تم الدمج في Sun May 17 09:52:00 EDT 2026 ===== */
/* ============================================
   language_switcher.css - مبدل اللغة (AR / EN)
   التصميم: عصري، بسيط، متجاوب
   ============================================ */

/* الحاوية الرئيسية لمبدل اللغة */
.language-switcher.letters-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* أزرار اللغة (AR / EN) */
.lang-letter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 38px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.25);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* تأثير الخلفية عند المرور */
.lang-letter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.lang-letter-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* حالة المرور (hover) */
.lang-letter-btn:hover {
    transform: translateY(-2px);
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold, #C9A84C);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
    color: #ffffff;
}

/* الحالة النشطة (اللغة الحالية) */
.lang-letter-btn.active {
    background: linear-gradient(135deg, #9A7A2E, #C9A84C);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
    color: #000000;
}

/* النص داخل الزر */
.lang-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* تلميح (tooltip) عند المرور */
.lang-letter-btn {
    position: relative;
}

.lang-letter-btn::after {
    content: attr(data-lang-name);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--gold, #C9A84C);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.lang-letter-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   التجاوب مع الشاشات المختلفة (Responsive)
   ============================================ */

/* للشاشات المتوسطة (تابلت) */
@media (max-width: 992px) {
    .language-switcher.letters-only {
        gap: 6px;
    }
    
    .lang-letter-btn {
        width: 45px;
        height: 34px;
        font-size: 13px;
    }
    
    .lang-text {
        font-size: 13px;
    }
}

/* للشاشات الصغيرة (جوال) */
@media (max-width: 768px) {
    .language-switcher.letters-only {
        gap: 5px;
    }
    
    .lang-letter-btn {
        width: 40px;
        height: 32px;
        font-size: 12px;
    }
    
    .lang-text {
        font-size: 12px;
    }
    
    /* إخفاء التلميح على الجوال لتجنب الفوضى */
    .lang-letter-btn::after {
        display: none;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .lang-letter-btn {
        width: 38px;
        height: 30px;
        font-size: 11px;
    }
    
    .lang-text {
        font-size: 11px;
    }
}

/* ============================================
   دعم RTL/LTR
   ============================================ */
html[dir="rtl"] .lang-letter-btn::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .lang-letter-btn:hover::after {
    transform: translateX(50%) translateY(0);
}

/* ============================================
   تأثيرات إضافية
   ============================================ */

/* نبض للزر النشط */
@keyframes letterPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(201, 168, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    }
}

.lang-letter-btn.active {
    animation: letterPulse 1.5s infinite;
}

/* تأثير عند النقر */
.lang-letter-btn:active {
    transform: scale(0.95);
}
/* smart_popups.css - تنسيق النوافذ المنبثقة الذكية */

/* أنماط النوافذ المنبثقة */
.smart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.popup-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px 35px;
    text-align: center;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gold);
}

.popup-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* نافذة الخروج */
.offer-box {
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.discount-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px 18px;
}

.code-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(201, 168, 76, 0.15);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(201, 168, 76, 0.3);
}

/* نافذة الاشتراك */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.subscribe-form input {
    padding: 14px 18px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.subscribe-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.subscribe-form button {
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border: none;
    border-radius: 12px;
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

.privacy-note {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
}

.privacy-note i {
    color: var(--gold);
    margin-left: 5px;
}

/* نافذة العرض الخاص */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.countdown-timer .timer-box {
    background: var(--black);
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
}

.countdown-timer .timer-box span:first-child {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.countdown-timer .timer-box span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 10px;
}

.offer-cta:hover {
    transform: translateY(-2px);
    gap: 15px;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.popup-btn {
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Cairo', sans-serif;
}

.continue-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    width: 100%;
}

.continue-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Toast notifications */
.smart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--black-card);
    border-right: 4px solid var(--gold);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.smart-toast.show {
    transform: translateX(0);
}

.smart-toast.toast-error {
    border-right-color: #e74c3c;
}

.smart-toast.toast-error i {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .popup-content {
        padding: 30px 20px;
    }
    .popup-content h3 {
        font-size: 20px;
    }
    .code-text {
        font-size: 14px;
    }
    .countdown-timer {
        gap: 8px;
    }
    .countdown-timer .timer-box {
        padding: 6px 10px;
        min-width: 50px;
    }
    .countdown-timer .timer-box span:first-child {
        font-size: 18px;
    }
}
/* ======================================== */
/* footer.css - تنسيقات الفوتر الموحدة */
/* ======================================== */

/* إعادة تعيين المتغيرات للتأكد */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --silver: #B8BEC7;
    --silver-light: #D8DDE5;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #FFFFFF;
    --text-muted: #888888;
}

/* تنسيق الفوتر الرئيسي */
footer {
    background: #050505;
    border-top: 1px solid var(--black-border);
    padding: 60px 0 0;
    margin-top: 0;
    width: 100%;
    direction: rtl;
}

/* شبكة الفوتر */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 40px;
}

/* القسم الخاص بالعلامة التجارية */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--black);
}

.footer-brand .logo-text h1 {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    margin: 0;
}

.footer-brand .logo-text p {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 0;
}

.footer-brand > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 15px 0 20px;
}

/* أزرار التواصل الاجتماعي */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* أعمدة الفوتر */
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* قسم شهادات الأمان */
.trust-section {
    border-top: 1px solid var(--black-border);
    padding: 30px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 40px;
    font-size: 13px;
    color: var(--silver);
    transition: all 0.3s;
}

.trust-badge i {
    color: var(--gold);
    font-size: 14px;
}

.trust-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* الفوتر السفلي */
.footer-bottom {
    border-top: 1px solid var(--black-border);
    padding: 20px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom .gold-text {
    color: var(--gold);
    font-weight: 700;
}

.footer-bottom i {
    color: var(--gold);
}

/* زر العودة للأعلى */
#scrollTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(201,168,76,0.3);
    transition: all 0.3s;
    z-index: 999;
}

#scrollTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

#scrollTop.visible {
    display: flex;
}

/* استجابة للشاشات */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .socials {
        justify-content: center;
    }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .trust-section {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* ======================================== */
/* دعم الاتجاهين RTL و LTR */
/* ======================================== */

/* الاتجاه من اليمين لليسار (العربية) */
html[dir="rtl"] .footer-col h4::after {
    right: 0;
    left: auto;
}

html[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .socials {
    flex-direction: row;
}

/* الاتجاه من اليسار لليمين (الإنجليزية) */
html[dir="ltr"] .footer-col h4::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-col ul li a:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-grid {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .footer-brand .logo {
    justify-content: flex-start;
}

html[dir="ltr"] .footer-col h4 {
    text-align: left;
}

html[dir="ltr"] .footer-col ul li a {
    text-align: left;
}

html[dir="ltr"] .trust-section {
    direction: ltr;
}

html[dir="ltr"] .footer-bottom {
    direction: ltr;
}

/* تعديل موقع زر العودة للأعلى حسب الاتجاه */
html[dir="rtl"] #scrollTop {
    left: 32px;
    right: auto;
}

html[dir="ltr"] #scrollTop {
    right: 32px;
    left: auto;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    html[dir="ltr"] .footer-brand .logo {
        justify-content: center;
    }
    
    html[dir="ltr"] .footer-col h4 {
        text-align: center;
    }
    
    html[dir="ltr"] .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    html[dir="ltr"] .footer-col ul li a {
        text-align: center;
        justify-content: center;
    }
}
/* تنسيق شعار الفوتر */
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* تنسيق الصورة + النص معاً */
.footer-logo-combined {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-combined .footer-logo-img {
    height: 45px;
}

.footer-logo-combined .logo-text h1 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--tx);
}

.footer-logo-combined .logo-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.7;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-logo-combined .logo-text {
        display: none; /* إخفاء النص في الموبايل */
    }
}
/* style.css - التنسيقات العامة للموقع */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --silver: #B8BEC7;
    --silver-light: #D8DDE5;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #FFFFFF;
    --white-soft: #F5F3EF;
    --text-muted: #888888;
}

/* جميع التنسيقات الأخرى هنا... */
/* ===== إصلاح CLS للشعارات ===== */
.header-logo-img {
    width: 122px;
    height: 40px;
    display: block;
}

.loader-logo {
    width: 60px;
    height: 61px;
    display: block;
}

/* منع تغيير التخطيط أثناء التحميل */
img {
    aspect-ratio: attr(width) / attr(height);
    contain: strict;
}

/* ===== تحسينات الهيدر والقائمة ===== */

/* إخفاء النص لبرامج القراءة */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* زر القائمة في الهاتف */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.3);
    color: #C9A84C;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

/* القائمة المنبثقة */
.mobile-nav {
    display: none;
}

/* للهواتف */
@media (max-width: 768px) {
    /* إظهار زر القائمة */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* إخفاء القائمة العادية */
    header nav:not(.mobile-nav) {
        display: none !important;
    }
    
    /* إخفاء أزرار الهيدر */
    .header-btns .btn-outline,
    .header-btns .btn-primary,
    .header-btns .user-menu {
        display: none !important;
    }
    
    /* تنسيق القائمة المنبثقة */
    .mobile-nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #0A0A0A !important;
        border-bottom: 2px solid #C9A84C !important;
        padding: 20px !important;
        flex-direction: column !important;
        gap: 5px !important;
        z-index: 9999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }
    
    .mobile-nav.open {
        display: flex !important;
    }
    
    .mobile-nav a {
        padding: 12px 15px !important;
        color: #B8BEC7 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        transition: all 0.3s !important;
        text-align: center !important;
    }
    
    .mobile-nav a:hover {
        color: #C9A84C !important;
    }
    
    /* أزرار تسجيل الدخول داخل القائمة */
    .mobile-nav .auth-buttons {
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 2px solid rgba(201,168,76,0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .mobile-nav .btn-outline-mobile {
        background: transparent !important;
        border: 1px solid #C9A84C !important;
        color: #C9A84C !important;
        text-align: center !important;
        padding: 12px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
    }
    
    .mobile-nav .btn-primary-mobile {
        background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
        color: #0A0A0A !important;
        text-align: center !important;
        padding: 12px !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
        border: none !important;
    }
    
    .mobile-nav .btn-outline-mobile:hover,
    .mobile-nav .btn-primary-mobile:hover {
        transform: translateY(-2px) !important;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    .mobile-nav a {
        padding: 10px !important;
        font-size: 14px !important;
    }
}

/* تنسيق القائمة المنبثقة المحسن */
.mobile-nav {
    background: #0A0A0A !important;
    padding: 20px !important;
}

.mobile-nav a {
    display: block !important;
    padding: 12px 15px !important;
    color: #B8BEC7 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    transition: all 0.3s !important;
    text-align: center !important;
}

.mobile-nav a:hover {
    color: #C9A84C !important;
    background: rgba(201,168,76,0.1) !important;
}

/* قسم الأزرار */
.mobile-nav .auth-buttons {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 2px solid rgba(201,168,76,0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mobile-nav .btn-outline-mobile {
    background: transparent !important;
    border: 1px solid #C9A84C !important;
    color: #C9A84C !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.mobile-nav .btn-primary-mobile {
    background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
    color: #0A0A0A !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    border: none !important;
}

.mobile-nav .btn-outline-mobile:hover,
.mobile-nav .btn-primary-mobile:hover {
    transform: translateY(-2px) !important;
}

/* للهواتف */
@media (max-width: 768px) {
    .mobile-nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }
}

/* ======================================== */
/* إخفاء النص مع بقائه لبرامج قراءة الشاشة */
/* ======================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* للتوافق مع المتصفحات القديمة */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

        :root {
            --gold: #C9A84C;
            --gold-light: #E8C97A;
            --gold-dark: #9A7A2E;
            --silver: #B8BEC7;
            --silver-light: #D8DDE5;
            --black: #0A0A0A;
            --black-soft: #111111;
            --black-card: #161616;
            --black-border: #222222;
            --white: #FFFFFF;
            --white-soft: #F5F3EF;
            --text-muted: #888888;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Cairo', sans-serif;
            background: var(--black);
            color: var(--white);
            overflow-x: hidden;
        }

        /* ========== PRELOADER STYLES ========== */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--black);
            z-index: 99999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0.8s;
            opacity: 1;
            visibility: visible;
        }
        .preloader.hide {
            opacity: 0;
            visibility: hidden;
        }
        .loader-ring {
            position: relative;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            animation: spinRing 1.2s linear infinite;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .loader-ring::before {
            content: '';
            position: absolute;
            inset: 6px;
            background: var(--black);
            border-radius: 50%;
        }
        .loader-logo {
            position: relative;
            z-index: 2;
            font-size: 32px;
            color: var(--gold);
            animation: pulseGold 1.4s infinite;
        }
        @keyframes spinRing {
            0% { transform: rotate(0deg); box-shadow: 0 0 10px rgba(201,168,76,0.3); }
            100% { transform: rotate(360deg); box-shadow: 0 0 35px rgba(201,168,76,0.7); }
        }
        @keyframes pulseGold {
            0%,100% { opacity: 0.6; text-shadow: 0 0 5px rgba(201,168,76,0.2); transform: scale(0.95);}
            50% { opacity: 1; text-shadow: 0 0 20px rgba(201,168,76,0.6); transform: scale(1.05);}
        }
        .loader-text {
            margin-top: 30px;
            font-size: 14px;
            letter-spacing: 3px;
            font-weight: 600;
            background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: shimmer 1.8s linear infinite;
            background-size: 200% auto;
        }
        .loader-dots {
            display: flex;
            gap: 8px;
            margin-top: 20px;
        }
        .loader-dots span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--gold);
            animation: bounceDot 0.8s infinite alternate;
        }
        .loader-dots span:nth-child(2) { animation-delay: 0.2s; }
        .loader-dots span:nth-child(3) { animation-delay: 0.4s; }
        @keyframes bounceDot {
            from { transform: translateY(0); opacity: 0.4; }
            to { transform: translateY(-12px); opacity: 1; background: var(--gold-light); }
        }

        /* ===== GOLD GRADIENT ===== */
        .gold-gradient {
            background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
        }
        .gold-text {
            background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .silver-text {
            background: linear-gradient(135deg, #888 0%, var(--silver-light) 50%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
            opacity: 0.4;
        }

        /* Toast Notifications */
        .toast-notify {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--black-card);
            border-right: 4px solid var(--gold);
            padding: 14px 22px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            z-index: 10000;
            font-size: 14px;
            font-weight: 500;
            color: var(--white);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transform: translateX(400px);
            transition: transform 0.3s ease;
            font-family: 'Cairo', sans-serif;
        }
        .toast-notify.show {
            transform: translateX(0);
        }

        /* ===== HEADER STYLES ===== */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(10,10,10,0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(201,168,76,0.2);
            transition: all 0.3s ease;
        }
        .header-inner {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
        }
        .logo-icon {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--black);
            box-shadow: 0 0 20px rgba(201,168,76,0.3);
        }
        .logo-text h1 { font-size: 22px; font-weight: 900; color: var(--white); }
        .logo-text p { font-size: 11px; color: var(--gold); letter-spacing: 1px; }

        nav { display: flex; align-items: center; gap: 40px; }
        nav a {
            color: var(--silver);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: color 0.3s;
            position: relative;
        }
        nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 1px;
            background: var(--gold);
            transition: width 0.3s;
        }
        nav a:hover { color: var(--gold); }
        nav a:hover::after { width: 100%; }
        nav a.active { color: var(--gold); }

        .header-btns { display: flex; align-items: center; gap: 16px; }
        .btn-outline {
            padding: 10px 24px;
            border: 1px solid rgba(201,168,76,0.5);
            color: var(--gold);
            background: transparent;
            border-radius: 6px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }
        .btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }
        .btn-primary {
            padding: 10px 28px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            color: var(--black);
            border: none;
            border-radius: 6px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 4px 20px rgba(201,168,76,0.3);
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }

        /* تنسيق قائمة المستخدم */
        .user-menu {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--black);
            font-size: 16px;
        }
        .user-name {
            color: var(--white);
            font-size: 14px;
            font-weight: 600;
        }
        .online-dot {
            width: 10px;
            height: 10px;
            background: #2ecc71;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
            animation: pulseOnline 2s infinite;
        }
        @keyframes pulseOnline {
            0% { box-shadow: 0 0 0 0 rgba(46,204,113,0.4); }
            70% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
            100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
        }
        .user-dropdown {
            position: absolute;
            top: 55px;
            left: 0;
            background: var(--black-card);
            border: 1px solid var(--gold);
            border-radius: 12px;
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s;
            z-index: 100;
        }
        .user-menu:hover .user-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .user-dropdown a {
            display: block;
            padding: 12px 20px;
            color: var(--silver);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
            border-bottom: 1px solid var(--black-border);
        }
        .user-dropdown a:last-child {
            border-bottom: none;
        }
        .user-dropdown a:hover {
            background: rgba(201,168,76,0.1);
            color: var(--gold);
        }
        .logout-btn {
            color: #e74c3c !important;
        }
        .logout-btn:hover {
            background: rgba(231,76,60,0.1) !important;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: 1px solid var(--black-border);
            color: var(--silver);
            width: 40px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            align-items: center;
            justify-content: center;
        }
        .mobile-nav {
            display: none;
            flex-direction: column;
            background: var(--black-card);
            border-bottom: 1px solid var(--gold);
        }
        .mobile-nav.open { display: flex; }
        .mobile-nav a {
            padding: 16px 2rem;
            color: var(--silver);
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            border-bottom: 1px solid var(--black-border);
            transition: color 0.3s;
        }
        .mobile-nav a:hover { color: var(--gold); }

        /* ===== HERO ===== */
        #home {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
                        radial-gradient(ellipse at 20% 80%, rgba(184,190,199,0.04) 0%, transparent 60%);
        }
        .hero-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
        }
        .hero-content {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
            width: 100%;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            border: 1px solid rgba(201,168,76,0.3);
            border-radius: 50px;
            background: rgba(201,168,76,0.05);
            font-size: 13px;
            color: var(--gold);
            margin-bottom: 32px;
            animation: fadeInDown 0.8s ease forwards;
        }
        .hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }

        @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
        @keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
        @keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
        @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
        @keyframes shimmer { 0%{background-position:200% center} 100%{background-position:-200% center} }
        @keyframes rotateSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

        h2.hero-title {
            font-size: clamp(40px, 6vw, 76px);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 24px;
            animation: fadeInUp 0.8s 0.2s both;
        }
        .hero-title .line2 {
            display: block;
            background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 4s linear infinite, fadeInUp 0.8s 0.3s both;
        }
        .hero-desc {
            font-size: 18px;
            color: var(--silver);
            line-height: 1.9;
            max-width: 640px;
            margin-bottom: 40px;
            animation: fadeInUp 0.8s 0.4s both;
        }
        .hero-cta {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s 0.5s both;
        }
        .btn-hero-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 36px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            color: var(--black);
            border: none;
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            box-shadow: 0 8px 32px rgba(201,168,76,0.35);
        }
        .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(201,168,76,0.45); }
        .btn-hero-secondary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 36px;
            border: 1px solid rgba(184,190,199,0.3);
            color: var(--silver-light);
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }
        .btn-hero-secondary:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

        .hero-stats {
            display: flex;
            gap: 60px;
            margin-top: 72px;
            padding-top: 40px;
            border-top: 1px solid rgba(201,168,76,0.1);
            animation: fadeInUp 0.8s 0.7s both;
        }
        .stat-item { text-align: right; }
        .stat-num { font-size: 36px; font-weight: 900; color: var(--gold); line-height: 1; }
        .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.5px; }

        /* Floating orbs */
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            pointer-events: none;
        }
        .orb1 { width: 400px; height: 400px; background: rgba(201,168,76,0.07); top: 10%; right: -100px; animation: float 8s ease-in-out infinite; }
        .orb2 { width: 300px; height: 300px; background: rgba(184,190,199,0.04); bottom: 10%; left: -80px; animation: float 10s ease-in-out infinite reverse; }

        /* Hero decorative ring */
        .hero-ring {
            position: absolute;
            right: -80px;
            top: 50%;
            transform: translateY(-50%);
            width: 600px;
            height: 600px;
            border-radius: 50%;
            border: 1px solid rgba(201,168,76,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-ring::before {
            content: '';
            width: 450px;
            height: 450px;
            border-radius: 50%;
            border: 1px solid rgba(201,168,76,0.07);
            position: absolute;
        }

        /* ===== SECTION COMMONS ===== */
        section { padding: 100px 0; }
        .container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            border: 1px solid rgba(201,168,76,0.25);
            border-radius: 50px;
            font-size: 12px;
            color: var(--gold);
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 20px;
        }
        .section-title {
            font-size: clamp(32px, 4vw, 52px);
            font-weight: 900;
            margin-bottom: 16px;
            line-height: 1.15;
        }
        .section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; max-width: 560px; }

        /* ===== SERVICES ===== */
        #services { background: var(--black-soft); }
        .services-header { text-align: right; margin-bottom: 64px; }
        .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .service-card {
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 16px;
            padding: 40px 32px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: pointer;
        }
        .service-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.4s;
        }
        .service-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1); }
        .service-card:hover::before { opacity: 1; }
        .service-icon {
            width: 60px;
            height: 60px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
            border: 1px solid rgba(201,168,76,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--gold);
            margin-bottom: 28px;
            transition: all 0.4s;
        }
        .service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--black); border-color: transparent; box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
        .service-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
        .service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
        .service-link { display: flex; align-items: center; gap: 6px; color: var(--gold); font-size: 13px; font-weight: 600; transition: gap 0.3s; text-decoration: none; }
        .service-card:hover .service-link { gap: 10px; }
        .service-num {
            position: absolute;
            top: 20px;
            left: 24px;
            font-size: 48px;
            font-weight: 900;
            color: rgba(255,255,255,0.03);
            font-family: 'Playfair Display', serif;
        }

        /* ===== PRICING ===== */
        #pricing { background: var(--black); }
        .pricing-header { text-align: center; margin-bottom: 64px; }
        .pricing-header .section-desc { margin: 0 auto; text-align: center; }
        .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
        .pricing-card {
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 20px;
            padding: 44px 36px;
            position: relative;
            transition: all 0.4s;
        }
        .pricing-card:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(0,0,0,0.5); }
        .pricing-card.featured {
            border-color: rgba(201,168,76,0.5);
            background: linear-gradient(160deg, #1a1600 0%, var(--black-card) 40%);
            box-shadow: 0 0 60px rgba(201,168,76,0.1), inset 0 1px 0 rgba(201,168,76,0.2);
        }
        .pricing-card.featured:hover { box-shadow: 0 32px 80px rgba(201,168,76,0.15), inset 0 1px 0 rgba(201,168,76,0.3); }
        .featured-badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            padding: 6px 20px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            color: var(--black);
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
        }
        .plan-name { font-size: 15px; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
        .plan-price {
            display: flex;
            align-items: baseline;
            gap: 4px;
            margin-bottom: 8px;
        }
        .price-num { font-size: 52px; font-weight: 900; color: var(--white); line-height: 1; }
        .featured .price-num { color: var(--gold); }
        .price-currency { font-size: 20px; color: var(--text-muted); }
        .price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }
        .plan-divider { height: 1px; background: var(--black-border); margin-bottom: 32px; }
        .featured .plan-divider { background: rgba(201,168,76,0.15); }
        .plan-features { list-style: none; margin-bottom: 36px; space-y: 16px; }
        .plan-features li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: var(--silver);
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }
        .plan-features li i { color: var(--gold); font-size: 12px; flex-shrink: 0; }
        .plan-features li.disabled { opacity: 0.3; }
        .plan-features li.disabled i { color: var(--text-muted); }
        .btn-plan-outline {
            width: 100%;
            padding: 14px;
            border: 1px solid rgba(201,168,76,0.3);
            background: transparent;
            color: var(--gold);
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }
        .btn-plan-outline:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }
        .btn-plan-primary {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            color: var(--black);
            border: none;
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            box-shadow: 0 8px 28px rgba(201,168,76,0.35);
        }
        .btn-plan-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(201,168,76,0.45); }

        /* ===== FEATURES ===== */
        #features { background: var(--black-soft); }
        .features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .features-visual {
            position: relative;
            height: 500px;
        }
        .feat-card {
            position: absolute;
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 14px;
            padding: 20px 24px;
            display: flex;
            align-items: center;
            gap: 14px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
        }
        .feat-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
        .feat-card h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
        .feat-card p { font-size: 12px; color: var(--text-muted); }
        .feat-card-1 { top: 0; right: 0; width: 260px; animation: float 6s ease-in-out infinite; border-color: rgba(201,168,76,0.2); }
        .feat-card-2 { top: 140px; left: 0; width: 240px; animation: float 7s ease-in-out infinite 1s; }
        .feat-card-3 { top: 280px; right: 20px; width: 250px; animation: float 8s ease-in-out infinite 2s; }
        .feat-card-4 { bottom: 0; left: 40px; width: 230px; animation: float 6.5s ease-in-out infinite 0.5s; }
        .feat-card-5 { top: 160px; right: 200px; width: 200px; animation: float 7.5s ease-in-out infinite 1.5s; }
        .features-list { list-style: none; }
        .features-list li {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 24px 0;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .feat-icon-wrap {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
            border: 1px solid rgba(201,168,76,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--gold);
            flex-shrink: 0;
        }
        .feat-text h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
        .feat-text p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

        /* ===== TESTIMONIALS ===== */
        #testimonials { background: var(--black-soft); }
        .testimonials-header { text-align: center; margin-bottom: 64px; }
        .testimonials-header .section-desc { margin: 0 auto; text-align: center; }
        .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .testimonial-card {
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 16px;
            padding: 36px;
            position: relative;
            transition: all 0.4s;
        }
        .testimonial-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.2); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
        .quote-icon {
            font-size: 48px;
            color: rgba(201,168,76,0.15);
            font-family: 'Playfair Display', serif;
            line-height: 1;
            margin-bottom: 16px;
        }
        .testimonial-text { font-size: 15px; color: var(--silver); line-height: 1.9; margin-bottom: 28px; }
        .testimonial-author { display: flex; align-items: center; gap: 14px; }
        .author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            color: var(--black);
            flex-shrink: 0;
        }
        .author-name { font-size: 15px; font-weight: 700; color: var(--white); }
        .author-title { font-size: 12px; color: var(--text-muted); }
        .rating { display: flex; gap: 3px; margin-top: 6px; }
        .rating i { font-size: 11px; color: var(--gold); }
        .testimonial-card.featured-test { border-color: rgba(201,168,76,0.3); background: linear-gradient(160deg, #1a1600 0%, var(--black-card) 50%); }

        /* ===== FAQ ===== */
        #faq { background: var(--black); }
        .faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
        .faq-list { display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
        }
        .faq-item:hover { border-color: rgba(201,168,76,0.2); }
        .faq-item.open { border-color: rgba(201,168,76,0.3); }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            background: transparent;
            border: none;
            color: var(--white);
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            text-align: right;
            gap: 16px;
        }
        .faq-question .icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(201,168,76,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            font-size: 12px;
            flex-shrink: 0;
            transition: all 0.3s;
        }
        .faq-item.open .faq-question .icon { background: var(--gold); color: var(--black); transform: rotate(45deg); }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }
        .faq-item.open .faq-answer { max-height: 300px; }
        .faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.9; border-top: 1px solid var(--black-border); padding-top: 16px; margin: 0 24px; }

        /* ===== NEWSLETTER ===== */
        #newsletter {
            background: var(--black);
            position: relative;
            overflow: hidden;
        }
        .newsletter-bg {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
        }
        .newsletter-card {
            background: var(--black-card);
            border: 1px solid rgba(201,168,76,0.2);
            border-radius: 24px;
            padding: 72px;
            text-align: center;
            position: relative;
            box-shadow: 0 0 80px rgba(201,168,76,0.06), inset 0 1px 0 rgba(201,168,76,0.1);
        }
        .newsletter-card h2 { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
        .newsletter-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }
        .newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
        .newsletter-input {
            flex: 1;
            padding: 14px 20px;
            background: var(--black);
            border: 1px solid var(--black-border);
            border-radius: 8px;
            color: var(--white);
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            text-align: right;
            outline: none;
            transition: border-color 0.3s;
        }
        .newsletter-input:focus { border-color: rgba(201,168,76,0.4); }
        .newsletter-input::placeholder { color: var(--text-muted); }

        /* ===== CONTACT ===== */
        #contact { background: var(--black-soft); }
        .contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
        .contact-info h2 { font-size: 42px; font-weight: 900; margin-bottom: 20px; }
        .contact-info > p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 48px; }
        .contact-items { display: flex; flex-direction: column; gap: 28px; }
        .contact-item { display: flex; align-items: flex-start; gap: 16px; }
        .contact-item-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(201,168,76,0.08);
            border: 1px solid rgba(201,168,76,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--gold);
            flex-shrink: 0;
        }
        .contact-item h4 { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.5px; }
        .contact-item p { font-size: 15px; color: var(--white); font-weight: 600; }
        .socials { display: flex; gap: 12px; margin-top: 40px; }
        .social-btn {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            border: 1px solid var(--black-border);
            background: var(--black-card);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }
        .social-btn:hover { border-color: rgba(201,168,76,0.4); color: var(--gold); background: rgba(201,168,76,0.05); }
        .contact-form-card {
            background: var(--black-card);
            border: 1px solid var(--black-border);
            border-radius: 20px;
            padding: 48px;
        }
        .form-group { margin-bottom: 20px; }
        .form-input {
            width: 100%;
            padding: 14px 18px;
            background: var(--black);
            border: 1px solid var(--black-border);
            border-radius: 8px;
            color: var(--white);
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            text-align: right;
            outline: none;
            transition: border-color 0.3s;
        }
        .form-input:focus { border-color: rgba(201,168,76,0.4); }
        .form-input::placeholder { color: var(--text-muted); }
        textarea.form-input { resize: none; height: 120px; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1100px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
            .features-layout { grid-template-columns: 1fr; }
            .features-visual { display: none; }
        }
        @media (max-width: 768px) {
            nav { display: none; }
            .mobile-menu-btn { display: flex; }
            .services-grid { grid-template-columns: 1fr; }
            .pricing-grid { grid-template-columns: 1fr; }
            .testimonials-grid { grid-template-columns: 1fr; }
            .faq-layout { grid-template-columns: 1fr; }
            .contact-layout { grid-template-columns: 1fr; }
            .hero-stats { flex-wrap: wrap; gap: 32px; }
            .newsletter-card { padding: 40px 24px; }
            .newsletter-form { flex-direction: column; }
            .hero-ring { display: none; }
            .user-name { display: none; }
        }
/* Portfolio Section - تنسيق محسن مع صور */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
}

.portfolio-img {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1e1e1e, #0c0c0c);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.portfolio-item:hover .portfolio-img-main {
    transform: scale(1.08);
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(201,168,76,0.3));
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link:hover {
    transform: scale(1.05);
    gap: 12px;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
    transition: color 0.3s;
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--gold);
}

.portfolio-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.1);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.portfolio-tag i {
    font-size: 12px;
}

.portfolio-tag:hover {
    background: rgba(201,168,76,0.25);
    transform: translateY(-2px);
}

/* زر عرض المزيد */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border: none;
    border-radius: 40px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

/* للشاشات المتوسطة */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-img {
        height: 220px;
    }
}
/* تنسيق شعار الـ Header الجديد */
.header-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* إذا أردت صورة فقط بدون نص */
.logo-image-only {
    display: flex;
    align-items: center;
}

/* إذا أردت صورة + نص جنباً */
.logo-with-image {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-with-image .header-logo-img {
    height: 45px;
}

.logo-with-image .logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-with-image .logo-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .header-logo-img {
        height: 38px;
    }
    
    .logo-with-image .logo-text {
        display: none; /* إخفاء النص في الموبايل */
    }
}
/* ===== إمكانية الوصول - إخفاء النص مع بقائه لبرامج القراءة ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* تحسين التركيز للوحة المفاتيح */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== تحسين القائمة للهواتف ===== */
@media (max-width: 768px) {
    /* إظهار زر القائمة */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(201,168,76,0.3);
        color: var(--gold);
        width: 45px;
        height: 45px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 20px;
        transition: all 0.3s;
    }
    
    /* إخفاء القائمة العادية في الهاتف */
    header nav:not(.mobile-nav) {
        display: none !important;
    }
    
    /* تحسين ظهور الأزرار في الهاتف */
    .header-btns {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .btn-outline, .btn-primary {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* تحسين القائمة المنبثقة */
    .mobile-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--black-card);
        border-bottom: 1px solid var(--gold);
        padding: 20px;
        display: none;
        flex-direction: column;
        gap: 15px;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .mobile-nav.open {
        display: flex !important;
    }
    
    .mobile-nav a {
        padding: 12px 0;
        color: var(--silver);
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid var(--black-border);
    }
    
    /* تحسين زر تسجيل الدخول في الهاتف */
    .header-btns .btn-outline,
    .header-btns .btn-primary {
        display: inline-block;
    }
    
    /* إخفاء اسم المستخدم في الهاتف إذا كان مسجل */
    .user-name {
        display: none;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* للشاشات الصغيرة جداً (اقل من 480px) */
@media (max-width: 480px) {
    .header-btns .btn-outline,
    .header-btns .btn-primary {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* تحسين ظهور الأزرار في جميع الأجهزة */
.header-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-outline,
.btn-primary {
    white-space: nowrap;
}

/* للهواتف */
@media (max-width: 768px) {
    .header-btns {
        gap: 8px;
    }
    
    .btn-outline,
    .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* إخفاء القائمة المنبثقة في البداية */
.mobile-nav {
    display: none;
}

.mobile-nav.open {
    display: flex !important;
}

/* إظهار زر القائمة في الهاتف فقط */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
}

/* ======================================== */
/* إصلاح قائمة الهاتف - حل مباشر وقوي */
/* ======================================== */

/* إظهار زر القائمة في الهواتف فقط */
.mobile-menu-btn {
    display: none !important;
    background: transparent !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 8px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}

/* للشاشات الصغيرة (الهواتف) */
@media screen and (max-width: 768px) {
    /* إظهار زر القائمة */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* إخفاء القائمة العادية */
    header nav:not(.mobile-nav) {
        display: none !important;
    }
    
    /* تنسيق القائمة المنبثقة */
    .mobile-nav {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #111111 !important;
        border-bottom: 2px solid #C9A84C !important;
        padding: 20px !important;
        display: none !important;
        flex-direction: column !important;
        gap: 10px !important;
        z-index: 9999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }
    
    /* فتح القائمة */
    .mobile-nav.open {
        display: flex !important;
    }
    
    /* تنسيق الروابط في القائمة */
    .mobile-nav a {
        padding: 15px 0 !important;
        color: #B8BEC7 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        transition: color 0.3s !important;
        text-align: center !important;
    }
    
    .mobile-nav a:hover {
        color: #C9A84C !important;
    }
    
    /* تحسين أزرار تسجيل الدخول في الهاتف */
    .header-btns {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .btn-outline,
    .btn-primary {
        padding: 8px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    
    /* إخفاء اسم المستخدم في الهاتف */
    .user-name {
        display: none !important;
    }
    
    .user-avatar {
        width: 35px !important;
        height: 35px !important;
    }
}

/* للشاشات الصغيرة جداً */
@media screen and (max-width: 480px) {
    .btn-outline,
    .btn-primary {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .mobile-menu-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* إخفاء أزرار تسجيل الدخول والتسجيل من الهيدر في الهاتف */
@media (max-width: 768px) {
    .header-btns .btn-outline,
    .header-btns .btn-primary {
        display: none !important;
    }
    
    /* إظهار الأزرار داخل القائمة المنبثقة */
    .mobile-nav .auth-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(201,168,76,0.3) !important;
    }
    
    .mobile-nav .auth-buttons a {
        display: block !important;
        text-align: center !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
    }
    
    .mobile-nav .auth-buttons .btn-outline-mobile {
        background: transparent !important;
        border: 1px solid #C9A84C !important;
        color: #C9A84C !important;
    }
    
    .mobile-nav .auth-buttons .btn-primary-mobile {
        background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
        color: #0A0A0A !important;
        border: none !important;
    }
}

/* تنسيق القائمة المنبثقة بشكل كامل */
.mobile-nav {
    background: #0A0A0A !important;
    padding: 20px !important;
}

.mobile-nav a {
    display: block !important;
    padding: 12px 15px !important;
    color: #B8BEC7 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    transition: all 0.3s !important;
}

.mobile-nav a:hover {
    color: #C9A84C !important;
    padding-right: 20px !important;
}

/* تنسيق الأزرار داخل القائمة */
.mobile-nav .auth-buttons {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 2px solid rgba(201,168,76,0.3) !important;
}

.mobile-nav .auth-buttons a {
    text-align: center !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.mobile-nav .btn-outline-mobile {
    background: transparent !important;
    border: 1px solid #C9A84C !important;
    color: #C9A84C !important;
}

.mobile-nav .btn-primary-mobile {
    background: linear-gradient(135deg, #9A7A2E, #E8C97A) !important;
    color: #0A0A0A !important;
    border: none !important;
}

.mobile-nav .btn-outline-mobile:hover,
.mobile-nav .btn-primary-mobile:hover {
    transform: translateY(-2px) !important;
}

/* إخفاء أزرار الهيدر في الهواتف نهائياً */
@media (max-width: 768px) {
    .header-btns .btn-outline,
    .header-btns .btn-primary,
    .header-btns .user-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* إظهار زر القائمة فقط */
    .mobile-menu-btn {
        display: flex !important;
        margin-right: 0 !important;
    }
}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* ============================================
   language_switcher.css - مبدل اللغة (AR / EN)
   التصميم: عصري، بسيط، متجاوب
   ============================================ */

/* الحاوية الرئيسية لمبدل اللغة */
.language-switcher.letters-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* أزرار اللغة (AR / EN) */
.lang-letter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 38px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.25);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* تأثير الخلفية عند المرور */
.lang-letter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.lang-letter-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* حالة المرور (hover) */
.lang-letter-btn:hover {
    transform: translateY(-2px);
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold, #C9A84C);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
    color: #ffffff;
}

/* الحالة النشطة (اللغة الحالية) */
.lang-letter-btn.active {
    background: linear-gradient(135deg, #9A7A2E, #C9A84C);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
    color: #000000;
}

/* النص داخل الزر */
.lang-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* تلميح (tooltip) عند المرور */
.lang-letter-btn {
    position: relative;
}

.lang-letter-btn::after {
    content: attr(data-lang-name);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--gold, #C9A84C);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.lang-letter-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   التجاوب مع الشاشات المختلفة (Responsive)
   ============================================ */

/* للشاشات المتوسطة (تابلت) */
@media (max-width: 992px) {
    .language-switcher.letters-only {
        gap: 6px;
    }
    
    .lang-letter-btn {
        width: 45px;
        height: 34px;
        font-size: 13px;
    }
    
    .lang-text {
        font-size: 13px;
    }
}

/* للشاشات الصغيرة (جوال) */
@media (max-width: 768px) {
    .language-switcher.letters-only {
        gap: 5px;
    }
    
    .lang-letter-btn {
        width: 40px;
        height: 32px;
        font-size: 12px;
    }
    
    .lang-text {
        font-size: 12px;
    }
    
    /* إخفاء التلميح على الجوال لتجنب الفوضى */
    .lang-letter-btn::after {
        display: none;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .lang-letter-btn {
        width: 38px;
        height: 30px;
        font-size: 11px;
    }
    
    .lang-text {
        font-size: 11px;
    }
}

/* ============================================
   دعم RTL/LTR
   ============================================ */
html[dir="rtl"] .lang-letter-btn::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .lang-letter-btn:hover::after {
    transform: translateX(50%) translateY(0);
}

/* ============================================
   تأثيرات إضافية
   ============================================ */

/* نبض للزر النشط */
@keyframes letterPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(201, 168, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    }
}

.lang-letter-btn.active {
    animation: letterPulse 1.5s infinite;
}

/* تأثير عند النقر */
.lang-letter-btn:active {
    transform: scale(0.95);
}/* smart_popups.css - تنسيق النوافذ المنبثقة الذكية */

/* أنماط النوافذ المنبثقة */
.smart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.popup-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px 35px;
    text-align: center;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gold);
}

.popup-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* نافذة الخروج */
.offer-box {
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.discount-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px 18px;
}

.code-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(201, 168, 76, 0.15);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(201, 168, 76, 0.3);
}

/* نافذة الاشتراك */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.subscribe-form input {
    padding: 14px 18px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.subscribe-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.subscribe-form button {
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border: none;
    border-radius: 12px;
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

.privacy-note {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
}

.privacy-note i {
    color: var(--gold);
    margin-left: 5px;
}

/* نافذة العرض الخاص */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.countdown-timer .timer-box {
    background: var(--black);
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
}

.countdown-timer .timer-box span:first-child {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.countdown-timer .timer-box span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

.offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 10px;
}

.offer-cta:hover {
    transform: translateY(-2px);
    gap: 15px;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.popup-btn {
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Cairo', sans-serif;
}

.continue-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    width: 100%;
}

.continue-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Toast notifications */
.smart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--black-card);
    border-right: 4px solid var(--gold);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.smart-toast.show {
    transform: translateX(0);
}

.smart-toast.toast-error {
    border-right-color: #e74c3c;
}

.smart-toast.toast-error i {
    color: #e74c3c;
}

@media (max-width: 600px) {
    .popup-content {
        padding: 30px 20px;
    }
    .popup-content h3 {
        font-size: 20px;
    }
    .code-text {
        font-size: 14px;
    }
    .countdown-timer {
        gap: 8px;
    }
    .countdown-timer .timer-box {
        padding: 6px 10px;
        min-width: 50px;
    }
    .countdown-timer .timer-box span:first-child {
        font-size: 18px;
    }
}/* ======================================== */
/* footer.css - تنسيقات الفوتر الموحدة */
/* ======================================== */

/* إعادة تعيين المتغيرات للتأكد */
:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7A2E;
    --silver: #B8BEC7;
    --silver-light: #D8DDE5;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #FFFFFF;
    --text-muted: #888888;
}

/* تنسيق الفوتر الرئيسي */
footer {
    background: #050505;
    border-top: 1px solid var(--black-border);
    padding: 60px 0 0;
    margin-top: 0;
    width: 100%;
    direction: rtl;
}

/* شبكة الفوتر */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 40px;
}

/* القسم الخاص بالعلامة التجارية */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--black);
}

.footer-brand .logo-text h1 {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    margin: 0;
}

.footer-brand .logo-text p {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 0;
}

.footer-brand > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 15px 0 20px;
}

/* أزرار التواصل الاجتماعي */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* أعمدة الفوتر */
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

/* قسم شهادات الأمان */
.trust-section {
    border-top: 1px solid var(--black-border);
    padding: 30px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 40px;
    font-size: 13px;
    color: var(--silver);
    transition: all 0.3s;
}

.trust-badge i {
    color: var(--gold);
    font-size: 14px;
}

.trust-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* الفوتر السفلي */
.footer-bottom {
    border-top: 1px solid var(--black-border);
    padding: 20px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom .gold-text {
    color: var(--gold);
    font-weight: 700;
}

.footer-bottom i {
    color: var(--gold);
}

/* زر العودة للأعلى */
#scrollTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--black);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(201,168,76,0.3);
    transition: all 0.3s;
    z-index: 999;
}

#scrollTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

#scrollTop.visible {
    display: flex;
}

/* استجابة للشاشات */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .socials {
        justify-content: center;
    }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .trust-section {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* ======================================== */
/* دعم الاتجاهين RTL و LTR */
/* ======================================== */

/* الاتجاه من اليمين لليسار (العربية) */
html[dir="rtl"] .footer-col h4::after {
    right: 0;
    left: auto;
}

html[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .socials {
    flex-direction: row;
}

/* الاتجاه من اليسار لليمين (الإنجليزية) */
html[dir="ltr"] .footer-col h4::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-col ul li a:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-grid {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .footer-brand .logo {
    justify-content: flex-start;
}

html[dir="ltr"] .footer-col h4 {
    text-align: left;
}

html[dir="ltr"] .footer-col ul li a {
    text-align: left;
}

html[dir="ltr"] .trust-section {
    direction: ltr;
}

html[dir="ltr"] .footer-bottom {
    direction: ltr;
}

/* تعديل موقع زر العودة للأعلى حسب الاتجاه */
html[dir="rtl"] #scrollTop {
    left: 32px;
    right: auto;
}

html[dir="ltr"] #scrollTop {
    right: 32px;
    left: auto;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    html[dir="ltr"] .footer-brand .logo {
        justify-content: center;
    }
    
    html[dir="ltr"] .footer-col h4 {
        text-align: center;
    }
    
    html[dir="ltr"] .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    html[dir="ltr"] .footer-col ul li a {
        text-align: center;
        justify-content: center;
    }
}
/* تنسيق شعار الفوتر */
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* تنسيق الصورة + النص معاً */
.footer-logo-combined {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-combined .footer-logo-img {
    height: 45px;
}

.footer-logo-combined .logo-text h1 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--tx);
}

.footer-logo-combined .logo-text p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.7;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-logo-combined .logo-text {
        display: none; /* إخفاء النص في الموبايل */
    }
}
/* ===== ضمان ظهور الشعار ===== */
.header-logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 122px !important;
    height: 40px !important;
    max-width: none !important;
    position: relative !important;
    z-index: 100 !important;
}

.logo-image-only {
    display: inline-block !important;
    visibility: visible !important;
}

.logo {
    text-decoration: none !important;
}
.header-logo-img { display: block !important; width: 122px !important; height: 40px !important; }
.logo { display: inline-block !important; }

/* ===== ضمان ظهور شعار الفوتر ===== */
.footer-logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 122px !important;
    height: 40px !important;
    max-width: 100% !important;
}

.footer-logo {
    display: inline-block !important;
    visibility: visible !important;
}

/* تحسين Scroll Reveal - استخدام CSS بدلاً من JS */
.service-card, .pricing-card, .testimonial-card, .feat-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed, .pricing-card.revealed, 
.testimonial-card.revealed, .feat-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
