﻿.container-custom {
    max-width: 1100px;
}

/*ection First page*/
:root {
    --text-grey-custom: #545859;
    --text-black-custom: #111820;
    --text-white-custom: #FFFFFF;
}

.text-grey-custom {
    color: var(--text-grey-custom);
}

.text-black-custom {
    color: var(--text-black-custom);
}

.text-white-custom {
    color: var(--text-white-custom);
}

.hero-custom {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

    .hero-custom::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('../../images/solution/scientific_top_banner.jpg');
        background-size: cover;
        background-position: center;
        filter: grayscale(100%);
        z-index: -2;
        transform: scale(1.02);
    }

    .hero-custom::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: -1;
    }

.hero-copy {
    text-align: center;
    color: #fff;
    line-height: 1.35;
    width: 100%;
    padding: 0 1rem;
}

.hero-top {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 24px;
    line-height: 20px;
    letter-spacing: normal;
    text-align: center;
    margin-bottom: 15px;
}

.hero-mid {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

.hero-bot {
    font-family: Pretendard;
    font-weight: 400;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
}

/*Section Wipi page*/
.section-wipi {
    text-align: center;
}

.feature-card {
    position: relative;
    background: var(--img-bg-while-85);
    border-radius: unset;
    padding: 30px 30px 60px 30px;
    height: 350px;
    text-align: left;
    overflow: hidden;
}

    .feature-card .num {
        font-family: 'Pretendard';
        font-weight: 500;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: normal;
        color: var(--text-grey-custom);
        margin-bottom: 30px;
    }

    .feature-card .title-card {
        font-family: 'Pretendard';
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: normal;
        margin-bottom: 30px;
        color: #000000;
    }

    .feature-card .desc-card {
        color: #3E4D65;
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
    }

    .feature-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0.08;
        z-index: 0;
    }

    .feature-card > * {
        position: relative;
        z-index: 1;
    }

    /* Assign different background images to each card */
.card-1::after {
    background-image: url('../../images/solution/scientific_wipi_01.jpg');
    filter: grayscale(100%);
}

.card-2::after {
    background-image: url('../../images/solution/scientific_wipi_02.jpg');
    filter: grayscale(100%);
}

.card-3::after {
    background-image: url('../../images/solution/scientific_wipi_03.jpg');
    filter: grayscale(100%);
}

/*Section color grey page*/
.section-color-grey {
    height: 330px;
    background-color: #F7F8FA;
    text-align: center;
}

/*Section Special page*/
.sp-container {
    padding-top: 150px;
}

.sp-titlebar {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

.sp-title {
    color: var(--text-grey-custom);
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
}


.sp-titlebar .rule {
    display: inline-block;
    position: relative;
    flex: 1;
}

    .sp-titlebar .rule:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 1px;
        width: 100%;
        background: var(--text-grey-custom);
        transform: scaleX(0);
        transform-origin: left;
        animation: borderGrow 1s ease forwards;
    }

@keyframes borderGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.sp-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 150px;
}

    .sp-grid > .row {
        height: 200px;
    }

    .sp-item {
        position: relative;
        z-index: 1;
        padding-bottom: 100px;
    }

.sp-index {
    position: relative;
    color: var(--text-grey-custom);
    margin-bottom: 6px;
    padding-left: 14px;
    font-family: Pretendard;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
}

    .sp-index::before {
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        width: 3px;
        height: 36px;
        background: var(--text-grey-custom);
        border-radius: unset;
    }

.sp-heading {
    color: #000000;
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
    margin-left: 20px;
}

.sp-thumb {
    border-radius: unset;
    overflow: hidden;
    height: 200px;
}

    .sp-thumb img {
        width: 100%;
        display: block;
        mask-image: linear-gradient(to right, transparent, white 50%);
        object-fit: cover;
        height: 200px;
    }

    .sp-thumb .img-sp-03 {
        transform: scale(1.04);
    }

    .sp-thumb .img-sp-04 {
        transform: scaleX(-1);
        mask-image: linear-gradient(to right, transparent, white 50%);
    }

.sp-desc {
    margin: 0;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: #1F313C;
    margin-top: 40px;
    padding-left: 14px;
}

