@import url("variables.css");

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
}

#btnMenus {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1a3a8a;
    display: flex;
    align-items: center;
}

.mobile-menu-wrapper {
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #F8F9FA;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-menu {
    position: absolute !important;
    right: 0;
    padding: 30px;
    min-width: 200px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 9999;
}

[x-cloak] {
    display: none !important;
}


.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .navbar-menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.navbar-logo a {
    color: var(--primary-color);
    font-size: 28px;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-link {
    font-size: 20px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: #0056b3;
}

.navbar-menu a.active {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #003d7a;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary:hover {
    background-color: #002a55;
}

@media (min-width: 768px) and (max-width: 1100px) {

    .navbar-menu-desktop,
    .navbar-menu-desktop ul {
        gap: 15px !important;
    }

    .nav-link {
        font-size: 16px;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }

    .navbar-logo a {
        font-size: 18px;
    }
}