/* Main Site Header */
header.fixed-top {
    min-height: var(--header-height);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header.fixed-top.scrolled {
    min-height: 70px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #294674, #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: scale(1.1);
}

.nav-link {
    font-weight: 500;
    color: var(--foreground) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #294674;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 50%;
}

.navbar-toggler {
    color: var(--primary);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(226, 232, 240, 0.8);
    }

    .navbar-brand img {
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 35px !important;
    }
}