.badge-section {
    background-color: #F7F8FA;
    text-align: center;
    height: 500px;
}

    .badge-section .title-badge {
        font-family: 'Pretendard';
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: normal;
        text-align: center;
        color: #1F313C;
    }

    .badge-section .desc-badge {
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
        text-align: center;
        color: #1F313C;
    }

.feature-icon {
    color: var(--text-blue);
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
    color: #000000;
    margin-bottom: 20px;
}

.feature-text {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: #7C8697;
}

.feature-badge {
    border-radius: 4px;
    display: inline-block;
}

/*Section Cases page*/
.cases {
    padding: 48px 0;
    background-color: var(--background-grey);
}

.case-card {
    height: 100%;
}

.case-thumb {
    position: relative;
    border-radius: unset;
    overflow: hidden;
    height: 350px;
}

    .case-thumb img {
        width: 100%;
        object-fit: cover;
        object-position: 50% 0%;
        filter: grayscale(100%);
        display: block;
        height: 350px;
    }

.thumb-title {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    border-radius: unset;
    background-color: transparent;
    backdrop-filter: blur(2px);
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
}

.case-desc {
    margin: 16px 0 40px;
    color: #1F313C;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
}

.case-meta {
    display: flex;
    flex-direction: column;
    gap: 26px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.meta-pill {
    background: #545859;
    border-radius: 14px;
    width: 120px;
    text-align: center;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    margin-bottom: 16px;
}

.meta-lines {
    color: #1F313C;
    margin: 0;
    font-family: 'Pretendard';
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: normal;
}

/*Section Steps page*/
:root {
    --card-w: 180px;
    --card-h: 250px;
    --strip-h: 290px;
}

.steps-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 110px;
    overflow: visible;
    background: #fff;
}

.steps-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
    text-align: center;
    color: #111820;
}

.steps-sub {
    text-align: center;
    color: #2b2b2b;
    margin-bottom: 20px;
    font-size: .98rem;
}

.steps-strip {
    height: 330px;
    background: var(--text-grey-custom);
    opacity: 30%;
    margin-top: 140px;
}

.steps-cards-wrap {
    margin-top: calc(var(--strip-h) / -0.7);
    z-index: 5;
    position: relative;
}

.steps-row {
    display: flex;
    justify-content: center;
    padding: 0;
}

.step-card {
    width: var(--card-w);
    min-height: var(--card-h);
    background: var(--background-grey);
    border-radius: unset;
    padding: 18px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.step-card-box {
    opacity: 0;
    transform: translateX(-40px);
    animation: stepIn 0.8s ease forwards;
}

    .step-card-box:nth-child(1) {
        animation-delay: 0s;
    }

    .step-card-box:nth-child(2) {
        animation-delay: 0.4s;
    }

    .step-card-box:nth-child(3) {
        animation-delay: 0.8s;
    }

    .step-card-box:nth-child(4) {
        animation-delay: 1.2s;
    }

    .step-card-box:nth-child(5) {
        animation-delay: 1.6s;
    }

    .step-card-box:nth-child(6) {
        animation-delay: 2.0s;
    }

@keyframes stepIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

    .step-card .meta-pill-group, .step-card .step-icon, .step-card .step-heading {
        display: flex;
        justify-content: center;
    }

    .step-card > .meta-pill-group > .meta-pill {
        background: #545859;
        color: #FFFFFF;
        border-radius: 14px;
        width: 120px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Pretendard';
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
        margin: 0;
        text-align: center;
    }

    .step-card .step-heading {
        font-family: 'Pretendard';
        font-weight: 500;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: normal;
        text-align: center;
        color: #000000;
        height: 48px;
        margin: 0 0 10px;
        display: flex;
        align-items: center;
    }

    .step-card .step-more {
        margin-top: auto;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        color: #B9BFC9;
        text-decoration: none;
        font-family: 'Pretendard';
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: normal;
    }

    .step-card > .step-footer {
        display: flex;
        justify-content: flex-end;
    }

/*Section FAQ*/
.faq-section {
    height: 563px;
    position: relative;
    background: linear-gradient(90deg, #111820 0%, #1A232D 100%);
    color: #fff;
    overflow: hidden;
}

.bg-img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none; /* không cản click */
}

.faq-inner {
    position: relative;
    z-index: 2;
}

.faq-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    text-align: center;
    margin-top: 131px;
}

