/* ==========================================================================
   Esskay Niwas Pvt. Ltd. — NBFC Front-End Theme
   ========================================================================== */

:root {
    --navy: #0b1229;
    --navy-2: #121a3a;
    --indigo: #4338ca;
    --violet: #7c3aed;
    --cyan: #06b6d4;
    --gold: #f2b705;
    --ink: #0f1430;
    --muted: #8a90ab;
    --muted-light: #c7cbe0;
    --light-bg: #f6f7fb;
    --card-bg: #ffffff;
    --border-soft: rgba(15, 20, 48, 0.08);
    --shadow-soft: 0 20px 45px rgba(15, 20, 48, 0.08);
    --gradient-brand: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 55%, var(--cyan) 100%);
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-head: 'Sora', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-muted-light {
    color: var(--muted-light);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}

    #preloader.loaded {
        opacity: 0;
        visibility: hidden;
    }

.loader-ring {
    width: 54px;
    height: 54px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--navy);
    color: var(--muted-light);
    font-size: 0.82rem;
    padding: 8px 0;
}

.topbar-left span {
    margin-right: 22px;
}

.topbar-left i {
    color: var(--cyan);
    margin-right: 6px;
}

.badge-live {
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ---------- Navbar ---------- */
.navbar-glass {
    background: rgba(11, 18, 41, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 0;
    transition: all .35s ease;
    top: 40px;
}

    .navbar-glass.scrolled {
        top: 0;
        padding: 10px 0;
        background: rgba(11, 18, 41, 0.92);
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }

.navbar-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff !important;
}

.navbar-logo {
    height: 102px;
    width: auto;
    display: block;
}

.brand-mark {
    display: inline-block;
    background: var(--gradient-brand);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    text-align: center;
    line-height: 30px;
    margin-right: 4px;
    font-size: 1rem;
}

.brand-accent {
    color: var(--cyan);
}

.navbar .nav-link {
    color: var(--muted-light) !important;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all .25s ease;
    position: relative;
}

    .navbar .nav-link:hover {
        color: #fff !important;
        background: rgba(255,255,255,0.06);
    }

    .navbar .nav-link::after {
        content: '';
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 3px;
        height: 2px;
        background: var(--gradient-brand);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
        border-radius: 2px;
    }

    .navbar .nav-link:hover::after {
        transform: scaleX(1);
    }

.btn-gradient {
    background: var(--gradient-brand);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 10px 25px rgba(67, 56, 202, 0.35);
}

    .btn-gradient:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(124, 58, 237, 0.45);
        color: #fff;
    }

.btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 24px;
    transition: all .3s ease;
    background: transparent;
}

    .btn-outline-light:hover {
        background: #fff;
        color: var(--navy);
        transform: translateY(-3px);
    }

.btn-light {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 28px;
    transition: transform .3s ease;
}

    .btn-light:hover {
        transform: translateY(-3px);
    }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: radial-gradient(circle at 20% 20%, #1b2452 0%, var(--navy) 55%, #060a1a 100%);
    padding-top: 170px;
    padding-bottom: 100px;
    overflow: hidden;
}

.min-vh-hero {
    min-height: 60vh;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: drift 12s ease-in-out infinite;
}

.shape-1 {
    width: 380px;
    height: 380px;
    background: var(--indigo);
    top: -100px;
    left: -80px;
}

.shape-2 {
    width: 320px;
    height: 320px;
    background: var(--cyan);
    bottom: -120px;
    right: -60px;
    animation-delay: 2s;
}

.shape-3 {
    width: 260px;
    height: 260px;
    background: var(--violet);
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes drift {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.eyebrow-dark {
    background: rgba(67, 56, 202, 0.08);
    color: var(--indigo);
}

.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-sub {
    color: var(--muted-light);
    font-size: 1.08rem;
    max-width: 520px;
}

.hero-trust h3 {
    color: #fff;
    margin-bottom: 2px;
    font-size: 1.7rem;
}

.hero-trust p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--muted-light);
}

.hero-card-stack {
    position: relative;
    padding: 20px;
}

.glass-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 28px;
    color: #fff;
}

.glass-card-sm {
    max-width: 260px;
    position: absolute;
    bottom: -30px;
    left: -10px;
    padding: 18px;
}

