@media screen and (max-width: 1440px) {
    .mega-menu {
        left: 20%;
    }
    #iotTab .nav-item {
        flex: 0 0 20%; /* 5 ảnh chia đều */
    }
    .p-112-168 {
        padding: 112px 0 168px;
    }
}

@media screen and (max-width: 1280px) {
    .toggle-chabot {
        bottom: 15px;
    }

    .section-cookie {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .comparison-table > div {
        width: 33%;
    }

    .gap-109px > .col-lg-6 {
        flex: 0 0 47% !important;
        max-width: 47% !important;
    }

    /* Cho phép dòng chữ co lại */
    .max-w-515 {
        max-width: 100% !important;
    }

    .gap-109px {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
    }

    .gap-112px > .col-lg-6 {
        flex: 0 0 47% !important;
        max-width: 47% !important;
    }

    .gap-112px {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
    }

    .about-block {
        margin-bottom: 40px;
    }
    .mission-block {
        margin-top: 40px;
    }

    .about-block .col-lg-6,
    .mission-block .col-lg-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mission-block img {
        margin-left: 0 !important;
    }
    .p-56-379 {
        padding: 40px 80px;
    }

    .max-w-166px {
        max-width: 100%;
    }

    .text-2xl {
        font-size: 1.75rem;
    }

    .text-2lg {
        font-size: 1.125rem;
    }
    .about-block img {
        margin-right: 0 !important;
    }
    .position-menu {
        position: sticky;
        top: 60px;
        z-index: 100;
        background-color: #f4faff;
    }
    .l-20 {
        left: 18%;
    }
    .l-45 {
        left: 44%;
    }
    .l-70 {
        left: 70%;
    }
    .gap-64 {
        gap: 20px;
    }
    .max-w-520 {
        max-width: 480px;
    }
    .step-line-wrapper {
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .step-img-wrapper,
    .step-text {
        flex: 0 0 calc(50% - 1.5rem) !important;
        max-width: calc(50% - 1.5rem) !important;
    }

    .step-img.max-w-498,
    .step-text.max-w-498 {
        max-width: 100% !important;
    }

    .step-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .step-img-wrapper {
        display: block !important;
        padding-right: 0.75rem;
    }

    .step-text {
        padding-left: 0.75rem;
    }
    .step-right .step-img-wrapper {
        padding-left: 30px !important;
    }
    .step-right .step-text {
        padding-right: 0.75rem !important;
    }
    .line-gray {
        height: 94%;
    }
}

@media screen and (max-width: 1024px) {
    .small-screen {
        display: block;
    }

    .small-screen.menu {
        z-index: 100;
        position: absolute;
        width: 100%;
    }

    .large-screen {
        display: none;
    }

    .h-260 {
        height: auto;
    }

    .bg-lightblue.sticky-content {
        position: unset;
    }

    .services-banner {
        background-size: cover;
    }

    .content-contact {
        margin-top: 20px;
    }

    .padding-responsive {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .h-full-screen {
        height: calc(100vh - 700px);
    }

    .video-overlay h1 {
        font-size: 3rem;
    }

    .video-overlay p {
        font-size: 1.25rem;
    }

    .services-img {
        top: -250px;
        left: 50px;
    }

    .frame-video-about {
        width: 100%;
        height: 400px;
        border-radius: 12px;
    }

    .position-menu {
        position: sticky;
        top: 50px;
        z-index: 100;
        background-color: #f8f9fa;
    }

    .section-cookie {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .my-element {
        margin-left: 0 !important;
    }

    .distance-above {
        margin-top: 16px;
    }
    .text-xl {
        font-size: 1.25rem; /* Giảm cỡ chữ trên tablet */
    }

    .tab-content img {
        max-height: 300px;
    }
    .tab-content-img {
        max-height: 1024px !important;
    }

    .gap-109px {
        gap: 4px;
    }

    .gap-112px {
        gap: 4px;
    }

    .about-block {
        margin-bottom: 56px;
    }
    .mission-block {
        margin-top: 56px;
    }

    /* .order-lg-1 {
      order: 1 !important;
    }
  
    .order-lg-2 {
      order: 2 !important;
    } */
    .order-down-lg-1 {
        order: 1 !important;
    }
    .order-down-lg-2 {
        order: 2 !important;
    }
    .gap-5 {
        gap: 0px !important;
    }
    .tab-content-img {
        max-width: 100%;
        min-height: 400px;
        object-fit: cover;
    }
    .w-100 {
        width: 95% !important;
    }

    .line-timline {
        left: 50% !important;
        transform: translateX(-50%);
        width: 4px;
    }

    .dot-timline {
        left: 45% !important;
        transform: translateX(-5%);
    }

    .step-line-wrapper {
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .step-img-wrapper,
    .step-text {
        flex: 0 0 calc(50% - 1.5rem) !important;
        max-width: calc(50% - 1.5rem) !important;
    }

    .step-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .step-img-wrapper {
        display: block !important;
        padding-right: 0.75rem;
    }

    .step-text {
        padding-left: 0.75rem;
    }

    .step-right .step-img-wrapper {
        padding-left: 40px !important;
    }
    .step-right .step-text {
        padding-right: 0.75rem !important;
    }
    .line-gray {
        height: 94%;
    }
}

@media (min-width: 900px) {
    .slick-dots {
        display: none !important;
    }

    .tab-content p {
        font-size: 0.95rem;
    }

    .show-dots-mobile .slick-dots {
        display: block !important;
    }

    .content-banner-text {
        margin-left: 140px;
    }
}

@media screen and (max-width: 900px) {
    .padding-responsive {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .counter-col {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        margin: 12px;
        box-sizing: border-box;
        text-align: center;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 24px;
    }
    .min-h-400 {
        min-height: 380px !important;
    }

    .gap-109px {
        flex-wrap: wrap !important;
        gap: 3px;
    }
    .gap-109px > .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .gap-109px img {
        display: inline-block;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 10px;
    }

    .max-w-515 {
        max-width: 100% !important;
    }

    .gap-112px {
        flex-wrap: wrap !important;
        gap: 3px;
    }

    .gap-112px > .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .gap-112px img {
        display: inline-block;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 10px;
    }

    .about-block {
        margin-bottom: 72px;
    }
    .mission-block {
        margin-top: 72px;
    }

    .order-mobile-1 {
        order: 1 !important;
    }
    .order-mobile-2 {
        order: 2 !important;
    }
    .gap-109px {
        gap: 0px;
    }
    .counter-col .counter-title {
        font-size: 25px;
    }

    .counter-col .h-30 {
        display: none;
    }
    .bg-banner-blue {
        height: 200px;
        background-size: cover;
    }
    .counter-col .d-flex {
        justify-content: center !important;
        text-align: center !important;
    }
    .counter-col .counter-title {
        text-align: center !important;
    }
    .counter-number,
    .counter-suffix {
        font-size: 25px;
        line-height: 1;
    }
    .p-under-900 {
        padding-left: 9rem !important; /* tương đương p-5 */
    }
    .tab-content-img {
        width: 100%;
    }
    .line-gray {
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 10px;
    }

    .text-gradient {
        width: auto;
    }

    .video-home .banner {
        margin-top: 0px;
        height: 75vw;
        object-fit: fill;
    }

    .w-half {
        width: 100%;
    }

    .slick-content {
        bottom: 0;
    }

    .tab-pane.position-absolute {
        position: unset !important;
    }

    .bg-footer .social-footer {
        justify-content: center;
    }

    .content-blog {
        margin-top: -30px;
    }

    .text-4xl {
        font-size: 36px;
    }

    .text-3xl,
    .text-2xl {
        font-size: 24px;
    }

    .text-2lg {
        font-size: 16px;
    }

    .break-label {
        max-width: 200px;
    }

    .counter-number-wrapper {
        justify-self: center;
    }

    .bg-banner-blue {
        height: unset;
        padding: 50px 0;
    }

    .news-slick .slick-slide .group-hover {
        min-height: unset;
    }

    .corp-logo-slide {
        animation-duration: 30s;
    }

    .content-milestone,
    .content-milestone img {
        height: unset;
    }

    .max-w-400 {
        max-width: unset;
    }

    .max-w-400.card {
        max-width: 400px;
        margin: auto;
    }

    .marker-time p {
        font-size: 10px;
    }

    .timeline {
        gap: 5px;
    }

    #load-3d {
        display: none;
    }

    .my-110 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .spacing-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .padding-responsive {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .h-full-screen {
        height: calc(100vh - 370px);
    }

    .h-30 {
        display: none;
    }

    .pages-tab-ai .tab-item {
        border: 0;
    }

    .pages-tab-ai .tab-item.active {
        border: 0;
    }

    .video-overlay h1 {
        font-size: 2.5rem;
    }

    .video-overlay p {
        font-size: 1.125rem;
    }

    .video-overlay {
        padding: 0;
        width: 400px;
    }

    .section-cookie {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .team-scroll-mobile {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-scroll-mobile::-webkit-scrollbar {
        display: none;
    }

    .team-scroll-mobile .row {
        flex-wrap: nowrap !important;
    }

    .team-scroll-mobile .col-md-6 {
        flex: 0 0 auto;
        width: 80%;
        max-width: 100%;
    }

    #teamScroll {
        justify-content: flex-start !important;
    }

    #teamScroll .col-md-6:first-child {
        margin-left: 50px !important;
    }

    #teamDots {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 16px;
    }

    #teamDots span {
        width: 8px;
        height: 8px;
        background-color: var(--var--color--blue);
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.3s;
    }

    #teamDots .active {
        background-color: var(--var--color--red);
    }

    .comparison-table {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
    }

    .comparison-table::-webkit-scrollbar {
        display: none;
    }

    .comparison-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
    }

    .dots-indicator .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--var--color--blue);
        transition: background 0.3s ease;
    }

    .dots-indicator .dot.active {
        background-color: var(--var--color--red);
    }
    .logo {
        height: 30px;
        width: auto;
    }
    .linkedin {
        height: 24px;
        width: auto;
    }
    .copyright {
        font-size: 12px;
    }
    .services-img {
        position: static;
        text-align: center;
    }
    .min-h-400 {
        min-height: 508px !important;
    }

    .step-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: static !important;
        min-height: 560px !important;
    }

    .step-img-wrapper {
        max-width: 66% !important;
        width: 100% !important;
    }

    .step-right .step-img-wrapper {
        padding-left: 0px !important;
    }
    .step-right .step-text {
        padding-right: 0px !important;
    }

    .step-img-left > div:first-child {
        order: 2;
    }

    .step-img-left > div:last-child {
        order: 1;
    }

    .dot-timline {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }

    .line-timline {
        left: 1% !important;
        transform: none !important;
        width: 4px !important;
    }

    .step-text-mt {
        margin-top: 70px;
    }

    .step2-text-mt {
        margin-top: 90px;
    }

    .step3-text-mt {
        margin-top: 150px;
    }
    .step4-text-mt {
        margin-top: 160px;
    }
    .step5-text-mt {
        margin-top: 140px;
    }
    .step6-text-mt {
        margin-top: 140px;
    }
    .t-370 {
        top: 530px;
    }
    .gap-84px {
        gap: 16px;
    }
    .t-740 {
        top: 1080px;
    }
    .t-1110 {
        top: 1650px;
    }
    .t-1480 {
        top: 2210px;
    }
    .t-1850 {
        top: 2770px;
    }
    .step-text-mt,
    .step2-text-mt,
    .step3-text-mt,
    .step4-text-mt,
    .step5-text-mt,
    .step6-text-mt,
    .step-text {
        width: 100% !important;
        max-width: 66% !important; /* Cho khớp với ảnh */
    }
}
@media screen and (max-width: 500px) {
    .center-slick .slick-slide {
        opacity: 1;
        transform: scale(1);
    }

    .vr-center-slick .slick-slide {
        opacity: 1;
        transform: scale(1);
    }

    .small-screen-tab {
        display: block;
    }

    .small-screen-tab .nav-tabs .nav-item .tab-link.active {
        background-color: var(--var-color-lightblue);
        color: white;
        border-radius: 12px;
    }

    .large-screen-tab {
        display: none;
    }

    .padding-responsive {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pages-tab-ai .tab-item {
        border: 0;
    }

    .pages-tab-ai .tab-item.active {
        border: 0;
    }

    .section-cookie {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mt-responsive-negative {
        margin-top: -100px !important;
    }

    .overflow-x-auto {
        overflow-x: unset;
    }

    .footer-cols-wrap .row {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-col {
        width: calc(50% - 12px);
        box-sizing: border-box;
        margin-bottom: 0;
    }

    .footer-col:last-child {
        width: 100% !important;
    }

    .copyright-text {
        font-size: 10px;
        line-height: 15px;
        font-family: "Be Vietnam Pro", sans-serif;
        font-weight: 400;
        color: #1c2024;
    }

    .counter-col .counter-title {
        font-size: 16px !important;
        text-align: start;
    }
    .min-h-400 {
        min-height: 600px !important;
    }
    .p-56-379 {
        padding: 32px 20px;
    }

    .text-2xl {
        font-size: 1.5rem;
    }

    .text-2lg {
        font-size: 1rem;
    }

    .padiing-lr6 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .min-h-48 {
        min-height: 44px;
    }

    .max-w-166px {
        max-width: 100%;
    }
    .timeline-step img {
        width: 64px !important;
        height: auto !important;
    }

    .timeline-step h5 {
        font-size: 16px;
        line-height: 1.3;
        max-width: 100% !important;
    }

    .timeline-step p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100% !important;
        padding: 0 10px;
    }

    .timeline-line {
        display: none !important;
    }

    .timeline-step {
        padding-left: 8px;
        padding-right: 8px;
    }
    .max-w-246 {
        max-width: 160px;
        padding: 1px;
    }
    .mt-112 {
        margin-top: 50px;
    }
    .p-112-180 {
        padding: 40px 80px;
    }
    .w-100 {
        width: 90% !important;
    }

    .step2-text-mt {
        margin-top: 110px;
    }
    .step3-text-mt {
        margin-top: 150px;
    }
    .step4-text-mt {
        margin-top: 160px;
    }
    .step5-text-mt {
        margin-top: 140px;
    }
    .step6-text-mt {
        margin-top: 140px;
    }
    .t-370 {
        top: 580px;
    }
    .t-740 {
        top: 1170px;
    }
    .t-1110 {
        top: 1800px;
    }
    .t-1480 {
        top: 2430px;
    }
    .t-1850 {
        top: 3050px;
    }
}
