/* Secure Lend India - Easilon-style Loan & Finance Theme */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #f59e0b;
    --secondary: #0f172a;
    --text: #334155;
    --text-muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition), background var(--transition); }
a:hover { color: var(--primary-dark); }

.main-content { flex: 1; }

/* ----- Header (Easilon-style: clean, CTA button) ----- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
}
.logo:hover { text-decoration: none; color: var(--primary); }
.logo-img {
    display: block;
    height: auto;
    width: auto;
    max-height: clamp(36px, 10vw, 52px);
    max-width: clamp(130px, 45vw, 200px);
    object-fit: contain;
}
.main-nav {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    flex-wrap: wrap;
}
.main-nav a {
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
}
.main-nav a:hover { background: var(--light); text-decoration: none; color: var(--primary); }
.main-nav a.active { background: var(--accent); color: var(--white); }
.main-nav a.active:hover { color: var(--white); }
.main-nav .nav-cta {
    background: var(--accent);
    color: var(--white);
    margin-left: 0.5rem;
}
.main-nav .nav-cta:hover { background: #d97706; color: var(--white); text-decoration: none; }
.main-nav .nav-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.main-nav .nav-icon svg { display: block; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--secondary); margin: 4px 0; border-radius: 1px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 0.5rem; }
    .main-nav.open { display: flex; }
    .main-nav .nav-cta { margin-left: 0; margin-top: 0.25rem; }
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s;
    font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #d97706; border-color: #d97706; text-decoration: none; color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: var(--white); color: var(--white); text-decoration: none; }
.btn-light { color: var(--white); border-color: rgba(255,255,255,0.8); }
.btn-light:hover { background: var(--white); color: var(--accent); text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #d97706; border-color: #d97706; color: var(--white); text-decoration: none; }

/* ----- Container ----- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ----- Section headings (Easilon-style) ----- */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.section-intro {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.65;
}

/* ----- Hero (Easilon: bold headline, dual CTA) ----- */
.hero {
    position: relative;
    color: var(--white);
    padding: 4.5rem 1.5rem 5rem;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0c5c55 100%);
    background-size: cover;
    background-position: center;
}
.hero--has-bg .hero-bg {
    background-image: linear-gradient(135deg, rgba(13,148,136,0.88) 0%, rgba(15,118,110,0.9) 50%, rgba(12,92,85,0.94) 100%), var(--hero-bg-image);
    background-size: cover;
    background-position: center;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 15.523 0 10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.hero-desc {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero { padding: 0.85rem 1.75rem; font-size: 1rem; }

@media (max-width: 480px) {
    .hero { padding: 3rem 1rem 4rem; min-height: 380px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* ----- Services (Easilon: Our Loan Services) ----- */
.services-section { padding: 4rem 0; background: var(--light); }
.services-section .section-title,
.services-section .section-intro { text-align: center; }
.services-section .section-intro { margin-left: auto; margin-right: auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card .service-image-wrap {
    margin: -2rem -1.5rem 1.25rem -1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--primary-light);
    aspect-ratio: 16 / 10;
    max-height: clamp(120px, 18vw, 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.service-card .service-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    .service-card .service-image-wrap { max-height: clamp(100px, 36vw, 140px); }
}
.service-card .service-image-wrap .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
}
.service-card .service-image-wrap .service-icon svg { display: block; }
.service-card .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}
.service-card .service-icon svg { display: block; }
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ----- How it works ----- */
.how-section { padding: 4rem 0; }
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    counter-reset: step;
}
.how-card {
    text-align: center;
    position: relative;
}
.how-card::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
}
.how-card h3 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 0.5rem; }
.how-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ----- Stats strip ----- */
.stats-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem 1.5rem;
}
.stats-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item { flex: 1; min-width: 140px; }
.stat-num { font-size: 1.75rem; font-weight: 800; display: block; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* ----- Features (Why Choose Us) ----- */
.features { padding: 4rem 0; background: var(--white); }
.features .section-title,
.features .section-intro { text-align: center; }
.features .section-intro { margin-left: auto; margin-right: auto; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.feature-card {
    background: var(--light);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card--with-photo .feature-photo-wrap {
    margin: -2rem -1.75rem 1rem -1.75rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--light);
    line-height: 0;
}
.feature-card--with-photo .feature-photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(140px, 22vw, 200px);
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .feature-card--with-photo .feature-photo { max-height: clamp(120px, 42vw, 180px); }
}
/* Why Choose Us – responsive panel images */
.feature-card .feature-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
    background: var(--primary-light);
    border-radius: var(--radius);
    aspect-ratio: 1;
    max-width: 120px;
    max-height: 120px;
    overflow: hidden;
}
.feature-card .feature-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 768px) {
    .feature-card .feature-image-wrap {
        max-width: clamp(72px, 22vw, 100px);
        max-height: clamp(72px, 22vw, 100px);
    }
    .feature-card .feature-image {
        max-width: clamp(56px, 18vw, 72px);
        max-height: clamp(56px, 18vw, 72px);
    }
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}
.feature-icon svg { display: block; }
.feature-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 768px) {
    .feature-icon {
        width: clamp(44px, 12vw, 54px);
        height: clamp(44px, 12vw, 54px);
        min-width: clamp(44px, 12vw, 54px);
        min-height: clamp(44px, 12vw, 54px);
    }
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.95rem; color: var(--text); line-height: 1.55; }
.feature-card a { color: var(--primary); font-weight: 500; }

