@media screen and (min-width: 1024px) and (max-width: 1399px) {

    .header.is-scroll .header-navigation {
        padding-left: 0;
    }

    .header-navigation > ul {
        margin-left: -15px;
    }

    .header-navigation > ul > li > a {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 1.075em;
        height: 70px;
    }

    .header-navigation {
        margin-right: 15px !important;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .header-hotline {
        padding-left: 39px;
        font-size: 0.925em;
    }
}

@media screen and (min-width: 1024px) {
    .header .header-hamburger,
    .header .header-navigation .header-navigation_logo,
    .header .header-navigation .header-navigation_contact {
        display: none;
    }


    .header-navigation > ul > li:hover > a > i {
        transform: rotate(180deg);
    }

    .header-navigation > ul > li > ul,
    .header-navigation > ul > li > ul > li > ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 6;
        min-width: 250px;
        width: max-content;
        background-color: var(--secondary-color-light);
        transition: var(--transition-default);
        padding: 0 15px;
        -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
        box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
        -webkit-transform: perspective(600px) rotateX(-90deg);
        transform: perspective(600px) rotateX(-90deg);
        -webkit-transform-origin: 0 0 0;
        transform-origin: 0 0 0;
        opacity: 0;
        visibility: hidden;
    }

    .header-navigation > ul > li > ul > li > ul {
        left: calc(100% + 15px);
        top: 0;
        background-color: var(--secondary-color-light);
    }

    .header-navigation > ul > li > ul > li > a:hover,
    .header-navigation > ul > li > ul > li > ul > li > a:hover {
        color: var(--primary-color);
    }

    .header-navigation > ul > li:hover > ul,
    .header-navigation > ul > li > ul > li:hover > ul {
        -webkit-transform: perspective(600px) rotateX(0deg);
        transform: perspective(600px) rotateX(0deg);
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1280px) {
    .slider-introduction .introduction-item .introduction-item_inner .introduction-decor:after {
        height: calc(100% + 60px);
    }

    .gallery-grid .gallery-item:nth-child(1) .ratio,
    .gallery-grid .gallery-item:nth-child(5) .ratio {
        --bs-aspect-ratio: calc(520px / 10 * 8);
    }

    .gallery-grid .gallery-item:nth-child(2) .ratio,
    .gallery-grid .gallery-item:nth-child(4) .ratio {
        --bs-aspect-ratio: calc(520px / 10 * 4);
    }

    .gallery-grid .gallery-item:nth-child(3) .ratio,
    .gallery-grid .gallery-item:nth-child(6) .ratio {
        --bs-aspect-ratio: calc(520px / 10 * 6);
    }
}

@media (max-width: 1024px) {
    .slider-introduction .introduction-item .introduction-item_inner .introduction-decor:after {
        height: calc(100% + 80px);
    }

    .section-html__left {
        margin-bottom: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    .section-html__left,
    .section-html__left .image-hover {
        max-width: 380px;
        height: 380px;
    }
}

@media screen and (max-width: 1023px) {

    .header-bottom .header-logo {
        width: 126px;
        height: 90px;
    }

    .header.is-scroll .header-bottom .header-logo {
        height: 75px;
        width: 124px;
    }

    .header {
        transition: var(--transition-default);
    }

    .header.is-scroll {
        margin-top: 0;
    }

    .header-hotline {
        display: none;
    }

    .header .header-navigation {
        position: fixed;
        top: 0;
        width: 90%;
        max-width: 375px;
        background-color: var(--primary-color);
        height: 100vh;
        overflow: hidden;
        z-index: 13;
        -webkit-transition: var(--transition-default);
        -o-transition: var(--transition-default);
        transition: var(--transition-default);
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        left: -150%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        padding-left: 0 !important;
    }

    .is-navigation .header .header-navigation {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header .header-navigation .header-navigation_line {
        display: none;
    }

    .header .header-navigation .header-navigation_logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-color-dark);
        padding: 5px 0;
        border-bottom: 1px solid var(--secondary-color);
    }

    .header .header-navigation .header-navigation_logo > a {
        height: 70px;
    }

    .header .header-navigation .header-navigation_contact {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
        background-color: var(--primary-color-dark);
        width: 100%;
    }

    .header .header-navigation .header-navigation_contact > a {
        display: block;
        background: url('/public/upload/theme/icon-hotline.png') center center/contain no-repeat;
        height: calc(84px * 0.75);
        width: calc(185px * 0.75);
        padding-top: 29px;
        padding-left: 40px;
        font-size: 0.95em;
        color: var(--bs-black) !important;
        font-weight: 600;
    }

    .header .header-navigation > ul {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        flex: 1 1 auto;
        overflow-y: auto;
    }

    .header .header-navigation > ul > li {
        width: 100%;
    }

    .header .header-navigation > ul > li + li,
    .header .header-navigation > ul > li > ul,
    .header .header-navigation > ul > li > ul > li > ul {
        border-top: 1px solid #2f2f2f;
    }

    .header .header-navigation > ul > li > a,
    .header .header-navigation > ul > li > button {
        width: 100%;
        padding: 15px;
        height: auto !important;
        text-align: left;
        justify-content: space-between;
        font-size: 1.075em;
    }

    .header .header-navigation > ul > li > ul,
    .header .header-navigation > ul > li > ul > li > ul {
        background-color: rgb(var(--primary-rgb), 0.1);
    }


    .header .header-navigation > ul > li > ul > li > a,
    .header .header-navigation > ul > li > ul > li > button {
        padding: 15px 15px 15px 30px;
        width: 100%;
        color: var(--secondary-color-light-2);
    }

    .header .header-navigation > ul > li > ul > li > ul > li > a,
    .header .header-navigation > ul > li > ul > li > ul > li > button {
        padding: 15px 15px 15px 45px;
        width: 100%;
        color: var(--secondary-color-light-2);
    }

    .header .header-navigation > ul > li > ul > li > button > i {
        transform: rotate(90deg);
    }

    .header .header-navigation > ul > li > a:active,
    .header .header-navigation > ul > li > button[aria-expanded=true],
    .header .header-navigation > ul > li > ul > li > a:active,
    .header .header-navigation > ul > li > ul > li > button[aria-expanded=true],
    .header .header-navigation > ul > li > ul > li > ul > li > a:active,
    .header .header-navigation > ul > li > ul > li > ul > li > button[aria-expanded=true] {
        color: var(--secondary-color);
    }

    .header .header-navigation > ul > li > button[aria-expanded=true] > i {
        transform: rotate(180deg);
    }

    .header .header-navigation > ul > li > ul > li > button[aria-expanded=true] > i {
        transform: rotate(270deg);
    }


    .header .header-hamburger .hamburger-button {
        position: relative;
        width: 20px;
        height: 16px;
        transform: translateY(-1px);
        display: block;
    }

    .header .header-hamburger .hamburger-button > i {
        background-color: var(--secondary-color);
        width: 100%;
        height: 2px;
        position: absolute;
        display: block;
        transition: var(--transition-default);
        left: 0;
    }

    .header .header-hamburger .hamburger-button > i:nth-child(1) {
        top: 0;
    }

    .header .header-hamburger .hamburger-button > i:nth-child(2) {
        top: 7px;
    }

    .header .header-hamburger .hamburger-button > i:nth-child(3) {
        bottom: 0;
        width: 15px;
        left: auto;
        right: 0;
    }

    .is-navigation .header .header-hamburger .hamburger-button > i:nth-child(1) {
        transform: rotate(45deg);
        top: 7px;
    }

    .is-navigation .header .header-hamburger .hamburger-button > i:nth-child(2) {
        left: 50%;
        width: 0;
    }

    .is-navigation .header .header-hamburger .hamburger-button > i:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 7px;
        width: 100%;
    }

    .header-overlay {
        background: rgba(0, 0, 0, 0.65);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 12;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-transition: var(--transition-default);
        -o-transition: var(--transition-default);
        transition: var(--transition-default);
        height: 100vh;
    }

    .is-navigation .header-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .is-overflow {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .section-introduction .introduction-title .introduction-title_inner {
        font-size: 1.5em;
    }

    .section-introduction .introduction-title .introduction-title_inner:before {
        width: 375px;
    }

    .section-heading .heading-title {
        font-size: 1.525em;
        line-height: 1.3;
    }

    .section-heading .heading-desc {
        font-size: 1.15em;
    }

    .section-heading .heading-decor {
        width: calc(261px * 0.5);
        height: calc(34px * 0.5);
    }

    .section-heading .heading-text {
        font-size: 1em;
    }

    .slider-introduction {

    }

    .section-gap {
        padding: 40px 0;
    }

    .service-card .card-body .card-title,
    .product-card .card-body .card-title {
        font-size: 1.15em;
    }

    .slider-theme .slider-navigation {
        display: none;
    }

    .btn-effect_2,
    .btn-effect {
        font-size: 1em;
    }

    .footer .footer-item .footer-title {
        font-size: 1.225em;
    }

    .footer .footer-item .footer-contact .footer-contact_item,
    .footer .footer-item .footer-list .footer-list_item {
        font-size: 1em;
    }

    .article-card {
        flex-direction: column;
    }

    .page-article .article-content .article-title, .page-product .product-information .product-title, .page-service .service-information .service-title {
        font-size: 1.525em;
    }

    .section-breadcrumb .breadcrumb-list .breadcrumb .breadcrumb-item {
        font-size: 1em;
    }

    #detailContent h2 {
        font-size: 1.375em;
    }

    #detailContent h3 {
        font-size: 1.3em;
    }

    #detailContent h4 {
        font-size: 1.225em;
    }

    #detailContent h5 {
        font-size: 1.15em;
    }

    #detailContent h6 {
        font-size: 1.075em;
    }

    .service-content {
        padding-top: 1.5rem;
    }

    .section-content {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .section-related {
        padding-top: 1.5rem;
    }

    .service-contact {
        flex-wrap: wrap;
    }

    .product-content {
        padding-left: 0;
        border-left: 0;
    }

    .service-contact .btn-effect_2 {
        width: calc(50% - 0.25rem);
        justify-content: center;
        white-space: nowrap;
    }

    .page-contact .contact-form {
        padding: 20px;
    }

    .page-contact .contact-list .contact-list_item {
        width: auto;
    }

    .gallery-grid {
        grid-template-areas:
        "a b"
        "a d"
        "c e"
        "f e";
    }

    .gallery-grid .gallery-item:nth-child(1) .ratio, .gallery-grid .gallery-item:nth-child(5) .ratio {
        --bs-aspect-ratio: calc(350px / 10 * 8);
    }

    .gallery-grid .gallery-item:nth-child(2) .ratio, .gallery-grid .gallery-item:nth-child(4) .ratio {
        --bs-aspect-ratio: calc(330px / 10 * 4);
    }

    .gallery-grid .gallery-item:nth-child(3) .ratio, .gallery-grid .gallery-item:nth-child(6) .ratio {
        --bs-aspect-ratio: calc(330px / 10 * 4);
    }
}

