﻿@media (max-width: 576px) {
    .widget-area.col-md-3 {
        /* width: 320px;*/
        flex: none;
        max-width: none;
    }

    .navbar .navbar-toggler {
        padding: 5px 10px;
        margin-top: 15px;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .login-user a {
        font-size: 9.5px;
    }

    .navbar .navbar-toggler {
        margin-top: 0px;
    }

    .navbar-toggler {
        top: 0px;
    }

    nav.navbar.navbar-expand-lg.navbar-light.p-0 {
        margin: 5px 0;
    }

    .d-flex .search input {
        display: none;
    }

    .ms-3.login-user {
        margin-right: 20px;
    }

    .navbar-header-custom {
        padding: 0;
        margin: 0;
    }

    .navbar {
        --bs-navbar-brand-margin-end: 0rem;
    }

    .navbar-nav {
        top: 50px;
        overflow: hidden;
    }

    .login-user .btn-login i {
        margin-bottom: 0px;
    }

    .language-toggle {
        transform: translateX(-19px);
    }

    .lag-bttn {
        transform: translateX(-14px);
    }

    .icon-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .icon-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icon-item:last-child {
        grid-column: 1 / -1;
    }

    .icon-img {
        width: 35px;
        height: auto;
        text-align: center;
        margin-bottom: 10px;
    }

    .icon-item span {
        font-size: 14px;
    }

    .v-title {
        font-size: 25px;
        color: azure;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .v-desc {
        font-size: 16px;
        padding-top: 32px;
        margin: 0 auto 25px;
        color: #fff;
    }

    .card-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .card-grid::-webkit-scrollbar {
            display: none;
        }

    .card-home {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start;
        border-radius: 16px;
    }

    /* Card nhỏ gọn lại */
    .card-img {
        height: 180px;
        object-fit: cover;
    }

    .card-body {
        padding: 16px;
    }

    .card-h {
        font-size: 18px;
    }

    .card-p {
        font-size: 14px;
        line-height: 1.5;
    }
    .training-container {
        flex-direction: column;
        gap: 20px;
    }


    .training-left-img {
        width: 100%;
    }

        .training-left-img img {
            width: 100%;
            height: auto;
            max-height: 300px;
            object-fit: contain;
        }


    .training-right {
        width: 100%;
    }


   /* .center-title {
        font-size: 25px;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.2;
        font-weight: 900 !important;
    }*/
    .center-title {
        color: #EF4136;
        text-align: center;
        font-size: 25px;
       
        margin-bottom: 30px;
        line-height: 1.2;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }
    .bold-qt {
        font-weight: 900;
    }
    .program-box {
        flex-direction: row;
        padding: 15px;
        border-radius: 16px;
        margin-left: 13px;
        margin-right: 13px;
    }

    .p-icon {
        font-size: 22px;
        margin-right: 15px;
        margin-top: 3px;
    }


    .p-content h4 {
        font-size: 18px;
    }

    .p-content li {
        font-size: 14px;
    }

    .sc-title {
        color: #0056b3;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.2;
        text-align: justify;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .card-grid-new {
        display: flex !important;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .card-grid-new::-webkit-scrollbar {
            display: none;
        }

    .card-new {
        flex: 0 0 95%;
        max-width: 95%;
        scroll-snap-align: start;
        background: #fff;
        border-radius: 8px;
    }

    .card-img-new {
        height: 200px;
        object-fit: cover;
    }

    .news-header h3 {
        font-size: 22px;
    }

    .news-header a {
        font-size: 14px !important;
    }

    .intro-text p {
        text-align: justify;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
        color: #000;
    }

    .center-desc {
        /* max-width: 800px; */
        margin: 0 auto 40px;
        font-size: 16px;
        color: #000;
        line-height: 1.6;
        text-align: justify;
    }

    .news-header a {
        font-size: 14px !important;
        transform: translateX(-17px);
    }

    .text-dk {
        color: #EF4136;
        margin: 30px auto;
        font-weight: 700;
        font-size: 23px;
        text-align: center;
    }

    .footer2 {
        padding-left: 10px;
        padding-top: 20px;
    }

    .footer3 .list-unstyled {
        line-height: 22px;
        margin-left: 13.5px;
    }

    .navigation .navbar .navbar-nav li a {
        padding-top: 23px;
    }

    .navbar li.has-sub > a:before,
    .navbar li.has-sub > a:after {
        display: none !important;
        content: none !important;
    }
    .btn-register {
        background: linear-gradient(90deg, #0056b3, #0099ff);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 20px;
        font-weight: 700;
        /* text-transform: uppercase; */
        box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
        display: inline-block;
    }

    .intro-text h2 {
        color: #0066b3;
        font-size: 20px;
        font-weight: 700;
        padding-bottom: 0px;
    }
    .layer-about .title {
        color: #EF4136;
        text-align: left;
        font-weight: 900;
        text-transform: uppercase;
        font-size: 25px;
        padding-bottom: 10px;
    }
    .card-h {
        color: #0066b3;
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 20px;
    }
}
@media (min-width: 368px) and (max-width: 768px) {
    #btnSearchBox {
        display: block;
    }
}


@media (max-width: 767px) {
    div.location_con .com_info dl dd {
        width: calc(100% - 130px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .section .container-fluid {
        padding-left: 0;
        display: flex;
        justify-content: space-around;
        padding-right: 0;
    }
    .content_item_maps .item-left {
        width: calc(25% - 10px);
    }
    .map .content_item_maps {
        flex-wrap: wrap;
        justify-content: start;
        gap: 10px;
    }
    .tab {
        padding: 3px 10px;
    }
    .login-user {
        min-width: 40px;
    }
        /*    .navbar-collapse.show {
        z-index: 1;
        background-color: #04509E;
    }
    .navigation nav .navbar-nav {
        height: auto;
    }*/
    .header-nav-icon {
        display: block;
        font-size: 18px;
        margin-top: 3px;
    }
    .col-content .box-news h3 {
        min-height:auto;
    }
    .navbar ul ul li.has-sub > a:after {
        position: absolute;
        top: 22px;
        right: 17px;
        width: 8px;
        height: 2px;
        display: block;
        background: #9d9d9d;
        content: ""
    }
    .navbar-nav .submenu-button {
        width:10%;
    }
}
@media (max-width: 1024px) and (min-width: 768px) {
    .map .content_item_maps {
        flex-wrap: wrap;
        justify-content: start;
        gap: 10px;
    }
    #address-branch{
        padding:0;
    }
    .navbar-nav {
        top: 77px;
    }
    .navbar-toggler{
        top:5px;
    }
    .menu_area .header-right{
        margin-right:50px;
    }
    .testimonial-slider .testimonial-content .mota{
        padding-bottom:0px;
    }
    .link-vr360{
        padding-bottom:20px;
    }
    .grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
    .menu-pano .grid-item {
        padding: 10px 20px 5px;
    }
    .item-newshome {
        overflow: hidden;
    }
    .list-nganhdt .col-md-4 a {
        padding: 0 15px;
    }
}
@media only screen and (min-device-width : 1024px) and (max-device-width : 1366px) {
    .navbar-brand #logo {
        marin-right: 0px !important;
    }

    .header-style1 .menu_area .navbar ul.navbar-nav {
        padding-top: 0px;
    }
    .navbar-brand #logo {
        max-width: 70px;
    }
    .menu_area .header-right {
         margin-right: 0px; 
    }
    .d-flex .search input {
        display: none;
    }
    .navbar {
        --bs-navbar-brand-margin-end: 0rem;
    }
    .navbar-brand .me-2 {
        margin-right: 0px;
    }
    #btnSearchBox {
        display: block;
    }
    .navigation .navbar .navbar-nav li a {
        font-size: 14px;
    }
    .header-style1 .menu_area .navbar .header-right {
        top: 5px;
    }
    .search i {
        display: none;
    }
   /* .fa-search:before {
        display: none; 
    }*/
}
@media (max-width: 1600px) {
    div.location_con .com_info dl dd {
        width: calc(100% - 110px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .login-user {
        min-width: 80px;
    }
}
@media (max-width: 1500px) {
    .copyright.text-xl-end {
        text-align: right;
    }
    .link-vr360 {
        margin-bottom: 10px;
    }
}