.badge-soft {
    background: rgba(6, 182, 212, 0.18);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.progress-track {
    height: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 92%;
    border-radius: 10px;
    background: var(--gradient-brand);
    animation: growWidth 1.6s ease forwards;
}

@keyframes growWidth {
    from {
        width: 0;
    }
}

.float-anim {
    animation: floatY 5s ease-in-out infinite;
}

.float-anim-delay {
    animation: floatY 5s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
}

    .trust-strip i {
        font-size: 1.6rem;
        color: var(--indigo);
        display: block;
        margin-bottom: 8px;
    }

    .trust-strip p {
        margin: 0;
        font-weight: 600;
        color: var(--ink);
        font-size: 0.9rem;
    }

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--navy);
}

    .section-dark h2, .section-dark h6 {
        color: #fff;
    }

    .section-dark p {
        color: var(--muted-light);
    }

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
}

    .section-head h2 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        margin: 12px 0;
    }

/* ---------- Product Cards ---------- */
.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    border: 1px solid var(--border-soft);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-soft);
        border-color: transparent;
    }

.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform .35s ease;
}

.product-card:hover .product-icon {
    transform: rotate(-8deg) scale(1.08);
}

.product-icon-lg {
    width: 72px;
    height: 72px;
    font-size: 1.9rem;
    border-radius: 18px;
}

.product-card h5 {
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.92rem;
}

.card-link {
    font-weight: 600;
    color: var(--indigo);
    font-size: 0.9rem;
}

    .card-link i {
        transition: transform .25s ease;
        display: inline-block;
    }

    .card-link:hover i {
        transform: translateX(4px);
    }

/* ---------- Feature list / timeline ---------- */
.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
}

    .feature-item i {
        color: var(--cyan);
        font-size: 1.4rem;
        margin-top: 3px;
    }

    .feature-item h6 {
        color: #fff;
        margin-bottom: 4px;
    }

    .feature-item p {
        margin: 0;
        font-size: 0.92rem;
    }

.process-timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background .3s ease, transform .3s ease;
}

    .timeline-item:hover {
        background: rgba(255,255,255,0.08);
        transform: translateX(6px);
    }

.timeline-index {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--cyan);
    min-width: 40px;
}

.timeline-item h6 {
    color: #fff;
    margin-bottom: 4px;
}

.timeline-item p {
    margin: 0;
    font-size: 0.88rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    max-width: 640px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

    .testimonial-card i.bi-quote {
        font-size: 2rem;
        color: var(--violet);
    }

    .testimonial-card p {
        font-size: 1.1rem;
        color: var(--ink);
        font-style: italic;
    }

    .testimonial-card h6 {
        margin: 14px 0 2px;
    }

    .testimonial-card span {
        font-size: 0.85rem;
        color: var(--muted);
    }

.carousel-control-prev, .carousel-control-next {
    width: 6%;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--gradient-brand);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .cta-band h2 {
        color: #fff;
        margin-bottom: 10px;
    }

    .cta-band p {
        color: rgba(255,255,255,0.85);
        margin-bottom: 30px;
    }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: radial-gradient(circle at 30% 20%, #1b2452 0%, var(--navy) 60%);
    padding: 190px 0 90px;
}

    .page-hero h1 {
        color: #fff;
        font-size: clamp(2rem, 4vw, 2.8rem);
        margin: 14px 0;
    }

    .page-hero p {
        max-width: 560px;
        margin: 0 auto;
    }

/* ---------- Stat boxes (About) ---------- */
.stat-box {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: transform .3s ease;
}

    .stat-box:hover {
        transform: translateY(-6px);
    }

    .stat-box h3 {
        font-size: 1.8rem;
        color: var(--indigo);
        margin-bottom: 4px;
    }

    .stat-box p {
        margin: 0;
        font-size: 0.85rem;
    }

.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, background .3s ease;
}

    .value-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.09);
    }

    .value-card i {
        font-size: 2rem;
        color: var(--cyan);
        margin-bottom: 14px;
        display: block;
    }

    .value-card h5 {
        color: #fff;
    }

.team-card {
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 36px 20px;
    border: 1px solid var(--border-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-soft);
    }

