/* Navbar text color swap on scroll */
.navbar-fixed:not(.scrolled) .asb-menu-item > a,
.navbar-fixed:not(.scrolled) .asb-dropdown-toggle,
.navbar-fixed:not(.scrolled) .asb-link,
.navbar-fixed:not(.scrolled) .asb-btn,
.navbar-fixed:not(.scrolled) .asb-divider,
.navbar-fixed:not(.scrolled) .asb-icon-btn {
    color: #fff !important;
}

.navbar-fixed.scrolled .asb-menu-item > a,
.navbar-fixed.scrolled .asb-dropdown-toggle,
.navbar-fixed.scrolled .asb-link,
.navbar-fixed.scrolled .asb-btn,
.navbar-fixed.scrolled .asb-divider,
.navbar-fixed.scrolled .asb-icon-btn {
    color: #053790 !important;
}
.asb-menu-item > a,
.asb-dropdown-toggle {
    font-weight: 300 !important;
}
/* Dropdown submenu styles */
.asb-dropdown {
    position: relative;
}

.asb-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.asb-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    padding: 0.5em 0;
    margin: 0;
    list-style: none;
    border-radius: 20px;
}

.asb-dropdown:hover > .asb-dropdown-menu,
.asb-dropdown:focus-within > .asb-dropdown-menu,
.asb-dropdown.open > .asb-dropdown-menu {
    display: block;
}

.asb-dropdown-menu li a {
    display: block;
    padding: 0.5em 1.2em;
    color: #183058;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.asb-dropdown-menu li a:hover {
    background: #f5f5f5;
    padding-left:30px;
}
/* ASB Custom Navbar Styles */
.asb-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem 1.2rem 2rem;
    min-height: 110px;
    background: transparent !important;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, box-shadow 0.3s, border-bottom 0.3s;
}

.navbar-fixed.scrolled {
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5;
}

.asb-navbar-container.scrolled {
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.asb-brand-text {
    display: inline-block;
    margin-left: 10px;
    line-height: 1.1;
}
.asb-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b11e23;
    letter-spacing: 0.02em;
}
.asb-subtitle {
    font-size: 0.8rem;
    color: #183058;
    font-weight: 500;
}
.asb-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.asb-link {
    color: #183058;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0 8px;
}
.asb-divider {
    color: #bdbdbd;
    font-size: 1.2rem;
    padding: 0 4px;
}
.asb-btn {
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin-left: 4px;
    transition: background 0.2s, color 0.2s;
}
.asb-btn-outline {
    background: #fff;
    color: #183058;
    border: 2px solid #183058;
}
.asb-btn-outline:hover {
    background: #f2f2f2;
}
.asb-btn-primary {
    background: #183058;
    color: #fff;
    border: 2px solid #183058;
}
.asb-btn-primary:hover {
    background: #2a3e6c;
}
.asb-icon-btn {
    background: #f7f7f7;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #183058;
    margin-left: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.asb-icon-btn:hover {
    background: #e5e5e5;
}
.asb-navbar-menu {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.2rem 2rem;
}
.asb-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
}
.asb-menu-item a {
    color: #183058;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
.asb-menu-item a:hover {
    color: #b11e23;
}
@media (max-width: 900px) {
    .asb-navbar-container, .asb-navbar-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }
    .asb-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}
