/*
Theme Name: Mahavir Finance
Author: NIN9LABS
Description: Custom WordPress theme for Mahavir Finance
Version: 2.0
*/

:root {
    --navy: #063B73;
    --navy-dark: #082B50;
    --green: #19A85A;
    --green-light: #EAF7F0;
    --dark: #172337;
    --text: #617083;
    --light: #F5F8FC;
    --white: #FFFFFF;
    --border: #E5EBF2;
    --shadow: 0 25px 70px rgba(8, 43, 80, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 155px;
    height: 65px;
    object-fit: contain;
    object-position: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.main-nav a:hover {
    color: var(--green);
}

.main-nav .header-btn {
    background: var(--navy);
    color: white;
    padding: 13px 20px;
    border-radius: 7px;
}

.main-nav .header-btn:hover {
    background: var(--green);
    color: white;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 9px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: .3s;
}
/* Become Partner */

.partner-link {
    color: #193f78 !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.partner-link:hover {
    color: #4caf68 !important;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0 115px;
    background:
        radial-gradient(circle at 80% 30%, rgba(25,168,90,.07), transparent 30%),
        linear-gradient(135deg, #F7FAFD, #FFFFFF);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 12px;
    margin-bottom: 20px;
}

.hero-label span {
    width: 28px;
    height: 2px;
    background: var(--green);
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--green);
    display: block;
}

.hero-content > p {
    max-width: 600px;
    font-size: 17px;
    color: var(--text);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    transition: .3s ease;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: var(--green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #AEBBC9;
    color: var(--navy);
    background: white;
}

.btn-outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

.hero-trust {
    display: flex;
    gap: 35px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    color: var(--navy);
    font-size: 14px;
}

.hero-trust span {
    color: var(--text);
    font-size: 12px;
}


/* =========================
   FINANCE VISUAL
========================= */

.finance-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 510px;
    background: var(--navy);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.visual-card:before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(25,168,90,.10);
    top: -120px;
    right: -80px;
}

.visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
}

.visual-top span {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: 12px;
    margin-bottom: 5px;
}

.visual-top strong {
    font-size: 19px;
}

.growth-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
}

.chart-area {
    height: 250px;
    position: relative;
    margin-top: 35px;
}

.chart-lines {
    position: absolute;
    inset: 10px 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-lines span {
    height: 1px;
    background: rgba(255,255,255,.10);
}

.growth-chart {
    position: absolute;
    width: 100%;
    height: 220px;
    left: 0;
    bottom: 0;
}

.visual-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.visual-stats div {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 13px;
}

.visual-stats span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 11px;
}

.visual-stats strong {
    color: white;
    font-size: 18px;
}

.floating-card {
    position: absolute;
    background: white;
    box-shadow: 0 20px 45px rgba(8,43,80,.15);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
    color: var(--navy);
}

.floating-card small {
    color: var(--text);
    font-size: 10px;
}

.floating-icon,
.check-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green);
    font-weight: bold;
}

.floating-one {
    left: -30px;
    top: 75px;
}

.floating-two {
    right: -25px;
    bottom: 70px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-label {
    color: var(--green);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-heading h2 span,
.about-content h2 span {
    color: var(--green);
}

.section-heading p {
    color: var(--text);
    margin-top: 16px;
}


/* =========================
   SERVICES
========================= */

.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    transition: .3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.featured-service {
    background: var(--navy);
    border-color: var(--navy);
}

.service-number {
    position: absolute;
    right: 25px;
    top: 22px;
    color: #DCE4EC;
    font-size: 12px;
    font-weight: bold;
}

.featured-service .service-number {
    color: rgba(255,255,255,.2);
}

.service-icon {
    width: 55px;
    height: 55px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 25px;
}

.featured-service .service-icon {
    background: var(--green);
    color: white;
}

.service-card h3 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 12px;
}

.featured-service h3 {
    color: white;
}

.service-card p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 25px;
}

