/* ===== CRITICAL CSS ===== */

/* Reset + font */
html,
body {
    margin: 0px;
    padding: 0px;
    font-family: 'Open Sans', sans-serif !important;
    background-color: #f8f9fa !important;
    font-size: 14px;
}

/* Link cơ bản */
a {
    text-decoration: none !important;
   
}

/* ===== NAVBAR / MENU CƠ BẢN ===== */
.navbar {
    padding: 0px !important;
    background: #004cbd;
}

.nav-link,.dropdown-item {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 40px !important;
    /* padding-left: 15px !important;
    padding-right: 15px !important; */
    padding:10px 15px !important;
    border-bottom: 2px solid transparent;
}
/* ,
.dropdown-item.active */
.navbar-nav > .nav-item > .nav-link.active , .navbar-nav > li >.nav-link.active{
    color: #fff !important;
    border-bottom: 2px solid #fff;
}

/* Dropdown cơ bản (không hover nâng cao) */
.dropdown-menu {
    border-radius: 0 !important;
    border: unset !important;
    background: #004cbd !important;
    min-width: 200px !important;
}

.dropdown-menu .nav-link,.dropdown-menu .dropdown-item {
    color: #fff;
    padding: 10px 10px !important;
    line-height: 20px !important;
}

/* ===== HERO / SLIDER ===== */
#heroCarousel {
    background: #0b2a6f;
}

#heroCarousel .carousel-item img {
    width: 100%;
    object-fit: cover;
    height: 35vh;
    /* mobile */
}

/* Tablet */
@media (min-width: 577px) {
    #heroCarousel .carousel-item img {
        height: 50vh;
    }
}

/* Desktop */
@media (min-width: 992px) {
    #heroCarousel .carousel-item img {
        height: 70vh;
    }
}

/* Caption – tránh CLS */
.carousel-caption {
    display: none;
}

@media (min-width: 768px) {
    .carousel-caption {
        display: block;
    }
}

/* Tránh layout shift ảnh */
img {
    max-width: 100%;
    height: auto;
}