/* ----- CTA strip ----- */
.cta-strip {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 3rem 1.5rem;
}
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
}
.cta-text { font-size: 1.35rem; font-weight: 700; margin: 0; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ----- Page content ----- */
.page-content { padding: 2rem 1.5rem; max-width: 800px; margin: 0 auto; }
.page-content h1 { margin-bottom: 1rem; color: var(--secondary); font-size: 1.5rem; }
.content-body { line-height: 1.7; }

/* ----- About page ----- */
.about-page { padding: 3rem 1rem 4rem; background: var(--light); }
.about-page .section-label { display: block; text-align: center; }
.about-page__title { text-align: center; margin-bottom: 2rem; color: var(--secondary); font-size: 1.75rem; }
.about-page__grid { display: grid; gap: 2rem; max-width: 1000px; margin: 0 auto; align-items: start; }
.about-page__photo-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.about-page__photo { display: block; width: 100%; height: auto; }
.about-page__photo-placeholder { aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; color: var(--text-muted); }
.about-page__photo-placeholder span { font-weight: 600; color: var(--secondary); margin-bottom: 0.5rem; }
.about-page__photo-placeholder code { font-size: 0.85rem; background: #e2e8f0; padding: 0.2rem 0.5rem; border-radius: 4px; }
.about-page__content { min-width: 0; }
.about-page__content .content-body { line-height: 1.7; }
@media (min-width: 640px) { .about-page__grid { grid-template-columns: 320px 1fr; } }
@media (min-width: 900px) { .about-page__grid { grid-template-columns: 380px 1fr; } }

/* ----- Login section ----- */
.login-section { padding: 3rem 1rem; background: var(--white); }
.login-section__inner { max-width: 380px; margin: 0 auto; text-align: center; }
.login-section h1 { text-align: center; margin-bottom: 1.5rem; color: var(--secondary); font-size: 1.5rem; }
.login-section .login-form { width: 100%; margin: 0 auto; text-align: left; }
.login-form input { width: 100%; padding: 0.75rem 1rem; margin-bottom: 0.75rem; border: 1px solid #cbd5e1; border-radius: var(--radius); font-size: 1rem; }
.login-form .btn { width: 100%; margin-top: 0.5rem; }
.login-section__forgot { text-align: center; margin-top: 0.75rem; font-size: 0.9rem; }
.login-section__forgot a { color: var(--primary); }
.message.error { background: #fee2e2; color: #991b1b; padding: 0.75rem; border-radius: var(--radius); }

/* ----- Plan section ----- */
.plan-section { padding: 4rem 0; background: var(--light); }
.plan-section .section-title,
.plan-section .section-intro { text-align: center; }
.plan-section .section-intro { margin-bottom: 2rem; }
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.plan-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow var(--transition), transform var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.75rem; }
.plan-rate { margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--text); }
.plan-card .btn { width: 100%; }
.no-plans { text-align: center; padding: 2rem; color: var(--text-muted); }

/* ----- Contact page ----- */
.contact-page { padding: 3rem 1rem 4rem; background: var(--white); }
.contact-page .section-label { display: block; text-align: center; }
.contact-page__title { text-align: center; margin-bottom: 0.5rem; color: var(--secondary); font-size: 1.75rem; }
.contact-page__intro { text-align: center; margin-bottom: 2rem; color: var(--text); max-width: 560px; margin-left: auto; margin-right: auto; }
.contact-page__grid { display: grid; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.contact-page__card { background: var(--light); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem; border: 1px solid rgba(0,0,0,0.04); }
.contact-page__card h2 { font-size: 1.15rem; color: var(--secondary); margin-bottom: 1rem; }
.contact-form__row { margin-bottom: 1rem; }
.contact-form__row label { display: block; font-weight: 500; font-size: 0.9rem; color: var(--secondary); margin-bottom: 0.35rem; }
.contact-form__row .required { color: #dc2626; }
.contact-form__row input, .contact-form__row textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid #cbd5e1; border-radius: var(--radius); font-size: 1rem; font-family: inherit; }
.contact-form__row textarea { resize: vertical; min-height: 100px; }
.contact-form__row input[type="file"].contact-form__file { padding: 0.6rem 0.85rem; font-size: 0.95rem; cursor: pointer; }
.contact-form__row .contact-form__hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.contact-form__docs-heading { font-weight: 600; font-size: 0.95rem; color: var(--secondary); margin: 1.25rem 0 0.5rem; }
.contact-form .btn { margin-top: 0.25rem; }
.contact-page__message { padding: 0.75rem; border-radius: var(--radius); margin-bottom: 1rem; }
.contact-page__message--success { background: #dcfce7; color: #166534; }
.contact-page__message--error { background: #fee2e2; color: #991b1b; }
.contact-page__address { line-height: 1.6; }
.contact-page__company { font-weight: 600; color: var(--secondary); margin-bottom: 0.5rem; }
.contact-page__line { margin-bottom: 0.35rem; color: var(--text); }
.contact-page__line--muted { color: var(--text-muted); font-style: italic; }
.contact-page__address a { color: var(--primary); }
.contact-page__map-wrap { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; background: var(--light); border-radius: var(--radius); overflow: hidden; }
.contact-page__map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.contact-page__map-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.contact-page__map-note a { color: var(--primary); }
@media (min-width: 768px) {
    .contact-page__grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .contact-page__form-card { grid-column: 1; }
    .contact-page__side { grid-column: 2; display: flex; flex-direction: column; gap: 1.5rem; }
}

/* Loan application: same panel style as Contact, single column */
.loan-application-page .contact-page__grid { max-width: 1100px; }
@media (min-width: 768px) {
    .loan-application-page .contact-page__grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .loan-application-page .contact-page__form-card { grid-column: 1; }
    .loan-application-page .contact-page__side { grid-column: 2; display: flex; flex-direction: column; gap: 1.5rem; }
}
.loan-app__highlights-card h2 { margin-bottom: 1rem; }
.loan-app__highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.loan-app__highlights-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 1rem;
    color: var(--text);
}
.loan-app__highlights-list li:last-child { border-bottom: none; }
.loan-app__highlight-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ----- EMI Calculator (single white card, left form / right pie) ----- */
.emi-calculator-page { background: #f1f5f9; }
.emi-calc__card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
}
.emi-calc__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
.emi-calc__left { min-width: 0; }
.emi-calc__right { min-width: 0; text-align: center; }
.emi-calc__chart-panel {
    background: #f1f5f9;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
}
/* EMI form uses Contact Us form style; slider + range labels below each input */
.emi-calc__card .contact-form__row .emi-calc__slider {
    margin-top: 0.5rem;
    padding: 0;
    border: none;
    min-height: 0;
}
.emi-calc__card .contact-form__row .emi-calc__range-labels { margin-top: 0.25rem; }
.emi-calc__slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 0.25rem;
}
.emi-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c026d3;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.emi-calc__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c026d3;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.emi-calc__range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}
.emi-calc__footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}
.emi-calc__your-emi { flex: 0 0 auto; }
.emi-calc__your-emi-label { display: block; font-size: 0.9rem; color: #1e293b; margin-bottom: 0.2rem; }
.emi-calc__your-emi-value { font-size: 1.75rem; font-weight: 700; color: #b91c1c; }
.emi-calc__apply-btn { display: inline-block; margin-top: 0; }
.emi-calc__donut-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    min-height: 200px;
    margin: 0 auto 1.25rem;
}
.emi-calc__donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 0;
    display: block;
    /* Default gradient so graph shows even before JS runs */
    background: conic-gradient(#a78bfa 0% 95%, #14b8a6 95% 100%);
}
.emi-calc__donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.emi-calc__donut-total-label { font-size: 0.8rem; color: #64748b; margin-bottom: 0.25rem; }
.emi-calc__donut-total-value { font-size: 1.1rem; font-weight: 700; color: #1e293b; }
.emi-calc__pie-legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}
.emi-calc__legend-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.emi-calc__legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.emi-calc__legend--principal .emi-calc__legend-dot { background: #a78bfa; }
.emi-calc__legend--interest .emi-calc__legend-dot { background: #14b8a6; }
.emi-calc__legend-text { display: flex; flex-direction: column; gap: 0.15rem; }
.emi-calc__legend-label { font-size: 0.9rem; color: #475569; }
.emi-calc__legend-value { font-size: 1rem; font-weight: 700; color: #1e293b; display: block; }
@media (min-width: 640px) {
    .emi-calc__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.5rem; }
    .emi-calc__left { grid-column: 1; }
    .emi-calc__right { grid-column: 2; }
}

/* ----- Footer (Easilon: multi-column, dark) ----- */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 2.5rem 0 1.5rem;
    margin-top: auto;
}
.footer-inner.container { padding: 0 1.5rem; }
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .footer-inner { grid-template-columns: 1.25fr 1fr 1fr 1fr; text-align: left; }
}
.footer-brand .footer-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand .footer-desc { font-size: 0.9rem; opacity: 0.85; line-height: 1.6; margin-bottom: 1rem; max-width: 280px; }
.footer-address, .footer-contact { font-size: 0.9rem; opacity: 0.9; margin-bottom: 0.35rem; line-height: 1.5; }
.footer-links h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--white); }
.footer-links ul { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.85); display: block; padding: 0.25rem 0; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 0.85rem; opacity: 0.75; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); grid-column: 1 / -1; text-align: center; }
