.he-sinh-thai-video .video-wrapper {
    position: relative;
    /* Essential for absolute positioning of child */
    overflow: hidden;
    /* Hides parts of the video that extend beyond the parent */
    /* Define width and height or other sizing for the parent */
    width: 100%;
    height: 580px;
    margin: 0 auto;
    /* Center the parent */
    border-radius: 15px;
}

.he-sinh-thai-video .video-wrapper video {
    position: absolute;
    top: 0;
    /* Adjust to move the video up */
    left: 0;
    /* Adjust to move the video left */
    width: calc(100% + 100px);
    /* Extend width by 50px on each side */
    height: calc(100% + 100px);
    /* Extend height by 50px on each side */
    object-fit: cover;
    /* Ensures the video covers the extended area while maintaining aspect ratio */
}

/* section 2 */
#hst-section-2.he-sinh-thai-toan-dien {
    padding: 60px 0;
}

.hst-tabs {
    margin-top: 40px;
}

.hst-tabs .nav.nav-tabs {
    border: none;
    gap: 20px;
    margin-bottom: 40px;
}

.hst-tabs .nav-link {
    border-radius: 15px;
    border: 1px solid rgba(39, 61, 139, 0.70);
    background: #FFF;
    box-shadow: 0 1px 24px 0 rgba(39, 61, 139, 0.30);
    color: rgba(39, 61, 139, 0.90);
    font-weight: 700;
    font-size: 18px;
    flex: 1 1 calc(33.333% - 20px);
}

.hst-tabs .nav-link.active,
.hst-tabs .nav-link:hover {
    border-radius: 15px;
    background: linear-gradient(180deg, #445FBE 0%, #273D8B 100%);
    box-shadow: 0 1px 24px 0 rgba(39, 61, 139, 0.24);
    color: #fff;
}

.hst-tabs .box-text {
    border-radius: 20px;
    background: #FAFBFF;
    box-shadow: 0 1px 24px 0 rgba(39, 61, 139, 0.28);
    height: 100%;
    padding: 20px 32px;
}

.hst-tabs .box-text {
    font-size: 17px;
    position: relative;

}

.hst-tabs .box-text .inner-box-text {
    position: relative;
}

.hst-tabs .box-text .bg-icon-1 {
    top: 38px;
    right: 39px;
}

.hst-tabs .box-text .bg-icon-2 {
    bottom: 0;
    right: 0;
}

.hst-tabs .box-text h3 {
    color: var(--c-primary);
    margin-bottom: 16px;
}

.hst-tabs .box-text ul {
    margin-left: 0;
    list-style: none;
}

.hst-tabs .box-text ul li {
    font-size: 18px;
    line-height: 44px;
    /* 244.444% */
    position: relative;
}

.hst-tabs .box-text ul li::before {
    content: "";
    background-image: url(./images/icons/checklist.svg);
    width: 27px;
    height: 27px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -35px;
    top: 8px;
}

/* Section 3 */
#hst-section-3.phuong-phap-blended {
    background-image: url(./images/hst-3-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 60px;
}

#hst-section-3.phuong-phap-blended .bg-icon-2 {
    bottom: 20px;
    right: 20px;
}

#hst-section-3.phuong-phap-blended .bg-icon-3 {
    bottom: 0;
    left: 0;
}

#hst-section-3.phuong-phap-blended .desc.desc-style-1 {
    max-width: 1010px;
    margin: auto;
    margin-bottom: 20px;
}

#hst-section-3.phuong-phap-blended .box-pp-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

#hst-section-3.phuong-phap-blended .box-pp-inner .box-left,
#hst-section-3.phuong-phap-blended .box-pp-inner .box-right {
    display: flex;
    flex-direction: column;

}

#hst-section-3.phuong-phap-blended .box-pp-inner .box-left {
    gap: 113px;
    align-items: flex-end;
    top: 26px;
    position: relative;
}

#hst-section-3.phuong-phap-blended .box-pp-inner .box-right {
    gap: 89px;
    align-items: flex-start;
}

#hst-section-3.phuong-phap-blended .pp-item:not(.pp-item-image) {
    border-radius: 40px;
    border: 1px dashed #EA2127;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    justify-content: center;
    padding: 14px 26px;
    width: fit-content;
    position: relative;
}

#hst-section-3.phuong-phap-blended .pp-item-1 {
    right: -30px;
}

#hst-section-3.phuong-phap-blended .pp-item-4 {
    left: -40px;
}

#hst-section-3.phuong-phap-blended .pp-item p {
    margin-bottom: 0;
    color: #EA2127;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    /* 140% */
}

/* Section 4 */
#hst-section-4.lo-trinh {
    padding: 60px 0;
}

.lotrinh-tabs {
    margin-top: 44px;
    border-radius: 10px;
    border: 1px solid rgba(215, 215, 215, 0.70);
    overflow: hidden;
    background: #F2F6FF;
}

