@media (max-width: 1200px) {
  .menu{display: none}
        .menu-res{display: block}
        .btn-frame{display: none}
        .toolbar{display: block} 
        .header-top{display: none}

}
@media (max-width: 1025px) {
  .news_slick{ margin: 0;}
        .news_slick .slick-slide{margin: 0 5px;}
        .quytrinh-item1{right: unset}
        .quytrinh-item2{right: unset;}
        .quytrinh-item3{right: unset;}
        .quytrinh-item4{left: unset}
        .quytrinh-item5{left: unset;}
        .quytrinh-item6{left:unset;}
        .quytrinh-center{width: 40%}
        .banner-quytrinh{padding: 10px;}
        .quytrinh-left{width: 27%}
        .quytrinh-right{width: 27%}
        .quytrinh-item{margin-top: 20px}
        .quytrinh-row{align-items: center}
        .quytrinh-name{font-size: 18px;}

}
@media (max-width: 1001px) {
  .header__bottom .wrap__content {
        -webkit-box-pack: center !important;
        -webkit-justify-content: center !important;
        -moz-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
      }
      .scrollToTop {
        bottom: 100px;
        right: 20px;
      }
      .header {
        position: unset;
        background: #333;
      }
      .header__bottom-center {
        width: 100%;
      }
      .footer {
        margin-bottom: 50px;
      }
      .logo img {
        width: 40px;
      }
      .post_calendar,
      .b5_title:after {
        display: none;
      }

}
@media (max-width: 950px) {
  .header-bottom-right {
    display: none;
}
  /* Header Responsive */
      .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px;
        gap: 10px;
      }
      .search-bar {
        order: 3;
        width: 100%;
        margin-top: 5px;
        flex: unset;
      }
      .header-actions {
        gap: 4px;
      }
      .header-btn {
        padding: 4px 6px;
        font-size: 10px;
      }
      .header-btn svg {
        width: 18px;
        height: 18px;
      }
    
      /* Fix layout stuck width */
      html,
      body,
      .wrapper,
      .container,
      .wrap__content,
      .fps-inner,
      .site-footer {
        max-width: 100%;
        overflow-x: hidden;
      }
    
      /* Category Filter Tabs Mobile */
      .gr_prolevel {
        max-width: 100vw;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
      }
      .gr_prolevel ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        width: max-content;
      }
      .gr_prolevel li a {
        padding: 6px 12px;
        font-size: 12px;
      }
    
      /* Fix Product Columns off-screen */
      .grid__product,
      .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }
      .row {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
    
      /* Footer Fixes */
      .fps-items {
        justify-content: center;
      }
      .ft-link {
        align-items: flex-start;
        justify-content: flex-start;
      }
      .ft-link i {
        margin-top: 5px;
      }
  
    /* Hide desktop menu on mobile */
      .fix-sm {
        display: none !important;
      }
    
      #header_mid {
        display: none !important;
      }
    
      .logo-mmenu img {
        max-height: 40px !important;
        width: auto !important;
      }
    
      .hotline-mmenu {
        color: #fff !important;
        font-size: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
    
      /* Float header top social media icons at the bottom-right corner of the web page */
      .header-top {
        display: none !important;
        background: transparent !important;
        border: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
      }
      .header-top .head-top,
      .header-top .search_site,
      .head_top_right {
        display: none !important;
      }
      .header-top .head-social {
        display: block !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        z-index: 99999 !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
      }
      .mxh_top {
        display: block !important;
      }
      .mxh_top ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
      }
      .mxh_top li {
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
      }
      .mxh_top img {
        max-width: 45px !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
        transition: transform 0.3s ease !important;
      }
      .mxh_top img:hover {
        transform: scale(1.1) !important;
      }
    
      .control-product-nb button {
        color: #222222 !important;
        font-size: 20px !important;
        background: rgba(0, 0, 0, 0.05) !important;
        border-radius: 50% !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
      }
      .control-product-nb button:hover {
        background: rgba(0, 0, 0, 0.15) !important;
        color: #000000 !important;
      }
      .control-product-nb button.owl-prev {
        left: 5px !important;
      }
      .control-product-nb button.owl-next {
        right: 5px !important;
      }
    
      /* Block padding & title adjustments for mobile */
      .block1,
      .block2,
      .block4,
      .block5,
      .block6,
      .block7,
      .wrap-news-main,
      .wrap-partner {
        padding: 20px 0 !important;
      }
      .block3 {
        height: auto !important;
        padding: 30px 0 !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
      }
      .b3_content_all {
        width: 100% !important;
        height: auto !important;
        padding: 30px 15px !important;
        margin: 0 !important;
      }
      .b3_title {
        margin-bottom: 20px !important;
      }
      .b3_title:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -10px !important;
      }
      .b3_content {
        font-size: 15px !important;
        margin-bottom: 20px !important;
      }
    
      .b1_title,
      .b2_title,
      .b3_title,
      .b5_title,
      .b6_title,
      .b7_title,
      .title_mobile,
      .title-main h4,
      .title-main,
      .title-pro-detail {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
      }
    
      /* Style for mobile news items in block5 */
      .p2_title_mobile {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #000 !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
        display: block !important;
        line-height: 1.4 !important;
      }
      .p2_title_mobile:hover {
        color: #db1c24 !important;
      }
      .post2_item .p2_content_text {
        font-size: 13px !important;
        color: #666 !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
      }
      .post2_item .p2_link {
        margin-bottom: 0 !important;
      }
      .post2_item .p2_link a {
        font-size: 13px !important;
        color: #333 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
      }
      .post2_item .p2_link a i {
        color: #db1c24 !important;
        margin-right: 3px !important;
        font-size: 13px !important;
      }
      .post2_item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
      }
      .b7_title:after {
        display: none;
      }
      .footer-logo {
        display: none;
      }
      #footer {
        padding: 20px 0;
      }
      .col-md-3.ftcol {
        padding: 0;
      }
      .btn_cng {
        padding: 10px;
        background: #58595b;
        color: white;
        margin: 20px 0 10px;
    }
    .block5 .d-flex .text-right {
        margin: 0 !important;
    }
    .block5 .d-flex {
        align-items: center;
        justify-content: space-between;
    }
    .btn_cng a {
        color: white !important;
    }
    .block5 .row .col-md-6 {
        padding: 0;
    }
      .col-md-4.ftcol.ftcol1 {
        padding: 0;
      }
    .why_content {
        position: relative;
        padding: 0;
    }
      /* Product Outstanding Tabs Mobile */
      .product-nb-tabs-container {
        margin-bottom: 20px;
        overflow: hidden;
        position: relative;
        background: #f7f7f7;
        border-radius: 8px;
        padding: 5px;
      }
      .product-nb-tabs {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 5px 0;
      }
      /* Hide scrollbar for Chrome, Safari and Opera */
      .product-nb-tabs::-webkit-scrollbar {
        display: none;
      }
      /* Hide scrollbar for IE, Edge and Firefox */
      .product-nb-tabs {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
      }
      .product-nb-tab {
        flex: 0 0 auto;
        padding: 10px 18px;
        background: #ffffff;
        color: #333333;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid #e0e0e0;
        cursor: pointer;
      }
      .product-nb-tab.active {
        background: #db1c24;
        color: #ffffff;
        border-color: #db1c24;
        box-shadow: 0 4px 10px rgba(219, 28, 36, 0.2);
      }
      .product-nb-tab span {
        display: block;
        white-space: nowrap;
      }

  .grid-page{gap: 10px;}
        .project-grid{gap: 10px;}
        .news_slick{ margin: 0 -5px;}
        .news_slick .slick-slide{margin: 0 5px;}
        .header-bottom-left{width: 27%; text-align: center}
        .header-bottom-center{width: 75%;  text-align: center}

}
@media (max-width: 850px) {
  .footer__news,
      .col__left,
      .col__right,
      .aboutus__left,
      .aboutus__right,
      .col-news,
      .col-video {
        -ms-flex: 0 0 100%;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -moz-box-flex: 0;
        flex: 0 0 100%;
        max-width: 100%;
      }
      .footer__news {
        text-align: left !important;
      }
      .logo__footer {
        display: block !important;
        margin: auto;
        text-align: center;
      }
    
      .grid__service {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .image__whychooseStatic {
        position: unset;
        margin-bottom: 20px;
      }
      .news-info {
        padding: 10px;
      }
      .detail_product .row .right-pro-detail,
      .detail_product .row .bottom-pro-detail {
        padding-left: 0;
        padding-right: 0;
      }
      .right-content-box {
        padding: 10px !important;
      }
      .title-btn-buy {
        font-size: 14px;
      }
      .text-btn-buy {
        font-size: 9px;
      }
      .gt_thumb img {
        position: relative;
        width: auto;
      }
      .b1_content {
        margin-top: 0;
        z-index: 2;
      }
      .b1_content {
        padding: 20px 10px;
      }
      .b1_link {
        justify-content: center;
      }
      .block1:after {
        display: none;
      }
      .b1_content_all .col-md-6,
      .b1_content_all .col-xs-12 {
        padding: 0 !important;
      }
      p.b2_decs {
        margin-bottom: 15px;
        font-size: 14px;
      }
      .b3_link a {
        padding: 10px 20px;
        font-size: 12px;
      }
      .b6_nav_tabs {
        display: none;
      }
      .b6_ct_tab_img {
        margin-top: 0;
      }
      .box_ld {
        width: 100%;
        margin-top: 0;
        background: #db1c24;
        padding: 20px 10px;
        left: 0;
        min-height: unset;
      }
      .b6_tab_title img {
        margin-bottom: 10px;
        width: 40px !important;
      }
      .b6_tab_title {
        gap: 10px;
      }
      .b6_ctab_desc {
        margin-top: 10px;
      }
      .block4 {
        margin: 0;
      }
      .b6_content_tab_detail .col-md-6 {
        padding: 0 5px;
      }
      .b4_item {
        padding: 20px;
      }
      .b4_item_identity {
        gap: 10px;
      }
      .b4_item_info {
        text-align: end;
      }
      .b4_item {
        padding: 20px;
        background-color: #0156a7;
        color: #fff;
      }
      .box__product .product__name {
    margin: 0;
    padding: 0 10px;
    margin-bottom: 0;
}
.title-main p {
    font-size: 14px;
}
.box__product .product__name a {
    font-size: 14px;
}

  .menu-list{text-align: center}
        .intro-item{display: block}
        .intro-infor{width: 100%}
        .intro-img{width: 100%; margin-top: 20px}
        .title-main span{font-size: 25px;}
        .title-main::after{bottom: -10px}
        .service-bg{padding: 20px 0;}
        .title-service span{font-size: 20px;}
        .title-service{margin-bottom: 25px}
        .service-container{padding-top: 20px}
        .project-container{padding-top: 20px}
        .news-container .title-main{margin-bottom: 20px; text-align: center}
        .footer-row{display: block; text-align: center}
        .footer-left{width: 100%}
        .footer-center{width: 100%; margin-top: 25px}
        .footer-right{width: 100%; margin-top: 25px}
        .footer-title{margin-bottom: 10px}
        .news-container{padding: 20px 0;}
        .sanpham-container{padding-top: 0}
        .title-main{margin-bottom: 25px;}
        .intro-desc{margin-bottom: 20px}

}
@media (max-width: 769px) {
  .project-grid{grid-template-columns: repeat(2, 1fr)}
      .grid-page{grid-template-columns: repeat(3, 1fr)}
      .menu-list-wrap{margin-bottom: 5px}

  .modern-float-contact {
            bottom: 80px;
            right: 15px;
            gap: 12px;
        }
        .mci-icon {
            width: 45px;
            height: 45px;
        }
        .mci-icon img {
            width: 24px;
        }
        .mci-icon i {
            font-size: 20px;
        }
        .modern-contact-item:hover .mci-text {
            display: none;
        }

  .quytrinh-center{display: none}
        .change{flex-direction: unset;}
        .quytrinh-left{width: 45%}
        .quytrinh-right{width: 45%}
        .quytrinh-name{text-align: start !important}
        .intro-container{padding: 30px 0;}

}
@media (max-width: 651px) {
        .project-name{font-size: 17px;}

}
@media (max-width: 550px) {
  .map__iframe {
        position: relative;
        height: 200px;
      }
      /* Product Grid Mobile Fix */
      .grid__product,
      .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
      }
    
      .fps-items {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
      }
      .footer-promo-strip {
        padding: 15px 20px;
      }
      .fps-inner {
        padding: 0;
      }
      .header-btn.cart-btn {
        padding-right: 12px;
      }
      .logo-text {
        font-size: 14px;
      }
      .title_block {
        font-size: 16px;
      }
    
      .mobile-bottom-sections .mobile-no-padding {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 20px 0 !important;
        padding: 0 !important;
      }
      .accordion-custom .accordion-button {
        font-size: 13px;
      }

  .grid-page{grid-template-columns: repeat(2, 1fr)}
        .intro-name a{font-size: 25px;}
        .intro-name{margin-bottom: 10px}
        .about-us{font-size: 20px;}
        .xemthem a{padding: 10px 15px;}
        .news-name{font-size: 15px; font-weight: 600}
        .service-name a{font-size: 15px; font-weight: 600}

  .footer__article {
        padding: 50px 0 170px 0;
      }
      .items__contact {
        margin-bottom: 15px;
      }
      .group__whychoose {
        margin-bottom: 0;
      }
      .items__whychoose {
        margin-bottom: 40px;
      }
      .title__mark {
        margin-bottom: -20px;
        font-family: var(--font-bold-v2);
        font-size: 40px;
      }
      .image__upgrade {
        height: 250px !important;
      }
      .grid__news {
        gap: 10px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
      }
      .service__list__image img {
        width: 100%;
        height: 100% !important;
        transition: opacity 0.3s ease-in-out;
      }
      .name__serviceList {
        padding: 10px 5px;
      }
      .name__serviceList a {
        font-size: 20px;
      }
      .grid__productList {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
      }
      .newsletter-button .btn__submit {
        padding: 10px 30px;
        font-size: 13px;
      }

  .service-container{padding-top: 10px}
        .news-name.text-split{ -webkit-line-clamp: 2;}

}
@media (max-width: 440px) {
  .title__aboutus h2 {
        font-size: 35px;
      }
      .title__aboutus p {
        font-size: 20px;
      }
      .title__mark {
        margin-bottom: 0;
        font-family: var(--font-bold-v2);
        font-size: 25px;
      }
      .items__whychoose {
        max-width: 100%;
      }
      footer .bg__footer {
        background-size: cover;
      }
      .wrap__productList .line__text {
        display: none;
      }
      .service__list__image {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
      }
      .items__productList {
        border-radius: 50px 0px 0px 0px;
        background: linear-gradient(180deg, #f2f2f2 0%, #ccc 100%);
        padding: 40px 10px 30px 10px;
      }
      .name__productList {
        font-size: 20px;
      }
      .items__productList:nth-child(1) .image__productList {
        width: 180px;
      }
      .image__upgrade {
        height: 200px !important;
      }
      .control-owl button.owl-next {
        right: 0;
      }
      .control-owl button.owl-prev {
        left: 0;
      }
      .name__setting_v2 {
        font-family: var(--font-bold-v2);
        font-size: 27px;
        text-transform: uppercase;
        color: #000;
      }
      .switch-container {
        margin: 30px auto auto auto;
      }
      .aboutus__left::after {
        z-index: -1;
      }
      .switch-item span {
        font-size: 14px;
      }
      .tabs-pro-detail .nav-tabs .nav-item {
        width: 100%;
      }
      .tabs-pro-detail .nav-tabs .nav-link {
        font-size: 14px;
      }
      .btn-hotline-detail .hotline-detail-title {
        font-size: 18px;
      }
      .btn-zalo-detail .zalo-detail-title {
        font-size: 18px;
      }
      .row.g-4 .col-lg-4.col-md-4 {
        padding: 0;
      }
      .post_list_2 {
        margin-bottom: 0;
      }

}
@media (max-width: 350px) {
  .quytrinh-row{display: block}
        .quytrinh-left{width: 100%}
        .quytrinh-right{width: 100%}
        .header-bottom-center{display: none}
        .header-container .wrap-content{justify-content: center}
        .grid-page{grid-template-columns: repeat(1, 1fr)}

}

/* C?p nh?t theo yï¿½u c?u Mobile - max-width: 550px */
@media (max-width: 550px) {
  /* Tiï¿½u d? d?ch v? */
  .title-service span { font-size: 18px !important; }

  /* D?ch v? & S?n ph?m ? index: 2 item 1 hï¿½ng, ch? nh? l?i */
  .grid-products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .grid-products .service-name a { font-size: 13px !important; }
  .grid__product { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .grid__product .product__name a { font-size: 13px !important; }
  .grid__product .price-text, .grid__product .price-new { font-size: 13px !important; }

  /* Menu list */
  .menu-list { flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start !important; padding-bottom: 5px; gap: 10px !important; margin-bottom: 15px; }
  .menu-list li a { font-size: 13px !important; padding: 6px 12px !important; white-space: nowrap; }

  /* Quy trình container (Tái thiết kế đẹp mắt trên Mobile) */
  .quytrinh-row { display: flex !important; flex-direction: column; gap: 15px; padding: 0; }
  .quytrinh-row::before { display: none !important; }
  .quytrinh-left, .quytrinh-right { display: flex !important; flex-direction: column; gap: 15px; width: 100% !important; }
  .quytrinh-item { display: flex !important; align-items: center; gap: 15px; padding: 15px; background: #fff !important; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); position: static !important; transform: none !important; right: auto !important; left: auto !important; z-index: 2; margin: 0 !important; border: 1px solid #f0f0f0; }
  .change { flex-direction: row !important; }
  .quytrinh-img { width: 60px !important; height: 60px !important; min-width: 60px !important; background: #fff; border-radius: 50%; border: 2px solid #db1c24; padding: 12px !important; z-index: 3; display: flex; align-items: center; justify-content: center; box-shadow: none !important; margin: 0 !important; }
  .quytrinh-img img { width: 100%; height: 100%; object-fit: contain; filter: none !important; }
  .quytrinh-item .quytrinh-name, .quytrinh-name { font-size: 16px !important; font-weight: 700 !important; color: #333 !important; text-align: left !important; margin: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; flex: 1; border: none !important; text-transform: uppercase; line-height: 1.4; text-shadow: none !important;}
  .quytrinh-center { display: none !important; }

  /* Padding col trong news-container = 0 */
  .news-container .row { margin-left: 0 !important; margin-right: 0 !important; }
  .news-container .row > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }

  /* Footer title */
  .ft_title.ft_title_logo { font-size: 25px !important; }
  
  /* Copyright text center */
  .copyright-row p { text-align: center !important; }

  /* 2 tabs google map (D?c, gï¿½c ph?i trï¿½n, nh? l?i) */
  .footer_map_tab { position: relative; }
  .wrap_map { position: absolute; top: 10px; right: 10px; z-index: 10; width: auto !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;}
  .flex_mapaa { flex-direction: column; gap: 5px; display: flex !important;}
  .map_items { padding: 6px 10px !important; font-size: 11px !important; min-width: unset !important; text-align: center; background: rgba(255,255,255,0.9) !important; border-radius: 4px; border: 1px solid #ccc; height: auto !important; }
  .map_items.active { background: #db1c24 !important; color: #fff !important; border-color: #db1c24 !important; }

  /* Trang chi ti?t: list-news-other padding 0 & tin liï¿½n quan 2 bï¿½i 1 hï¿½ng */
  .list-news-other { padding: 0 !important; }
  .list-news-other .row { margin-left: -5px !important; margin-right: -5px !important; }
  .list-news-other .row > [class*="col-"] { padding-left: 5px !important; padding-right: 5px !important; width: 50% !important; flex: 0 0 50% !important; max-width: 50% !important;}
  .list-news-other .news-name a { font-size: 13px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .list-news-other .news-desc { display: none !important; }
  .othernews-title-main { font-size: 20px !important; }
}


