﻿

/*main sec 2*/
.padding-container {
    padding-left: 0px;
    padding-right: 0px;
}
.fastfact-sec {
    padding-top: 80px;
    padding-bottom: 80px;
}
/*start fastfact*/
.count {
    white-space: nowrap;
    font-family: Noto Sans !important;
    font-size: 61.04px;
    font-weight: 700;
    line-height: 76.3px;
    text-align: center;
    color: #FFFFFF;
}

.fast-fact-container {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s ease-out;
}

    .fast-fact-container.visible {
        animation: moveUpDownCol 1.4s ease forwards;
        opacity: 1;
    }

    .fast-fact-container.hidden {
        opacity: 0;
        transform: translateY(100%);
    }

@keyframes moveUpDownCol {
    0% {
        transform: translateY(100%);
    }

    60% {
        transform: translateY(-20%);
    }

    100% {
        transform: translateY(0);
    }
}

.fast-fact-text {
    white-space: nowrap;
    /* Prevents text from breaking onto a new line */

    font-family: Noto Sans;
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    color: #FFFFFF;
}

.fast-fact-text-tini {
    font-family: Noto Sans;
    font-size: 14px;
    font-weight: 600;
    line-height: 19.6px;
    text-align: center;
    color: #FFFFFF;
}

.special-char {
    margin-left: 16px;
    font-family: Noto Sans;
    font-size: 61.04px;
    font-weight: 700;
    line-height: 76.3px;
    text-align: left;
    color: #45E8FF;
}

.element-1,
.element-2,
.element-3,
.element-4 {
    gap: 16px;
    padding: 40px 64px 40px 64px;
}

.element-1,
.element-2,
.element-3 {
    border-right: 2px solid #45E8FF;
}


.fast-fact-count > div {
    opacity: 0;
    transition: opacity 1s ease-out;
}

/* Hover effect for the parent container on desktop */
.fastfact-sec:hover .fast-fact-count > div {
    opacity: 1;
    /* Make elements visible on hover */
}

.fastfact-container {
    position: relative;
    overflow: hidden;
    padding: 20px;
    height: auto;
    min-height: 660px;
}

.img-1,
.img-2,
.img-3,
.img-4 {
    position: absolute;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.img-1 {
    top: 60%;
    left: 0%;
    width: 350px;
    height: 250px;
}

.img-2 {
    top: 40%;
    left: 25%;
    width: 260px;
    height: 350px;
}

.img-3 {
    top: 20%;
    left: 50%;
    width: 330px;
    height: 240px;
}

.img-4 {
    top: 40%;
    left: 76%;
    width: 260px;
    height: 330px;
}

/* Hover effect for images on desktop */
.fastfact-sec:hover .img-1,
.fastfact-sec:hover .img-2,
.fastfact-sec:hover .img-3,
.fastfact-sec:hover .img-4 {
    opacity: 0;
}

.fastfact-sec:hover .img-1 {
    transform: translateY(-40px);
}

.fastfact-sec:hover .img-2 {
    transform: translateY(20px);
}

.fastfact-sec:hover .img-3 {
    transform: translateY(40px);
}

.fastfact-sec:hover .img-4 {
    transform: none;
}

/* Vô hiệu hóa hover trên mobile khi đã vào viewport */
@media (max-width: 768px) {

    .in-viewport .fastfact-sec:hover .img-1,
    .in-viewport .fastfact-sec:hover .img-2,
    .in-viewport .fastfact-sec:hover .img-3,
    .in-viewport .fastfact-sec:hover .img-4 {
        pointer-events: none;
        /* Vô hiệu hóa hover */
    }

    /* Tăng độ mờ khi vào viewport trên mobile */
    .in-viewport .img-1,
    .in-viewport .img-2,
    .in-viewport .img-3,
    .in-viewport .img-4 {
        opacity: 0;
        transition: transform 1s ease-out, opacity 1s ease-out;
    }

    /* Di chuyển ảnh khi vào viewport */
    .in-viewport .img-1 {
        transform: translateY(-40px);
    }

    .in-viewport .img-2 {
        transform: translateY(20px);
    }

    .in-viewport .img-3 {
        transform: translateY(40px);
    }

    .in-viewport .img-4 {
        transform: none;
    }

    /* Làm hiện các số đếm khi vào viewport */
    .in-viewport .fast-fact-count > div {
        opacity: 1;
    }
}


.br-fast-fact {
    background: #061B3F;
}

.fastfact-title {
    color: #45E8FF;
    font-family: Noto Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    margin: 0px;
    padding: 0px;
    margin-bottom:8px;
}

.fastfact-title-sub {
    color: #FFFFFF;
    font-family: Noto Sans;
    font-size: 48.83px !important;
    font-weight: 700;
    line-height: 61.04px !important;
    text-align: left;
    margin: 0px;
    padding: 0px;
}

/*end fastfact Sec*/


/* Breakpoints for tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .center-ele-flex {
        align-items: center;
        justify-content: center;
    }
    .fastfact-sec:hover .img-1 {
        transform: translateY(-20px);
        /* Move up */
    }

    .fastfact-sec:hover .img-2 {
        transform: translateY(-40px);
        /* Move down slightly */
    }

    .fastfact-sec:hover .img-3 {
        transform: translateY(-20px);
        /* Move down more than img-2 */
    }

    .fastfact-sec:hover .img-4 {
        transform: translateY(-40px);
        /* No movement */
    }

    .img-1 {
        top: 20% !important;
        left: 5% !important;
    }

    .img-2 {
        top: 0% !important;
        left: 60% !important;
    }

    .img-3 {
        top: 60% !important;
        left: 5% !important;
    }

    .img-4 {
        top: 50% !important;
        left: 60% !important;
    }

    .fast-fact-count {
        column-gap: 40px;
        row-gap: 40px;
        /* align-items: center; */
        justify-content: space-around;
    }

    /*start fastfact Sec*/
    .element-1,
    .element-2,
    .element-3,
    .element-4 {
        border: 2px solid #45E8FF !important;
        border-radius: 10px !important;
        padding: 40px 16px 40px 16px !important;
    }




    .fastfact-title {
        font-weight: 600 !important;
        line-height: 22.4px !important;
        margin-bottom:4px;
    }

    .fastfact-title-sub {
        font-size: 39.06px !important;
        line-height: 48.8px !important;
    }

    .tiltle-ff {
        margin-bottom: 20px;
    }


    .count {
        font-size: 48.83px !important;
        line-height: 61px !important;
    }

    .fast-fact-text {
        font-size: 20px !important;
        line-height: 28px !important;
    }


    .special-char {
        font-size: 48.83px !important;
        line-height: 61px !important;
    }

    /*end fastfact Sec*/
}

