/* Global Styles */
:root {
    --primary-blue: white;
    --accent-green: #4cc9f0;
    /* Slightly brighter cyan/green for buttons */
    --button-green: #2ec4b6;
    /* The specific green from the image */
    --text-white: #ffffff;
}

html,
body,
input,
button,
select,
textarea,
.form-control,
.form-label,
.navbar-brand,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
label {
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--primary-blue);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 44px;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px !important;
    }
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    position: relative;
    padding: 20px 7%;
    background: linear-gradient(45deg, #03355a 40%, #4777f4 100%);
    overflow: hidden;
}

/* Dot pattern overlay on hero – fades from transparent (left) to visible (right) */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 35%, black 60%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 35%, black 60%, black 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-position: center;
    -webkit-mask-position: center;
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    /* Ensure content is above pattern */
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (min-width: 994px) and (max-width: 1290px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 1291px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-title .text-warning {
    color: #FDB80A !important;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 0.7rem;
    }
}

@media (min-width: 994px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.stats-text {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-feature-icon i {
    font-size: 14px;
}

.hero-feature-text {
    font-size: 11.5px;
}

/* Desktop hero feature icon colors */
.hero-feature-icon.icon-lightning {
    background-color: #ff8c00;
}

.hero-feature-icon.icon-file {
    background-color: #009dff;
}

.hero-feature-icon.icon-rupee {
    background-color: #0ca678;
}

.hero-feature-icon.icon-lock {
    background-color: #5a189a;
}

@media (max-width: 994px) {
    .hero-feature-icon {
        width: 20px !important;
        height: 20px !important;
        box-shadow: none !important;
    }

    .hero-feature-icon i {
        font-size: 10px !important;
    }

    .hero-feature-text {
        font-size: 0.59rem !important;
    }

    .hero-feature-icon.icon-lightning {
        background: #ff8c00 !important;
    }

    .hero-feature-icon.icon-file {
        background: #009dff !important;
    }

    .hero-feature-icon.icon-rupee {
        background: #0ca678 !important;
    }

    .hero-feature-icon.icon-lock {
        background: #5a189a !important;
    }
}

/* Hero Form Card */
.hero-form-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 20px;
}

@media (min-width: 994px) {
    .hero-form-wrapper {
        justify-content: flex-end;
    }
}

.hero-form-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    color: #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    /* Context for pseudo-element */
    z-index: 2;
    /* Content layer */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* The layered background shape */
.hero-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    /* Shifted more to the side */
    transform: rotate(5deg) translate(25px, 15px);
    z-index: -1;
    /* Behind the main card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #000000a1 !important;
}

.form-control {
    background-color: #f8f9fa;
    border: none;
    border-radius: 4px;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    height: 60px;
}

.form-control:focus,
.otp-input:focus {
    border: 1.5px solid #0d47a1 !important;
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.15) !important;
    background-color: #fff !important;
    outline: none !important;
}

/* For the input group (mobile number) */
.input-group:focus-within {
    border: 1.5px solid #0d47a1 !important;
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.15) !important;
    background-color: #fff !important;
}

/* Input Group Styles */
.hero-form-card .input-group {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
}

.input-group-text {
    background-color: #f8f9fa;
    border: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    padding-left: 20px;
}

.form-check-label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.consent-text a {
    color: #4361ee;
}

.consent-text a:hover {
    color: #3a56d4;
}


/* Blue Header for Form */
.form-header {
    background: linear-gradient(135deg, #3662a6 0%, #2651a0 100%);
    color: white;
    padding: 57px 23px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin: -40px -35px 30px -35px;
    position: relative;
    overflow: hidden;
}

.form-header h3,
.form-header p {
    position: relative;
    z-index: 1;
    color: white;
}

/* Hero-style header (mobile): title, amount, features */
.form-header-hero-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.form-header-hero-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: #FDB80A !important;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-header-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    justify-items: start;
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
}

.form-header-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
}