.featured-service p {
    color: rgba(255,255,255,.65);
}

.service-card a {
    color: var(--green);
    font-size: 13px;
    font-weight: bold;
}


/* =========================
   ABOUT
========================= */

.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.about-main-card {
    width: 90%;
    height: 380px;
    border-radius: 20px;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow);
}

.about-shield {
    width: 125px;
    height: 145px;
    border: 3px solid var(--green);
    clip-path: polygon(50% 0%, 92% 15%, 86% 70%, 50% 100%, 14% 70%, 8% 15%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 25px;
}

.about-main-card span {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 2px;
}

.about-main-card strong {
    font-size: 17px;
    margin-top: 8px;
}

.about-small-card {
    position: absolute;
    right: 0;
    bottom: 30px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(8,43,80,.12);
    border-radius: 12px;
    padding: 20px 24px;
}

.about-small-card strong {
    display: block;
    color: var(--navy);
}

.about-small-card span {
    color: var(--green);
    font-size: 12px;
}

.about-content h2 {
    color: var(--navy);
    font-size: clamp(35px, 4vw, 48px);
    line-height: 1.1;
    margin: 10px 0 22px;
}

.about-content > p {
    color: var(--text);
    margin-bottom: 15px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-points span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.about-points p {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}


/* =========================
   WHY US
========================= */

.why-section {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-card {
    padding: 38px 25px;
    border-right: 1px solid var(--border);
}

.why-card:last-child {
    border-right: 0;
}

.why-icon {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 22px;
}

.why-card h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text);
    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 0 0 100px;
}

.cta-box {
    background: var(--navy);
    border-radius: 20px;
    padding: 60px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-box .section-label {
    color: #62D18E;
}

.cta-box h2 {
    color: white;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.12;
    max-width: 680px;
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,.65);
}

.btn-light {
    background: white;
    color: var(--navy);
    white-space: nowrap;
}

.btn-light:hover {
    background: var(--green);
    color: white;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #071C32;
    color: white;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-logo {
    width: 180px;
    height: 110px;
    object-fit: contain;
    background: white;
    border-radius: 5px;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 330px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.site-footer h3 {
    font-size: 15px;
    margin: 12px 0 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact p {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    transition: .2s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,.4);
    font-size: 11px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 950px) {

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 75px 0 90px;
    }

    .finance-visual {
        min-height: 450px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-card:nth-child(2) {
        border-right: 0;
    }

    .why-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 130px;
        height: 60px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 14px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .main-nav .header-btn {
        text-align: center;
        margin-top: 12px;
        border: 0;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-trust {
        gap: 20px;
    }

    .finance-visual {
        min-height: 390px;
    }

    .visual-card {
        padding: 25px;
    }

    .chart-area {
        height: 200px;
    }

    .growth-chart {
        height: 180px;
    }

    .floating-one {
        left: -5px;
        top: 30px;
    }

    .floating-two {
        right: -5px;
        bottom: 30px;
    }

    .section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 360px;
    }

    .about-main-card {
        height: 320px;
        width: 94%;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .why-card:last-child {
        border-bottom: 0;
    }

    .cta-box {
        padding: 40px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}

/* =========================================
   FINANCIAL PRODUCTS SECTION
========================================= */

.finance-products {
    background: #f7f9fc;
    padding: 100px 0;
}

.products-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-heading {
    margin-bottom: 50px;
}

.products-heading .section-label {
    display: inline-block;
    color: #4caf68;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.products-heading h2 {
    margin: 0 0 10px;
    color: #193f78;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
}

.products-heading p {
    margin: 0;
    color: #566579;
    font-size: 20px;
}

/* Products Grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Product Card */

.product-card {
    position: relative;
    min-height: 280px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #edf1f6;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(25, 63, 120, 0.08);

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(25, 63, 120, 0.14);
    border-color: rgba(76, 175, 104, 0.25);
}

/* Card Top */

.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.product-card h3 {
    margin: 0;
    color: #25364d;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}

.product-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f0f8f3;
    border-radius: 12px;

    font-size: 27px;
}

/* Description */

.product-card p {
    margin: 25px 0 25px;

    color: #667085;
    font-size: 17px;
    line-height: 1.6;
}

/* Eligibility */

.eligibility-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    color: #e65353;
    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.eligibility-link span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fde7e7;
    border-radius: 50%;

    font-size: 25px;
    line-height: 1;

    transition: all 0.25s ease;
}

.eligibility-link:hover {
    color: #193f78;
}

.eligibility-link:hover span {
    background: #193f78;
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-heading h2 {
        font-size: 44px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .finance-products {
        padding: 70px 0;
    }

    .products-container {
        width: 90%;
    }

    .products-heading {
        margin-bottom: 35px;
    }

    .products-heading h2 {
        font-size: 38px;
    }

    .products-heading p {
        font-size: 17px;
        line-height: 1.5;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        min-height: auto;
        padding: 26px 23px;
    }

    .product-card h3 {
        font-size: 21px;
    }

    .product-card p {
        font-size: 16px;
    }

}

/* =========================================================
   MAHAVIR FINANCE - BECOME PARTNER PAGE
   WHITE + BLUE FINANCE THEME
========================================================= */

.mf-partner-page {
    --mf-blue: #0756c9;
    --mf-blue-dark: #063f91;
    --mf-blue-light: #eef6ff;
    --mf-blue-soft: #f6faff;
    --mf-text: #172033;
    --mf-muted: #667085;
    --mf-border: #dfe8f5;
    --mf-white: #ffffff;
    --mf-shadow: 0 18px 50px rgba(20, 76, 145, 0.10);

    color: var(--mf-text);
    background: #fff;
    font-family: inherit;
}

.mf-partner-page *,
.mf-partner-page *::before,
.mf-partner-page *::after {
    box-sizing: border-box;
}

.mf-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   COMMON
========================================================= */

.mf-section {
    padding: 100px 0;
}

.mf-section-white {
    background: #ffffff;
}

.mf-section-blue-light {
    background:
        linear-gradient(
            180deg,
            #f4f9ff 0%,
            #eef6ff 100%
        );
}

.mf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--mf-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mf-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--mf-blue);
    border-radius: 10px;
}

.mf-section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.mf-section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mf-section-heading.center .mf-eyebrow {
    justify-content: center;
}

.mf-section-heading h2 {
    margin: 14px 0 18px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--mf-text);
}

.mf-section-heading h2 span {
    color: var(--mf-blue);
}

.mf-section-heading p {
    margin: 0;
    color: var(--mf-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   HERO
========================================================= */

.mf-partner-hero {
    position: relative;
    overflow: hidden;

    padding: 45px 0 90px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(49, 137, 255, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6faff 100%
        );
}

.mf-partner-hero::after {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    background: rgba(27, 110, 220, 0.06);
    pointer-events: none;
}

.mf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 55px;

    color: #8792a5;
    font-size: 14px;
}

.mf-breadcrumb a {
    color: var(--mf-blue);
    text-decoration: none;
    font-weight: 600;
}

.mf-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.mf-hero-content h1 {
    max-width: 700px;

    margin: 18px 0 22px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.8px;
    font-weight: 800;
    color: #12213a;
}

.mf-hero-content h1 span {
    color: var(--mf-blue);
}

.mf-hero-description {
    max-width: 650px;

    margin: 0 0 28px;

    color: var(--mf-muted);
    font-size: 18px;
    line-height: 1.8;
}

.mf-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 35px;
}

.mf-product-tags span {
    padding: 9px 14px;

    background: #fff;
    border: 1px solid #dce8f8;
    border-radius: 50px;

    color: #3c5877;
    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 5px 18px rgba(30, 91, 150, 0.05);
}


/* =========================================================
   BUTTONS
========================================================= */

.mf-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 54px;
    padding: 0 25px;

    border: 0;
    border-radius: 10px;

    background: var(--mf-blue);
    color: #fff;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(7, 86, 201, 0.20);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.mf-primary-btn span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.mf-primary-btn:hover {
    background: var(--mf-blue-dark);
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(7, 86, 201, 0.25);
}

.mf-primary-btn:hover span {
    transform: translateX(4px);
}

.mf-full-btn {
    width: 100%;
}


/* =========================================================
   FORM CARD
========================================================= */

.mf-partner-form-card {
    position: relative;
    z-index: 2;

    padding: 34px;

    background: #fff;

    border: 1px solid #dce8f6;
    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(30, 82, 140, 0.14);
}

.mf-form-top {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 28px;
}

.mf-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border-radius: 13px;

    background: var(--mf-blue-light);
    color: var(--mf-blue);

    font-size: 24px;
    font-weight: 700;
}

