/* 24h Unsecured Loan CSS
-------------------------------------------------*/
/* base */
.guide-text {
    padding-top: 63px;
}

.bankMB-page {
    font-family: GoogleSans, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #393a3d;
}

.home-page {
    font-family: GoogleSans, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #393a3d;
}

li {
    display: unset;
    margin-left: unset !important;
}

.home-title {
    font-size: 30px;
    font-family: GoogleSans Bold, Arial, sans-serif;
    text-align: center;
    line-height: 1.3;
    color: #000931;
    padding-bottom: 58px;
}

.section-temp {
    padding: 50px 0;
    /* background: url(/eSign/images/pages/techcombank/Techcombank_background1.svg?ver=3)
no-repeat; */
}

.common-title {
    font-size: 42px;
    font-family: GoogleSans Bold, Arial, Helvetica, sans-serif;
    margin: 0;
}

.nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.text-bold {
    font-family: GoogleSans Bold, Arial, Helvetica, sans-serif;
}

.text-green {
    font-size: 30px;
    padding-bottom: 0px;
}

@media screen and (max-width: 1024px) {
    br {
        display: none;
    }
}

.btn-advice-register {
    width: 200px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(#ffa42d, #ff7c17);
    text-align: center;
    border-radius: 24px;
    font-family: GoogleSans Bold, Arial, sans-serif;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    margin-right: 24px;
    cursor: pointer;
    font-size: 18px;
}

.btn-loan-register {
    width: 177px;
    height: 48px;
    background-color: white;
    color: #01a38a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: GoogleSans Bold, Arial, sans-serif;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.com-radius {
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border-top-right-radius: 35px;
}

.tab-bar {
    background-color: #01a38a;
    border-radius: 15px 15px 0px 0px;
    z-index: 100;
    align-items: center;
}

.tab-bar .active {
    box-shadow: inset 0px 3px 6px rgba(0, 0, 0, 36%);
    background-color: #00927c;
    z-index: 100;
}

.tab-bar li:first-child {
    border-top-left-radius: 15px;
}

.tab-bar li:nth-child(7) {
    border-top-right-radius: 15px;
}

.tab-bar>div {
    /* width: 50%; */
    align-items: center;
}

.tab-item {
    height: 105px;
    width: 50%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.tab-item a {
    color: #fff;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.feature-tab {
    font-size: 20px;
    text-align: center;
    text-decoration: unset;
    margin-left: 5px;
}

.space-tab {
    min-height: 60px;
    max-height: 60px;
    min-width: 1px;
    background-color: #fff;
}

@media screen and (max-width: 1024px) {
    br {
        display: none;
    }
}

@media (max-width: 979px) {
    .section-temp {
        padding: 30px 0;
    }

    .common-title {
        text-align: center;
    }

    .common-title {
        font-size: 30px;
    }

    .btn {
        font-size: 18px;
        width: 180px;
        height: 48px;
    }

    .tab-item {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .tab-bar>div {
        width: unset;
    }

    .tab-bar {
        background-color: #fff;
        flex-flow: row wrap;
        justify-content: center;
    }

    .tab-item {
        background-color: #01a38a;
        height: 70px;
        width: 280px;
        margin: 20px 20px;
        border-radius: 15px;
    }

    .space-tab {
        min-height: 0px;
        max-height: 0px;
    }
}

@media (max-width: 640px) {
    .home-page {
        font-size: 13px;
    }

    .btn {
        margin: 6px 0px;
    }

    .common-title {
        font-size: 24px;
    }

    .tab-item {
        margin: 4px 0px;
    }

    .feature-tab {
        font-size: 16px;
    }
}

.bg-hide {
    background-image: url(/eSign/images/pages/24h-unsecured-loan/bg-two.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* end  */
:root {
    --primary-color: #BB202E;
    --secondary-color: #F73D0B;
    --background-color: #FFFFFF;
    --light-blue-bg: #F0F6FF;
    --text-dark: #2A384D;
    --text-light: #FFFFFF;
    --border-radius-small: 8px;
    --border-radius-medium: 16px;
    --border-radius-large: 24px;
    --border-radius-xlarge: 32px;
    --spacing-small: 12px;
    --spacing-medium: 24px;
    --spacing-large: 40px;
    --spacing-xlarge: 60px;
    --box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.page-color {
    color: var(--primary-color);
}

.unsecured-loan-container h1,
.unsecured-loan-container h2,
.unsecured-loan-container h3,
.unsecured-loan-container h4,
.text-font {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0;
}

.unsecured-loan-container h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: var(--spacing-medium);
}

.unsecured-loan-container h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: var(--spacing-large);
    line-height: normal;
}

.unsecured-loan-container h3 {
    color: #58595B;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-small);
}

p.brand-info {
    color: #fff;
}

.unsecured-loan-container p {
    line-height: 1.6;
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 33px;
}

.unsecured-loan-container section {
    padding: var(--spacing-xlarge) 0;
}

.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 24px;
    border-radius: var(--border-radius-small);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    min-width: 160px;
    border: 1px solid #fff !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--primary-color);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: var(--spacing-medium);
}

/* Banner Section */
.hero-banner {
    background-image: url(/eSign/images/pages/24h-unsecured-loan/bg.png);
    background-size: cover;
    background-position: center;
    color: #fff;
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    height: 644px;
}

.banner-section {
    background-size: cover;
    background-position: center;
    padding: var(--spacing-xlarge) 0;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.loan-info-box {
    /* background-color: var(--light-blue-bg); */
    border-radius: var(--border-radius-large);
    padding: var(--spacing-large);
    position: relative;
    overflow: hidden;
}

.loan-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.loan-info-content {
    position: relative;
    z-index: 2;
}

.loan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: var(--spacing-medium);
}

.loan-features p {
    margin: 0;
}

.loan-feature:nth-child(odd) {
    text-align: end;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-columns: 1fr 1fr; */
}

img.image-1 {
    position: absolute;
    top: -221px;
    right: -248px;
}

.hero-image {
    position: relative;
}

img.image-3 {
    position: absolute;
    right: -229px;
    bottom: -61px;
}



img.logos-2 {
    margin-bottom: 48px;
}

img.logos-1 {
    margin-bottom: 24px;
}

img.image-2 {
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media(max-width:979px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-image.right-banner {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* Working Capital Section */
.working-capital-section {
    padding: var(--spacing-xlarge) 0;
    max-width: 1170px;
    margin: 0 auto;
}

.capital-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xlarge);
}

.capital-text {
    flex: 1;
}

.capital-text h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-medium);
    line-height: normal;
}

.capital-use-cases {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
    margin: var(--spacing-medium) 0;
}

.use-case {
    background-color: var(--primary-color);
    padding: var(--spacing-medium) var(--spacing-large);
    border-radius: var(--border-radius-medium);
    font-size: 18px;
    color: #FFFFFF;
}

.capital-image {
    flex: 1;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1), 0px 0px 12px rgba(0, 0, 0, 0.1);
}

.capital-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Loan Process Section */
.loan-process-section {
    background-color: #FFF9F8;
    padding: var(--spacing-xlarge) 0;
    border-radius: var(--border-radius-xlarge);
    margin: var(--spacing-xlarge) auto;
    max-width: 1532px;
}

.process-container {
    display: flex;
    gap: var(--spacing-large);
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.video-container {
    flex: 1;
}

.process-video {
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.process-video img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button img {
    width: 30px;
    height: 30px;
}

.process-steps {
    flex: 1;
    display: flex;
    gap: var(--spacing-medium);
}

.step-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-indicator {
    /* width: 60px; */
    /* height: 60px; */
    /* background-color: var(--light-blue-bg); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 6px 0;
    cursor: pointer;
}

.step-indicator.active {
    /* background-color: var(--primary-color); */
    opacity: 1;
}

.step-number {
    font-size: 22px;
    font-weight: 600;
    color: #58595B;
}

.step-indicator.active .step-number {
    color: var(--text-light);
}

.step-line {
    width: 2px;
    height: 40px;
    background-color: #FAE4E6;
    position: relative;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step-line.completed,
.step-line.active {
    background-color: #BB202E;
    opacity: 1;
}

.steps-content {
    flex: 1;
    padding-left: 30px;
}

.step-item {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
    animation: fadeIn 0.5s ease-in-out;
}

.step-item.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.process-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: var(--spacing-xlarge);
}

/* Advantages Section */
.advantages-section {
    background-image: url(/eSign/images/pages/24h-unsecured-loan/bg-benefit.webp);
    color: var(--text-light);
    padding: var(--spacing-xlarge) var(--spacing-xlarge);
    border-radius: var(--border-radius-xlarge);
    max-width: 1532px;
    margin: 0 auto;
    margin-top: -57px;
}

.advantages-section h2 {
    color: var(--text-light);
}

.advantages-container {
    display: flex;
    gap: var(--spacing-medium);
    justify-content: center;
    margin-bottom: var(--spacing-xlarge);
}

.advantage-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    border-radius: var(--border-radius-medium);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.advantage-icon {
    background-color: rgba(254, 239, 235, 0.85);
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-medium);
}

.advantage-icon img {
    /* width: 32px; */
    /* height: 32px; */
}

.advantage-card h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-medium);
}