.faq-title-desc {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: normal;
    text-align: center;
    color: #7C8697;
}

.faq-sub {
    color: #FFFFFF;
    line-height: 1.6;
}

.faq-buttons .btn {
    min-width: 160px;
    margin-right: 12px;
}

.site-footer {
    background: #0b0f12;
    color: rgba(255,255,255,0.6);
    padding: 18px 0;
    font-size: 13px;
}

.brand-left {
    color: #cfd8dc;
    font-weight: 600;
}

.contact-number {
    color: #ff5b5b;
    font-weight: 700;
    font-size: 18px;
}

.product-card-logo {
    position: absolute;
    padding: 15px;
}

.ask-question {
    gap: 40px;
}

.ask-question-btn {
    width: 153px;
    height: 47px;
    border: none;
    color: #FFFFFF;
    border-radius: unset;
    text-align: center;
}

.btn-red {
    background-color: #D92032;
}

.mobile-view {
    display: none;
}

.pc-view {
    display: block;
}

.pc-view-custom {
    display: flex;
}

.indicator {
    display: none;
}

.inline-pc {
    display: block;
}

.img-mobile {
    display: none;
}

.mobile-view-custom {
    display: none;
}

/* ====================== Tablet ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .position-custom-top {
        order: 1;
    }

    .position-custom-bottom {
        order: 2;
    }

    .sp-grid::before {
        display: none;
    }

    .sp-item {
        padding-bottom: 0;
    }

    .mt-150 {
        margin-top: 100px;
    }

    .mb-200 {
        margin-bottom: 100px;
    }

    .inline-mobile {
        display: block;
    }

    .inline-pc {
        display: unset;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .mobile-view-custom {
        display: flex;
    }

    .hero-custom {
        height: 300px;
    }

    .mobile-order-first {
        order: 1;
    }

    .mobile-order-last {
        order: 2;
    }

    .pl-140 {
        padding-left: 0px;
    }

    /* Indicator */
    .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 {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 100px;
        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: #111820;
            opacity: 100%;
        }

    .sp-container {
        padding-top: 60px;
    }

    .sp-titlebar {
        margin-bottom: 60px;
    }

    .badge-section {
        height: 100%;
    }

    .mb-80-custom-mobile {
        margin-bottom: 80px;
    }

    .steps-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .step-card {
        width: 100%;
        min-height: auto;
    }

    sp-grid {
        gap: 30px;
        margin-right: 10px;
    }

    .sp-grid > .row {
        height: auto;
    }

    .sp-item {
        padding-bottom: 0;
    }

    .sp-desc {
        margin-top: 20px;
        padding-left: 0;
    }

    .sp-thumb img {
        mask-image: linear-gradient(to left, transparent, white 50%);
    }

    .steps-strip {
        height: 650px;
        margin-top: 50%;
    }

    .steps-cards-wrap {
        --strip-h: 550px;
        margin-top: calc(var(--strip-h) / -0.54);
        z-index: 5;
        position: relative;
    }

    .step-card > .step-footer {
        display: none !important;
    }

    .img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
    }

    .faq-section {
        height: auto;
        display: flex;
        align-items: flex-end;
    }

    .img-container {
        width: 100%;
        height: auto;
    }

    .sp-grid {
        gap: 50px;
    }
}