.mf-form-top h2 {
    margin: 0 0 4px;

    color: #172033;
    font-size: 23px;
}

.mf-form-top p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 14px;
}

.mf-form-group {
    margin-bottom: 19px;
}

.mf-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #26364d;
    font-size: 13px;
    font-weight: 700;
}

.mf-form-group input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    border: 1px solid #d7e1ee;
    border-radius: 9px;

    background: #fbfdff;

    color: #172033;
    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.mf-form-group input::placeholder {
    color: #a2adbd;
}

.mf-form-group input:focus {
    background: #fff;

    border-color: var(--mf-blue);

    box-shadow:
        0 0 0 4px rgba(7, 86, 201, 0.08);
}

.mf-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 4px 0 20px;

    color: #667085;
    font-size: 12px;
    line-height: 1.6;

    cursor: pointer;
}

.mf-checkbox input {
    margin-top: 3px;
    accent-color: var(--mf-blue);
}

.mf-form-note {
    margin: 14px 0 0;

    color: #98a2b3;
    text-align: center;
    font-size: 11px;
}


/* =========================================================
   STATS
========================================================= */

.mf-trust-strip {
    position: relative;
    z-index: 3;

    margin-top: -1px;

    background: #fff;

    border-top: 1px solid #e5edf7;
    border-bottom: 1px solid #e5edf7;
}

