:root {

    /* MAIN BRAND */
    --navy: #0d3b2e;
    /* màu phụ mới */
    --navy-2: #14513f;

    --blue: #c89a2b;
    /* màu chính mới */
    --green: #d9b45a;

    /* SUPPORT */
    --cyan: #e3c777;
    --red: #8d6d1f;

    --text: #1f2937;
    --muted: #6b7280;

    --light: #f4f4f2;

    --border: #efe6cf;

    --white: #ffffff;

}
/* NAVBAR — white bar per design */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eef2f7;
    padding: 14px 0;
    box-shadow: 0 4px 24px rgba(13, 59, 46, .06);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy) !important;
    letter-spacing: -0.5px;
}

.brand-dot {
    color: var(--blue);
}

.brand-name {
    color: var(--blue);
    font-weight: 800;
}

.nav-link {
    color: #1e293b !important;
    font-weight: 600;
    margin: 0 8px;
    font-size: 15px;
    padding: 6px 4px 12px !important;
}

.nav-link:hover {
    color: var(--blue) !important;
}

.navbar-cta-desktop {
    flex-shrink: 0;
}

.btn-main {
    background: linear-gradient(135deg,
            #c89a2b,
            #d9b45a);
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    box-shadow: 0 14px 30px rgba(200, 154, 43, .28);
    transition: .3s;
}

.btn-main:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(200, 154, 43, .38);
}

.btn-hero-primary {
    background: linear-gradient(135deg, #c89a2b, #d4a84a);
    color: #fff;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    transition: .3s;
    white-space: normal;
    text-align: center;
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.text-gold {
    color: var(--green);
    font-weight: 800;
}

.text-quote {
    color: var(--green);
    font-weight: 700;
    font-style: italic;
}

@media(max-width:576px) {
    .navbar-brand {
        font-size: 20px;
    }
}

@media(max-width:991px) {
    .navbar-collapse {
        background: #fff;
        border: 1px solid #eef2f7;
        border-radius: 14px;
        margin-top: 12px;
        padding: 8px 12px 14px;
        box-shadow: 0 12px 32px rgba(13, 59, 46, .08);
    }

    .navbar-cta-desktop {
        display: none !important;
    }
}

.navbar-nav {
    margin-right: 24px;
    /* chỉnh 16–40px tùy ý */
}

/* active menu */
.active-menu {
    color: var(--blue) !important;
    font-weight: 700;
    position: relative;
}

.nav-link.active-menu:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 3px;
    background: var(--blue);
    border-radius: 20px;
    animation: line .3s;
}

@keyframes line {

    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }

}

/* FOR SUB NAVBAR */
.emi-dropdown {
    border: 0;
    border-radius: 18px;
    padding: 10px;
    min-width: 230px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.emi-dropdown .dropdown-item {
    border-radius: 12px;
    padding: 10px 14px;
    color: #0d3b2e;
    font-weight: 700;
    font-size: 14px;
}

.emi-dropdown .dropdown-item:hover,
.emi-dropdown .dropdown-item.active-menu {
    background: #fff6df;
    color: #c89a2b;
}

.nav-link.active-menu:not(.dropdown-toggle)::after {
    content: "";
}

.nav-link.dropdown-toggle.active-menu {
    position: relative;
}

.nav-link.dropdown-toggle.active-menu::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 18px;
    bottom: 4px;
    height: 3px;
    background: var(--blue);
    border-radius: 20px;
    animation: line .3s;
}

.nav-link.dropdown-toggle.active-menu::after {
    display: inline-block !important;
    margin-left: .4em;
    vertical-align: .15em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* Desktop: hover parent nav thì show dropdown */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown:hover > .nav-link {
        color: var(--blue) !important;
    }

    .navbar .dropdown-toggle::after {
        transition: transform .2s;
    }

    .navbar .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 991px) {
    .emi-dropdown {
        box-shadow: none;
        border-radius: 12px;
        padding: 6px;
        margin-top: 4px;
        background: #f4f4f2;
    }

    .emi-dropdown .dropdown-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    .nav-link.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .emi-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .2s ease;
    }

    .navbar .dropdown:hover > .emi-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-parent-link {
    font-weight: 800;
    color: var(--blue) !important;
}

.dropdown-parent-link:hover {
    background: #fff6df;
}

.emi-dropdown .dropdown-item:hover,
.emi-dropdown .dropdown-item.active-menu {
    background: #fff6df !important;
    color: #c89a2b !important;
}