/* Sub link */
.section.section-menu .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
}

.section.section-menu .row .col {
    max-width: 100%;
}

.section.section-menu .row .col-inner,
.section.section-menu .col-inner>div,
.section.section-menu .about-sub-link {
    height: 100%;
}

.about-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: .75rem;
}

p .about-sub-link {
    display: none;
}

.about-sub-link__title {
    padding-right: 1rem;
}

.about-sub-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.about-sub-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--fs-color-primary);
    transition: all .3s ease;
}

.about-sub-link:hover::after {
    width: 100%;
}

.about-sub-link:hover::before {
    height: 0;
}

.about-sub-link:hover .about-sub-link__title {
    color: var(--fs-color-primary) !important;
}

.about-sub-link:hover svg {
    animation: slideDownFade 0.3s linear;
}

.about-sub-link:not(:hover) svg {
    animation: slideUpFade 0.3s linear;
}

.about-sub-link__arrow {
    padding: .125rem .625rem;
    background: var(--fs-color-primary);
    border-radius: 50%;
}

/* Viện Victoria Content */
.section.section-victoria-video::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--fs-color-primary);
}

.video.video-fit.mb.video-container.about-victoria__video {
    padding-top: 0 !important;
}

.video-container .wp-video {
    width: 100%;
    display: flex;
    justify-self: center;
}



/* Section About */
.section.section-about::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    background-color: var(--fs-color-primary);
}

.about-us-grid {
    display: flex;
    gap: 2.25rem;
    justify-content: space-between;
}

.about-us-item {
    flex: 1 1 calc(25%);
}

.about-us-thumbnail {
    overflow: hidden;
    border-radius: 1rem;
}

.about-us-thumbnail img {
    aspect-ratio: 275 / 200;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.5s ease;
}

.about-us-thumbnail:hover img {
    transform: scale(1.1);
}


.about-us-title {
    text-align: left;
    color: #242424;
}

/* Section About Tabs */
.section.section-about-tabs {
    padding-bottom: 120px !important;
}

.always-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

.about-tabs-wrapper {
    scroll-margin-top: 150px;
}

.about-tabs-container {
    display: flex;
    align-items: flex-start;
    gap: 4.5rem;
    position: relative;
}

.about-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 120px;
    position: sticky;
    top: 30%;
    height: fit-content;
}

.about-tabs-nav::before {
    content: '';
    position: absolute;
    left: 21.5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--fs-color-primary);
}

.tab-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aaa;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    color: var(--fs-color-primary);
    font-weight: bold;
}

.tab-button .outer-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--fs-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@keyframes blink-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 #95191bbb;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px #95191b00;
        transform: scale(1.1);
    }
}

.tab-button.active .outer-circle {
    animation: blink-glow 2s ease-out infinite;
}


.tab-button .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fs-color-primary);
    border: 10px solid #fff;
    transition: all 0.3s ease;
}

.tab-button.active .circle,
.tab-button:hover .circle {
    background: #fff;
    border-color: var(--fs-color-primary);
}

.about-tabs-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.tab-panel {
    opacity: 0;
    transform: translateX(100%);
}

.image-box img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    aspect-ratio: 780 / 450;
    object-fit: cover;
}

.content-box {
    position: relative;
    width: 88%;
    height: auto;
    background: white;
    color: #373737;
    padding: 1.5rem 2rem;
    margin-top: -60px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 .5rem 1px var(--fs-color-primary);
}

.content-box h3 {
    color: var(--fs-color-primary);
    margin-bottom: 1.125rem;
    text-align: center;
}

@keyframes fadeUpCustom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutImage {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes stretchText {
    0% {
        transform: scaleY(0.9);
    }

    100% {
        transform: scaleY(1);
    }
}

/**
* MEDIA 
*/
/* Desktop lớn (Widescreen) */
@media screen and (max-width: 1921px) {
    /* CSS cho màn hình <= 1920px */
}

/* Desktop thường / Laptop lớn */
@media screen and (max-width: 1441px) {
    /* CSS cho màn hình <= 1440px */
}

/* Laptop nhỏ / Tablet landscape lớn */
@media screen and (max-width: 1201px) {
    /* CSS cho màn hình <= 1200px */
}

/* Nest hub */
@media screen and (max-width: 1025px) {

    /* CSS cho màn hình <= 1025px */
    /* Sub link */
    .section.section-menu .row {
        column-gap: 30px;
    }

    /* ABOUT */
    .about-us-grid {
        gap: 1.5rem;
    }
}

/* Tablet landscape / Laptop nhỏ */
@media screen and (max-width: 993px) {
    /* CSS cho màn hình <= 992px */
}

/* Ipad Air */
@media screen and (max-width: 821px) {

    /* CSS cho màn hình <= 821px */
    /* Sub link */

    .about-sub-link__arrow {
        padding: 0rem .5rem;
    }

    .about-sub-link__title {
        font-size: .875rem;
    }

    /* ABout */

    .about-us-grid {
        gap: 1rem;
    }
}

/* Tablet portrait lớn / Mobile landscape */
@media screen and (max-width: 769px) {

    /* CSS cho màn hình <= 768px */
    .section.section-menu {
        padding-top: 45px !important;
        padding-bottom: 60px !important;
    }

    /* ABOUT */
    .about-us-grid {
        flex-wrap: wrap;
        row-gap: 2rem;
    }

    .about-us-item {
        flex: 1 1 calc(50% - 2.5rem);
    }

    .section.section-about::before {
        height: 40%;
    }

    /* Tabs */
    .content-box {
        width: 100%;
    }
}

/* Mobile landscape / Phablet */
@media screen and (max-width: 577px) {

    /* CSS cho màn hình <= 576px */

}

/* Mobile IP 14Pro Max */
@media screen and (max-width: 431px) {

    /* CSS cho màn hình <= 431px */
    /* Common */
    .section.section-about {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }

    .section.section-about-tabs {
        padding-bottom: 100px !important;
    }

    /* Menu */
    .section.section-menu .row {
        grid-template-columns: repeat(1, 1fr);
        max-width: 85%;
        margin: 0 auto !important;
    }

    .section.section-menu .row {
        column-gap: 0px;
        row-gap: 20px;
    }

    /* About us */
    .section.section-about::before {
        height: 25%;
    }

    .about-victoria__content {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .about-victoria__content br {
        display: none;
    }

    .about-us-item {
        flex: 1 1 100%;
    }

    /* Tabs */
    .about-tabs-container {
        gap: 3rem;
        flex-direction: column;
    }

    .about-tabs-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        position: relative;
        margin-top: 2rem;
        width: 100%;
    }

    .about-tabs-nav::before {
        content: '';
        position: absolute;
        left: 10%;
        top: auto;
        bottom: 20px;
        width: 80%;
        height: 2px;
        background: var(--fs-color-primary);
    }

    .tab-button {
        flex-direction: column-reverse;
        width: 100%;
        min-height: 150px;
        text-align: center;
    }
}

/* Mobile portrait lớn (iPhone 6/7/8 Plus) */
@media screen and (max-width: 415px) {

    /* CSS cho màn hình <= 414px */

}

/* Mobile portrait trung bình (iPhone X/11 Pro) */
@media screen and (max-width: 391px) {

    /* CSS cho màn hình <= 390px */


}

/* Mobile portrait nhỏ (iPhone SE, Android nhỏ) */
@media screen and (max-width: 376px) {

    /* CSS cho màn hình <= 375px */
    .about-tabs-nav {
        gap: 0;
    }
}