.mf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.mf-stat {
    padding: 34px 20px;

    text-align: center;

    border-right: 1px solid #e7eef7;
}

.mf-stat:last-child {
    border-right: 0;
}

.mf-stat strong {
    display: block;

    margin-bottom: 6px;

    color: var(--mf-blue);

    font-size: 32px;
    line-height: 1;
}

.mf-stat span {
    color: #6f7c8f;
    font-size: 13px;
}


/* =========================================================
   DSA
========================================================= */

.mf-dsa-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.mf-dsa-image {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255,255,255,0.9),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #eaf4ff,
            #d8ebff
        );

    border: 1px solid #d8e9fb;
}

.mf-image-placeholder {
    width: 230px;
    height: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 25px 60px rgba(40, 100, 160, 0.15);
}

.mf-big-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    margin-bottom: 15px;

    border-radius: 25px;

    background: var(--mf-blue);
    color: #fff;

    font-size: 42px;
    font-weight: 800;
}

.mf-image-placeholder span {
    color: #4d6079;
    font-size: 14px;
    font-weight: 700;
}

.mf-dsa-content {
    display: grid;
    gap: 8px;
}

.mf-info-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;

    padding: 20px;

    border-bottom: 1px solid #e7edf5;
}

.mf-number {
    color: var(--mf-blue);
    font-size: 14px;
    font-weight: 800;
}

.mf-info-item h3 {
    margin: 0 0 7px;

    color: #1d2b40;
    font-size: 18px;
}

.mf-info-item p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.7;
}

.mf-highlight-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;

    margin-top: 45px;
    padding: 28px 30px;

    background: #f5f9ff;
    border-left: 4px solid var(--mf-blue);
    border-radius: 12px;
}

