﻿:root {
    --red: #D92032;
    --text: #111820;
    --muted: #7C8697;
    --img-grey: #F7F8FA;
    --left-bg: url('../../images/brand/introduction_background_footer_left.png');
    --right-bg: url('../../images/brand/introduction_background_footer_right.png');
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.fade-item-1 {
    animation-delay: 0s;
}

.fade-item-2 {
    animation-delay: 0.4s;
}

.fade-item-3 {
    animation-delay: 0.8s;
}

.fade-item-4 {
    animation-delay: 1.2s;
}


.pt-100 {
    padding-top: 100px;
}

.pb-80 {
    padding-bottom: 80px;
}

/* Content */
.section-wrap {
    max-width: 1100px;
}

/* Top tiny title */
.top-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

.img-container img {
    width: 100%;
    height: 350px;
    clip-path: inset(0 50% 0 50%);
    animation: revealImage 1.2s ease-in-out forwards;
}

@keyframes revealImage {
    from {
        clip-path: inset(0 50% 0 50%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Hero */
.hero-wrap {
    margin-top: 12px;
}

.hero {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-tab3 {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #eee;
    filter: grayscale(100%);
}

/* Subnav */
.subnav {
    font-size: .92rem;
    color: var(--muted);
    gap: 28px;
    margin-top: 18px;
    margin-bottom: 10px;
}

    .subnav a {
        color: var(--muted);
        text-decoration: none;
    }

        .subnav a:hover {
            color: var(--text);
        }

.tab1-eyebrow {
    color: var(--muted);
    margin-bottom: 30px;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    text-align: left;
}

.tab1-headline {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    margin-bottom: 80px;
}

span.highlight {
    color: var(--red);
}

.img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    min-height: 210px;
}

.red-card {
    background: var(--red);
}

.grey-card {
    background: var(--img-grey);
}

    .image-card > img {
        height: 210px;
        object-fit: cover;
        width: 100%;
        display: block;
        object-position: 0 70%;
        filter: grayscale(100%);
    }
.img-box-custom > img {
    height: 210px;
    object-fit: cover;
    width: 100%;
    display: block;
    object-position: 0 70%;
}

.lead-text {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: normal;
    color: var(--text);
}

.thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    filter: grayscale(100%);
    border-radius: .25rem;
    background: #e9ecef;
    display: block;
}

.row-gap-28 {
    row-gap: 28px;
}

/* Tab underline style */
.nav-tabs {
    border-bottom: none;
    justify-content: center;
    text-align: center;
}

    .nav-tabs .nav-item {
        border-bottom: 1px solid #555;
        width: 25%;
        cursor: pointer;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-tabs .nav-item-custom a {
        margin-left: 50px;
        margin-right: 50px;
    }

    .nav-tabs .nav-link {
        border: none;
        position: relative;
        font-weight: 600;
        color: #555;
    }

        .nav-tabs .nav-link.active {
            color: #000;
        }

        .nav-tabs .nav-link.active {
            border-bottom: 2px solid #D92032;
        }

/* ===== Hero split ===== */
.hero-footer {
    min-height: 600px; /* chiều cao khối trên */
}

.panel {
    position: relative;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    height: 600px;
    align-content: flex-end;
    flex-wrap: wrap;
}

.panel-left {
    background-image: var(--left-bg);
    height: 600px;
    width: 100%;
    background-position: 85% center;
    background-size: 160% auto;
    padding-right: 120px;
    position: absolute;
}

.panel-right {
    background-image: var(--right-bg);
    height: 600px;
    width: 100%;
    background-position: center 95%;
    background-position-x: right;
    background-size: 155% auto;
    filter: grayscale(100%);
    position: absolute;
}

.overlay-dark,
.overlay-light {
    position: absolute;
    inset: 0;
}

.overlay-dark {
    background: rgba(0,0,0,80%);
}

.overlay-light {
    background: rgba(255,255,255,80%);
}

.content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    text-align: center;
}

.brand-badge {
}

.btn-red {
    background: var(--red);
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
}

.title-left p {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

.title-left span {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

.title-right .desc-right-fw {
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
    text-align: center;
}

.title-right .title-right-fw {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

.view-btn {
    width: auto;
    height: 50px;
    border: none;
    color: #FFFFFF;
    border-radius: unset;
    text-align: center;
}

/* Section Tab 2 */
@keyframes revealImage {
    from {
        clip-path: inset(0 50% 0 50%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

.img-container-tab2 img {
    width: 100%;
    clip-path: inset(0 50% 0 50%);
    animation: revealImage 1.2s ease-in-out forwards;
}

.strip {
    --h: 350px;
    --divider: 5px;
}

.strip-wrap {
    background: #fff;
    padding-block: 14px;
}

.strip-row {
    height: var(--h);
    overflow: hidden;
}

.panel-tab2 {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.panel__img {
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transform: scale(1.04);
}

.panel-tab2 > .img1 {
    background-position: 10% center;
    background-size: 135% auto;
}

.panel-tab2 > .img2 {
    background-position: -30% 80%;
    background-size: 140% auto;
}

.panel-tab2 > .img3 {
    background-position: center 95%;
    background-size: 100% auto;
}

.cut-right {
    clip-path: polygon( 0 0, 100% 0, calc(89% - var(--divider)) 100%, 0 100% );
}

.cut-both {
    clip-path: polygon( 4% 0, 100% 0, calc(89% - var(--divider)) 100%, calc(-7% - var(--divider)) 100% );
    position: inherit;
}

.cut-left {
    clip-path: polygon( 4% 0, 100% 0, 100% 100%, calc(-7% - var(--divider)) 100% );
    position: inherit;
}

/* Wrapper */
.hero-wrapper-tab2 {
    /*min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;*/
}

.eyebrow-tab2 {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: var(--muted);
}

.hero-content-tab2 .hero-title {
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
}

.hero-content-tab2 .hero-sub {
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: normal;
}

.below {
    margin-top: 80px;
    color: #111;
    font-size: 16px;
    max-width: 680px;
    margin-left: 160px;
}

/* Section Tab 3 */

.cards-wrap {
    max-width: 100%;
    margin-top: 50px;
}

.feature-card {
    background: #F7F8FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px 0 20px;
    height: 400px;
}

    .feature-card .label {
        font-family: 'Pretendard';
        font-weight: 500;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: normal;
        text-align: center;
        color: var(--red);
        margin-top: 50px;
    }

    .feature-card .title-paragraph-1 {
        font-family: 'Pretendard';
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: normal;
        text-align: center;
        margin-top: 50px;
    }

    .feature-card .title-paragraph-2 {
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
        text-align: center;
        color: var(--muted);
        margin-top: 20px;
    }

.col-left {
    margin-top: 165px;
    padding: 0;
}

.col-right {
    margin: 0;
    padding: 0;
}

.mobile-view {
    display: none;
}

.pc-view {
    display: block;
}

.pc-view-custom {
    display: flex;
}

.indicator {
    display: none; /* Ẩn trên PC */
}

/* ====================== Tablet ========================= */
@media (min-width: 768px) and (max-width: 1024px) {

    .hero-footer {
        min-height: 200px;
    }

    .split-border {
        display: none;
    }

    .red-card {
        min-height: 240px;
    }

    .thumb {
        height: 120px;
    }

    /*Tab2*/
    .strip {
        --h: 350px;
        --divider: 5px;
    }

    /* Top tiny title */
    .top-title span, .tab1-headline span {
        display: block;
    }

    .tab1-headline {
        margin-bottom: 30px;
    }

    .section-wrap-mobile {
        max-width: 720px;
        padding: 0;
    }

    .pt-100 {
        padding-top: 80px;
    }

    .pb-80 {
        padding-bottom: 50px;
    }

    #myTabs {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .image-mobile-custom {
        margin-bottom: 30px;
    }

    .scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 15px;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    /* Indicator */
    .indicator {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        gap: 8px;
    }

    .dot-section1 {
        width: 8px;
        height: 8px;
        border-radius: 5px;
        background-color: #111820;
        opacity: 60%;
        transition: all 0.3s;
    }

        .dot-section1.active {
            width: 24px;
            height: 8px;
            border-radius: 5px;
            background-color: #D92032;
            opacity: 100%;
        }

    .dot-section3 {
        width: 8px;
        height: 8px;
        border-radius: 5px;
        background-color: #111820;
        opacity: 60%;
        transition: all 0.3s;
    }

        .dot-section3.active {
            width: 24px;
            height: 8px;
            border-radius: 5px;
            background-color: #D92032;
        }

    .image-mobile-order1 {
        order: 1;
    }

    .image-mobile-order2 {
        order: 2;
    }

    .mt-150 {
        margin-top: 60px;
    }

    .image-card > img {
        height: 245px;
    }

    .tab-header-title-section {
        margin-top: 70px;
    }

    .panel, .panel-left, .panel-right {
        height: 200px;
        align-content: center;
    }

    .mb-250 {
        margin-bottom: 130px;
    }

    .mt-100 {
        margin-top: 50px;
    }

    .mt-50 {
        margin-top: 20px;
    }

    .mt-190 {
        margin-top: 90px;
    }

    .col-left {
        margin-top: 50px;
        padding: 0;
    }
}

/* ====================== Mobile ========================= */
@media (max-width: 767px) {
    .hero-footer {
        min-height: 200px;
    }

    .split-border {
        display: none;
    }

    .red-card {
        min-height: 240px;
    }

    .thumb {
        height: 120px;
    }

    /*Tab2*/
    .strip {
        --h: 350px;
        --divider: 5px;
    }

    /* Top tiny title */
    .top-title span, .tab1-headline span {
        display: block;
    }

    .tab1-headline {
        margin-bottom: 30px;
    }

    .section-wrap-mobile {
        max-width: 720px;
        padding: 0;
    }

    .pt-100 {
        padding-top: 80px;
    }

    .pb-80 {
        padding-bottom: 50px;
    }

    #myTabs {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .image-mobile-custom {
        margin-bottom: 30px;
    }

    .scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 15px;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    /* Indicator */
    .indicator {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        gap: 8px;
    }

    .dot-section1 {
        width: 8px;
        height: 8px;
        border-radius: 5px;
        background-color: #111820;
        opacity: 60%;
        transition: all 0.3s;
    }

        .dot-section1.active {
            width: 24px;
            height: 8px;
            border-radius: 5px;
            background-color: #D92032;
        }

    .dot-section3 {
        width: 8px;
        height: 8px;
        border-radius: 5px;
        background-color: #111820;
        opacity: 60%;
        transition: all 0.3s;
    }

        .dot-section3.active {
            width: 24px;
            height: 8px;
            border-radius: 5px;
            background-color: #D92032;
        }

    .image-mobile-order1 {
        order: 1;
    }

    .image-mobile-order2 {
        order: 2;
    }

    .mt-150 {
        margin-top: 60px;
    }

    .image-card > img {
        height: 245px;
    }

    .tab-header-title-section {
        margin-top: 70px;
    }

    .panel, .panel-left, .panel-right {
        height: 130px;
        align-content: center;
    }

    .mb-250 {
        margin-bottom: 130px;
    }

    .mt-100 {
        margin-top: 50px;
    }

    .mt-50 {
        margin-top: 20px;
    }

    .mt-190 {
        margin-top: 90px;
    }

    .col-left {
        margin-top: 50px;
        padding: 0;
    }

    /* --------------- font-size mobile custom --------------- */
    .top-title {
        font-size: 20px;
        line-height: 150%;
    }
    h1.top-title {
        margin-bottom: 0px;
    }
    .img-container img {
        height: 200px;
    }

    .tab1-eyebrow {
        font-size: 12px;
    }

    .tab1-headline {
        font-size: 20px;
        line-height: 150%;
    }

    .red-card {
        min-height: 200px;
    }

    .image-card > img {
        height: 200px;
    }

    .lead-text {
        font-size: 16px;
        line-height: 150%;
    }

    .title-left p, .title-left span {
        font-size: 16px;
        line-height: 150%;
    }

    .title-right .title-right-fw, .title-right .desc-right-fw {
        font-size: 16px;
        line-height: 150%;
    }


    .site-logo {
        height: auto;
    }

    .hero-content-tab2 .hero-title {
        font-size: 20px;
        line-height: 150%;
    }

    .text-regular-20-30 {
        font-size: 16px;
        line-height: 150%;
    }

    .text-regular-24-36 {
        font-size: 18px;
        line-height: 150%;
    }

    .feature-card {
        padding: 0 10px 0 10px;
        height: 360px;
    }

    .feature-card .label {
        font-size: 16px;
        line-height: 150%;
        margin-top: 30px;
    }

    .feature-card .title-paragraph-1 {
        font-size: 20px;
        line-height: 150%;
    }

    .feature-card .title-paragraph-2 {
        font-size: 16px;
        line-height: 150%;
    }

    h2.title-paragraph-2 {
        margin-top: 0px !important;
        margin-bottom: 1rem;
    }
}