@media (max-width: 991px) {
    .section-article .article-card .card-body {
        padding-top: 10px !important;
        padding-left: 0 !important;
    }

    .modal-contact .modal-content .section-heading .heading-title {
        font-size: 1.6em;
    }

    .slider-introduction .introduction-item .introduction-item_inner .introduction-decor:after {
        height: calc(100% + 60px);
    }

    .section-breadcrumb {
        padding: 12px 0;
    }

    .section-breadcrumb .breadcrumb-list .breadcrumb .breadcrumb-item {
        font-size: 0.9em;
    }
    .floating-contact{
        gap:10px !important;
    }
}

@media screen and (max-width: 600px) {
    .slider-introduction .introduction-item {
        padding: 90px 0;
    }

    .slider-introduction .introduction-item .introduction-item_inner .introduction-decor:after {
        height: calc(100% + 50px);
    }

    .button-hotline .number {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .section-html__item:not(:last-child)::after {
        position: unset;
        content: unset;
    }

    .section-html__left,
    .section-html__left .image-hover {
        max-width: 260px;
        height: 260px;
    }

    .section-html__icon {
        width: 60px;
        height: 60px;
    }

    .section-html__content {
        padding: 20px 20px 20px 20px;
    }

    .section-html__text {
        font-size: 0.9em;
    }
}

@media (max-width: 425px) {
    .section-feedback .swiper-slide-active .card-feedback,
    .card-feedback {
        margin-top: 0;
    }

    .slider-introduction .introduction-item .introduction-item_inner .introduction-decor:after {
        height: calc(100% + 40px);
    }
}

@media (max-width: 320px) {
    .section-html__left,
    .section-html__left .image-hover {
        max-width: 240px;
        height: 240px;
    }
}