.mf-highlight-box strong {
    color: var(--mf-blue);
    font-size: 16px;
}

.mf-highlight-box p {
    margin: 0;

    color: #657287;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   PROFESSIONS
========================================================= */

.mf-profession-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mf-profession-card {
    padding: 30px;

    background: #fff;

    border: 1px solid #dce8f5;
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(35, 91, 145, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mf-profession-card:hover {
    transform: translateY(-6px);

    border-color: #b9d4f5;

    box-shadow:
        0 20px 45px rgba(35, 91, 145, 0.10);
}

.mf-profession-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 14px;

    background: var(--mf-blue-light);
    color: var(--mf-blue);

    font-size: 16px;
    font-weight: 800;
}

.mf-profession-card h3 {
    margin: 0 0 9px;

    font-size: 18px;
}

.mf-profession-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   TWO COLUMN
========================================================= */

.mf-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.mf-two-column h2 {
    margin: 15px 0 0;

    color: #172033;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.mf-two-column h2 span {
    color: var(--mf-blue);
}

.mf-two-column p {
    margin: 0 0 18px;

    color: var(--mf-muted);
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   TRAINING
========================================================= */

.mf-training-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.mf-training-card {
    padding: 26px 22px;

    background: #fff;

    border: 1px solid #dce8f5;
    border-radius: 14px;
}

.mf-training-card > span {
    color: var(--mf-blue);

    font-size: 12px;
    font-weight: 800;
}

.mf-training-card h3 {
    margin: 17px 0 10px;

    font-size: 17px;
}

.mf-training-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   DOCUMENTS
========================================================= */

.mf-document-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mf-document-card {
    padding: 35px 28px;

    text-align: center;

    background: #fff;

    border: 1px solid #dfe8f3;
    border-radius: 16px;

    box-shadow: 0 12px 35px rgba(30, 86, 140, 0.05);
}

.mf-document-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 18px;

    background: var(--mf-blue-light);
    color: var(--mf-blue);

    font-size: 16px;
    font-weight: 800;
}

.mf-document-card h3 {
    margin: 0 0 9px;
    font-size: 18px;
}

.mf-document-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.7;
}

.mf-document-note {
    max-width: 800px;

    margin: 35px auto 0;
    padding: 20px 25px;

    background: #f5f9ff;
    border: 1px solid #dce9f8;
    border-radius: 12px;

    color: #68768a;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.mf-document-note strong {
    color: #34445b;
}


/* =========================================================
   ELIGIBILITY
========================================================= */

.mf-eligibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mf-eligibility-card {
    padding: 30px 23px;

    text-align: center;

    background: #fff;

    border: 1px solid #dce8f5;
    border-radius: 16px;
}

.mf-circle-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--mf-blue);
    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.mf-eligibility-card h3 {
    margin: 0 0 10px;

    font-size: 18px;
}

.mf-eligibility-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   PROCESS
========================================================= */

.mf-process {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.mf-process-line {
    position: absolute;

    top: 29px;
    left: 10%;
    right: 10%;

    height: 2px;

    background: #cfe0f4;
}

.mf-process-step {
    position: relative;
    z-index: 2;

    text-align: center;
}

.mf-process-number {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: #fff;

    border: 2px solid var(--mf-blue);

    color: var(--mf-blue);

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 0 0 8px #fff;
}

.mf-process-step h3 {
    margin: 0 0 10px;

    font-size: 18px;
}

.mf-process-step p {
    max-width: 230px;

    margin: auto;

    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.7;
}

.mf-center-button {
    display: flex;
    justify-content: center;

    margin-top: 55px;
}


/* =========================================================
   BENEFITS
========================================================= */

.mf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mf-benefit-card {
    padding: 30px;

    background: #fff;

    border: 1px solid #dce8f5;
    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mf-benefit-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(30, 90, 145, 0.09);
}

.mf-benefit-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 13px;

    background: var(--mf-blue-light);
    color: var(--mf-blue);

    font-size: 20px;
    font-weight: 800;
}

