/* home_about */
.home_about_img_overlay{
    padding-top: 81%;
}
.home_about_inner{
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}
.home_about_img_inner{
    position: relative;
    height: 100%;
}
.home_about_img_inner iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: sticky;
    top: 1rem;
}
.home_about_img{
    width: 48.46%;
    position: relative;
    z-index: 2;
}
.home_about_info{
    width: 48.46%;
}
.home_about{
        padding: 10.0rem 0 6.5rem;
        background: url(../images/home_about_bg.webp) no-repeat right bottom;
        max-width: 1920px;
}
.home_about_info_subtitle{
    font-weight: 600;
    margin-bottom: 1rem;
}
.home_about_info_title{
    margin-bottom: 1.8rem;
}
.home_about_info_des{
    line-height: 1.73333em;
    margin-bottom: 3rem;
}
.home_about_info_button{
    width: 15rem;
    background-color: #0563D5;
    border-radius: .5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    &:hover{
        background-color: #fc0000;
    }
}
.home_about_figure{
    display: flex;
    justify-content: space-between;
}
.home_about_figure_item{
    width: 16.03%;
}
.home_about_figure_item_num{
    font-weight: 800;
    color: #0563D5;
}
.home_about_figure_item_des{
    margin-top: .7rem;
    font-weight: 500;
}
@media only screen and (max-width: 767px) {
    .home_about {
        padding-top: 2rem;
    }
    .home_about_inner {
        flex-direction: column;
        margin-bottom: 4rem;
    }
    .home_about_img {
        width: 100%;
        margin-bottom: 4rem;
    }
    .home_about_info {
        width: 100%;
    }
    .home_about_figure {
        flex-wrap: wrap;
    }
    .home_about_figure_item {
        width: 50%;
    }
}
/* home_service */
.home_service{
    background-color: #F2F2F2;
    padding: 6rem 0 4.5rem
}
.home_service_title{
    margin-bottom: .5rem;
}
.home_service_list_item{
    width: 24%;
    &:hover{
        .home_service_list_item_title{
            color: #fc0000;
        }
    }
}
.home_service_list{
    display: flex;
    justify-content: space-between;
}
.home_service_list{
    .home_service_list_item:nth-child(2){
        margin-top: 4rem;
    }
    .home_service_list_item:nth-child(3){
        margin-top: 8rem;
    }
    .home_service_list_item:nth-child(4){
        margin-top: 12rem;
    }
}
.home_service_list_item_title{
    margin-top: 1.5rem;
}
.home_service_list_item_num{
    padding-top: 4.5rem;
    position: relative;
    &::before{
        position: absolute;
        background-color: #0563D5;
        width: 2px;
        height: 3rem;
        content: "";
        top: 1.2rem;
        left: 50%;
        transform: translateX(-50%);
    }
}
.home_service_list_item_img_wrap {
    overflow: hidden;
}
.home_service_list_item_img{
    position: relative;
}
.home_service_list_item_img_overlay{
    padding-top: 116.12%;
}
@media only screen and (max-width: 767px) {
    .home_service_list_item {
        margin-top: 0 !important;
    }
    .home_service_list_item_num {
        display: none;
    }
}
/* home_product */
.home_product{
    padding: 6rem 0 4rem;
}
.home_product_list {
    margin-bottom: 4rem;
}
.home_product_list_title{
    position: relative;
    padding: .75rem 7.8rem .75rem 2.4rem;
    background: linear-gradient(180deg, #0563D5 0%, #0052B6 100%);
    width: max-content;
}
.home_product_list_title_wrap{
    border-bottom: 2px solid #0152b6;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home_product_control{
    display: flex;
    gap: 1rem;
}
.home_product_control_item{
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 1px solid #0563D5;
    color: #0563D5;
    cursor: pointer;
    transition: color .4s ease, background-color .4s ease, opacity .4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    &:hover {
        color: #fff;
        background-color: #0563D5;
    }
    &.swiper-button-disabled {
        opacity: .5;
        pointer-events: none;
    }
    .home_product_control_item_img{
        width: 1.4rem;
        display: flex;
    }
}
.home_product_list_title_bg{
    position: absolute;
    top: 0;
    right: -5.9rem;
    width: 5.9rem;
    bottom: 0;
}
.home_product_list_card_item_des{
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2rem;
}
.home_product_list_card_item_sub{
    cursor: pointer;
    margin-top: auto;
    transition: all .4s ease;
    width: 100%;
    margin-inline: auto;
    color: #111;
    background-color: #FFC401;
    height: 4.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    &:hover{
        color: #fff;
        background-color: #fc0000;
    }
}
.home_product_list_card_item_img_wrap{
    overflow: hidden;
}
.home_product_list_card_item_img{
    position: relative;
    margin-bottom: 1rem;
    display: flex;
}
.home_product_list_card_item_img_overlay{
    padding-top: 80%;
}
.home_product_list_card_item_info{
    padding: 2rem ;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home_product_pagi {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
    .home_product_pagi_item{
        cursor: pointer;
        width: .8rem;
        height: .8rem;
        background-color: #929292;
        border-radius: 10rem;
        transition: background-color .4s ease, width .4s ease;
        &.active{
            background-color: #0563D5;
            width: 2rem;
        }
    }
}
.home_product_list_wrap {
    overflow: hidden;
    padding-bottom: 2rem;
}
.home_product_list_card_item{
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
    width: 31rem;
    background: white;
    box-shadow: 0 0 2rem 0rem #00000017;
}
.home_product_list_card_item_title {
    margin-bottom: .6rem;
    transition: color .4s ease;
    &:hover{
        color: #fc0000;
    }
}
@media only screen and (max-width: 991px) {
    .home_product_des {
        max-width: 72rem;
        margin-inline: auto;
    }
    .home_product_list_title_bg {
        right: -5.7rem
    }
}
@media only screen and (max-width: 767px) {
    .home_product_list_card_item {
        box-shadow: none;
    }
    .home_product {
        padding-block: 4.4rem;
    }
    .home_product_list_title_bg{
        right: -5rem;
        width: 5.2rem;
    }
    .home_product_list_card_item_info{
        padding: 0;
    }
    .home_product_list_card_item_sub {
        font-size: 1.2rem;
        line-height: 1em;
    }
    .home_product_control {
        display: none;
    }
    .home_product_list_title {
        padding-right:3.2rem;
    }
}

/* home_construction */
 .home_construction_blog_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
 }
 .home_construction_blog_wrap {
    display: none;
 }
 .home_construction_tab_item {
        cursor: pointer;
        transition: all ease .4s;
     padding: 1.2rem 2.5rem;
     font-size: 1.8rem;
     font-weight: 600;
     color: #343536;
     border: .2rem solid rgba(204, 204, 204, 0.55);
     outline: none;
     border-radius: .6rem;
     &:hover, &.active {
        background-color: #0563D5;
        border-color: #0563D5;
        color: white;
     }
 }
 .home_construction_tab_list {
     display: flex;
     justify-content: center;
     margin-bottom: 4rem;
     gap: 2.4rem;
 }
.home_construction_img{
    mask-image:url(../images/home_construction_overlay.webp) ;
    mask-size: 100%;
    mask-repeat: no-repeat;
}

.home_construction_list{
    display: flex;
    padding-block: 3.5rem;
    background-color: #0563D5;
    .home_construction_list_item:last-child{
        border: none;
    }
}
.home_construction_list_item{
    display: flex;
    padding-inline: 2rem;
    gap: .7rem;
    border-right: 1px solid rgba(255, 255, 255, 0.50);
    &:hover{
        .home_construction_list_item_img{
            transform: rotateY(180deg);
        }
    }
}
.home_construction_list_item_img{
    transition: all .9s ease;
    width: 8rem;
}
.home_construction_list_item_info{
    flex: 1;
}
.home_construction_list_item_info_des{
    margin-top: .8rem;
}
@media only screen and (max-width: 991px) {
    .home_construction_list {
        flex-wrap: wrap;
        gap: 2.4rem;
    }
    .home_construction_list_item {
        width: calc(50% - 1.2rem);
    }
}
@media only screen and (max-width: 767px) {
    .home_construction .home_product_list_card_item {
        width: calc(50% - 1rem);
    }
    .home_construction_tab_list {
        flex-wrap: wrap;
        gap: 1.6rem;
    }
    .home_construction_img img {
        height: 25rem;
    }
    .home_construction_img {
        mask-size: 100% 106%;
    }
    .home_construction_list{
        flex-direction: column;
        gap: 2.4rem;
    }
    .home_construction_list_item {
        border-right: none;
        width: 100%;
    }
}
/* home_news */

.home_news{
    padding-top: 6rem;
}
.home_news_list, .home_product_list_card   {
    animation-timing-function: linear !important;
}
.home_news_inner  {
    margin-bottom: 4rem;
}
.home_news_list_item_img_wrap{
    overflow: hidden;
}
.home_news_list_item_time{
    color: #787878;
    position: relative;
    padding-left: 2rem;
    &::before{
        left: 0;
        position: absolute;
        content: url(../images/date-news.png);
        width: 1.6rem;
        
    }
}
.home_news_list_item_info{
    padding: 1.5rem 2rem 0;
    border: 1px solid #cacaca;
}
.home_news_list_item_title{
    color: #111;
    margin-block: 1.2rem;
    transition: color .4s ease;
    &:hover{
        color: #fc0000;
    }
}
.home_news_list_item_des{
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.3rem;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    margin-bottom: 1.6rem;
}
.home_news_list_item_img{
    position: relative;
}
.home_news_list_item_img_lay{
    padding-top: 75.12%;

}
.home_news_list_item_img_wrap{
    position: relative;
}
/* .home_news_list_item_img_overlay{
    position: absolute;
    z-index: 11;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    background: #fff;
} */
.home_news_list_item_link{
    height: 5rem;
    width: 14.2rem;
    margin-left: auto;
    margin-right: -2.1rem;
    transition: all .4s ease;
    display: flex;
    align-items: center;
    position: relative;
    &:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: -2px;
        right: -1px;
        width: 14.2rem;
        background: url(../images/btn-news.jpg) no-repeat right center;

    }
    &:hover{
        color: #fc0000;
    }
}
.home_news_list_item{
    width: calc(100% / 3);
    clip-path: polygon(3rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0% 100%, 0rem 3rem);
}
.home_news_list_item_title{
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8rem;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    margin-bottom: 1.6rem;
} 

