/* ==========================================================================
   Header 
   ========================================================================== */
.header {
    background-color: var(--navy); 
    color: var(--white); 
    padding: 15px 0;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo-img { 
    max-height: 45px; 
    transition: 0.3s; 
}

.nav-links { 
    display: flex; 
    gap: 20px; 
    align-items: center;
}

.nav-links a { 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: #fff; 
    position: relative; 
    padding-bottom: 5px; 
}

.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: 0%; 
    height: 2px;
    background: var(--gold); 
    transition: 0.3s;
}

.nav-links a:hover::after, 
.nav-links a.active::after { 
    width: 100%; 
}

.nav-links a:hover, 
.nav-links a.active { 
    color: var(--gold); 
}

.mobile-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: white; 
    font-size: 26px; /* تكبير أيقونة القائمة قليلاً */
    cursor: pointer; 
}

/* ==========================================================================
   Responsive (Mobile Settings) - Header
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links {
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%;
        background: var(--navy); 
        flex-direction: column; 
        align-items: center; /* توسيط الروابط */
        justify-content: center;
        padding: 25px 0; /* مساحة علوية وسفلية */
        gap: 20px; /* مسافة متساوية بين الروابط */
        border-top: 1px solid rgba(255,255,255,0.1); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { 
        display: flex; 
    }
    
    .nav-links a {
        font-size: 1.1rem; /* تكبير الخط قليلاً لسهولة الضغط في الجوال */
        width: 100%;
        text-align: center; /* توسيط النص */
        padding: 10px 0;
    }

    .nav-links a::after {
        /* إخفاء الخط السفلي في الجوال واستبداله بتغيير اللون فقط */
        display: none;
    }

    .mobile-toggle { 
        display: block; 
    }
}