/* Responsive Smartphone Enhancements (max-width: 767.98px) - Preserves 100% Desktop Original */
@media (min-width: 768px) {
  header.fixed-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* Hide desktop header & sticky desktop bar on smartphone; show mobile header bar */
  header:not(.fixed-mobile),
  .menu-fixed.speacial {
    display: none !important;
  }

  header.fixed-mobile {
    display: block !important;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: #ffffff;
  }

  .mobile-bar {
    display: block !important;
    height: 56px;
    background: #ffffff;
    border-bottom: 3px solid #00afef;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    position: relative;
  }

  .mobile-bar .toggle-menu {
    position: absolute;
    left: 0;
    top: 0;
    height: 53px;
    line-height: 53px;
    padding: 0 14px;
    font-size: 24px;
    color: #00afef;
    z-index: 12;
  }

  .mobile-bar .logo-top {
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bar .logo-top a {
    float: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bar .logo-top a img {
    height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    border: none;
  }

  .mobile-bar .mobile-right {
    position: absolute;
    right: 12px;
    top: 0;
    height: 53px;
    line-height: 53px;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    z-index: 12;
  }

  .mobile-bar .mobile-right .lang-vina a {
    display: inline-flex;
    align-items: center;
  }

  .mobile-bar .mobile-right .lang-vina a img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
  }

  .mobile-bar .mobile-right .search_mobile_button {
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    height: 53px;
    color: #00afef;
  }

  /* Hero Vertical Swiper on Smartphone */
  .slider {
    height: 460px !important;
    overflow: hidden !important;
    position: relative;
  }

  .slider .slide-swiper,
  .slider .slide-swiper .mySlideSwiper2,
  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item {
    height: 460px !important;
    overflow: hidden !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item a.d-flex .img-cover {
    height: 460px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .wrap {
    padding: 0 28px 0 8px;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .video-box {
    width: 74px !important;
    height: 74px !important;
    margin-bottom: 14px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .video-box .play-btn-box .play-btn-line1 {
    width: 74px !important;
    height: 74px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .video-box .play-btn-box .play-btn-line2 {
    width: 54px !important;
    height: 54px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .video-box .play-btn-box .play-button {
    width: 42px !important;
    height: 42px !important;
    font-size: 14px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .info_sl {
    font-size: 15px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .title_sl {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .brief_sl {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-wrapper .swiper-slide .item div.d-flex .more_sl a {
    line-height: 36px !important;
    font-size: 13px !important;
    padding: 0 18px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .autoplay-progress {
    top: 12px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 12px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-pagination {
    right: 8px !important;
  }

  .slider .slide-swiper .mySlideSwiper2 .swiper-pagination .swiper-pagination-bullet {
    height: 36px !important;
    width: 6px !important;
  }

  /* About Us Section on Smartphone */
  .about-home .container .about-info .ab-left .brief-box {
    font-size: 18px !important;
    line-height: 1.35 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    text-align: center;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs .item.nav-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs .item.nav-item .nav-link {
    padding: 6px 6px !important;
    justify-content: center;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs .item.nav-item .nav-link .img-box {
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs .item.nav-item .nav-link .info-box {
    margin-left: 5px !important;
  }

  .about-home .container .about-info .ab-left .views.nav-tabs .item.nav-item .nav-link .info-box .title {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .about-home .container .about-info .ab-right .img-box {
    height: 340px !important;
  }

  .about-home .container .about-info .ab-right .img-box img {
    object-fit: contain !important;
  }

  .about-home .container .about-info .ab-right .img-box2.lac {
    display: flex !important;
    width: 74px !important;
    height: 74px !important;
    padding: 6px !important;
    border-width: 5px !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 3;
  }

  .about-home .container .about-info .ab-right .counter .row {
    height: 100%;
    align-content: space-between;
    margin: 0;
  }

  .about-home .container .about-info .ab-right .counter .row .item .info {
    width: 122px !important;
    height: 122px !important;
    border-width: 4px !important;
  }

  .about-home .container .about-info .ab-right .counter .row .item .count {
    font-size: 20px !important;
  }

  .about-home .container .about-info .ab-right .counter .row .item .count .plus {
    font-size: 15px !important;
  }

  .about-home .container .about-info .ab-right .counter .row .item .content {
    font-size: 11.5px !important;
    line-height: 1.15 !important;
  }

  /* Services 6-Column Section on Smartphone */
  .service-home .container-fluid .row .item-wrap .item .img-box {
    height: 270px !important;
  }

  .service-home .container-fluid .row .item-wrap .item .info-box {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px !important;
    background: linear-gradient(180deg, rgba(0, 16, 39, 0.12) 0%, rgba(0, 28, 70, 0.88) 72%);
  }

  .service-home .container-fluid .row .item-wrap .item .info-box .number {
    margin-bottom: 4px !important;
  }

  .service-home .container-fluid .row .item-wrap .item .info-box .number .stroke-text {
    font-size: 40px !important;
    line-height: 1.1 !important;
  }

  .service-home .container-fluid .row .item-wrap .item .info-box .name {
    font-size: 18px !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    margin-bottom: 6px !important;
    color: #00afef !important;
  }

  .service-home .container-fluid .row .item-wrap .item .info-box .brief {
    opacity: 1 !important;
    transform: translateY(0) !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Commitment Cards Section on Smartphone (fix circular icon overlapping text) */
  .commit-home .col-img {
    display: none !important;
  }

  .commit-home .container .row .commit-list .item-wrap .item .img-box {
    height: 195px !important;
    width: 100% !important;
  }

  .commit-home .container .row .commit-list .item-wrap .item .icon {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: -32px auto 10px auto !important;
    z-index: 5;
  }

  .commit-home .container .row .commit-list .item-wrap .item .right-box {
    padding: 0 6px 6px 6px !important;
    width: 100% !important;
  }

  .commit-home .container .row .commit-list .item-wrap .item .right-box .name {
    text-align: center;
    font-size: 16.5px !important;
    margin-bottom: 10px !important;
  }

  /* News & Register Sections on Smartphone */
  .news-home .header-box .brief {
    align-items: flex-start !important;
    text-align: justify;
  }

  .register-home .container-fluid {
    padding: 24px 12px !important;
    border-radius: 10px;
  }

  .register-home .container-fluid .container .row .form-email #subscribe-form .form-group {
    margin-bottom: 10px !important;
  }

  /* Footer & Floating Support Buttons on Smartphone */
  footer .logo-ft-wrap .logo {
    height: 72px !important;
  }

  footer .logo-ft-wrap .logo img {
    object-fit: contain !important;
    max-height: 72px !important;
    width: auto !important;
    margin: 0 auto;
  }

  footer .logo-ft-wrap .company_name {
    font-size: 18px !important;
    line-height: 1.35 !important;
    padding: 0 8px;
  }

  footer .contact-info .title {
    padding-left: 0 !important;
  }

  footer .hotline-ft {
    padding-top: 10px;
    border-top: 1px solid rgba(0, 175, 239, 0.25);
  }

  .copyright {
    line-height: 1.5 !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
  }

  .bottom-support-online {
    right: 8px !important;
    bottom: 16px !important;
  }

  .bottom-support-online .contact-now {
    transform: rotate(-90deg);
    margin-right: -160px;
    left: -26px;
    top: -26px;
    font-size: 12px;
    padding: 7px 14px;
    width: 88px;
  }
}