.form-header-feature i {
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Same icon style as desktop hero – plain icons, no 3D circle */
.form-header-hero-features-same-as-hero .form-header-feature {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.form-header .form-header-hero-features-same-as-hero .text-primary {
    color: #93c5fd !important;
}

.form-header .form-header-hero-features-same-as-hero .text-info {
    color: #67e8f9 !important;
}

.form-header .form-header-hero-features-same-as-hero .text-success {
    color: #86efac !important;
}

.form-header .form-header-hero-features-same-as-hero .text-warning {
    color: #fde047 !important;
}

/* Form header background image (network pattern) – keeps gradient visible */
.form-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("assets/bg-cta-subscribe-title.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}


.btn-form-submit {
    position: relative;
    /* Updated gradient with new colors */
    background: linear-gradient(45deg, #03355a 40%, #4777f4 100%);
    color: white;
    border: none;
    border-radius: 40px;
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(28, 73, 106, 0.3);
    overflow: hidden;
    z-index: 1;
    transition: all 900ms ease;
}

.btn-form-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(225deg, #03355a 40%, #4777f4 100%);
    z-index: -1;
    transition: all 900ms ease;
}

.btn-form-submit:hover::before {
    width: 100%;
}

.btn-form-submit:hover {
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Flat feature cards (3D/glossy on icon only) */
.feature-card-small {
    position: relative;
}

.feature-card-small.feature-card-blue {
    background: linear-gradient(160deg, #8b7dd8 0%, #6d5bd4 35%, #5543b8 100%);
    color: #fff;
}

.feature-card-small.feature-card-blue h6 {
    color: #fff;
}

.feature-card-small.feature-card-teal {
    background: linear-gradient(160deg, #34d399 0%, #10b981 35%, #059669 100%);
    color: #fff;
}

.feature-card-small.feature-card-teal h6 {
    color: #fff;
}

.feature-card-small.feature-card-gold {
    background: linear-gradient(160deg, #fb7185 0%, #f43f5e 35%, #e11d48 100%);
    color: #fff;
}

.feature-card-small.feature-card-gold h6 {
    color: #fff;
}

.feature-card-small.feature-card-gold p {
    color: rgba(255, 255, 255, 0.95);
}

/* Feature icons – 3D & glossy */
.feature-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-icon-small i {
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

/* Icon 3D depth (drop shadows) */
.feature-icon-3d-glossy i {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.feature-icon-3d-glossy.icon-blue i {
    color: #fff;
}

.feature-icon-3d-glossy.icon-teal i {
    color: #fff;
}

.feature-icon-3d-glossy.icon-gold i {
    color: #fff;
}

/* Glossy highlight on icon (white top-left) */
.feature-icon-3d-glossy {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto;
}

.feature-icon-3d-glossy::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 35%;
    border-radius: 50%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: 2;
}

/* OTP Input Styles */
.otp-input {
    width: 60px;
    height: 60px;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    background-color: #f8f9fa;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.otp-input:focus {
    border-color: #4361ee;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* OTP Verification Section */
.otp-verification-section {
    text-align: center;
    padding: 28px 20px 40px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #1c496a, #00a2ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(28, 73, 106, 0.1);
}

.resend-otp-link {
    color: #1c496a;
}

.resend-otp-link:hover {
    color: #00a2ff;
}

/* Hide step 2 initially handled by d-none but ensure transitions if needed */
#step1,
#step2 {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   LENDING SECTION STYLES
   ======================================== */

/* Infinite Logo Scroller */
.logo-scroller-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-scroller {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    padding: 20px 30px;
    background-color: #ffffff;
    margin: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.logo-item img {
    display: block;
    height: 45px;
    width: auto;
    max-width: 130px;
    max-height: 45px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Lender logos below Continue button – mobile only, inside form */
.form-lenders-mobile-only {
    overflow: hidden;
}

.form-lenders-mobile-only .form-lenders-label {
    color: #3662a6;
    font-weight: 600;
}

.form-lenders-mobile-only .form-logo-scroller .logo-track {
    align-items: center;
}

.form-lenders-mobile-only .form-logo-scroller .logo-item {
    flex: 0 0 auto;
    width: 88px;
    height: 48px;
    padding: 8px 10px;
    margin: 0 6px;
    box-sizing: border-box;
}

.form-lenders-mobile-only .form-logo-scroller .logo-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Hero mobile lenders strip – fixed tiles so logos don’t size unevenly */
.mobile-lenders-box .logo-scroller,
.mobile-lenders-box .logo-scroller-wrapper {
    overflow: hidden;
}

.mobile-lenders-box h6 {
    margin-bottom: 0.5rem !important;
}

.mobile-lenders-box .logo-track {
    align-items: center;
    gap: 10px;
}

.mobile-lenders-box .logo-item {
    flex: 0 0 90px;
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 8px 6px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-lenders-box .logo-item img {
    display: block;
    width: 76px !important;
    height: 34px !important;
    max-width: 76px !important;
    max-height: 34px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Loan Features Section */
.loan-features-section {
    padding: 60px 0;
}

.loan-features-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.loan-features-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .loan-features-heading {
        font-size: 2.25rem;
    }
}

.loan-feature-item {
    padding: 1.5rem 1rem;
    height: 100%;
}

.loan-feature-icon {
    font-size: 3.25rem;
    line-height: 1;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 auto;
}

.loan-feature-icon i {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #3560d9 0%, #4777f4 50%, #6b9aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    /* 3D depth (subtle) */
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

/* Glossy highlight on icon */
.loan-feature-icon::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.loan-feature-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

/* Loan Features Carousel */
.loan-features-carousel-wrapper {
    position: relative;
    padding: 0 48px 32px;
}

.loan-features-carousel {
    overflow: hidden;
    border-radius: 16px;
    padding: 15px;
}

.loan-features-track {
    display: flex;
    --visible-count: 1;
    transform: translateX(calc(-1 * var(--current-index) * (100% / var(--visible-count))));
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

@media (min-width: 576px) {
    .loan-features-track {
        --visible-count: 2;
    }
}

@media (min-width: 994px) {
    .loan-features-track {
        --visible-count: 3;
    }
}

/* 1 visible on mobile */
.loan-feature-slide {
    flex: 0 0 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

.loan-feature-slide .loan-feature-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.75rem 1.25rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Active slide: premium fintech highlight */
.loan-feature-slide.active .loan-feature-item {
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.loan-feature-slide.active .loan-feature-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #3560d9 0%, #4777f4 50%, #6b9aff 100%);
}

@media (min-width: 576px) {
    .loan-feature-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 994px) {
    .loan-feature-slide {
        flex: 0 0 33.333%;
    }
}

/* Arrows */
.loan-features-arrow {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.loan-features-arrow:hover {
    background: #4777f4;
    color: #fff;
    border-color: #4777f4;
    box-shadow: 0 4px 16px rgba(71, 119, 244, 0.35);
}

.loan-features-prev {
    left: 0;
}

.loan-features-next {
    right: 0;
}

/* Dots */
.loan-features-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.loan-features-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.loan-features-dots button:hover {
    background: #9ca3af;
}

.loan-features-dots button.active {
    background: linear-gradient(90deg, #3560d9 0%, #4777f4 100%);
    transform: scale(1.2);
}

/* Lending Highlights Section */
.lending-highlights-section {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.lending-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

.lending-card {
    border-radius: 20px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.lending-card-deep-blue {
    background: linear-gradient(45deg, #03355a 40%, #4777f4 100%);
}

.lending-card-content {
    flex: 1;
    z-index: 2;
    width: auto;
}


.lending-card-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.lending-desc {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

.lending-card-icon {
    opacity: 1;
    margin-left: 20px;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 50%;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 -3px 8px rgba(0, 0, 0, 0.2),
        inset 0 3px 8px rgba(255, 255, 255, 0.3);
}

.lending-card-icon i {
    color: white;
    font-size: 1.75rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 -1px 2px rgba(255, 255, 255, 0.5);
}

/* Colored icon variants */
.lending-card-icon.icon-orange {
    background: rgba(71, 119, 244, 0.35);
    backdrop-filter: blur(10px);
}

.lending-card-icon.icon-green {
    background: rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #03355a 0%, #1a4a7a 50%, #4777f4 100%);
    position: relative;
}

.testimonials-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.testimonials-heading {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .testimonials-heading {
        font-size: 2.1rem;
    }
}

.testimonial-card-v2 {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #4777f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 3rem;
    color: rgba(71, 119, 244, 0.15);
    line-height: 1;
}

.testimonial-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author h6 {
    color: #1a1a1a;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    position: relative;
    padding: 0 48px 32px;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 16px;
}

.testimonials-track {
    display: flex;
    --visible-count: 1;
    transform: translateX(calc(-1 * var(--current-index) * (100% / var(--visible-count))));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

@media (min-width: 576px) {
    .testimonials-track {
        --visible-count: 2;
    }
}

@media (min-width: 994px) {
    .testimonials-track {
        --visible-count: 3;
    }
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 994px) {
    .testimonial-slide {
        flex: 0 0 33.333%;
    }
}

.testimonials-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.testimonials-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.testimonials-prev {
    left: 0;
}

.testimonials-next {
    right: 0;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonials-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonials-dots button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.testimonials-dots button.active {
    background: #fff;
    transform: scale(1.2);
}

/* Footer email styling */
.footer-email {
    color: #fff !important;
    text-decoration: none;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}

.footer-email i {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== Responsive: Tablet only (768px – 994px) – hero + form centered ========== */
@media (min-width: 768px) and (max-width: 994px) {
    .hero-section .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-section .row>.col-lg-6:first-child .hero-title {
        text-align: center;
    }

    .hero-section .row>.col-lg-6:first-child .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .row>.col-lg-6:first-child .stats-text {
        justify-content: center;
    }

    .hero-section .row>.col-lg-6:last-child {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form-wrapper {
        justify-content: center;
    }
}

/* ========== Responsive: Tablet (994px and below) ========== */
@media (max-width: 994px) {
    .navbar {
        height: auto;
        min-height: 70px;
    }
}

/* Header logo larger on tablet only — below 576px mobile rules apply */
@media (max-width: 994px) and (min-width: 576px) {
    .navbar-brand img,
    .cb-navbar .logo img {
        height: 40px !important;
        width: auto;
    }
}

@media (max-width: 994px) {

    .hero-section {
        padding: 50px 5%;
    }

    .hero-title {
        margin-bottom: 20px !important;
    }


    .hero-subtitle {
        display: none !important;
    }


    .hero-form-wrapper {
        justify-content: center;
    }

    .hero-form-card {
        max-width: 100%;
        min-height: auto;
        padding: 24px 24px;
    }

    .form-header {
        padding: 35px 20px;
        margin: -24px -24px 24px -24px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 35px;
    }

    .lending-highlights-section {
        display: none !important;
    }


    .lending-card {
        padding: 24px 20px;
        min-height: 160px;
    }

    .lending-card-content h4 {
        font-size: 1.2rem;
    }

    .lending-desc {
        font-size: 0.9rem;
    }

    .lending-card-icon {
        width: 64px;
        height: 64px;
        margin-left: 16px;
    }

    .loan-features-section {
        padding: 45px 0;
    }

    .features-showcase-section .display-5 {
        font-size: 1.75rem;
    }

    .testimonials-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Footer centered on tablet */
    footer .row {
        text-align: center;
    }

    footer .row .col-lg-6 {
        text-align: center;
    }

    footer .text-lg-end {
        text-align: center !important;
    }

    footer .navbar-brand {
        display: inline-block;
    }
}

/* ========== Responsive: Mobile & Tablet (below 995px) ========== */
@media (max-width: 994px) {

    /* Mobile: Show left hero column stacked above form */
    .hero-section .row>.col-lg-6:first-child {
        display: block !important;
        order: 1;
        margin-bottom: 0 !important;
        padding-bottom: 0;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .hero-section .row>.col-lg-6:last-child {
        order: 2;
    }

    .hero-section .d-lg-none {
        display: block !important;
    }

    .d-none.d-lg-flex {
        display: none !important;
    }

    .hero-section .row {
        flex-direction: column;
    }

    /* Revert lg utilities up to 994px in hero section */
    .hero-section .text-lg-start {
        text-align: center !important;
    }

    .hero-section .pe-lg-5 {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
    }

    .hero-section .justify-content-lg-start {
        justify-content: space-between !important;
    }

    @media (min-width: 768px) {
        .hero-section .justify-content-lg-start {
            justify-content: center !important;
        }
    }

    .hero-section .gap-lg-3 {
        gap: 0.25rem !important;
    }

    .hero-section .mx-lg-0 {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-section .mb-lg-0 {
        margin-bottom: 1.5rem !important;
    }

    @media (max-width: 576px) {

        .hero-section .text-lg-start,
        .hero-section .text-sm-center {
            text-align: left !important;
        }

        .hero-section .mx-lg-0,
        .hero-section .mx-sm-auto {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    }

    /* Hide the form-header blue bar on mobile — hero content is visible above */
    .form-header {
        display: none !important;
    }

    .hero-section {
        padding: 40px 4% 20px;
        background: #f8f9fa !important;
        z-index: 1;
    }

    .hero-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 55%;
        background: linear-gradient(135deg, #03355a 0%, #0d47a1 100%);
        border-radius: 0 0 50% 50% / 0 0 40px 40px;
        z-index: 0;
    }

    .hero-section::before {
        height: 55%;
        border-radius: 0 0 50% 50% / 0 0 40px 40px;
        z-index: 1;
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 10px !important;
    }

    .stats-text {
        flex-wrap: wrap;
        gap: 12px !important;
        font-size: 0.85rem;
    }

    /* Feature icons row on mobile */
    .hero-section .d-flex.flex-nowrap.align-items-center.mb-5 {
        margin-bottom: 24px !important;
        justify-content: space-between;
        gap: 4px !important;
    }

    /* Trust box on mobile — move below form */
    .hero-section .col-lg-6:first-child .p-3.rounded-3.border {
        display: none !important;
    }

    /* Form card adjustments */
    .hero-form-wrapper {
        justify-content: center;
    }

    .hero-form-card {
        padding: 24px 20px;
        max-width: 100%;
        min-height: auto;
        margin-top: 0;
    }

    .hero-form-card::before {
        display: none;
    }

    /* Step header inside form — show this instead of form-header */
    .hero-form-card .d-flex.justify-content-between.align-items-center.mb-3 {
        display: flex !important;
    }

    .form-control {
        height: 52px;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .input-group-text {
        padding-left: 16px;
        font-size: 1rem;
    }

    .hero-form-card .input-group {
        border-radius: 4px;
    }

    .btn-form-submit {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .lending-label,
    .loan-features-label,
    .testimonials-label {
        font-size: 0.8rem;
    }

    .loan-features-heading {
        font-size: 1.5rem;
    }

    .testimonials-heading {
        font-size: 1.5rem;
    }

    .logo-item {
        padding: 14px 20px;
        margin: 0 6px;
    }

    .logo-item img {
        height: 36px;
        max-width: 100px;
    }

    .lending-highlights-section {
        padding: 35px 0;
    }

    .lending-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        min-height: auto;
    }

    .lending-card-content {
        order: 1;
    }

    .lending-card-icon {
        order: 0;
        width: 60px;
        height: 60px;
        margin-left: 0;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .lending-card-icon i {
        font-size: 1.5rem;
    }

    .loan-features-section {
        padding: 35px 0;
    }

    .loan-feature-item {
        padding: 1.25rem 0.75rem;
    }

    .loan-feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 2.75rem;
    }

    .loan-feature-item h5 {
        font-size: 1rem;
    }

    .loan-feature-desc {
        font-size: 0.8rem !important;
    }

    .features-showcase-section {
        padding: 35px 0 !important;
    }

    .features-showcase-section .display-5 {
        font-size: 1.5rem;
    }

    .features-showcase-section .text-muted {
        font-size: 0.95rem !important;
    }

    .feature-card-small h6 {
        font-size: 0.85rem !important;
    }

    .feature-card-small p {
        font-size: 0.65rem !important;
    }

    .testimonials-section {
        padding: 35px 0 !important;
    }

    .testimonial-card-v2 {
        padding: 1.5rem 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonials-arrow,
    .loan-features-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .testimonials-dots,
    .loan-features-dots {
        gap: 8px;
        margin-top: 16px;
    }

    .otp-input {
        width: 50px;
        height: 52px;
        font-size: 1.25rem !important;
    }

    footer {
        padding: 30px 0 20px !important;
    }

    footer .row {
        text-align: center;
    }

    footer .text-lg-end {
        text-align: center !important;
    }

    .footer-email {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

/* ========== Responsive: Mobile (576px and below) ========== */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px !important;
    }

    .cb-navbar .logo img {
        height: 35px !important;
        width: auto;
    }

    .hero-section {
        padding: 30px 3%;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-form-card {
        padding: 16px 16px;
        border-radius: 10px;
    }

    .hero-form-card::before {
        display: none;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .consent-text {
        font-size: 10px !important;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 22px;
    }

    .lending-label {
        margin-bottom: 4px;
    }

    .logo-scroller-wrapper {
        margin-bottom: 28px !important;
    }

    .logo-item {
        padding: 10px 14px;
        margin: 0 4px;
    }

    .logo-item img {
        height: 32px;
        max-width: 85px;
        max-height: 32px;
    }

    .mobile-lenders-box .logo-item {
        flex: 0 0 84px;
        width: 84px;
        min-width: 84px;
        max-width: 84px;
        height: 48px;
        min-height: 48px;
        max-height: 48px;
        padding: 6px 5px;
        margin: 0;
    }

    .mobile-lenders-box .logo-item img {
        width: 70px !important;
        height: 32px !important;
        max-width: 70px !important;
        max-height: 32px !important;
    }

    .lending-card-content h4 {
        font-size: 1.1rem;
    }

    .lending-desc {
        font-size: 0.85rem;
    }

    .loan-features-heading {
        font-size: 1.35rem;
    }

    .testimonials-heading {
        font-size: 1.35rem;
    }

    .features-showcase-section .display-5 {
        font-size: 1.35rem;
    }

    .feature-card-small {
        padding: 0.6rem !important;
    }

    .video-container {
        border-radius: 12px;
        overflow: hidden;
    }

    .testimonial-author h6 {
        font-size: 0.95rem;
    }

    .otp-input {
        width: 44px;
        height: 48px;
        font-size: 1.1rem !important;
    }

    .hero-form-card .d-flex.gap-2 {
        gap: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

.form-side-icons {
    width: 140px;
    background: linear-gradient(160deg, #eef4ff 0%, #f4f8ff 100%);
    border-right: 1px solid #e4eaf4;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a8d;
    margin-bottom: 18px;
}

.icon-item i {
    width: 36px;
    height: 36px;
    background: #e0e7ff;
    color: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item.active {
    color: #2563eb;
}

.icon-item.active i {
    background: #2563eb;
    color: #fff;
}

/* ===== HEADER GLOSSY ICONS ===== */
.header-glossy {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    gap: 4px;
}

/* Variants */
.header-blue {
    background-color: #00b8d4;
}

.header-orange {
    background-color: #f57c00;
}

.header-green {
    background-color: #00c853;
}



/* Header text sizing */
.header-text .fw-bolder {
    font-size: 12px !important;
    /* was 17px */
    line-height: 1.2;
}

.header-text .text-secondary {
    font-size: 10px !important;
    /* was 14px */
}

/* Mobile adjustments for header */
@media (max-width: 768px) {
    .header-glossy {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .header-text .fw-bolder {
        font-size: 14px !important;
    }

    .header-text .text-secondary {
        font-size: 11px !important;
    }

    .d-flex.align-items-center.gap-4.pe-3 {
        gap: 16px !important;
    }
}

@media (max-width: 576px) {
    .header-glossy {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* ═══════════════════════════════
   PAYMENT PRELOADER (3D COIN)
═══════════════════════════════ */
    .pay-preloader {
        position: fixed;
        inset: 0;
        background: rgba(10, 28, 50, 0.96);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .pay-preloader.visible {
        opacity: 1;
        pointer-events: all;
    }

    /* ── GOLD COIN ── */
    .coin-scene {
        width: 110px;
        height: 110px;
        perspective: 600px;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
    }

    .coin {
        width: 100%;
        height: 100%;
        position: relative;
        transform-style: preserve-3d;
        animation: coinFlip 1.8s ease-in-out infinite;
    }

    @keyframes coinFlip {
        0% {
            transform: rotateY(0deg);
        }

        100% {
            transform: rotateY(360deg);
        }
    }

    .coin-face {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        backface-visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: radial-gradient(circle at 35% 30%, #fff9c0, #f9c500 40%, #c98a00 100%);
        border: 4px solid #d4a000;
        box-shadow:
            inset 0 6px 14px rgba(255, 255, 255, 0.55),
            inset 0 -6px 14px rgba(0, 0, 0, 0.3);
    }

    .coin-face::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 14px;
        width: 38px;
        height: 22px;
        background: rgba(255, 255, 255, 0.45);
        border-radius: 50%;
        transform: rotate(-35deg);
        filter: blur(6px);
    }

    .coin-face::after {
        content: '';
        position: absolute;
        inset: 8px;
        border-radius: 50%;
        border: 2px solid rgba(180, 120, 0, 0.4);
    }

    .coin-front .rupee {
        font-size: 3.2rem;
        font-weight: 900;
        font-family: serif;
        color: #5c3300;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6), 0 -1px 2px rgba(0, 0, 0, 0.25);
        line-height: 1;
        z-index: 1;
    }

    .coin-back {
        transform: rotateY(180deg);
        padding: 20px;
    }

    .coin-back img {
        width: 84px;
        object-fit: contain;
        z-index: 1;
        position: relative;
    }

    /* Processing steps — one at a time */
    .preloader-steps {
        position: relative;
        width: 280px;
        height: 48px;
        margin-top: 4px;
    }

    .preloader-step {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
        pointer-events: none;
    }

    .preloader-step.show {
        opacity: 1;
        transform: translateY(0);
    }

    .preloader-step.hide {
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .preloader-step .step-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.1);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        font-size: 1.05rem;
        line-height: 1;
    }

    .preloader-step .step-text {
        font-size: 0.95rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.92);
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .preloader-label {
        font-size: 0.72rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.45);
        letter-spacing: 1.6px;
        text-transform: uppercase;
        margin: 0;
    }

    .header-text .fw-bolder {
        font-size: 13px !important;
    }

    .header-text .text-secondary {
        font-size: 10px !important;
    }

    .d-flex.align-items-center.gap-4.pe-3 {
        gap: 12px !important;
    }
}

/* Silver Coin Preloader Overlay */
.silver-preloader-overlay {
    position: fixed;
    inset: 0;
    background: #0f0f13;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.silver-preloader-overlay.visible {
    display: flex;
}

.coin-scene.v2 {
    width: 100px;
    height: 100px;
    perspective: 600px;
    perspective-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin.v2 {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: spin3d 2s linear infinite;
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backface-visibility: hidden;
    border: none;
}

.coin-front {
    z-index: 1;
    background: radial-gradient(circle at 35% 35%, #ffffff, #c0c0c0 50%, #888 80%, #555);
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.4), inset 2px 2px 6px rgba(255, 255, 255, 0.6);
}

.coin-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at 65% 65%, #ffffff, #c0c0c0 50%, #888 80%, #555);
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.4), inset 2px 2px 6px rgba(255, 255, 255, 0.6);
}

.coin-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #aaa;
    box-shadow: 0 0 0 2px #eee inset;
}

.rupee-symbol {
    font-size: 32px;
    color: #444;
    font-weight: 900;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

@keyframes spin3d {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* ========================================
   PRELOADER (shared form pages)
   ======================================== */
.cb-preloader {
    --cb-preloader-size: min(42vw, 200px);
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background-color: #f8fcff;
    background-image:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .98) 0 26%, rgba(241, 248, 255, .96) 52%, rgba(229, 242, 255, .94) 100%);
    overflow: hidden;
}

.cb-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cb-preloader::before {
    content: "";
    position: absolute;
    width: 145vmax;
    height: 145vmax;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, rgba(34, 150, 255, .055) 0 1px, transparent 1px 36px),
        radial-gradient(circle, rgba(69, 159, 255, .11), transparent 42%);
    transform: translateY(-3%);
    animation: cb-bgPulse 3.8s ease-in-out infinite;
}

.cb-preloader::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -10%;
    height: 28%;
    background:
        radial-gradient(ellipse at 18% 100%, rgba(185, 220, 255, .42), transparent 66%),
        linear-gradient(12deg, transparent 12%, rgba(255, 255, 255, .58) 42%, rgba(205, 232, 255, .42) 60%, transparent 82%);
    filter: blur(.2px);
    opacity: .75;
}

.cb-preloader .spark {
    position: absolute;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 18px rgba(22, 119, 242, .38);
    opacity: .65;
    animation: cb-spark 3.4s ease-in-out infinite;
}

.cb-preloader .s1 {
    width: 5px;
    height: 5px;
    left: 11%;
    top: 54%;
    animation-delay: .2s;
}

.cb-preloader .s2 {
    width: 4px;
    height: 4px;
    right: 16%;
    top: 18%;
    animation-delay: .9s;
}

.cb-preloader .s3 {
    width: 7px;
    height: 7px;
    left: 28%;
    bottom: 24%;
    animation-delay: 1.4s;
}

.cb-preloader .s4 {
    width: 3px;
    height: 3px;
    right: 35%;
    bottom: 22%;
    animation-delay: 2s;
}

.cb-preloader .stage {
    position: relative;
    width: var(--cb-preloader-size);
    height: var(--cb-preloader-size);
    display: grid;
    place-items: center;
    isolation: isolate;
}

.cb-preloader .halo {
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 104, 224, .15), rgba(255, 255, 255, .08) 42%, transparent 70%);
    filter: blur(12px);
    animation: cb-halo 2s ease-in-out infinite;
}

.cb-preloader .exact-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 17px 22px rgba(6, 82, 190, .18));
    animation: cb-logoBreath 1.85s ease-in-out infinite;
    transform-origin: 50% 50%;
}

.cb-preloader .active-ring {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}

.cb-preloader .arc-hot {
    fill: none;
    stroke-linecap: round;
    stroke-width: 18;
    stroke: url(#cbHotGrad);
    filter: url(#cbGlow);
    stroke-dasharray: 86 780;
    stroke-dashoffset: 0;
    transform-origin: 415px 415px;
    animation: cb-arcTravel 1.35s linear infinite;
    opacity: .92;
}

.cb-preloader .arc-soft {
    fill: none;
    stroke-linecap: round;
    stroke-width: 16;
    stroke: rgba(255, 255, 255, .34);
    stroke-dasharray: 42 824;
    transform-origin: 415px 415px;
    animation: cb-arcTravel 1.35s linear infinite;
}

.cb-preloader .shine {
    position: absolute;
    z-index: 4;
    width: 50%;
    height: 74%;
    left: 18%;
    top: 12%;
    transform: rotate(31deg) translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .56), transparent);
    mix-blend-mode: screen;
    clip-path: polygon(45% 0, 60% 0, 42% 100%, 27% 100%);
    animation: cb-shine 2.4s ease-in-out infinite;
    opacity: 0;
}

@keyframes cb-arcTravel {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cb-logoBreath {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.018);
    }
}

@keyframes cb-halo {

    0%,
    100% {
        opacity: .48;
        transform: scale(.96);
    }

    50% {
        opacity: .95;
        transform: scale(1.06);
    }
}

@keyframes cb-shine {

    0%,
    42% {
        opacity: 0;
        transform: rotate(31deg) translateX(-120%);
    }

    55% {
        opacity: .75;
    }

    100% {
        opacity: 0;
        transform: rotate(31deg) translateX(168%);
    }
}

@keyframes cb-bgPulse {

    0%,
    100% {
        opacity: .55;
        transform: translateY(-3%) scale(.98);
    }

    50% {
        opacity: .9;
        transform: translateY(-3%) scale(1.02);
    }
}

@keyframes cb-spark {

    0%,
    100% {
        opacity: .2;
        transform: scale(.7);
    }

    50% {
        opacity: .9;
        transform: scale(1.2);
    }
}

@media (max-width: 576px) {
    .cb-preloader {
        --cb-preloader-size: min(34vw, 132px);
    }
}

@media (max-width: 400px) {
    .cb-preloader {
        --cb-preloader-size: min(30vw, 114px);
    }
}

/* ========================================
   FORM PAGES — shared (was inline styles)
   ======================================== */
.cb-header-icon-sm {
    width: 25px;
    height: 25px;
    font-size: 10px;
}

.cb-header-icon-md {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.cb-header-title {
    font-size: 10px !important;
    line-height: 1.2;
}

.cb-header-subtitle {
    font-size: 11px;
}

.hero-features-scroll {
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.hero-feature-icon.cb-icon-32 {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.hero-feature-divider {
    height: 25px;
}

.hero-trust-box {
    background-color: rgba(255, 255, 255, 0.05);
    max-width: 420px;
}

.hero-trust-text {
    line-height: 1.5;
    font-size: 12px;
}

.col-form-column {
    padding: 0 !important;
}

.hero-form-card.cb-form-compact {
    padding: 24px;
    border-radius: 16px;
    background-color: #fff;
    max-width: 450px;
}

/* Compact form controls — override generic .form-control / .hero-form-card .input-group */
.hero-form-card .form-label.cb-label-sm {
    font-size: 14px;
    margin-bottom: 0.25rem;
}

.hero-form-card .form-control.cb-input-compact {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px 14px;
    background-color: #f3f4f6;
    height: auto;
    font-size: 14px;
    font-weight: 600;
}

.hero-form-card .input-group.cb-input-group-compact {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f3f4f6;
}

.hero-form-card .cb-input-group-btn {
    background-color: #f3f4f6;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 14px;
    border-right: 1px solid #dee2e6 !important;
    border-radius: 4px 0 0 4px;
}

.otp-input.cb-otp-input-box {
    width: 50px;
    height: 50px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #0d47a1;
    font-size: 1.5rem;
}

.cb-form-step {
    gap: 5px;
}

.cb-step-title {
    font-size: 14px;
    color: #0d47a1;
}

.cb-step-safe {
    font-size: 12px;
}

.cb-progress {
    height: 6px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.cb-progress-bar {
    background: linear-gradient(90deg, #03355a 0%, #4777f4 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.cb-progress-bar--10 {
    width: 10%;
}

.cb-progress-bar--50 {
    width: 50%;
}

.cb-label-sm {
    font-size: 14px;
}

.cb-label-icon {
    font-size: 16px;
    color: #0d47a1;
    margin-right: 4px;
}

.cb-input-compact {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px 14px;
    background-color: #f3f4f6;
    height: auto;
    font-size: 14px;
}

.cb-input-group-compact {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background-color: #f3f4f6;
}

.cb-input-group-btn {
    background-color: #f3f4f6;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 14px;
    border-right: 1px solid #dee2e6 !important;
    border-radius: 4px 0 0 4px;
}

.cb-consent-text {
    font-size: 11px;
    line-height: 1.4;
}

.cb-link-primary {
    color: #0d47a1;
}

.cb-otp-success-box {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
}

.cb-otp-title {
    font-size: 13px;
}

.cb-otp-subtitle {
    font-size: 11px;
}

.cb-btn-edit {
    font-size: 12px;
    color: #0d47a1 !important;
}

.cb-otp-input-box {
    width: 50px;
    height: 50px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #0d47a1;
}

.cb-resend-text {
    font-size: 12px;
}

.cb-resend-link {
    color: #0d47a1;
    font-weight: 600;
    opacity: 0.6;
    pointer-events: none;
}

.cb-trust-otp-box {
    background-color: #f0f4fd;
    border: 1px solid #e0e7ff;
}

.cb-trust-otp-icon {
    color: #4777f4 !important;
}

.cb-trust-otp-text {
    font-size: 12px;
}

.cb-btn-verify-lg {
    padding: 12px;
    font-size: 16px;
}

.cb-otp-footer-note {
    font-size: 11px;
}

.mobile-lenders-box .mobile-lenders-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-lenders-box .mobile-lenders-heading {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.mobile-lenders-box .logo-scroller-wrapper {
    margin: 0 !important;
}

.cb-video-title {
    color: #333;
}

.cb-video-lead {
    font-size: 1.05rem;
}

.cb-feature-card-title {
    font-size: 0.8rem;
}

.cb-feature-card-desc {
    font-size: 0.62rem;
    opacity: 0.9;
}

.cb-video-block {
    display: block;
    width: 96%;
}

.video-container .cb-video-block {
    width: 96% !important;
    max-width: 96% !important;
    height: auto;
    margin: 0 auto;
}

.cb-modal-content {
    border-radius: 16px;
}

.cb-modal-title {
    font-size: 18px;
    color: #0d47a1;
}

.cb-modal-body {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

.cb-modal-footer {
    background-color: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

.cb-modal-badge {
    font-size: 12px;
    font-weight: 600;
    color: #0c4a6e;
    background-color: #f0f9ff;
    border: 1px solid #e0f2fe;
}

.cb-modal-badge-icon {
    font-size: 15px;
    color: #0284c7;
}

.loan-features-track,
.testimonials-track {
    --current-index: 0;
}
