/* Reset وإعدادات عامة */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-black); /* الآن أبيض */
    color: #000000; /* تغيير النص الرئيسي إلى داكن */
    line-height: 1.6;
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* النافبار المعدل: لوجو شمال - لينكات يمين */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background-color: #000; /* خلفية سوداء ثابتة */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95); /* أغمق قليلاً عند التمرير */
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* تحسينات إضافية للنصوص */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 350 !important;
}

p, span, div, a, button, input, textarea, select, label {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 350 !important;
}

/* ضبط حجم الخط الأساسي */
body, html {
    font-size: 14px;
}
/* اللوجو على الشمال */
.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 16.5px;
    font-weight: 350;
    letter-spacing: 2px;
    color: var(--white);
    white-space: nowrap;
}

/* اللينكات على اليمين */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 350;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* زر القائمة للجوال */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    margin-left: 20px;
    z-index: 3000;
}

.bar {
    width: 25px;
    height: 1px;
    background-color: var(--white);
    transition: 0.3s;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
    }

    .navbar {
        padding: 20px 0;
    }

    .navbar.scrolled {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 80px; /* تأكد من أن هذا الرقم يتناسب مع ارتفاع navbar على الجوال */
        left: 0;
        width: 100%;
        height: auto;
        background-color: rgba(0, 0, 0, 0.95); /* خلفية سوداء مع شفافية */
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        z-index: 2500;
        transition: all 0.4s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
    }
}
/* Mobile */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        color: var(--white);
        font-size: 16px;
    }
}

/* Footer Styles */
.jda-footer {
    background: rgb(0, 0, 0);
    color: #fff;
    padding: 60px 70px 40px;
        font-family: 'Montserrat', sans-serif;

}

.footer-inner {
    max-width: 1800px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* LEFT */
.footer-left {
    display: flex;
    gap: 25px;
}

.footer-logo {
    background: #8b0000;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-details h3 {
    margin: 0;
    font-size: 14px;
}

.footer-role {
    font-size: 14px;
    color: #ddd;
}

.footer-contact {
    display: flex;
    gap: 50px;
    font-size: 14px;
}

.footer-contact a {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom-left {
    font-size: 12px;
    color: #ccc;
}

.footer-bottom-left a {
    color: #ccc;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.riba-title {
    font-size: 40px;
    letter-spacing: 4px;
}

.riba-sub {
    display: block;
    font-size: 14px;
}

.arb-title {
    font-size: 40px;
    font-weight: bold;
}

.arb-sub {
    display: block;
    font-size: 14px;
    color: #ddd;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        gap: 50px;
    }

    .footer-right {
        align-items: flex-start;
    }
}

.footer-images {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 15px;
}

.footer-images img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s ease;
}

.footer-images img:hover {
    transform: scale(1.05);
    border-color: var(--gold);
}