.mf-benefit-card h3 {
    margin: 0 0 9px;

    font-size: 18px;
}

.mf-benefit-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FEATURES
========================================================= */

.mf-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mf-feature-card {
    position: relative;

    padding: 32px 25px;

    border: 1px solid #dce7f3;
    border-radius: 15px;

    background: #fff;

    overflow: hidden;
}

.mf-feature-card::after {
    content: "";

    position: absolute;

    right: -30px;
    bottom: -30px;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: #f1f7ff;
}

.mf-feature-number {
    margin-bottom: 30px;

    color: var(--mf-blue);

    font-size: 13px;
    font-weight: 800;
}

.mf-feature-card h3 {
    margin: 0 0 10px;

    font-size: 17px;
}

.mf-feature-card p {
    margin: 0;

    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   BLUE NETWORK SECTION
========================================================= */

.mf-section-blue {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,255,255,0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0756c9,
            #0b68dc
        );

    color: #fff;
}

.mf-white-heading h2,
.mf-white-heading p {
    color: #fff;
}

.mf-white-heading h2 span {
    color: #cfe5ff;
}

.mf-white-heading .mf-eyebrow {
    color: #d9eaff;
}

.mf-white-heading .mf-eyebrow::before {
    background: #d9eaff;
}

.mf-network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mf-network-card {
    padding: 25px;

    min-height: 130px;

    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 14px;

    background: rgba(255,255,255,0.08);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.mf-network-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

.mf-network-card span {
    display: block;

    margin-bottom: 20px;

    color: #c8e1ff;

    font-size: 12px;
    font-weight: 800;
}

.mf-network-card h3 {
    margin: 0;

    color: #fff;

    font-size: 16px;
}


/* =========================================================
   FAQ
========================================================= */

.mf-faq-container {
    max-width: 900px;
}

.mf-faq {
    display: grid;
    gap: 12px;
}

.mf-faq details {
    border: 1px solid #dce7f3;
    border-radius: 12px;

    background: #fff;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mf-faq details[open] {
    border-color: #bfd6f2;

    box-shadow:
        0 10px 30px rgba(30, 85, 140, 0.06);
}

.mf-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 21px 23px;

    color: #26354b;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.mf-faq summary::-webkit-details-marker {
    display: none;
}

.mf-faq summary span {
    color: var(--mf-blue);

    font-size: 22px;
    font-weight: 400;

    transition: transform 0.2s ease;
}

.mf-faq details[open] summary span {
    transform: rotate(45deg);
}

.mf-faq-answer {
    padding: 0 23px 23px;

    color: var(--mf-muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.mf-final-cta {
    padding: 80px 0;

    background: #f5f9ff;
}

.mf-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 55px 60px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #0756c9,
            #0b69dd
        );

    box-shadow:
        0 25px 60px rgba(8, 78, 160, 0.18);
}

.mf-final-cta-inner h2 {
    max-width: 650px;

    margin: 14px 0 15px;

    color: #fff;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.mf-final-cta-inner h2 span {
    color: #cfe4ff;
}

.mf-final-cta-inner p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,0.80);

    font-size: 15px;
    line-height: 1.8;
}

.mf-white-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 55px;
    padding: 0 25px;

    border-radius: 10px;

    background: #fff;
    color: var(--mf-blue);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mf-white-btn:hover {
    color: var(--mf-blue-dark);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.15);
}

