/*
Theme Name: Mahavir Finance Landing
Theme URI: https://mahavirfinance.com/
Author: Mahavir Finance
Description: White and blue lead-generation landing page.
Version: 1.2.0
Requires at least: 6.0
*/

/* =====================================================
   VARIABLES
===================================================== */

:root {
    --mf-blue: #0b5ed7;
    --mf-blue-dark: #084fb8;
    --mf-dark: #073b7a;
    --mf-heading: #082e61;
    --mf-light: #eef6ff;
    --mf-text: #152238;
    --mf-muted: #667085;
    --mf-border: #dce7f5;
    --mf-white: #ffffff;
    --mf-shadow: 0 20px 60px rgba(7, 59, 122, 0.12);
}


/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    padding: 0 !important;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--mf-text);
    background: #ffffff;

    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.2s ease;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.mf-wrap {
    width: min(1160px, 92%);
    margin-left: auto;
    margin-right: auto;
}


/* =====================================================
   HEADER
===================================================== */

.mf-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;
    min-height: 82px;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid #edf2f8;
}

.mf-header .mf-nav {
    width: min(1160px, 92%);
    min-height: 82px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   HEADER LOGO
===================================================== */

.mf-header .mf-brand {
    display: flex;
    align-items: center;

    width: 170px;
    height: 72px;

    overflow: hidden;
    flex-shrink: 0;

    text-decoration: none;
    line-height: 0;
}

.mf-header .mf-brand img {
    display: block !important;

    width: 145px !important;
    max-width: 145px !important;

    height: 68px !important;
    max-height: 68px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   NAVIGATION
===================================================== */

.mf-navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mf-navlinks a {
    color: var(--mf-text);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.mf-navlinks a:not(.mf-btn):hover {
    color: var(--mf-blue);
}


/* =====================================================
   BUTTONS
===================================================== */

.mf-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    padding: 13px 20px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;
}

.mf-btn-primary {
    background: var(--mf-blue);
    color: #ffffff !important;

    box-shadow:
        0 8px 24px rgba(11, 94, 215, 0.22);
}

.mf-btn-primary:hover {
    background: var(--mf-blue-dark);
    color: #ffffff !important;

    transform: translateY(-1px);
}

.mf-btn-outline {
    background: #ffffff;

    border: 1px solid var(--mf-blue);

    color: var(--mf-blue) !important;
}

.mf-btn-outline:hover {
    background: var(--mf-light);
}

.mf-mobile {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.mf-hero {
    background:
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #ffffff 58%,
            #eef6ff 100%
        );

    padding: 76px 0 86px;

    overflow: hidden;
}

.mf-grid {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 56px;

    align-items: center;
}


/* =====================================================
   HERO LOGO
===================================================== */

.mf-hero-logo {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
}

.mf-hero-logo img {
    display: block;

    width: 360px;
    max-width: 100%;

    height: auto;

    max-height: 360px;

    object-fit: contain;
}


/* =====================================================
   HERO TEXT
===================================================== */

.mf-eyebrow {
    display: inline-flex;

    padding: 7px 12px;

    border-radius: 999px;

    background: #e7f1ff;

    color: var(--mf-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.mf-hero h1 {
    margin: 18px 0;

    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.03;

    color: var(--mf-heading);

    letter-spacing: -0.04em;
}

.mf-hero h1 span {
    color: var(--mf-blue);
}

.mf-hero p {
    max-width: 650px;

    margin: 0;

    font-size: 18px;

    color: #52627a;
}


/* =====================================================
   HERO ACTIONS
===================================================== */

.mf-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 28px;
}


/* =====================================================
   TRUST
===================================================== */

.mf-trust {
    display: flex;

    gap: 24px;

    flex-wrap: wrap;

    margin-top: 28px;

    color: #667085;

    font-size: 13px;

    font-weight: 700;
}

.mf-trust b {
    color: var(--mf-blue);
}


/* =====================================================
   CARD
===================================================== */

.mf-card {
    background: #ffffff;

    border: 1px solid var(--mf-border);

    border-radius: 22px;

    padding: 30px;

    box-shadow: var(--mf-shadow);
}


/* =====================================================
   FORM
===================================================== */

.mf-form-card h2 {
    margin: 0 0 6px;

    font-size: 28px;

    color: var(--mf-heading);
}

.mf-form-card > p {
    margin: 0 0 22px;

    color: var(--mf-muted);

    font-size: 14px;
}

.mf-label {
    display: block;

    margin: 15px 0 7px;

    font-size: 13px;

    font-weight: 800;

    color: var(--mf-text);
}

.mf-input {
    width: 100%;

    border: 1px solid #cfdbea;

    border-radius: 10px;

    padding: 13px 14px;

    font-size: 15px;

    outline: none;

    background: #ffffff;

    color: var(--mf-text);
}

.mf-input::placeholder {
    color: #98a2b3;
}

.mf-input:focus {
    border-color: var(--mf-blue);

    box-shadow:
        0 0 0 3px rgba(11, 94, 215, 0.1);
}

.mf-full {
    width: 100%;
    margin-top: 18px;
}

.mf-note {
    margin-top: 12px;

    font-size: 11px;

    color: #7a8799;
}

.mf-status {
    min-height: 22px;

    margin-top: 12px;

    font-size: 13px;

    font-weight: 700;
}

.mf-status.success {
    color: #087443;
}

.mf-status.error {
    color: #b42318;
}


/* =====================================================
   OTP
===================================================== */

.mf-otp {
    display: none;
    margin-top: 14px;
}

.mf-otp.show {
    display: block;
}

.mf-resend {
    display: none;

    padding: 8px 0;

    background: none;

    border: 0;

    color: var(--mf-blue);

    font-weight: 800;

    cursor: pointer;
}

.mf-resend.show {
    display: inline-block;
}


/* =====================================================
   SECTIONS
===================================================== */

.mf-section {
    padding: 82px 0;
}

.mf-section.alt {
    background: #f7fbff;
}

.mf-center {
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.mf-kicker {
    color: var(--mf-blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.mf-section h2 {
    margin: 10px 0;

    font-size: 40px;

    line-height: 1.12;

    color: var(--mf-heading);
}

.mf-center p {
    color: var(--mf-muted);
}


/* =====================================================
   SERVICES
===================================================== */

.mf-services {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.mf-service {
    padding: 26px;

    border: 1px solid var(--mf-border);

    border-radius: 18px;

    background: #ffffff;

    transition: all 0.25s ease;
}

.mf-service:hover {
    transform: translateY(-4px);

    border-color: #c5d9f3;

    box-shadow:
        0 15px 40px rgba(7, 59, 122, 0.08);
}

.mf-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    margin-bottom: 15px;

    border-radius: 12px;

    background: #eaf3ff;

    color: var(--mf-blue);

    font-weight: 900;
}

.mf-service h3 {
    margin: 0 0 7px;

    color: #0a376f;
}

.mf-service p {
    margin: 0;

    color: var(--mf-muted);

    font-size: 14px;
}


/* =====================================================
   WHY US
===================================================== */

.mf-why {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;
}

.mf-points {
    display: grid;

    gap: 15px;
}

.mf-point {
    display: flex;

    gap: 14px;

    padding: 18px;

    border: 1px solid var(--mf-border);

    border-radius: 15px;

    background: #ffffff;
}

.mf-point strong {
    display: block;

    color: #0a376f;
}

.mf-point span {
    font-size: 13px;

    color: var(--mf-muted);
}


/* =====================================================
   CTA
===================================================== */

.mf-cta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 48px;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #073b7a,
            #0b5ed7
        );

    color: #ffffff;
}

.mf-cta h2 {
    margin: 0 0 8px;

    color: #ffffff;
}

.mf-cta p {
    margin: 0;

    color: #dbeafe;
}

.mf-cta .mf-btn {
    background: #ffffff;

    color: var(--mf-blue) !important;
}


/* =====================================================
   MAHAVIR FINANCE FOOTER
   IMPORTANT: WHITE + BLUE THEME
===================================================== */

.mf-footer {
    display: block !important;

    width: 100% !important;

    margin: 80px 0 0 !important;

    padding: 65px 0 0 !important;

    background: #ffffff !important;

    color: var(--mf-text) !important;

    border-top: 1px solid #e4ebf4 !important;

    position: relative;

    overflow: hidden;
}


/* =====================================================
   FOOTER CONTAINER
===================================================== */

.mf-footer > .mf-wrap {
    width: min(1160px, 92%) !important;

    max-width: 1160px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =====================================================
   FOOTER GRID
===================================================== */

.mf-footer-grid {
    display: grid !important;

    grid-template-columns:
        1.35fr
        0.8fr
        1fr
        1.45fr !important;

    gap: 55px !important;

    align-items: start !important;

    width: 100% !important;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.mf-footer-brand {
    display: block !important;

    width: 100% !important;

    max-width: 320px !important;
}


/* =====================================================
   FOOTER LOGO
===================================================== */

.mf-footer-logo {
    display: block !important;

    width: 100% !important;

    max-width: 240px !important;

    height: auto !important;

    margin: 0 0 18px !important;

    padding: 0 !important;

    text-decoration: none !important;

    line-height: 0 !important;

    overflow: hidden !important;
}

.mf-footer-logo img {
    display: block !important;

    width: 220px !important;

    max-width: 220px !important;

    height: auto !important;

    max-height: 190px !important;

    object-fit: contain !important;

    object-position: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/* =====================================================
   FOOTER DESCRIPTION
===================================================== */

.mf-footer-brand p {
    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #667085 !important;

    font-size: 13px !important;

    line-height: 1.7 !important;
}


/* =====================================================
   FOOTER COLUMNS
===================================================== */

.mf-footer-column {
    display: block !important;

    min-width: 0 !important;
}

.mf-footer-column h3 {
    display: block !important;

    margin: 0 0 18px !important;

    padding: 0 !important;

    color: #082e61 !important;

    font-size: 17px !important;

    font-weight: 800 !important;

    line-height: 1.3 !important;
}


/* =====================================================
   FOOTER LINKS
===================================================== */

.mf-footer-links {
    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 10px !important;
}

.mf-footer-links a {
    display: block !important;

    width: auto !important;

    color: #667085 !important;

    font-size: 13px !important;

    line-height: 1.5 !important;

    text-decoration: none !important;

    transform: none !important;
}

.mf-footer-links a:hover {
    color: var(--mf-blue) !important;

    transform: translateX(3px) !important;
}


/* =====================================================
   FOOTER CONTACT
===================================================== */

.mf-footer-contact {
    display: flex !important;

    flex-direction: column !important;

    gap: 15px !important;
}

.mf-footer-contact p {
    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #667085 !important;

    font-size: 13px !important;

    line-height: 1.7 !important;
}

.mf-footer-contact strong {
    color: #082e61 !important;

    font-weight: 800 !important;
}

.mf-footer-contact a {
    color: #667085 !important;

    text-decoration: none !important;

    word-break: normal;
}

.mf-footer-contact a:hover {
    color: var(--mf-blue) !important;

    text-decoration: underline !important;
}


/* =====================================================
   WHATSAPP BUTTON
===================================================== */

.mf-footer-whatsapp {
    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: auto !important;

    margin-top: 18px !important;

    padding: 11px 18px !important;

    background: var(--mf-blue) !important;

    color: #ffffff !important;

    border-radius: 9px !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 20px rgba(11, 94, 215, 0.18) !important;
}

.mf-footer-whatsapp:hover {
    background: var(--mf-blue-dark) !important;

    color: #ffffff !important;

    transform: translateY(-2px) !important;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.mf-footer .mf-copy {
    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 25px !important;

    width: 100% !important;

    margin: 55px 0 0 !important;

    padding: 22px 0 !important;

    border-top: 1px solid #e5ebf3 !important;

    background: transparent !important;
}

.mf-footer .mf-copy p {
    margin: 0 !important;

    padding: 0 !important;

    color: #667085 !important;

    font-size: 12px !important;

    line-height: 1.6 !important;
}

.mf-footer .mf-copy p:last-child {
    text-align: right !important;
}


/* =====================================================
   PREVENT WORDPRESS THEME CONFLICTS
===================================================== */

.mf-footer h1,
.mf-footer h2,
.mf-footer h3,
.mf-footer h4,
.mf-footer p,
.mf-footer ul,
.mf-footer ol {
    margin-top: 0;
}

.mf-footer a {
    box-shadow: none !important;
}

.mf-footer img {
    max-width: 100% !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .mf-footer-grid {
        grid-template-columns:
            1fr
            1fr
            1fr !important;

        gap: 45px 30px !important;
    }

    .mf-footer-brand {
        max-width: 300px !important;
    }

    .mf-footer-logo img {
        width: 200px !important;
        max-width: 200px !important;
    }
}


/* =====================================================
   TABLET / SMALL LAPTOP
===================================================== */

@media (max-width: 850px) {

    .mf-grid,
    .mf-why {
        grid-template-columns: 1fr;
    }

    .mf-services {
        grid-template-columns: 1fr;
    }

    .mf-navlinks {
        display: none;
    }

    .mf-mobile {
        display: inline-flex;
    }

    .mf-header .mf-btn-outline {
        display: none;
    }

    .mf-hero {
        padding: 55px 0;
    }

    .mf-section {
        padding: 60px 0;
    }

    .mf-section h2 {
        font-size: 32px;
    }

    .mf-cta {
        padding: 32px;

        display: block;
    }

    .mf-cta .mf-btn {
        margin-top: 20px;
    }

    .mf-footer {
        margin-top: 60px !important;

        padding-top: 55px !important;
    }

    .mf-footer-grid {
        grid-template-columns: 1fr 1fr !important;

        gap: 40px 30px !important;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .mf-wrap {
        width: 92%;
    }

    .mf-header .mf-nav {
        width: 92%;
    }

    .mf-header .mf-brand {
        width: 150px;
    }

    .mf-header .mf-brand img {
        width: 125px !important;
        max-width: 125px !important;
    }

    .mf-hero {
        padding: 45px 0 55px;
    }

    .mf-hero h1 {
        font-size: 42px;
    }

    .mf-hero p {
        font-size: 16px;
    }

    .mf-card {
        padding: 22px;
    }

    .mf-footer {
        margin-top: 50px !important;

        padding: 45px 0 0 !important;
    }

    .mf-footer > .mf-wrap {
        width: 92% !important;
    }

    .mf-footer-grid {
        grid-template-columns: 1fr !important;

        gap: 35px !important;
    }

    .mf-footer-brand {
        max-width: 100% !important;
    }

    .mf-footer-logo {
        max-width: 230px !important;
    }

    .mf-footer-logo img {
        width: 200px !important;

        max-width: 200px !important;

        max-height: 180px !important;
    }

    .mf-footer-column h3 {
        font-size: 16px !important;

        margin-bottom: 15px !important;
    }

    .mf-footer-links {
        gap: 9px !important;
    }

    .mf-footer-contact {
        gap: 13px !important;
    }

    .mf-footer .mf-copy {
        margin-top: 40px !important;

        padding: 20px 0 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        justify-content: flex-start !important;

        gap: 8px !important;
    }

    .mf-footer .mf-copy p:last-child {
        text-align: left !important;
    }
}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .mf-hero h1 {
        font-size: 36px;
    }

    .mf-footer-logo img {
        width: 180px !important;
        max-width: 180px !important;
    }

    .mf-btn {
        padding: 12px 16px;
    }
}