.advantage-card p {
    color: var(--text-light);
}

.brand-info {
    text-align: center;
    margin: 0;
    font-size: 24px;
    margin-bottom: 37px;
}

@media(max-width:979px) {
    .advantages-section {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Bottom CTA */
.bottom-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: var(--spacing-xlarge) 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {

    .loan-features,
    .capital-content,
    .process-container,
    .advantages-container {
        flex-direction: column;
    }

    .process-steps {
        margin-top: var(--spacing-large);
    }

    .loan-process-section,
    .advantages-section {
        border-radius: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .unsecured-loan-container h1,
    .unsecured-loan-container h2 {
        font-size: 28px;
    }

    .unsecured-loan-container h3 {
        font-size: 20px;
    }

    .unsecured-loan-container p {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 20px;
    }

    .cta-buttons,
    .process-cta,
    .bottom-cta {
        flex-direction: column;
        align-items: center;
    }

    .advantage-card {
        min-width: 80%;
    }
}

/* Process Slider Styles */
.process-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.process-slider .slider-item {
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    border-radius: 10px;
    overflow: hidden;
}

.process-slider .slider-item.active {
    opacity: 1;
    display: block;
    z-index: 1;
}

.process-slider .slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Dots navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    position: absolute;
    bottom: 19px;
    left: 42%;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: #FAE4E6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slider-dot.active {
    background-color: #BB202E;
    opacity: 1;
}

/* Step indicators */
.step-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.step-indicator .step-number {
    width: 48px;
    height: 48px;
    background-color: rgba(187, 32, 46, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
    /* margin: 10px 0; */
}

.step-indicator.active {
    /* background-color: var(--primary-color); */
    opacity: 1;
    border: 1px solid #BB202E;
    padding: 6px;
    margin: 10px 0;
    color: #000;
}

.step-number {
    font-size: 22px;
    font-weight: 600;
    color: #58595B;
}

.step-indicator.active .step-number {
    color: #000;
}

.step-line {
    width: 5px;
    height: 40px;
    background-color: #FAE4E6;
    position: relative;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
    border-radius: 119px;
}

.step-line.completed,
.step-line.active {
    background-color: #BB202E;
    opacity: 1;
}

/* Process steps content */
.steps-content {
    flex: 1;
    padding-left: 30px;
    padding-top: 17px;
}

.step-item {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
    animation: fadeIn 0.5s ease-in-out;
}

.step-item.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loan-process-section .process-container {
    /* display: flex; */
    /* align-items: center; */
    gap: 40px;
    /* max-width: 1200px; */
    margin: 40px auto;
}

.loan-process-section .video-container {
    flex: 1.2;
    border-radius: 24px;
    background: #FFF;
    padding: 100px 40px;
    position: relative;
    height: 626px;
}

.loan-process-section .process-steps {
    flex: 0.8;
    display: flex;
    align-items: flex-start;
}

/* Auto-slide animation */
@keyframes autoSlide {

    0%,
    16% {
        opacity: 1;
    }

    20%,
    96% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.auto-slide .slider-item {
    animation: autoSlide 15s infinite;
    animation-play-state: running;
}

.auto-slide .slider-item:nth-child(1) {
    animation-delay: 0s;
}

.auto-slide .slider-item:nth-child(2) {
    animation-delay: 3s;
}

.auto-slide .slider-item:nth-child(3) {
    animation-delay: 6s;
}

.auto-slide .slider-item:nth-child(4) {
    animation-delay: 9s;
}

.auto-slide .slider-item:nth-child(5) {
    animation-delay: 12s;
}

.auto-slide:hover .slider-item {
    animation-play-state: paused;
}

/* region faq */
.faq .container {
    padding: unset;
}

.td-page-content {
    padding-top: 50px;
}

.faq-content .tab-content {
    border-radius: 0px 0px 15px 15px;
    border: 1px solid #01a38a;
    display: grid;
    padding-bottom: 12px;
}

.faq-content .container {
    padding: unset;
}

.faq-content .col-md-24 {
    padding-left: unset;
    padding-right: unset;
}

.qna-btn {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    padding: 10px 0px;
}

.qna-btn-question {
    position: relative;
    left: 80px;
    right: 32px;
    color: #01A38A;
    font-size: 22px;
    font-family: GoogleSans Bold, Arial, sans-serif;
    width: calc(100% - 140px);
    border-bottom: 1px solid #01A38A;
    display: flex;
    align-items: center;
}

.qna-btn-question>div:nth-child(2) {
    height: 100%;
    align-items: center;
    display: flex;
    max-width: calc(100% - 80px);
}

.qna-btn-icon {
    background: url("/eSign/images/pages/loans/ic-expand.svg") no-repeat center;
    position: absolute;
    top: 23px;
    right: 60px;
    width: 24px;
    height: 30px;
}

.qna-btn-answer {
    color: #000931;
    margin-top: 18px;
    position: relative;
    left: 104px;
    width: calc(100% - 150px);
    font-size: 22px;
    font-family: GoogleSans Regular, Arial, sans-serif;
    display: none;
}

.open {
    background: url("/eSign/images/pages/loans/ic-collapsed.svg") no-repeat center;
}

.qna-btn-question>div:first-child {
    margin-right: 10px;
    font-size: 45px;
}

.qna-btn-more {
    color: #007aff;
    cursor: pointer;
    border-radius: 15px;
    height: 44px;
    width: 141px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
    margin-top: 32px;
    left: calc(43%);
}

.qna-btn-more::after {
    content: "";
    display: inline-block;
    background: url("/eSign/images/pages/loans/ic-btn-arrow.png") no-repeat center;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.qna-btn-more:hover {
    opacity: 0.9;
}

.btn-more::after {
    transform: rotate(180deg);
}

.faq .tab-content>.tab-pane {
    padding: 44px 0px 20px 0px;
}

@media (max-width: 979px) {
    .qna-btn-more {
        left: unset;
    }
}

@media (max-width: 768px) {
    .faq-content .tab-content {
        margin: 0px 20px;
    }

    .td-page-content {
        padding-top: 10px;
    }
}

@media (max-width: 640px) {
    .qna-btn-question {
        left: 38px;
        font-size: 13px;
        width: calc(100% - 70px);
    }

    .qna-btn-question>div:first-child {
        font-size: 32px;
    }

    .qna-btn-question>div:nth-child(2) {
        max-width: calc(100% - 50px);
    }

    .qna-btn-answer {
        font-size: 13px;
        left: 68px;
        width: calc(100% - 100px);
    }

    .qna-btn-icon {
        right: 30px;
        top: 10px;
    }

    .faq .tab-content>.tab-pane {
        padding: 10px 0px;
    }

    .qna-btn-more {
        height: 30px;
        width: 100px;
        font-size: 13px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/*#endregion*/
/* form */

div#register {
    background-color: #FFF9F8;
}

.register-title {
    font-size: 24px;
    font-family: GoogleSans Bold, Arial, sans-serif;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 980px) {
    #FormRow {
        display: flex;
        align-items: center;
    }
}

/* end form */