.hp_1 {
    margin-top: -100px;
}

.hp_1 .banner_box img {
    max-height: 500px;
    height: 100%;
    object-fit: cover;
    object-position: 59% 75%;
    width: 100%;
}

.hp_1 .video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: #000;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    height: 100vh;
}

.hp_1 .video-slider {
    position: absolute;
    left: 0;
    top: 0;
}

.hp_1 .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hp_1 .video-wrapper {
    height: 100vh;
}

.hp_1 .video-slider-section .mySwiper .swiper-pagination {
    bottom: 50px !important;
    background-color: #979797;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    justify-content: center;
    padding: 4px 13px;
}

.hp_1 .video-slider-section .mySwiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #66b0fe !important
}

.hp_1 .video-overlay {
    position: absolute;
    top: 34%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: white;
    contain: layout style;
    will-change: transform;
}

.hp_1 .video-container h1 {
    font-size: 60px;
    font-weight: 500;
}

.hp_1 .video-container h1,
.video-container h4 {
    color: #fff;
    font-family: "Montserrat", sans-serif;

}

.hp1_slider {
    margin-top: 60px;
}

.hp_1 .btn.btn-custom {
    color: #fff;
}

.hp_1 .btn.btn-custom:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hp_1 .banner-slide {
    height: 100vh;
}

.banner-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* home 2 */
.hp_2 {
    padding: 60px 0;
    position: relative;
    width: 100%;
    background: #f0f0f0;
    background: -webkit-linear-gradient(left, #F0F0F0 0%, #F0F0F0 100%);
    background: linear-gradient(to right, #F0F0F0 0%, #F0F0F0 100%);
}

.box_heading {
    display: flex;
    align-items: center;

}

.heading_1 {
    font-size: 36px;
}

.product-cat-ul {
    list-style: none;
    display: grid;
    gap: 15px;
}

#product-cat-list .product-cat-item {
    cursor: pointer;
    position: relative;

}

.product-cat-ul .product-cat-item .product-cat-name {
    position: absolute;
    bottom: 25px;
    padding: 10px;
    color: #fff;
}

#product-cat-list {
    margin-top: 50px;
}

#product-cat-products {
    padding-top: 60px;

}

#product-cat-products .products-list {
    display: grid;
    gap: 5px;
    margin-top: 40px;
}

#product-cat-products .products-list .product-small.box {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 20px;
}

#product-cat-products .products-list .product-small.box .box-image img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

#product-cat-products .products-list .product-small.box .price-wrapper,
.price.product-page-price {
    /* display: none !important; */
}

#product-cat-products .product-small.box .box-text-products .title-wrapper {
    font-size: 16px;
}

#product-cat-products .product-small.box .box-text-products .title-wrapper .woocommerce-LoopProduct-link.woocommerce-loop-product__link {

    color: #333;
}

.navigation-box,
.hp_5_box-navigation {
    display: flex;
    z-index: 1;
    justify-content: center;
    flex-direction: column;
}

.navigation-box .swiper-button-prev,
.navigation-box .swiper-button-next,
.hp_5_box-navigation .swiper-button-prev,
.hp_5_box-navigation .swiper-button-next {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin-top: 0;
    height: 35px;
    width: 72px;
    border: 1px solid #d5d5d5 !important;
}

.hp_5_box-navigation .swiper-button-prev::after,
.hp_5_box-navigation .swiper-button-next::after {
    color: #333 !important;
}

.navigation-box .swiper-button-prev {
    /* background-color: #66b0fe; */
    margin-bottom: 5px;
}

.navigation-box .swiper-button-next {}

.navigation-box .swiper-button-prev::after,
.navigation-box .swiper-button-next::after {
    color: #d5d5d5;
    font-size: 28px;
}

.navigation-box .swiper-button-next::after {
    content: "→";
}

.navigation-box .swiper-button-prev::after {
    content: "←";
}

.navigation-box .swiper-button-next:hover::after,
.navigation-box .swiper-button-prev:hover::after {
    color: #fff;
}

/* .navigation-box .swiper-button-next::before {
    content: "|";
    color: #d5d5d5;
    position: absolute;
    left: -4px;
    top: 8px;
    font-size: 38px;
    line-height: 40px;
    font-weight: 300;
} */
.hover-slide-right::before {
    content: "";
    background-color: rgb(28, 31, 30);
    transition: 0.3s ease-out;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0%;
    z-index: -1;
}

.hover-slide-right::before {
    background-color: #66b0fe;
}

.hover-slide-right:hover::before {
    width: 100%;
}

.swiper-button-prev::after .hover-slide-right:hover span,
.hover-slide-right:hover i {
    color: rgb(255, 255, 255);
    transition: 0.2s 0.1s;
}

.navigation-box .swiper-button-prev {
    border-right: none;
}

.navigation-box .swiper-button-next {
    border-left: none;
}