.team-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.team-card span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- Loan detail cards (Products page) ---------- */
.loan-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid var(--border-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .loan-detail-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag {
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.rate-box {
    background: linear-gradient(135deg, rgba(67,56,202,0.06), rgba(6,182,212,0.06));
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
}

    .rate-box h4 {
        color: var(--indigo);
        margin: 4px 0 0;
    }

    .rate-box small {
        color: var(--muted);
        font-size: 0.7rem;
        font-weight: 500;
    }

/* ---------- EMI Calculator ---------- */
.emi-calculator-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.emi-field {
    margin-bottom: 34px;
}

    .emi-field label {
        font-weight: 600;
        font-size: 0.92rem;
    }

.emi-value {
    font-weight: 700;
    color: var(--indigo);
}

.form-range {
    accent-color: var(--indigo);
}

.emi-result {
    text-align: center;
}

.donut-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-track {
    fill: none;
    stroke: var(--light-bg);
    stroke-width: 16;
}

.donut-progress {
    fill: none;
    stroke: var(--indigo);
    stroke-width: 16;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 0.8s ease;
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .donut-center h2 {
        color: var(--indigo);
        margin: 4px 0 0;
        font-size: 1.8rem;
    }

.emi-breakdown {
    text-align: left;
    margin-top: 10px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-soft);
    font-size: 0.92rem;
}

.dot-principal {
    color: var(--indigo);
    font-size: 0.6rem;
    margin-right: 8px;
}

.dot-interest {
    color: var(--cyan);
    font-size: 0.6rem;
    margin-right: 8px;
}

/* ---------- Contact page ---------- */
.contact-info-card, .contact-form-card {
    background: #fff;
    border-radius: 22px;
    padding: 40px;
    border: 1px solid var(--border-soft);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-top: 26px;
}

    .contact-info-item i {
        font-size: 1.3rem;
        color: var(--indigo);
        margin-top: 4px;
    }

    .contact-info-item h6 {
        margin-bottom: 4px;
    }

    .contact-info-item p {
        margin: 0;
        font-size: 0.9rem;
    }

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 12px 14px;
    font-size: 0.94rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--indigo);
        box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
    }

.form-success {
    text-align: center;
    padding: 40px 0;
}

    .form-success i {
        font-size: 3rem;
        color: #16a34a;
        margin-bottom: 14px;
    }

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

/* ---------- Footer ---------- */
.footer {
    background: #060a1a;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--indigo);
    filter: blur(140px);
    opacity: 0.18;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.footer h4, .footer h6 {
    color: #fff;
}

.footer-brand {
    font-family: var(--font-head);
}

.footer p {
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

    .footer-links li {
        margin-bottom: 12px;
        font-size: 0.9rem;
        color: var(--muted-light);
    }

    .footer-links a {
        color: var(--muted-light);
        transition: color .25s ease;
    }

        .footer-links a:hover {
            color: var(--cyan);
        }

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

    .social-icons a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease;
    }

        .social-icons a:hover {
            background: var(--gradient-brand);
            transform: translateY(-4px);
        }

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin-top: 40px;
}

.legal-strip {
    padding: 4px 0 12px;
}

    .legal-strip strong {
        color: var(--muted-light);
        font-weight: 600;
    }

/* ---------- Back to top ---------- */
#backToTop {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 12px 28px rgba(67,56,202,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s ease;
    z-index: 999;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover {
        transform: translateY(-4px);
    }

/* ---------- Page transition ---------- */
main {
    animation: pageFadeIn .7s ease;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

/* ---------- Image utilities ---------- */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 18px;
    display: block;
}

    .img-hover-zoom img {
        transition: transform .6s cubic-bezier(.22,.61,.36,1);
        display: block;
        width: 100%;
        height: 100%;
    }

    .img-hover-zoom:hover img {
        transform: scale(1.08) rotate(1deg);
    }

.illustration-wrap {
    position: relative;
}

    .illustration-wrap img {
        width: 100%;
        height: auto;
        animation: floatY 6s ease-in-out infinite;
    }

.illustration-glow {
    position: absolute;
    inset: 10%;
    background: var(--gradient-brand);
    filter: blur(70px);
    opacity: 0.25;
    z-index: -1;
    border-radius: 50%;
}

.avatar-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 16px;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 8px 20px rgba(67,56,202,0.18);
}