/* home_partner */
.home_partner{
    padding-block: 6rem;
}
.home_partner_des{
    margin-top: .5rem;
}
.home_partner_list_item{
    border: 1px solid #CACACA;
    /* width: calc(100% / 6); */
}
.home_partner_list_item_img{
    display: flex;
}
/* form */

.home_form{
    opacity: 0;
    pointer-events: none;
    transition: all .4s ease;
      position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100000;
    &.active{
        opacity: 1;
        pointer-events: all;
    }
}

.home_form_content_title{
    color: #333;
}
.home_form_content{
    background-color: #fff;
    width: 80rem;
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: 0px 0px .5rem #a9a9a9;
    position: relative;
}
.home_form_content_des{
    font-style: italic;
    margin-bottom: 1rem;
}
.home_form_content_apply{
    input,textarea{
        width: 100%;
        padding: 1.2rem 1.2rem;
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(25, 25, 25, 0.1);
        border-radius: .5rem;
        outline: none;
        color: rgba(25, 25, 25, 0.6);
        &::placeholder{
        color: rgba(25, 25, 25, 0.6);
        font-family: Montserrat, serif;
        }
        &:focus{
                box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
                outline-offset: .2rem;
        }
    } 
}
.home_form_content_apply_submit{
    margin-inline: auto;
    width: 13.7rem;
    height: 4.3rem;
    font-weight: 800;
    color: #0563D5;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #0563D5;
    justify-content: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px .2rem .8rem 0px;
    transition: all .4s ease;
    cursor: pointer;
    &:hover{
        background-color: #FFC401;
        color: #000;
        border-color: #FFC401 !important;
    }
}
.home_form_content_close{
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    border:  1px solid #777;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    svg{
        width: 1.5rem;
    }
}