.mf-white-btn span {
    font-size: 19px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .mf-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mf-hero-content {
        max-width: 780px;
    }

    .mf-partner-form-card {
        max-width: 650px;
    }

    .mf-dsa-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mf-dsa-image {
        min-height: 350px;
    }

    .mf-profession-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-training-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-eligibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .mf-container {
        width: min(100% - 30px, 1180px);
    }

    .mf-section {
        padding: 70px 0;
    }

    .mf-partner-hero {
        padding: 30px 0 65px;
    }

    .mf-breadcrumb {
        margin-bottom: 35px;
    }

    .mf-hero-grid {
        gap: 35px;
    }

    .mf-hero-content h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    .mf-hero-description {
        font-size: 16px;
    }

    .mf-product-tags {
        gap: 7px;
    }

    .mf-product-tags span {
        font-size: 12px;
        padding: 8px 11px;
    }

    .mf-partner-form-card {
        padding: 25px 20px;

        border-radius: 17px;
    }

    .mf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-stat {
        border-bottom: 1px solid #e7eef7;
    }

    .mf-stat:nth-child(2) {
        border-right: 0;
    }

    .mf-stat strong {
        font-size: 27px;
    }

    .mf-section-heading {
        margin-bottom: 38px;
    }

    .mf-section-heading h2 {
        font-size: 34px;
    }

    .mf-section-heading p {
        font-size: 15px;
    }

    .mf-dsa-image {
        min-height: 280px;
    }

    .mf-image-placeholder {
        width: 180px;
        height: 180px;
    }

    .mf-big-icon {
        width: 70px;
        height: 70px;

        font-size: 32px;
    }

    .mf-highlight-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mf-profession-grid,
    .mf-document-grid,
    .mf-benefits-grid {
        grid-template-columns: 1fr;
    }

    .mf-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mf-training-grid {
        grid-template-columns: 1fr;
    }

    .mf-eligibility-grid {
        grid-template-columns: 1fr;
    }

    .mf-process {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mf-process-line {
        top: 30px;
        bottom: 30px;
        left: calc(50% - 1px);
        right: auto;

        width: 2px;
        height: auto;
    }

    .mf-process-step p {
        max-width: 310px;
    }

    .mf-feature-grid {
        grid-template-columns: 1fr;
    }

    .mf-network-grid {
        grid-template-columns: 1fr;
    }

    .mf-final-cta {
        padding: 60px 0;
    }

    .mf-final-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 25px;

        border-radius: 18px;
    }

    .mf-final-cta-inner h2 {
        font-size: 34px;
    }

    .mf-white-btn {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .mf-hero-content h1 {
        font-size: 34px;
    }

    .mf-section-heading h2 {
        font-size: 30px;
    }

    .mf-stat {
        padding: 25px 10px;
    }

    .mf-stat strong {
        font-size: 24px;
    }

    .mf-stat span {
        font-size: 11px;
    }

    .mf-info-item {
        grid-template-columns: 42px 1fr;
        gap: 10px;
        padding: 17px 5px;
    }

    .mf-info-item h3 {
        font-size: 16px;
    }

    .mf-info-item p {
        font-size: 13px;
    }
}

/* =========================================
   MAHAVIR FINANCE - FULL IMAGE GALLERY
========================================= */

.mf-gallery-page {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.mf-gallery-section {
    width: 100%;
    padding: 80px 0 100px;
    overflow: hidden;
}

.mf-gallery-track-wrapper {
    width: 100%;
    overflow: hidden;
}

.mf-gallery-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;

    animation: mfGalleryMove 35s linear infinite;
}


/* =========================================
   IMAGE CARD
========================================= */

.mf-gallery-item {
    flex: 0 0 auto;

    width: 420px;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #e5eaf1;

    box-shadow: 0 10px 30px rgba(20, 60, 110, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   FULL IMAGE
========================================= */

.mf-gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================
   RIGHT → LEFT LOOP
========================================= */

@keyframes mfGalleryMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12px));
    }

}


/* =========================================
   PAUSE ON HOVER
========================================= */