.team-card:hover .avatar-img {
    transform: scale(1.08) rotate(-3deg);
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 6px 16px rgba(67,56,202,0.2);
}

.loan-icon-img {
    width: 76px;
    height: 76px;
    transition: transform .35s ease;
}

.product-card:hover .loan-icon-img,
.loan-detail-card:hover .loan-icon-img {
    transform: scale(1.1) rotate(-4deg);
}

.pattern-strip {
    position: absolute;
    inset: 0;
    background-image: url('/images/pattern-dots.svg');
    background-size: 220px;
    opacity: 0.4;
    pointer-events: none;
}

/* ---------- Quick connect (Contact page) ---------- */
.quick-connect-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid var(--border-soft);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .quick-connect-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

.quick-connect-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--light-bg);
    margin-bottom: 14px;
    transition: background .3s ease, transform .3s ease;
}

    .quick-connect-btn:hover {
        background: rgba(67,56,202,0.08);
        transform: translateX(6px);
    }

    .quick-connect-btn .qc-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--gradient-brand);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .quick-connect-btn h6 {
        margin: 0 0 2px;
        color: var(--ink);
    }

    .quick-connect-btn span {
        font-size: 0.85rem;
        color: var(--muted);
    }

.map-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    height: 100%;
    min-height: 260px;
}

    .map-frame iframe {
        width: 100%;
        height: 100%;
        min-height: 260px;
        border: 0;
        filter: grayscale(0.15);
    }

/* ---------- AOS speed tweak ---------- */
[data-aos] {
    transition-duration: 700ms !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar-glass {
        top: 0;
    }

    .topbar {
        display: none !important;
    }

    .navbar-logo {
        height: 68px;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-card-stack {
        margin-top: 40px;
    }

    .glass-card-sm {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }

    .shape-1, .shape-2, .shape-3 {
        transform: scale(0.7);
    }

    .emi-calculator-card {
        padding: 32px 24px;
    }

    .contact-info-card, .contact-form-card {
        padding: 28px;
    }

    .footer {
        padding-top: 60px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .legal-strip {
        text-align: center;
    }

        .legal-strip > div {
            text-align: center !important;
            margin-bottom: 4px;
        }
}

@media (max-width: 767px) {
    body {
        font-size: 0.96rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
        text-align: center;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head h2, .page-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.1rem) !important;
    }

    .stat-box {
        margin-bottom: 16px;
    }

        .stat-box h3 {
            font-size: 1.5rem !important;
        }

    .process-timeline::before {
        display: none;
    }

    .donut-wrap {
        width: 180px;
        height: 180px;
    }

    .donut-center h2 {
        font-size: 1.4rem;
    }

    .map-frame iframe {
        min-height: 220px;
    }

    .illustration-wrap {
        max-width: 260px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .quick-connect-btn {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .btn-gradient, .btn-outline-light, .btn-light {
        width: 100%;
        justify-content: center;
    }

    .hero .btn-gradient, .hero .btn-outline-light {
        width: auto;
    }

    .footer-brand {
        font-size: 1.3rem;
    }

    .cta-band h2 {
        font-size: 1.5rem !important;
    }

    .navbar-logo {
        height: 56px;
    }

    .navbar-collapse {
        background: rgba(6, 10, 26, 0.98);
        border-radius: 14px;
        padding: 16px;
        margin-top: 12px;
    }

    .navbar-nav .btn-gradient {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .navbar-brand img.navbar-logo {
        max-height: 34px;
    }

    .eyebrow {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .glass-card {
        padding: 20px;
    }

    .product-card, .value-card, .loan-detail-card, .team-card, .testimonial-card {
        padding: 24px 20px;
    }

    .emi-calculator-card {
        padding: 24px 16px;
    }

    .rate-box {
        margin-bottom: 12px;
    }

    .tag-row {
        flex-wrap: wrap;
    }

    .contact-info-item {
        gap: 12px;
    }

    .breakdown-row {
        font-size: 0.85rem;
    }

    #backToTop {
        width: 40px;
        height: 40px;
        bottom: 18px;
        right: 18px;
        font-size: 1rem;
    }
}

/* Prevent horizontal scroll from decorative blurred shapes on small screens */
@media (max-width: 991px) {
    body {
        overflow-x: hidden;
    }
}
