.form-control:focus {
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
}

.color-primary {
    color: var(--primary-color) !important;
}

.topbar {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar .space-empty {
    height: 70px;
}
.topbar a, .topbar .dropdown {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}
.topbar a:first-child {
    margin-left: 0;
}
.topbar a:hover {
    text-decoration: underline;
}
.topbar .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0; 
}
.topbar .dropdown:hover .dropdown-menu {
    display: block;
}
.topbar .dropdown-menu a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
}
.topbar .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #009345;
}
.topbar .user-name {
    text-decoration: none;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
}

.topbar .dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 0;
    height: 0;
    border-left: 10px solid transparent; 
    border-right: 10px solid transparent; 
    border-bottom: 10px solid #fff; 
    z-index: 1001;
}

.topbar img {
    height: 14px;
}

.main-header {
    background: transparent;
    margin-top: -60px;
    z-index: 3;
}
@media (max-width: 767.98px) {
    .main-header {
        margin-top: -70px;
    }
}

.main-header .navbar {
    font-size: 15px;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    z-index: 1;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.1), 0 2px 1px -1px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767.98px) {
    .offcanvas .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .offcanvas .nav-item {
        width: 100%;
    }

    .offcanvas .nav-item.dropdown .d-flex {
        align-items: center;
        justify-content: space-between;
    }

    .offcanvas .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        color: #333;
    }

    .offcanvas .dropdown-toggle {
        padding: 0.75rem;
        width: 40px; /* Vùng click đủ lớn */
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* Tắt mũi tên mặc định */
    .offcanvas .dropdown-toggle::after {
        display: none;
    }

    /* Thêm icon Font Awesome */
    .offcanvas .dropdown-toggle::before {
        content: "\f107";
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        font-size: 1rem;
        color: #333;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .offcanvas .dropdown-menu {
        position: static !important;
        width: 100%;
        border: none;
        background: #f8f9fa;
        padding: 0.5rem 1.5rem;
        display: none;
    }

    .offcanvas .dropdown-menu.show {
        display: block;
    }

    .offcanvas .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: #555;
    }

    .offcanvas .dropdown-item:hover {
        background: #e9ecef;
        color: #000;
    }
}
@media (max-width: 767.98px) {
    .main-header .navbar {
        border-radius: 0;
    }
}

.main-header .navbar a > img {
    width: 55px; 
    object-fit: cover;
    margin-right: 5px; 
}

@media (max-width: 767.98px) {
    .main-header .navbar a > img {
        width: 55px;
        margin-right: 2px;
    }
}

.main-header .navbar .search-bar input[name="s"]{
    font-size: 12px;
    min-width: 230px;
}

.main-header .navbar .search-bar .btn {
    background-color: var(--primary-color);
    font-size: 12px;
}

.main-header .navbar-nav .nav-link {
    color: #333;
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0;
    font-size: 14px;
}
.main-header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}
.main-header .navbar-nav .dropdown {
    position: relative;
}

@media (min-width: 768px) {
    .main-header .navbar-nav > li:not(:first-child):before {
        content: "";
        position: absolute;
        height: 40%;
        width: 1px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 992px) {
    .main-header .navbar-nav .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        min-width: 200px;
        top: 100%;
        left: 0;
    }
    .main-header .navbar-nav .dropdown-menu .dropdown-item {
        color: #333;
        padding: 8px 15px;
    }
    .main-header .navbar-nav .dropdown-menu .dropdown-item:hover {
        background-color: #f8f9fa;
    }
    .main-header .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block; 
    }
    .main-header .navbar-nav .dropdown-menu:hover {
        display: block; 
    }
}

@media (max-width: 767.98px) {
    .main-header .navbar-collapse {
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0px;
        padding: 5px;
    }
}

.logo-text {
    color: var(--primary-color);
}
.logo-text .title {
    font-size: 12px; 
}
.logo-text .subtitle {
    font-size: 12px; 
}

@media (max-width: 767.98px) {
    .logo-text .title,
    .logo-text .subtitle {
        font-size: 10px;
    }
}

.content-wrapper .home-intro {
    z-index: 2;
}

@media (min-width: 992px) {
    .content-wrapper .home-intro {
        margin-top: -38px;
    }
}

.content-wrapper .home-intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Lớp phủ tối để nội dung nổi bật */
    z-index: 1;
}

.content-wrapper .home-intro .container {
    z-index: 3; /* Nội dung nằm trên slider */
}

.menu-icon {
    position: fixed;
    left: 20px;
    top: 200px;
    z-index: 10000;
}

@media (max-width: 767.98px) {
    .menu-icon {
        display: none !important;
    }   
}

.menu-icon-anchor {
    color: #026daf !important;
    text-decoration: none !important;
}

.menu-icon-anchor div {
    margin: 2px 0px;
}

.left-icon1 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-09b.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon1:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-01.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.menu-icon-anchor:hover > div > span {
    display: block !important;
}

.left-icon2 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-10.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon2:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-02.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon3 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-11.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon3:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-03.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon4 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-13.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon4:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-04.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon5 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-14.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon5:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-07.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon6 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-15.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon6:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-06.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon7 {
    height: 50px;
    width: 50px;
    background-image: url(../../images/icon/icon-14.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon7:hover {
    height: 50px;
    width: 200px;
    background-image: url(../../images/icon/icon-07.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.left-icon-content1 {
    position: relative;
    top: 15px;
    left: 60px;
    color: #026daf !important;
    font-size: 12px;
    display: none;
    text-decoration: none !important;
}

.left-icon-content2 {
    position: relative;
    top: 10px;
    left: 60px;
    color: #026daf !important;
    font-size: 12px;
    line-height: 1.3;
    display: none;
    text-decoration: none !important;
}