/* Breakpoints for mobile phones (max-width: 576px) */
@media (max-width: 576px) {
    .padding-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .fastfact-sec {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .fast-fact-count {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 16px;
        row-gap: 16px;
    }

    .img-1 {
        top: 20% !important;
        left: -20% !important;
    }

    .img-3 {
        top: 60% !important;
        left: -5% !important;
    }

    .img-2 {
        top: 0% !important;
        left: 45% !important;
    }

    .img-4 {
        top: 50% !important;
        left: 45% !important;
    }



    /*start fastfact Sec*/
    .element-1,
    .element-2,
    .element-3,
    .element-4 {
        padding: 40px 16px 40px 16px !important;
        width: 100%;
    }

    .count {
        font-size: 39.06px !important;
        line-height: 48.8px !important;
        
    }

    .fast-fact-text {
        font-size: 16px !important;
        line-height: 22.4px !important;
    }


    .fast-fact-text-tini {
        font-size: 12px !important;
        line-height: 16.8px !important;
    }


    .special-char {
        font-size: 39.06px !important;
        line-height: 48.8px !important;
    }

    .fast-fact-count {
        column-gap: 16px;
        row-gap: 16px;
        /* align-items: center; */
        justify-content: center;
    }



    .fastfact-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 19.6px !important;
        text-align: center !important;
        margin-bottom:4px !important;
    }

    .fastfact-title-sub {
        font-size: 31.25px !important;
        line-height: 39px !important;
        text-align: center !important;
    }

    /*end fastfact Sec*/


}

.br-Partnering {
    background-color: white;
}

.title {
    color: #21272D;
    font-family: Noto Sans;
    font-size: 48.83px;
    font-weight: 700;
    line-height: 61.04px;
    text-align: center;
}

.partner {
    color: #066BFC;
    font-family: Noto Sans;
    font-size: 48.83px;
    font-weight: 700;
    line-height: 61.04px;
    text-align: center;
}



/* Breakpoints for tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .title {
        font-size: 39.06px !important;
        line-height: 48.8px !important;
    }

    .partner {
        font-size: 39.06px !important;
        line-height: 48.8px !important;
    }
}

/* Breakpoints for mobile phones (max-width: 576px) */
@media (max-width: 576px) {
    .title {
        font-size: 31.25px !important;
        line-height: 39px !important;
    }

    .partner {
        font-size: 31.25px !important;
        line-height: 39px !important;
    }
}

@media screen and (max-width: 745px) {
    .padding-breakpoint {
        padding-left: 0px !important;
    }

    .leader_pg {
        margin-right: 0px !important;
    }

    .main-banner-title-text {
        font-size: 25px !important;
        line-height: 35px !important;
        text-align: center;
    }

    .banner-content-text {
        font-size: 14px !important;
        line-height: 21px !important;
        text-align: center;
    }

    .banner-subtitle-text {
        font-size: 14px !important;
        line-height: 21px !important;
        text-align: center;
    }

    .header__breadcrumb {
        left: 0px;
        max-width: 720px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}
