.form-control:focus {
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
}

.topbar {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 0;
}

.logo-text {
    color: var(--primary-color);
    padding-left: 3rem;
}

.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: #3c5f91;
}

.topbar .user-name {
    text-decoration: none;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
}

.text-left-menu {
    color: #3c5f91;
}

.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;
}

.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;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.main-header-new {
    background-image: url('../images/nenpng.png');
}

.qr-lookup-banner {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: absolute;
    /* bottom: -40px; */
    width: 80%;
    max-width: 650px;
}

.qr-lookup-banner h3 {
    margin-bottom: 1rem;
    color: #333;
}

.qr-lookup-banner input[type="text"] {
    padding: 0.5rem 1rem;
    border-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #ccc;
    width: 60%;
    max-width: 400px;
}

.qr-lookup-banner button {
    padding: 0.5rem 1.2rem;
    margin-left: 0.5rem;
    border: none;
    background-color: #006400;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.qr-lookup-banner button:hover {
    background-color: #004d00;
}

.banner {
    height: 495px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    text-align: center;
}

.banner .home-intro {
    height: 500px;
    width: 100%;
}

.banner .image-banner {
    max-height: 500px;
    width: 100%;
}

.section {
    padding: 3rem 2rem 2rem;
    max-width: 1300px;
    margin: auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00529B;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: #f0f8ff;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-border {
    border-bottom: 2px solid #d3d3d3;
    border-top: 3px solid rgba(56, 146, 229, 1);
}

@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);
}

.content-wrapper .home-intro {
    z-index: 2;
    height: 38rem;
}

.main-header-new .main_menu .header-nav-main .menu-item .dropdown {
    position: relative;
}

.main-header-new .main_menu .header-nav-main .menu-item .nav-top-link {
    color: #fff;
}

.main-header-new .main_menu .header-nav-main .menu-item .nav-top-link:hover {
    color: var(--primary-color);
}

.main-header-new .main_menu .header-nav-main .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-new .main_menu .header-nav-main .dropdown-menu .dropdown-item {
    color: var(--primary-color);
    padding: 8px 15px;
}

.main-header-new .main_menu .header-nav-main .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

.main-header-new .main_menu .header-nav-main .dropdown:hover>.dropdown-menu {
    display: block;
}

.main-header-new .main_menu .header-nav-main .dropdown-menu:hover {
    display: block;
}

.main-header-new .navbar .navbar-image {
    width: 100px;
}