.lotrinh-tabs .nav-pills .nav-link {
    font-size: 18px;
    line-height: 36px;
    color: var(--color-11);
    border-radius: 0;

    background: #FFF;
}

.lotrinh-tabs .nav-pills .nav-link.active {
    background-color: var(--c-primary);
    border-radius: 0;
    color: #fff;
}

.lotrinh-tabs .tab-content,
.lotrinh-tabs .tab-content .tab-pane {
    height: 100%;
}

.lotrinh-tabs .tab-content .tab-pane {
    padding: 32px 48px;
    line-height: 28px;
}

.lotrinh-tabs .tab-content .tab-pane blockquote {
    border-left: solid 2px #FF4D53;
    padding-left: 22px;

}

.lotrinh-tabs .tab-content .tab-pane .course-age {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 2;
    max-width: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.lotrinh-tabs .course-age .mask-bg {
    position: absolute;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-image: url(./images/webkit-mask.png);
    background: #FF4D53;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
}

.lotrinh-tabs .course-age-inner {
    position: relative;
    z-index: 2;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-weight: 400;
}

.lotrinh-tabs .course-age-inner span {
    font-size: 28px;
    font-weight: 700;
}

/* Section 5 */
#hst-section-5.cta-banner {
    padding-top: 8rem;
}

#hst-section-5.cta-banner .box-cta {
    background-image: url(./images/hst-5-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 45px 80px;
    border-radius: 35px;
}

#hst-section-5.cta-banner .box-cta {
    height: 350px;
    position: relative;
    display: flex;
}

#hst-section-5.cta-banner .box-cta .box-text {
    max-width: 640px;
    width: 100%;
}

#hst-section-5.cta-banner .box-cta .box-image {
    position: relative;
}

#hst-section-5.cta-banner .box-cta .box-image img {
    position: relative;
    bottom: 109.6%;
}

#hst-section-5.cta-banner .box-cta .title {
    margin-bottom: 20px;
}

#hst-section-5.cta-banner .box-cta .desc {
    line-height: 28px;
}

#hst-section-5.cta-banner .box-cta .btn-style-1 {
    background-color: #fff;
    color: #FF4D53;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    width: fit-content;
    padding: 10px 28px;
    margin-top: 26px;
}

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

    /* section 3 */
    #hst-section-3.phuong-phap-blended .box-pp-inner {
        align-content: space-between;
        gap: 10px;
        flex-direction: column;
    }

    #hst-section-3.phuong-phap-blended .box-pp-inner .box-left {
        gap: 10px;
        top: auto;
        position: relative;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    #hst-section-3.phuong-phap-blended .box-pp-inner .box-center {
        order: 3;
    }

    #hst-section-3.phuong-phap-blended .box-pp-inner .box-right {
        width: 100%;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
    }

    #hst-section-3.phuong-phap-blended .pp-item:not(.pp-item-image) {
        padding: 10px 12px;
        width: fit-content;
    }

    #hst-section-3.phuong-phap-blended .pp-item-1 {
        right: auto;
    }

    #hst-section-3.phuong-phap-blended .pp-item-4 {
        left: auto;
    }

    #hst-section-3.phuong-phap-blended .pp-item p {
        font-size: 16px;
    }

    /* section 4 */
    .hst-tabs .box-image {
        margin-top: 20px;
    }

    .hst-tabs .box-image img {
        width: 100%;
    }

    .lotrinh-tabs {
        flex-direction: column;
    }

    .lotrinh-tabs .lotrinh-nav {
        width: 100%;
    }

    .lotrinh-tabs .tab-content .tab-pane {
        padding-top: 72px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    #hst-section-5.cta-banner {
        padding-top: 0;
    }

    #hst-section-5.cta-banner .box-cta {
        flex-direction: column;
        height: auto;
        padding: 45px 25px;
    }

    #hst-section-5.cta-banner .box-cta .box-image {
        display: none;
    }

    #hst-section-5.cta-banner .box-cta .btn-style-1 {
        font-size: 16px;
    }
}

@media screen and (max-width:425px) {
    #hst-section-3.phuong-phap-blended .bg-icon-1 {
        opacity: 0.3;
    }

    .hst-tabs .nav-link {
        flex: 1 1 calc(100% - 20px);
    }

    .hst-tabs .box-text {
        padding: 15px;
    }

    .hst-tabs .box-text .bg-icon-1 {
        top: 17px;
        right: 39px;
        width: 10%;
    }

    .hst-tabs .box-text .bg-icon-2 {
        width: 18%;
    }

    .hst-tabs .box-text ul li {
        line-height: 32px;
    }

    #hst-section-3.phuong-phap-blended .pp-item p {
        font-size: 13px;
    }
}