/* home_reality */
.home_reality {
    padding-block: 6rem;
}

.home_reality_title {
    padding-bottom: 3.5rem;
    font-weight: 600;
}

.home_reality_title_wrap {
    position: relative;
    margin-bottom: 2.5rem;
}

.home_reality_title_icon {
    width: 9rem;
    margin: auto;
}

.home_reality_content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.home_reality_content_item {
    width: calc(20% - .8rem);
    overflow: hidden;
    border-radius: 1rem;

    img {
        transition: .4s all ease;
    }

    &:hover {
        img {
            transform: scale(1.1);
        }
    }
}

.home_reality_content_item_img_lay {
    padding-top: 128.89%;
}

@media screen and (max-width:991px) {
    .home_reality_content_item {
        width: calc(50% - 1rem);
    }

    .home_reality_content {
        gap: 2rem;
    }
}

@media screen and (max-width:767px) {
    .txt_36 {
        font-size: 2rem;
    }
}

/* home_client */
.home_client_content_item_autho_name {
    color: #072279;
}

.home_client_title {
    color: #fff;
    font-weight: 600;
}


.home_client {
    padding-block: 6rem;
    background: url(../images/bg-footer.jpg) top center;
    /* background-size: 100% 100%; */
}

.home_client_content_item_autho_img {
    width: 5rem;
}

