/* Master Stylesheet - LendWise India Exact Reference Design */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --primary-orange: #f25c05;
    --primary-orange-hover: #d94e00;
    --navy-dark: #0b1a3a;
    --navy-card: #0b1a3a;
    --bg-light: #f8fafc;
    --bg-warm: #fff8ef;
    --card-border: #e2e8f0;
    --text-dark: #0f172a;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Top Bar */
.topbar {
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

.topbar a {
    color: #0f172a;
    text-decoration: none;
}

.topbar a:hover {
    color: var(--primary-orange);
}

@media (max-width: 991.98px) {
    .topbar {
        display: none !important;
    }
}

/* Navbar */
.navbar-lending {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #e2e8f0;
}

.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--navy-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}

.brand-logo-img {
    height: 65px;
    max-height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-img-footer {
    height: 85px;
    max-height: 95px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo .logo-icon-box {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-orange) 100%);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.brand-logo span span {
    color: var(--primary-orange);
}

.nav-link-custom {
    font-weight: 700;
    font-size: 13px;
    color: var(--navy-dark);
    padding: 8px 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary-orange) !important;
}

/* Hero Section (Matching Reference Image Exact) */
.hero-light-exact {
    background: #fbfcfd;
    padding: 60px 0 70px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hero-light-exact h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.hero-light-exact p {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.btn-hero-orange {
    background: var(--primary-orange);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 26px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(242, 92, 5, 0.25);
}

.btn-hero-orange:hover {
    background: var(--primary-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 92, 5, 0.35);
}

/* Floating Sanction Badge */
.floating-sanction-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    z-index: 10;
}

.floating-sanction-badge .avatar-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.floating-sanction-badge .badge-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #e0f2fe;
}

.floating-sanction-badge .badge-sub {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

/* Section 1: Consultation Cards */
.card-consultation {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
    height: 100%;
}

.card-consultation:hover {
    transform: translateY(-6px);
}

.card-consultation img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-consultation .card-body {
    padding: 24px;
}

/* Section 2: Why LendWise India */
.why-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.why-checklist li {
    font-weight: 700;
    font-size: 15px;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-checklist li i {
    color: var(--primary-orange);
    font-size: 16px;
}

/* Section 3: Membership Cards (Exact Reference Design) */
.card-visual-navy {
    background: linear-gradient(135deg, #07132b 0%, #1e293b 100%);
    color: white;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    box-shadow: 0 12px 30px rgba(7, 19, 43, 0.25);
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-visual-orange {
    background: linear-gradient(135deg, #f25c05 0%, #d94e00 100%);
    color: white;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    box-shadow: 0 12px 30px rgba(242, 92, 5, 0.3);
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-chip {
    width: 32px;
    height: 24px;
    background: #f1c40f;
    border-radius: 4px;
    display: inline-block;
}

/* Section 4: NBFC Partners */
.nbfc-logo-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    font-weight: 800;
    font-size: 20px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.nbfc-logo-card:hover {
    transform: translateY(-3px);
}

/* Section 5: Happy Customers (Exact Screenshot Match) */
.customer-card-exact {
    background: #fff5eb;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #ffe3c2;
    position: relative;
    height: 100%;
}

.customer-quote-icon {
    font-size: 32px;
    color: #f97316;
    opacity: 0.6;
    line-height: 1;
}

.customer-avatar-box {
    width: 80px;
    height: 90px;
    border-radius: 10px;
    border: 3px solid #f97316;
    overflow: hidden;
    margin: 0 auto 12px auto;
}

.customer-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section 6: CTA Banner */
.cta-banner-exact {
    background: var(--primary-orange);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.btn-cta-white {
    background: #ffffff;
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-cta-white:hover {
    background: #f1f5f9;
    color: var(--navy-dark);
}

/* Footer Section */
.footer-exact {
    background: #f8fafc;
    color: #475569;
    padding: 60px 0 30px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-exact a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-exact a:hover {
    color: var(--primary-orange);
}

.social-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.social-circle-btn:hover {
    opacity: 0.85;
}

.sub-footer-black {
    background: #07132b;
    color: #94a3b8;
    padding: 16px 0;
    font-size: 13px;
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 52px;
        max-height: 55px;
    }
}

/* Multi-Step Application Flow (Matching Screenshots) */
.bg-warm-yellow {
    background-color: #feeed6;
    color: #0b1a3a;
}

.profile-tab-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-tab-btn.active {
    background: #f25c05;
    color: #ffffff;
    border-color: #f25c05;
    box-shadow: 0 4px 15px rgba(242, 92, 5, 0.3);
}

.emi-card-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.emi-card-box:hover {
    border-color: #f25c05;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.emi-card-box.active {
    border-color: #f25c05;
    background: #fff8ef;
    box-shadow: 0 8px 20px rgba(242, 92, 5, 0.15);
}

.emi-card-box .radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.emi-card-box.active .radio-indicator {
    border-color: #f25c05;
    background: #f25c05;
}

.emi-card-box.active .radio-indicator::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -2px;
    left: 4px;
}

.nbfc-offer-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    height: 100%;
}

.feature-badge-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Step 0 - Screenshot 2 Specific Custom Styles */
.step0-hero-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nbfc-partner-logo {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.nbfc-badge-cashe { color: #d97706; font-family: 'Outfit', sans-serif; }
.nbfc-badge-moneytap { color: #1e3a8a; font-family: 'Outfit', sans-serif; }
.nbfc-badge-wekize { color: #ea580c; font-weight: 900; font-family: 'Outfit', sans-serif; }
.nbfc-badge-investkraft { color: #b91c1c; font-family: 'Outfit', sans-serif; }

.loan-range-slider {
    accent-color: #0d9488;
    height: 6px;
    border-radius: 3px;
}

.instant-loan-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 24px;
    margin-top: 30px;
}

.otp-box-input {
    width: 55px !important;
    max-width: 55px !important;
    height: 60px !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    transition: all 0.2s ease-in-out !important;
    flex: 0 0 55px !important;
    padding: 0 !important;
    margin: 0 4px !important;
}

.otp-box-input:focus {
    border-color: var(--primary-orange) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(242, 92, 5, 0.2) !important;
    outline: none !important;
}

/* Testimonial & Payment Logo Enhancements */
.testimonial-card-wrapper {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
}

.testimonial-card-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(242, 92, 5, 0.18) !important;
}

.testimonial-img-fit {
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    border-radius: 12px;
    background: #fff8ef;
    display: block;
    margin: 0 auto;
}

.hover-zoom-img {
    transition: transform 0.3s ease;
}

.hover-zoom-img:hover {
    transform: scale(1.02);
}

@media (max-width: 767.98px) {
    .testimonial-card-wrapper {
        padding: 6px !important;
        border-radius: 12px !important;
        margin-bottom: 12px;
    }
    .testimonial-img-fit {
        max-height: 320px !important;
        border-radius: 10px !important;
    }
    #testimonialCarousel {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Footer & Logo Responsiveness Fixes */
.brand-logo-img-footer {
    max-height: 48px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.footer-exact {
    background: #ffffff;
    color: #475569;
    padding: 45px 0 20px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-exact a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-exact a:hover {
    color: var(--primary-orange, #f25c05);
}

.sub-footer-black {
    background: #0b1a3a;
    color: #94a3b8;
    font-size: 12px;
}