.box-btn-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn_vm_prd {
    border: 1px solid #000000;
    min-width: 160px;
}

/* product_cat_box */
.product_cat_box {
    padding-bottom: 60px;
}

.product_cat_box .box-text-products {
    padding: 10px;
}

/* Home 3 */
.hp_3 {
    padding: 60px 0;
    background: linear-gradient(to right, #F0F0F0 0%, #F0F0F0 100%);
}

.cta-item__image {
    position: relative;
    -webkit-mask-image: url(./images/image-mask.png);
    mask-image: url(./images/image-mask.png);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    width: 100%;
    margin-bottom: 10px;
}

.cta-item__image img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

/* Home 4 */
.hp_4 {
    padding: 60px 0;
}

.video-wrapper {
    cursor: pointer;
}

.verticalCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.video-wrapper .poster {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* home 5 */
.hp_5 {
    padding: 60px 0;
    background: linear-gradient(to right, #F0F0F0 0%, #F0F0F0 100%);
}

.hp_5_box-navigation {
    position: absolute;
    bottom: 0;
    left: 10px;
    background-color: #000;

}

.hp_5_box-navigation .swiper-button-next,
.hp_5_box-navigation .swiper-button-prev {
    border: none;
    height: 44px;
    background-color: #D5D5DD;
    border: 1px solid #c1c1c1 !important;
}

.hp_5_box-navigation .swiper-button-next::after,
.hp_5_box-navigation .swiper-button-prev::after {
    font-size: 24px;
    color: #333;
}

.hp_5_box-navigation .swiper-button-next::after {
    content: "→";
}

.hp_5_box-navigation .swiper-button-prev::after {
    content: "←";
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    height: 45px;
}

.btn-nor {
    border: 1px solid #000000;
    min-width: 160px;
}

.hp_5 .box-btn {
    margin-top: 20px;
}

/* Home 5 */
.hp_5 .box-btn a:nth-child(1) {
    margin-bottom: 10px;
}

.hp_5_slider .swiper-slide img {
    object-fit: cover;
    aspect-ratio: 2 / 1;
    width: 100%;
}

.slide_info_box {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #00000042;
    padding: 10px 10px 10px 10px;
    width: 100%;
    padding-left: 82px;
}

.slide_info_box .slide-title,
.slide_info_box .slide-des {
    color: #fff;
}

.slide_info_box .slide-des {
    margin-bottom: 0;
}

.hp_5_slider .swiper-slide,
.hp_5_slider .swiper-slide.swiper-slide-prev {
    opacity: 0 !important;
}

.hp_5_slider .swiper-slide-visible.swiper-slide-active {
    opacity: 1 !important;
}

/* Home 6 */
.news {
    padding: 60px 0;
}

.news .hp_6_slider {
    padding: 0 20px;
}

/* Home 7 */
.hp_7.partner {
    padding: 60px 0;
}

.hp_7_slider {
    margin-top: 20px;
}

.hp_7_slider .swiper-wrapper {
    transition-timing-function: linear;
}

/* Home 8 */
.certificate {
    padding: 60px 0;
}

.certificate .box_heading {
    margin-bottom: 20px;
}

.certificate .swiper-slide .certificate_img {
    transform: scale(0.7);
    transition: all 1s;
}

.certificate .swiper-slide.swiper-slide-active .certificate_img {
    transform: scale(1);
    transition: all 1s;

}

.certificate .swiper-button-prev,
.certificate .swiper-button-next {
    border: solid 1px #333;
    width: 42px;
    height: 32px;
    opacity: 0;
}

.certificate:hover .swiper-button-prev,
.certificate:hover .swiper-button-next {
    opacity: 1;
}

.certificate .swiper-button-next:hover,
.certificate .swiper-button-prev:hover {
    /* background-color: #66b0fe; */
    border-color: #ffff;
}

.certificate .swiper-button-prev::after,
.certificate .swiper-button-next::after {
    font-size: 22px;
    color: #333;
}

.certificate .swiper-button-prev:hover::after,
.certificate .swiper-button-next:hover::after {
    color: #fff;
}

.certificate .swiper-button-prev::after {
    content: "←";
}

.certificate .swiper-button-next::after {
    content: "→";
}

/* home 9 */
.testimonials {
    background-color: #9d957014;
    padding: 60px 0;
}

.testimonials .box_heading .headding_des {
    max-width: 100%;
    text-align: center;
}

.testimonials .box_heading {
    flex-direction: column;
}

.tes-box {
    padding: 30px 20px;
    position: relative;
    border-radius: 25px;
    background-color: #fff;
}

.tes-infor {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 10px;
}

.tes-infor .tes-name {
    max-width: 70%;
    width: 100%;
}

.tes-infor .tes-name h3 {
    font-family: "Montserrat", sans-serif;
}

.tes-avatar {
    width: 79px;
    height: 79px;
    border-radius: 50%;
    border: solid 7px #8ebced;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.u-icon-1 {
    width: 64px;
    height: 64px;
    margin: 0 auto 0 0;
    display: block;
    line-height: 0;
    border-width: 0px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.u-file-icon img {
    object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
}

.tes-content {
    line-height: 2.2;
    font-style: italic;
    margin: 20px 0 0;
}


@media (min-width: 960px) {
    .news {
        background: #f0f0f0;
        background: -webkit-linear-gradient(left, #F0F0F0 66%, #F0F0F0 66%, transparent 66.01%);
        background: linear-gradient(to right, #F0F0F0 66%, #F0F0F0 66%, transparent 66.01%);
    }

    .hp_6.news .swiper-pagination {
        display: none;
    }
}

@media screen and (min-width:1800px) {


    /* .hp_4 .container,
    .hp_4 .row,
    .hp_5 .row,
    .hp_5 .container, */
    .news .container {

        max-width: 1800px;
    }

}

@media screen and (min-width: 1024px) {
    .hp_5_slider .swiper-pagination {
        display: none;
    }

}

@media screen and (max-width: 1024px) {
    .slide_info_box {
        position: relative;
    }
}

@media only screen and (min-width: 75rem) {
    .video-overlay h4 {
        font-size: 22px;
        font-weight: 400;
        width: 43%;
        margin: 24px auto 48px auto;
    }
}

@media screen and (min-width:768px) {
    .product-cat-ul {
        grid-template-columns: repeat(4, 1fr);

    }

    #product-cat-products .products-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials .box_heading .headding_des {
        max-width: 600px;
    }
}

@media screen and (max-width: 1024px) {
    .slide_info_box {
        width: 100%;
        padding-left: 10px;
    }

    .hp_5_box-navigation .swiper-button-next,
    .hp_5_box-navigation .swiper-button-prev {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .hp_1 {
        margin-top: 0px;
    }

    .hp_1 .video-container .video-overlay h1 {
        font-size: 28px;
        line-height: auto;
        width: 90%;
        margin: auto;
        font-weight: 500;
    }

    .video-overlay h4 {
        font-size: 16px;
        font-weight: 400;
        width: 90%;
        margin: 25px auto;
    }

    .hero-mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        content-visibility: auto;
        contain-intrinsic-size: 570px;
        height: 570px;
    }

    .hp_1 .video-container video {
        /* display: none !important; */
    }

    .hp_6.news .navigation-box {
        display: none;
    }

    .hp_2 .navigation-box {
        display: none;
    }

    #product-cat-list {
        margin-top: 20px;
    }
}

@media screen and (max-width:768px) {
    .hp_1 {
        margin-top: 0px;
    }

    .heading_1 {
        font-size: 28px;
    }

    .hp_1 .video-container {
        overflow: visible;
        aspect-ratio: unset;
        height: auto;
    }

    .hp_1 .video-wrapper {
        height: auto;
        padding-top: 50%;
    }

    .hp_1 .banner-slide {
      height: auto;
        padding-top: 50%;
    }

    .hp_1 .slider-wrapper {
        background: linear-gradient(to right, #F0F0F0 0%, #F0F0F0 100%);
    }

    .hp_1 .video-slider-section .mySwiper .swiper-pagination {
        bottom: 20px !important;
    }

    #product-cat-products .products-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-cat-ul {
        grid-template-columns: repeat(3, 1fr);

    }

    .navigation-box .swiper-button-prev,
    .navigation-box .swiper-button-next {
        height: 50px;
    }

    .navigation-box .swiper-button-next::before {
        left: -4px;
        top: 7px;
        font-size: 25px;
        line-height: normal;
    }

    .certificate .swiper-button-prev,
    .certificate .swiper-button-next {
        display: none;
    }

    .hp_5_box-navigation {
        display: none;
    }

    .slide_info_box {
        width: 100%;
    }

    .slide_info_box {
        position: relative;
    }

    .gt_3 .navigation-box .swiper-button-next::before {
        left: 0;
        top: 0;
        font-size: 25px;
        line-height: normal;
    }
}

@media screen and (max-width:600px) {

    .hp_1 .video-overlay {
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        /* Thêm prefix cho Safari cũ */
    }

    .product-cat-ul {
        grid-template-columns: repeat(2, 1fr);

    }

    #product-cat-products .products-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .box_heading {
        flex-direction: column;
        text-align: center;
    }

    .navigation-box {
        margin-top: 20px;
    }
}

@media screen and (max-width:425px) {
    .heading_1 {
        font-size: 24px;

    }

    .slide_info_box .slide-des {
        font-size: 14px;
    }

    .hp_1 .video-overlay {
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        /* Thêm prefix cho Safari cũ */
    }

    .product-cat-ul {
        grid-template-columns: repeat(1, 1fr);

    }

    #product-cat-products .products-list {
        grid-template-columns: repeat(1, 1fr);
    }

}