.home_client_title_icon {
    width: 9rem;
    margin: auto;
}

.home_client_content {
    transition-timing-function: linear;
}

.home_client_content_item {
    background-color: #fff;
    padding-top: 3rem;
    border-radius: 1.5rem;
}

.home_client_content_item_des {
    padding-inline: 6rem 4rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #1a1a1a;
}

.home_client_content_item_autho {
    display: flex;
    padding: 1.5rem 2rem;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid #e6e6e6;
    ;
}

.home_client_content_item_autho_name {
    font-weight: 600;
}

.home_client_title_wrap {
    margin-bottom: 2.5rem;
}

/* home_request */
.home_request {
    padding-block: 6rem;
}

.home_request_inner {
    max-width: 80rem;
    margin: auto;
    box-shadow: 0 .2rem 1.5rem 0 rgba(10, 28, 117, 0.2);
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
}

.home_request_title {
    color: #fff;
    background: linear-gradient(#072279 0%, #335ADB 100%);
    padding-block: .7rem;
}

.home_request_content {
    margin: 3.0rem 4.0rem 4.0rem;
    padding-right: 1.6rem;
}

.home_request_content_item_title_txt {
    color: #1a1a1a;
    font-weight: 500;
}

.home_request_content_item_title_icon {
    width: 1.3rem;
}

.home_request_content_item_title {
    cursor: pointer;
    gap: 1rem;
    display: flex;
    padding-block: 1rem;
}

.home_request_content_item_des {
    color: #111;
    display: none;
    padding-bottom: 2rem;
}

.home_request_content_item {
    border-bottom: 1px dashed #e6e6e6;
    ;
}

@media screen and (max-width:767px) {
    .home_request_content {
        margin: 1rem;
    }
}

/* .home_press */

.home_press_list {
    transition-timing-function: linear;
}

.home_press_title {
    padding-bottom: 4rem;
    position: relative;

    &::after {
        position: absolute;
        width: 9rem;
        height: .3rem;
        content: "";
        background: linear-gradient(#072279 0%, #335ADB 100%);
        left: 50%;
        transform: translateX(-50%);
        bottom: 2rem;
    }
}

.home_press {
    margin-top: 6rem;
}


/* video */
.home_video_title {
    padding-bottom: 4rem;
    position: relative;

    &::after {
        position: absolute;
        width: 9rem;
        height: .3rem;
        content: "";
        background: linear-gradient(#072279 0%, #335ADB 100%);
        left: 50%;
        transform: translateX(-50%);
        bottom: 2rem;
    }
}

.home_video_content_item_txt {
    font-weight: 500;
}

.home_video_inner {
    box-shadow: 0 .2rem 1.5rem 0 rgba(10, 28, 117, 0.2);
    border-radius: 1rem;
    padding: 4rem;
}

.home_video_content_item_video {
    iframe {
        width: 100%;
    }
}
.home_video {
    margin-bottom: 6rem;
}
.home_video_content_navi_button {
    width: 4rem;
    background-color: #072279;
    border-radius: 50%;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;

    &.swiper-button-disabled {
        opacity: .7;
        cursor: auto;
    }
}

.home_video_content_wrap {
    position: relative;
    padding: 0 2rem;
    margin-inline: -2rem;
}

.home_video_content_navi_button_img {
    width: 2rem;
    height: 2rem;

    img {
        height: 100%;
    }
}

.home_video_content_navi {
    display: flex;
    justify-content: space-between;
    position: absolute;
    inset: 0;
    align-items: center;
    z-index: 11111;
    pointer-events: none;

}
.home_video_content_item_txt{
    margin-top: 1rem;
}
@media screen and (max-width:767px) {
    .home_video_content_wrap {
        padding: 0 1.5rem;
        margin-inline: -1.5rem;
    }
    .home_video {
        margin-bottom: 3.2rem;
    }
    .home_video_content_navi_button_img {
        width: 1.5rem;
        height: 1.5rem;

        img {
            display: flex;
        }
    }

    .home_video_content_navi_button {
        width: 3rem;
        height: 3rem;
    }
    .home_video_content_navi{
        position: relative;
        gap: 3rem;
        justify-content: center;
        margin-top: 2rem;
    }
}