.mf-gallery-track:hover {
    animation-play-state: paused;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .mf-gallery-section {
        padding: 60px 0 80px;
    }

    .mf-gallery-track {
        gap: 18px;
        animation-duration: 30s;
    }

    .mf-gallery-item {
        width: 340px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .mf-gallery-section {
        padding: 40px 0 60px;
    }

    .mf-gallery-track {
        gap: 14px;
        animation-duration: 25s;
    }

    .mf-gallery-item {
        width: 280px;
    }

}
/* =========================================================
   MAHAVIR FINANCE - QUICK LINKS
   Matches Services Section Style
========================================================= */

.mf-quick-links-section {
    width: 100%;
    padding: 95px 0 105px;
    background: #f7f9fc;
    box-sizing: border-box;
}

.mf-quick-links-section * {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.mf-quick-links-section .mf-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}


/* =========================================================
   HEADING
========================================================= */

.mf-quick-links-heading {
    margin-bottom: 58px;
}

.mf-quick-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: #57ad6d;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1;

    text-transform: uppercase;
}

.mf-quick-eyebrow span {
    display: inline-block;

    width: 34px;
    height: 2px;

    background: #57ad6d;
}

.mf-quick-links-heading h2 {
    margin: 0 0 20px;

    color: #1d4279;

    font-size: 58px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.mf-quick-links-heading h2 span {
    color: #57ad6d;
}

.mf-quick-links-heading p {
    margin: 0;

    color: #61718a;

    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   GRID
========================================================= */

.mf-quick-links-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 30px;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.mf-quick-link-card {
    position: relative;

    min-height: 390px;

    padding: 38px 40px;

    background: #ffffff;

    border: 1px solid #e6ebf2;

    border-radius: 22px;

    box-shadow: 0 12px 35px rgba(30, 65, 110, 0.07);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.mf-quick-link-card:hover {
    transform: translateY(-8px);

    border-color: rgba(87, 173, 109, 0.25);

    box-shadow: 0 20px 45px rgba(30, 65, 110, 0.12);
}


/* =========================================================
   CARD TOP
========================================================= */

.mf-quick-link-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 38px;
}


/* =========================================================
   ICON
========================================================= */

.mf-quick-link-icon {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: #eff8f1;

    color: #4cae67;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* =========================================================
   NUMBER
========================================================= */

.mf-quick-link-number {
    color: #b6bfcb;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.mf-quick-link-card h3 {
    margin: 0 0 18px;

    color: #26364f;

    font-size: 27px;

    font-weight: 800;

    line-height: 1.2;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.mf-quick-link-card p {
    margin: 0;

    color: #718096;

    font-size: 17px;

    line-height: 1.65;

    max-width: 330px;

    flex: 1;
}


/* =========================================================
   BUTTON
========================================================= */

.mf-quick-link-button {
    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    margin-top: 30px;

    padding: 14px 18px;

    border-radius: 10px;

    background: transparent;

    color: #e05b58;

    border: 0;

    text-decoration: none;

    font-size: 17px;

    font-weight: 700;

    transition: color 0.3s ease;
}

.mf-quick-link-button span {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #fcebea;

    color: #e05b58;

    font-size: 24px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.mf-quick-link-button:hover {
    color: #d84e4b;
}

.mf-quick-link-button:hover span {
    transform: translateX(5px);

    background: #f8dfde;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .mf-quick-links-section {
        padding: 80px 0 90px;
    }

    .mf-quick-links-section .mf-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .mf-quick-links-heading h2 {
        font-size: 50px;
    }

    .mf-quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .mf-quick-link-card {
        min-height: 350px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .mf-quick-links-section {
        padding: 65px 0 70px;
    }

    .mf-quick-links-section .mf-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mf-quick-links-heading {
        margin-bottom: 38px;
    }

    .mf-quick-eyebrow {
        font-size: 13px;

        letter-spacing: 2px;
    }

    .mf-quick-links-heading h2 {
        font-size: 38px;

        letter-spacing: -0.8px;
    }

    .mf-quick-links-heading p {
        font-size: 16px;
    }

    .mf-quick-links-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .mf-quick-link-card {
        min-height: 320px;

        padding: 28px;
    }

    .mf-quick-link-card h3 {
        font-size: 24px;
    }

    .mf-quick-link-card p {
        font-size: 16px;
    }

}