/* ====================== Mobile ========================= */
@media (max-width: 767px) {
    .position-custom-top {
        order: 1;
    }

    .position-custom-bottom {
        order: 2;
    }

    .sp-grid::before {
        display: none;
    }

    .sp-item {
        padding-bottom: 0;
    }

    .mt-150 {
        margin-top: 100px;
    }

    .mb-200 {
        margin-bottom: 100px;
    }

    .inline-mobile {
        display: block;
    }

    .inline-pc {
        display: unset;
    }

    .mobile-view {
        display: block;
    }

    .pc-view {
        display: none;
    }

    .pc-view-custom {
        display: none;
    }

    .mobile-view-custom {
        display: flex;
    }

    .hero-custom {
        height: 300px;
    }

    .mobile-order-first {
        order: 1;
    }

    .mobile-order-last {
        order: 2;
    }

    .pl-140 {
        padding-left: 0px;
    }

    .sp-thumb {
        height: 120px;
    }

        .sp-thumb img {
            height: 120px;
        }
    /* Indicator */
    .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 {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 100px;
        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: #111820;
            opacity: 100%;
        }

    .sp-container {
        padding-top: 60px;
    }

    .sp-titlebar {
        margin-bottom: 60px;
    }

    .badge-section {
        height: 100%;
    }

    .mb-80-custom-mobile {
        margin-bottom: 80px;
    }

    .steps-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .step-card {
        width: 100%;
        min-height: auto;
    }

    sp-grid {
        gap: 30px;
        margin-right: 10px;
    }

        .sp-grid > .row {
            height: auto;
        }

    .sp-item {
        padding-bottom: 0;
    }

    .sp-desc {
        margin-top: 20px;
        padding-left: 0;
    }

    .sp-thumb img {
        mask-image: linear-gradient(to left, transparent, white 50%);
    }

    .steps-strip {
        height: 500px;
        margin-top: 100%;
    }

    .steps-cards-wrap {
        --strip-h: 250px;
        margin-top: calc(var(--strip-h) / -0.30);
        z-index: 5;
        position: relative;
    }

    .step-card > .step-footer {
        display: none !important;
    }

    .img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
    }

    .faq-section {
        height: auto;
        display: flex;
        align-items: flex-end;
    }

    .img-container {
        width: 100%;
        height: auto;
    }

    .sp-grid {
        gap: 50px;
    }

    /* --------------- font-size mobile custom --------------- */
    .hero-custom {
        min-height: 300px;
    }

    .hero-top {
        font-size: 16px;
        line-height: 150%;
    }

    .hero-mid, .hero-bot {
        font-size: 20px;
        line-height: 150%;
    }

    .text-bold-24-36 {
        font-size: 20px;
        line-height: 150%;
    }

    .text-regular-24-36 {
        font-size: 16px;
        line-height: 150%;
    }

    .feature-card {
        height: 360px;
    }

        .feature-card .num

        .feature-card .title-card {
            font-size: 20px;
            line-height: 150%;
        }

        .feature-card .desc-card {
            font-size: 16px;
            line-height: 150%;
        }

    .sp-title {
        font-size: 20px;
        line-height: 150%;
    }

    .sp-titlebar {
        gap: 30px;
    }

    .sp-index {
        font-size: 20px;
        line-height: 150%;
    }

    .sp-heading {
        font-size: 20px;
        line-height: 150%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .sp-desc {
        font-size: 16px;
        line-height: 150%;
    }

    .badge-section .title-badge {
        font-size: 20px;
        line-height: 150%;
    }

    .badge-section .desc-badge {
        font-size: 16px;
        line-height: 150%;
    }

    .feature-title {
        font-size: 16px;
        line-height: 150%;
    }

    .feature-text {
        font-size: 16px;
        line-height: 150%;
    }

    .mt-20 {
        margin-top: 130px;
    }

    .case-thumb img, .case-thumb {
        height: 195px;
    }

    .case-desc {
        font-size: 14px;
        line-height: 150%;
    }

    .meta-pill {
        font-size: 14px;
        line-height: 150%;
    }

    .meta-lines {
        font-size: 16px;
        line-height: 150%;
    }

    .faq-title {
        font-size: 20px;
        line-height: 150%;
        margin-top: 100px;
    }

    .faq-title-desc {
        font-size: 16px;
        line-height: 150%;
    }

    .title-mg50 {
        margin-bottom: 30px;
    }

    .title-mg60 {
        margin-bottom: 30px;
    }

    .title-mg200 {
        margin-bottom: 100px;
    }

    .case-thumb img {
        filter: grayscale(0%);
    }

    .feature-card .title-card {
        font-size: 20px;
        line-height: 150%;
    }
}