@media (max-width: 767.98px) {
    .qr-lookup-banner {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        position: absolute;
        width: 90%;
        max-width: 600px;
    }

    .qr-lookup-banner .form-check {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .main-header-new .offcanvas-header .offcanvas-header-image {
        width: 60px;
        padding: 5px;
    }

    .main-header-new .offcanvas-header .subtitle {
        font-weight: 600;
    }

    .logo-text {
        color: var(--primary-color);
        padding-left: 0.5rem;
    }

    .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: 90px;
    object-fit: cover;
    margin-right: 5px;
}

@media (max-width: 767.98px) {
    .main-header .navbar a>img {
        width: 60px;
        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: 10px;
    margin-right: 10px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0;
}

.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 .title {
    font-size: 14px; 
    letter-spacing: 0.3px;
}
.logo-text .subtitle {
    font-size: 20px; 
    letter-spacing: 0.3px;
} */

.logo-text .title {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
    color: var(--primary-color);
}

.logo-text .subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.vmenu {
    height: 50px;
    background-color: rgba(255, 255, 255, 0);
}

.borderbot {
    border-bottom: 10px solid #255392;
}

ul.header-nav-main li.menu-item.active {
    border-radius: 10px 0px 0px 0px;
    position: relative;
    background: linear-gradient(0deg, rgba(39, 89, 155, 1) 22%, rgba(49, 113, 197, 1) 100%);
}

ul.header-nav-main li.menu-item.active::before {
    content: "";
    background-image: url(../images/menuactive.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: right center;
    position: absolute;
    top: 0;
    right: -35px;
    width: 60px;
    height: 100%;
    z-index: 1;
}

ul.header-nav-main li.menu-item {
    /* padding-left: 3rem !important; */
    position: relative;
    background: linear-gradient(0deg, rgba(56, 146, 229, 1) 22%, rgba(56, 146, 229, 1) 100%);
}

ul.header-nav-main li.menu-item::before {
    content: "";
    background-image: url(../images/menunotac.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: right center;
    position: absolute;
    top: 0;
    right: -44px;
    width: 60px;
    height: 100%;
    z-index: 1;
}

.main_menu ul li a {
    color: #3e4144;
    font-family: MerriweatherBold;
    font-size: 14.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 600;
}

.main_menu .header-nav-main a i {
    font-size: 22px;
    color: #b7d1ec;
}

.main_menu ul li a {
    font-size: 13.5px;
}

@media (max-width: 767.98px) {

    .logo-text .title {
        font-size: 8px;
    }

    .logo-text .subtitle {
        font-size: 12px;
    }

    .content-wrapper .home-intro {
        height: 20rem;
        margin-top: 0px;
    }
}

@media (min-width: 992px) {}

.menu-icon {
    position: fixed;
    top: 30%;
    z-index: 99;
}

.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;
}

.sd-banner {
    background-image: url(../../images/header-content.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}

.sd-banner a {
    height: 100%;
    border-radius: 10px;
    border: 3px solid white;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    overflow: hidden;
}

.sd-banner a.box-ntd {
    background: url(../../images/box_nguoi_tieu_dung.jpg) no-repeat center;
}

.sd-banner a.box-nsx {
    background: url(../../images/box_nha_san_xuat.jpg) no-repeat center;
}

.sd-banner a.box-nkd {
    background: url(../../images/box_shop_kinh_doanh.jpg) no-repeat center;
}

.sd-banner h5 {
    font-size: 15px;
}

.sd-banner a>div {
    width: 100%;
    height: 100%;
    background-color: rgba(89, 162, 69, 0.3);
}

.sd-banner .icon {
    min-width: 70px;
    min-height: 70px;
    background-image: url(../../images/nguoi_tieu_dung.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
}

.sd-banner .icon.icon-2 {
    background-image: url(../../images/nha_san_xuat.png);
}

.sd-banner .icon.icon-3 {
    background-image: url(../../images/shop_khinh_doanh.png);
}

.sd-banner .info div {
    background-color: #59a245;
    border-radius: 10px;
    width: 90%;
    line-height: 1.5;
    padding: 8px 7px;
}

.sd-detail .box-left {
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
    padding: 20px 30px;
    background-color: #ffffff;
}

.sd-detail .box-left i.bi-geo-alt,
.sd-detail .box-right i.bi-geo-alt {
    width: 35px;
    height: 35px;
    background: url(../../images/point_vitri.png) no-repeat center;
    background-size: contain;
}

.sd-detail .box-right {
    border: 1px solid #5aa32a;
    -webkit-box-shadow: 0 0 4px 0 #5aa32a;
    box-shadow: 0 0 4px 0 #5aa32a;
    background-color: #ffffff;
}

.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;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.main-header-new {
    background-image: url('../images/nenpng.png');
}

.qr-lookup-banner {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: absolute;
    /* bottom: -40px; */
    width: 80%;
    max-width: 650px;
}

.qr-lookup-banner h3 {
    margin-bottom: 1rem;
    color: #333;
}

.qr-lookup-banner input[type="text"] {
    padding: 0.5rem 1rem;
    border-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #ccc;
    width: 60%;
    max-width: 400px;
}

.qr-lookup-banner button {
    padding: 0.5rem 1.2rem;
    margin-left: 0.5rem;
    border: none;
    background-color: #006400;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.qr-lookup-banner button:hover {
    background-color: #004d00;
}

.banner {
    height: 495px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    text-align: center;
}

.banner .home-intro {
    height: 500px;
    width: 100%;
}

.banner .image-banner {
    max-height: 500px;
    width: 100%;
}

.section {
    padding: 3rem 2rem 2rem;
    max-width: 1300px;
    margin: auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00529B;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: #f0f8ff;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-border {
    border-bottom: 2px solid #d3d3d3;
    border-top: 3px solid rgba(56, 146, 229, 1);
}
.danhmucmenu .user-name-main a:hover {
    color: var(--primary-color);
}

.danhmucmenu .user-name-main .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    top: 100%;
    left: 0;
    z-index: 1;
}
.danhmucmenu .dropdown:hover>.dropdown-menu {
 display: block;
 z-index: 99;
}