/* ========================================= */
/* BASE RESETS & DETERMINISTIC RENDERING   */
/* ========================================= */
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Container & Layout
========================================= */
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .container-custom {
        width: 94%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1200px) {
    .container-custom {
        width: 100%;
    }
}

/* =========================================
   Variables & Fonts
========================================= */
:root {
    /* OMFINX Master Brand Colors */
    --omfinx-navy: #082B59;
    --omfinx-dark-navy: #061B3A;
    --omfinx-blue: #123F73;
    --omfinx-gold: #C9972B;
    --omfinx-light-gold: #E2B84B;
    --omfinx-white: #FFFFFF;
    --omfinx-light-bg: #F6F8FB;
    --omfinx-text: #172033;
    --omfinx-muted: #667085;

    --bg-dark: #061B3A;
    /* Dark Navy */
    --primary-blue: #082B59;
    /* Primary Navy */
    --gold: #C9972B;
    /* Primary Gold */
    --light-gold: #E2B84B;
    /* Light Gold */
    --light-bg: #F6F8FB;
    /* Soft Background */
    --text-dark: #172033;
    /* Text */
    --text-muted: #667085;
    /* Secondary Text */
    --white: #FFFFFF;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);

    font-size: 16px;
    line-height: 1.6;
}

.main-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Inter', sans-serif;
    /* Recommended by user */
    font-weight: 600;
}

/* =========================================
   Typography & Spacing Utils
========================================= */
.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--primary-blue) !important;
}

.text-dark-navy {
    color: var(--bg-dark) !important;
}

.text-muted-gray {
    color: var(--text-muted) !important;
}

.fs-hero {
    font-size: 36px;
    line-height: 1.2;
}

.fs-section {
    font-size: 28px;
    line-height: 1.3;
}

.fs-card {
    font-size: 19px;
    line-height: 1.4;
}

.fs-body {
    font-size: 16px;
    line-height: 1.6;
    font-size: 16px;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .fs-hero {
        font-size: 48px;
    }

    .fs-section {
        font-size: 36px;
    }

    .fs-card {
        font-size: 20px;
    }

    .fs-body {
        font-size: 16px;
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (min-width: 1200px) {
    .fs-hero {
        font-size: 64px;
    }

    .fs-section {
        font-size: 44px;
    }

    .fs-card {
        font-size: 22px;
    }

    .fs-body {
        font-size: 17px;
        font-size: 16px;
        line-height: 1.6;
    }
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.transition-all {
    transition: all 0.3s ease;
}

.section-padding {
    padding: 60px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 100px 0;
    }
}

.container-max {
    max-width: 1280px;
    margin: 0 auto;
}

/* Backgrounds */
.bg-dark-navy {
    background-color: var(--bg-dark);
    color: var(--white);
}

.bg-white {
    background-color: var(--white);
    color: var(--text-dark);
}

.bg-soft-gray {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.bg-very-light-gray {
    background-color: #F9FAFB;
    color: var(--text-dark);
}

/* =========================================
   Buttons
========================================= */
.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark) !important;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 151, 43, 0.3);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 43, 89, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-dark) !important;
    border-color: var(--gold);
}

.btn-outline-navy {
    background-color: transparent;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue);
}

.btn-outline-navy:hover {
    background-color: var(--gold);
    color: var(--bg-dark) !important;
    border-color: var(--gold);
}

/* =========================================
   Navbar (Header)
========================================= */
.header-nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    background-color: var(--omfinx-dark-navy);
}

.header-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    color: var(--omfinx-white) !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--omfinx-gold) !important;
}

.navbar-brand {
    color: var(--bg-dark) !important;
}

.custom-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.custom-toggler:focus {
    box-shadow: none;
}

.custom-toggler i {
    color: var(--bg-dark);
}

/* =========================================
   Hero Section
========================================= */
.hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: var(--omfinx-light-bg);
}

.badge-premium {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 151, 43, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--gold);
}

.trust-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    border-radius: 50%;
}

/* White Hero Card */
.hero-white-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.hero-white-card .card-inner {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.custom-progress {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.bg-gradient-gold {
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

/* =========================================
   About & Features
========================================= */
.benefit-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: var(--gold);
}

.3d-illustration-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--gold), var(--primary-blue));
    top: 10%;
    right: 10%;
    animation: morph 8s ease-in-out infinite alternate;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-blue), var(--bg-dark));
    bottom: 10%;
    left: 10%;
    animation: morph 10s ease-in-out infinite alternate-reverse;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* =========================================
   Premium Product Cards Redesign
========================================= */
.section-subtitle-gold {
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

.decorative-line-left {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 20px 0 0;
    border-radius: 2px;
}

.premium-product-card {
    background: var(--omfinx-white);
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-product-card:hover {
    border-color: var(--omfinx-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.premium-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--omfinx-navy);
    color: var(--omfinx-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.premium-product-card:hover .premium-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--omfinx-navy);
    color: var(--omfinx-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.learn-more-link {
    color: var(--omfinx-navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.learn-more-link .transition-arrow {
    transition: transform 0.3s ease;
}

.premium-product-card:hover .learn-more-link {
    color: var(--omfinx-navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.premium-product-card:hover .learn-more-link .transition-arrow {
    transform: translateX(4px);
}

/* =========================================
   Forms & Calculators
========================================= */
.calculator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(201, 151, 43, 0.3);
    transition: 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {}

.custom-input {
    background: var(--white) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--text-dark) !important;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    box-shadow: 0 0 0 3px rgba(201, 151, 43, 0.2) !important;
    border-color: var(--gold) !important;
}

/* =========================================
   Timeline (How It Works)
========================================= */
.timeline-wrapper {
    position: relative;
    padding-left: 30px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 19px;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-step-modern {
    position: relative;
    margin-bottom: 40px;
}

.timeline-step-modern:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step-modern:hover .step-number {
    background-color: var(--gold);
}

/* =========================================
   FAQ
========================================= */
.custom-accordion .accordion-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: var(--white);
    color: var(--bg-dark);
    font-weight: 600;
    padding: 20px;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--gold);
}

.custom-accordion .accordion-button::after {
    filter: none;
    /* Reset if previously inverted */
}

/* =========================================
   Testimonials
========================================= */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.star-rating {
    color: var(--gold);
    margin-bottom: 15px;
}

/* =========================================
   Partners
========================================= */
.partner-logo {
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
    max-height: 50px;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(100%);
}

/* =========================================
   Footer & Floating Elements
========================================= */
.footer-navy {
    background-color: var(--bg-dark);
    color: #fff;
    border-top: 4px solid var(--gold);
}

.footer-bottom-bar {
    background-color: #041227;
    padding: 20px 0;
    font-size: 0.875rem;
    color: #D9E2F0;
}

.footer-bottom-bar a {
    color: #D9E2F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-wrapper:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-heading {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
footer a,
.footer a {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover,
footer a:hover,
.footer a:hover {
    color: var(--gold) !important;
    transform: translateX(3px);
}

.contact-icon {
    width: 20px;
    color: var(--gold) !important;
    text-align: center;
    margin-right: 10px;
    margin-top: 4px;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-color: #25D366 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.floating-whatsapp:hover {
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    background-color: var(--gold) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 151, 43, 0.3) !important;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--light-gold) !important;
}

/* =========================================
   Responsive Overrides
========================================= */
@media (max-width: 1199px) {
    .header-nav {
        min-height: 80px;
        display: flex;
        align-items: center;
        background-color: var(--omfinx-dark-navy);
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 75vh;
        overflow-y: auto;
    }

    .navbar-nav {
        width: 100%;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: 560px;
        display: flex;
        align-items: center;
        background-color: var(--omfinx-light-bg);
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Typography Classes */
.section-heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.section-heading-lg {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (min-width: 992px) {
    .section-heading {
        font-size: 36px;
    }

    .section-heading-lg {
        font-size: 40px;
    }

    .section-desc {
        font-size: 18px;
    }
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--omfinx-dark-navy);
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 40px;
        font-weight: 800;
        line-height: 1.15;
        color: var(--omfinx-dark-navy);
    }
}

.hero-desc {
    font-size: 17px;
    color: var(--omfinx-muted);
    line-height: 1.6;
    max-width: 560px;
}

.btn-primary-custom {
    background-color: var(--omfinx-navy);
    color: var(--omfinx-white);
    border-radius: 24px;
    height: 48px;
    font-weight: 600;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--omfinx-gold);
    color: var(--omfinx-dark-navy);
}

.btn-outline-custom {
    background-color: var(--omfinx-white);
    border: 1.5px solid var(--omfinx-gold);
    color: var(--omfinx-navy);
    border-radius: 24px;
    height: 48px;
    font-weight: 600;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--omfinx-gold);
    color: var(--omfinx-dark-navy);
    border-color: var(--omfinx-gold);
}

.hero-summary-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 620px;
    margin: 0 auto;
    padding: 24px;
}

@media (min-width: 992px) {
    .hero-summary-card {
        padding: 32px;
    }
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    /* above whatsapp */
    width: 45px;
    height: 45px;
    z-index: 999;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
    }

    .back-to-top {
        right: 16px;
        bottom: 88px;
    }
}

.progress-custom-bar {
    background: linear-gradient(90deg, var(--omfinx-navy), var(--omfinx-gold));
}

.hero-graphic {
    position: relative;
}

.widget-lowest-rates {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 10;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 16px;
}

.widget-credit-score {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: 10;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
}

@media (max-width: 992px) {

    .widget-lowest-rates,
    .widget-credit-score {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin-top: 16px;
        display: inline-block;
    }

    .widget-credit-score {
        margin-left: 16px;
    }

    .hero-graphic {
        margin-top: 40px;
    }
}

.text-navy {
    color: var(--omfinx-navy) !important;
}

.text-dark-navy {
    color: var(--omfinx-dark-navy) !important;
}

.text-gold {
    color: var(--omfinx-gold) !important;
}

.bg-navy {
    background-color: var(--omfinx-navy) !important;
}

.bg-dark-navy {
    background-color: var(--omfinx-dark-navy) !important;
}

.bg-gold {
    background-color: var(--omfinx-gold) !important;
}

.bg-soft-gray {
    background-color: var(--omfinx-light-bg) !important;
}

/* Override bootstrap generic colors where appropriate to match OMFINX */
.text-primary {
    color: var(--omfinx-navy) !important;
}

.bg-primary {
    background-color: var(--omfinx-navy) !important;
}

.btn-primary {
    background-color: var(--omfinx-navy);
    border-color: var(--omfinx-navy);
}

.btn-primary:hover {
    background-color: var(--omfinx-gold);
    border-color: var(--omfinx-gold);
    color: var(--omfinx-dark-navy);
}

.text-info {
    color: var(--omfinx-blue) !important;
}

.bg-info {
    background-color: var(--omfinx-blue) !important;
}

.section-heading {
    color: var(--omfinx-dark-navy);
}

.section-subtitle-gold {
    color: var(--omfinx-gold);
}

.decorative-line {
    background: var(--omfinx-gold);
}

/* FINAL BRAND OVERRIDES */

/* 1. Header Active Link Fix */
.navbar-nav .nav-link.active,
.nav-pills .nav-link.active {
    color: var(--omfinx-light-gold) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.navbar-nav .nav-link.active::after,
.nav-pills .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--omfinx-gold);
    border-radius: 2px;
}

/* 2. Header Apply Now Button */
.header-nav .btn-primary-custom {
    background-color: var(--omfinx-gold) !important;
    color: var(--omfinx-dark-navy) !important;
}

.header-nav .btn-primary-custom:hover {
    background-color: var(--omfinx-light-gold) !important;
    color: var(--omfinx-dark-navy) !important;
}

/* 3. Footer Typography & Links */
.footer,
footer {
    background-color: var(--omfinx-dark-navy) !important;
    border-top: 2px solid var(--omfinx-gold);
}

.footer a,
footer a {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer a:hover,
footer a:hover {
    color: var(--omfinx-light-gold) !important;
}

.footer h3,
footer h3,
.footer h4,
footer h4,
.footer h5,
footer h5 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.footer p,
footer p,
.footer .text-muted,
footer .text-muted,
.footer .text-light-muted,
footer .text-light-muted {
    color: #FFFFFF !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
}

.footer li,
footer li {
    margin-bottom: 12px;
}

/* 4. Footer Social Icons */
.footer .social-link,
footer .social-link,
.footer .social-icon,
footer .social-icon {
    background-color: #FFFFFF !important;
    color: var(--omfinx-navy) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer .social-link:hover,
footer .social-link:hover,
.footer .social-icon:hover,
footer .social-icon:hover {
    background-color: var(--omfinx-gold) !important;
    color: var(--omfinx-navy) !important;
}

/* 5. Copyright Area */
.copyright-area,
.footer-bottom,
.footer .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 24px;
    margin-top: 40px;
}

.copyright-text,
.footer-bottom p,
.copyright-area p {
    color: #FFFFFF !important;
    font-size: 14px !important;
}

/* 6. Back to Top Button */
.back-to-top {
    background-color: var(--omfinx-gold) !important;
    color: var(--omfinx-dark-navy) !important;
    border: none !important;
}

.back-to-top:hover {
    background-color: var(--omfinx-light-gold) !important;
}


/* ========================================= */
/* SAFE MOBILE & CHART RESPONSIVE FIXES     */
/* ========================================= */

/* 1. Global Chart Constraint (All viewports) */
.circular-chart,
.circular-chart-placeholder,
.circular-chart-placeholder svg,
.approval-timeline,
.approval-timeline-item {
    max-width: 100% !important;
}

@media (max-width: 767px) {

    /* 1. Body constraints to prevent horizontal scroll */
    body {
        overflow-x: hidden !important;
    }

    /* 2. Critical Chart & Whitespace Fix */

    .circular-chart-placeholder svg {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

    /* Remove large fixed heights from cards on mobile */
    .calculator-card,
    .loan-card,
    .widget-2 {
        height: auto !important;
        min-height: auto !important;
        padding: 15px !important;
    }

    /* 3. Hero Mobile Fixes */
    .hero-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    /* 4. Timeline */
    .approval-timeline {
        display: flex !important;
        flex-direction: column !important;
    }

    /* 5. 1-Column overrides for grids on mobile */
    .premium-product-card,
    .benefit-card,
    .step-card {
        margin-bottom: 15px !important;
    }
}

/* ----------------------------------------- */
/* DETERMINISTIC CHART RULES                 */
/* ----------------------------------------- */
.circular-chart-placeholder {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
}

.circular-chart-placeholder svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ----------------------------------------- */
/* CONSOLIDATED MOBILE MEDIA QUERIES         */
/* ----------------------------------------- */
@media (max-width: 767px) {
    body {
        overflow-x: hidden !important;
    }

    .circular-chart-placeholder {
        width: min(100%, 260px) !important;
        max-width: 260px !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .calculator-card,
    .loan-card,
    .widget-2,
    .widget,
    .card {
        height: auto !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .approval-timeline {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ========================================= */
/* OMFINX COLOR & NAVBAR RE-FIXES          */
/* ========================================= */

/* 1. Remove Bright Blue Active State from Navbar */
.nav-link.active,
.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    color: var(--omfinx-gold) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background: var(--omfinx-gold);
    border-radius: 2px;
}

/* 2. Fix Navbar Wrapping */
.nav-link {
    white-space: nowrap !important;
    font-size: 15px !important;
}

/* 3. Fix Back to Top Button Color */
.back-to-top {
    background-color: var(--omfinx-gold) !important;
    color: var(--omfinx-dark-navy) !important;
    border-color: var(--omfinx-gold) !important;
}

.back-to-top:hover {
    background-color: var(--omfinx-light-gold) !important;
    color: var(--omfinx-dark-navy) !important;
    border-color: var(--omfinx-light-gold) !important;
}

/* 4. Fix Footer Links Hover to Gold */
.footer a:hover {
    color: var(--omfinx-gold) !important;
}

/* 5. Fix any residual Bootstrap primary blue (btn-primary) */
.btn-primary:not(.btn-primary-custom) {
    background-color: var(--omfinx-gold) !important;
    border-color: var(--omfinx-gold) !important;
    color: var(--omfinx-dark-navy) !important;
}

.btn-primary:not(.btn-primary-custom):hover {
    background-color: var(--omfinx-light-gold) !important;
    border-color: var(--omfinx-light-gold) !important;
    color: var(--omfinx-dark-navy) !important;
}



/* ================================================== */
/* DESKTOP RESPONSIVE AND OVERFLOW FIXES */
/* ================================================== */

/* 1. Global Box Sizing and Overflow */
html {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2. Container Constraints */
.container,
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

/* 3. Header Fixes */
header {
    width: 100%;
    box-sizing: border-box;
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-nav,
.nav-pills {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 4. Header Navigation Styles */
.nav-link {
    color: #FFFFFF !important;
}

.nav-link:hover {
    color: #E0B84C !important;
}

.nav-link.active,
.navbar-nav .nav-link.active,
.nav-pills .nav-link.active {
    background: transparent !important;
    color: #C9972B !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
}

.nav-link.active::after,
.navbar-nav .nav-link.active::after,
.nav-pills .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #C9972B;
}

/* 5. Header Apply Now Button */
.header-nav .btn-primary-custom,
.navbar .btn-primary-custom {
    background: #C9972B !important;
    color: #061B3A !important;
    max-width: 100%;
}

/* 6. Hero Container (Grid Fix) */
.hero-container,

.hero-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 32px;
    box-sizing: border-box;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 48px;
    align-items: center;
}

/* 7. Hero Left Content */
.hero-content {
    min-width: 0;
    width: 100% !important;
}

.hero-title {
    font-size: clamp(42px, 4vw, 58px) !important;
    line-height: 1.08 !important;
    color: #061B3A !important;
}

/* 8. Hero Description */
.hero-description,
.hero-desc {
    max-width: 600px !important;
    width: 100% !important;
    color: #526071 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
}

/* 9. Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-buttons .btn {
    height: 50px;
    padding: 0 28px;
    box-sizing: border-box;
    width: auto !important;
}

.hero-buttons .btn-primary-custom {
    background: #C9972B !important;
    color: #061B3A !important;
}

.hero-buttons .btn-outline-custom {
    background: #FFFFFF !important;
    color: #082B59 !important;
    border: 1px solid #C9972B !important;
}

/* 10. Hero Right Loan Card */
.hero-card-wrapper {
    width: 100%;
    min-width: 0;
}

.loan-card,
.hero-card,
.calculator-card {
    width: 100% !important;
    max-width: 600px !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    min-width: 0 !important;
}

/* 11. Loan Card Internal Content */
.loan-card *,
.hero-card * {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal !important;
}

.loan-card .row,
.hero-card .row,
.bank-comparison {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

/* 12. Approval Bar */
.approval-bar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.approval-progress {
    width: 100% !important;
    max-width: 100% !important;
}

/* 13. Timeline */
.timeline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.timeline-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 14. Hero Stats */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

.hero-stats>* {
    min-width: 0;
    white-space: normal !important;
}

/* 19. Chart Fixes */
.circular-chart-placeholder {
    width: 100% !important;
    max-width: 300px !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    margin: 0 auto;
}

.circular-chart-placeholder svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* 23. Fix Position Absolute Elements */
.floating-whatsapp,
.back-to-top {
    max-width: 100%;
    /* ensure doesn't overflow */
}

/* Strip negative rights/lefts if any exist globally causing issues, but usually fine for floating widgets if fixed */

/* Responsive Media Queries */
@media (max-width: 991px) {

    .hero-container,

    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        grid-template-columns: 1fr !important;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {

    .hero-container,

    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        grid-template-columns: 1fr !important;
        padding: 50px 16px !important;
        gap: 32px;
    }

    .hero-title {
        font-size: 36px !important;
    }

    .loan-card,
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .circular-chart-placeholder {
        max-width: 260px !important;
    }

    .hero-stats {
        grid-template-columns: 1fr !important;
    }
}


/* GLOBAL RESET */
html {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

/* COMMON CONTAINER SYSTEM */
.container,
.section-container,
.container-custom,
.header-container,
.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

@media (max-width: 767px) {

    .container,
    .section-container,
    .container-custom,
    .header-container,
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* FOOTER FIXES */
footer {
    background: #061B3A !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #FFFFFF !important;
}

footer p,
footer .footer-bottom-bar p {
    color: rgba(255, 255, 255, 0.75) !important;
}

footer a,
footer .footer-links a,
footer .footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
}

footer a:hover,
footer .footer-links a:hover,
footer .footer-bottom-bar a:hover {
    color: #C9972B !important;
}

.footer-logo-text {
    color: #FFFFFF !important;
}

/* STATS SECTION FIX */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    background-color: #061B3A !important;
    padding: 24px;
    border-radius: 16px;
    box-sizing: border-box;
}

.hero-stats * {
    white-space: normal !important;
}

.hero-stats h6 {
    color: #FFFFFF !important;
}

.hero-stats small {
    color: #C9972B !important;
}

@media (max-width: 991px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        grid-template-columns: 1fr !important;
    }
}

/* CALCULATOR GRID FIX */
.calculator-section .row,
.calculator-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr) !important;
    gap: 32px;
    width: 100%;
    align-items: start;
}

@media (max-width: 991px) {

    .calculator-section .row,
    .calculator-grid {
        grid-template-columns: 1fr !important;
    }
}

.calculator-card {
    height: auto !important;
    min-height: 0 !important;
}

/* TRUST BADGES FIX */
.trust-badges {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    width: 100%;
    background: #061B3A;
    padding: 16px;
    border-radius: 12px;
}

.trust-item h6 {
    color: #FFFFFF !important;
}

.trust-item small {
    color: #C9972B !important;
}



/* ==============================================================
   OMFINX PREMIUM LOAN CALCULATOR CARD - OVERRIDE FIX
============================================================== */
.omfinx-loan-calculator {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 24px 48px rgba(6, 27, 58, 0.12) !important;
    border: 1px solid rgba(6, 27, 58, 0.05) !important;
    font-family: 'Outfit', sans-serif !important;
    color: #172033 !important;
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 10;
}

/* Card Header */
.omfinx-loan-calculator .loan-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 24px !important;
}

.omfinx-loan-calculator .loan-label {
    font-size: 14px !important;
    color: #667085 !important;
    font-weight: 500 !important;
    display: block !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.omfinx-loan-calculator h2#loanAmountDisplay {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #061B3A !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -1px;
}

.omfinx-loan-calculator .approved-badge {
    background-color: rgba(34, 197, 94, 0.1) !important;
    color: #16a34a !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
}

.omfinx-loan-calculator .loan-divider {
    height: 1px !important;
    background-color: #E2E8F0 !important;
    width: 100% !important;
    margin: 24px 0 !important;
}

/* Loan Summary (EMI & Interest) */
.omfinx-loan-calculator .loan-summary {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
}

.omfinx-loan-calculator .summary-box {
    background-color: #F8FAFC !important;
    border-radius: 12px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #F1F5F9 !important;
}

.omfinx-loan-calculator .summary-box span {
    font-size: 13px !important;
    color: #64748B !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.omfinx-loan-calculator .summary-box strong {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #061B3A !important;
}

.omfinx-loan-calculator #emiDisplay {
    color: #C9972B !important;
    /* Gold */
}

.omfinx-loan-calculator .summary-box small {
    font-size: 14px !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
}

/* Approval Section */
.omfinx-loan-calculator .approval-section {
    margin-bottom: 32px !important;
}

.omfinx-loan-calculator .approval-heading {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.omfinx-loan-calculator .approval-heading span {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.omfinx-loan-calculator .approval-heading strong {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #10B981 !important;
    /* Green */
}

.omfinx-loan-calculator .approval-bar {
    width: 100% !important;
    height: 8px !important;
    background-color: #E2E8F0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.omfinx-loan-calculator .approval-bar span {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #10B981 0%, #34D399 100%) !important;
    border-radius: 10px !important;
    transition: width 1s ease-in-out;
}

/* Bank Comparison */
.omfinx-loan-calculator .bank-section {
    background-color: #F8FAFC !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 32px !important;
    border: 1px solid #F1F5F9 !important;
}

.omfinx-loan-calculator .bank-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
}

.omfinx-loan-calculator .bank-title h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #061B3A !important;
    margin: 0 !important;
}

.omfinx-loan-calculator .top-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    background-color: #061B3A !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.omfinx-loan-calculator .bank-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px dashed #E2E8F0 !important;
}

.omfinx-loan-calculator .bank-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.omfinx-loan-calculator .bank-name {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.omfinx-loan-calculator .bank-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #F1F5F9 !important;
    position: relative;
}

/* Custom Bank Icons for missing FA classes in user prompt */
.omfinx-loan-calculator .bank-icon.hdfc::after {
    content: "H";
    font-weight: 800;
    color: #ED1C24;
    /* HDFC Red */
    font-size: 18px;
}

.omfinx-loan-calculator .bank-icon.icici::after {
    content: "i";
    font-weight: 800;
    color: #F15A22;
    /* ICICI Orange */
    font-size: 18px;
}

.omfinx-loan-calculator .bank-name span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.omfinx-loan-calculator .bank-row strong {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.omfinx-loan-calculator .text-gold {
    color: #C9972B !important;
}

.omfinx-loan-calculator .text-warning {
    color: #F59E0B !important;
}

/* Timeline Section */
.omfinx-loan-calculator .timeline-section h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #061B3A !important;
    margin-bottom: 20px !important;
}

.omfinx-loan-calculator .timeline-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.omfinx-loan-calculator .timeline-item:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 28px !important;
    bottom: -16px !important;
    width: 2px !important;
    background-color: #E2E8F0 !important;
}

.omfinx-loan-calculator .timeline-icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: #10B981 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
}

.omfinx-loan-calculator .timeline-icon.pending {
    background-color: #F59E0B !important;
}

.omfinx-loan-calculator .timeline-icon.pending::after {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.omfinx-loan-calculator .timeline-item div {
    display: flex !important;
    flex-direction: column !important;
}

.omfinx-loan-calculator .timeline-item strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
}

.omfinx-loan-calculator .timeline-item small {
    font-size: 13px !important;
    color: #64748B !important;
    font-weight: 500 !important;
}

/* Ensure responsiveness for small screens */
@media (max-width: 576px) {
    .omfinx-loan-calculator {
        padding: 24px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 28px !important;
    }

    .omfinx-loan-calculator .loan-summary {
        grid-template-columns: 1fr !important;
    }
}


/* ==============================================================
   OMFINX LOAN CALCULATOR - FULL RESPONSIVE OVERRIDES
============================================================== */
@media (max-width: 1200px) {
    .omfinx-loan-calculator {
        padding: 24px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 32px !important;
    }
}

@media (max-width: 991px) {

    .hero-section .row,
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero-content,
    .hero-graphic {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .hero-content {
        align-items: center !important;
    }

    .omfinx-loan-calculator {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .omfinx-loan-calculator .loan-card-header {
        align-items: center !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 36px !important;
    }
}

@media (max-width: 767px) {
    .omfinx-loan-calculator {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 28px !important;
    }

    .omfinx-loan-calculator .loan-summary {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .omfinx-loan-calculator .summary-box {
        padding: 12px !important;
    }

    .omfinx-loan-calculator .summary-box strong {
        font-size: 20px !important;
    }

    .omfinx-loan-calculator .timeline-item {
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .omfinx-loan-calculator .timeline-item:not(:last-child)::after {
        left: 11px !important;
        top: 24px !important;
    }

    .omfinx-loan-calculator .bank-title h3 {
        font-size: 14px !important;
    }

    .omfinx-loan-calculator .bank-row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 80px !important;
    }

    .omfinx-loan-calculator {
        padding: 16px !important;
    }

    .omfinx-loan-calculator .loan-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 24px !important;
    }

    .omfinx-loan-calculator .approved-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .omfinx-loan-calculator .approval-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .omfinx-loan-calculator .bank-name span {
        font-size: 13px !important;
    }

    .omfinx-loan-calculator .bank-row strong {
        font-size: 14px !important;
    }

    .omfinx-loan-calculator .timeline-item strong {
        font-size: 14px !important;
    }

    .omfinx-loan-calculator .timeline-item small {
        font-size: 12px !important;
    }
}

/* =========================================================
   FINAL OMFINX CALCULATOR FIX
   Paste at the VERY END of styles_v2.css
   ========================================================= */

.hero-graphic {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.omfinx-loan-calculator {
    width: 100% !important;
    max-width: 620px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 32px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Header */
.omfinx-loan-calculator .loan-card-header {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.omfinx-loan-calculator .loan-heading {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.omfinx-loan-calculator h2#loanAmountDisplay {
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.1 !important;
}

/* EMI + Interest */
.omfinx-loan-calculator .loan-summary {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.omfinx-loan-calculator .summary-box {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.omfinx-loan-calculator .summary-box strong {
    white-space: nowrap !important;
    font-size: clamp(20px, 2vw, 27px) !important;
}

/* Approval */
.omfinx-loan-calculator .approval-section,
.omfinx-loan-calculator .approval-bar {
    width: 100% !important;
    max-width: 100% !important;
}

/* Bank */
.omfinx-loan-calculator .bank-section {
    width: 100% !important;
    max-width: 100% !important;
}

.omfinx-loan-calculator .bank-row {
    width: 100% !important;
    min-width: 0 !important;
}

.omfinx-loan-calculator .bank-name {
    min-width: 0 !important;
}

.omfinx-loan-calculator .bank-name span {
    white-space: normal !important;
}

/* Timeline */
.omfinx-loan-calculator .timeline-section {
    width: 100% !important;
}

.omfinx-loan-calculator .timeline-item {
    width: 100% !important;
    min-width: 0 !important;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1200px) {


    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(500px, 620px) !important;
        align-items: center !important;
        gap: 48px !important;
    }

    .hero-content {
        min-width: 0 !important;
    }

    .hero-graphic {
        width: 100% !important;
    }

    .omfinx-loan-calculator {
        max-width: 620px !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) and (min-width: 992px) {


    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr) !important;
        gap: 30px !important;
    }

    .omfinx-loan-calculator {
        max-width: 100% !important;
        padding: 26px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 32px !important;
    }
}


/* =========================================================
   MOBILE / TABLET STACK
   ========================================================= */

@media (max-width: 991px) {

    .hero-section .row,
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .hero-content,
    .hero-graphic {
        width: 100% !important;
        max-width: 100% !important;
    }

    .omfinx-loan-calculator {
        width: 100% !important;
        max-width: 680px !important;
        margin: 0 auto !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .omfinx-loan-calculator {
        padding: 20px !important;
        border-radius: 18px !important;
    }

    .omfinx-loan-calculator .loan-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 28px !important;
    }

    .omfinx-loan-calculator .loan-summary {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .omfinx-loan-calculator .summary-box strong {
        font-size: 22px !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .omfinx-loan-calculator {
        padding: 16px !important;
    }

    .omfinx-loan-calculator h2#loanAmountDisplay {
        font-size: 25px !important;
    }

    .omfinx-loan-calculator .summary-box {
        padding: 14px !important;
    }

    .omfinx-loan-calculator .summary-box strong {
        font-size: 20px !important;
    }

    .omfinx-loan-calculator .bank-section {
        padding: 15px !important;
    }
}

/* =========================================================
   OMFINX CALCULATOR - FINAL WIDTH & OVERFLOW FIX
   ========================================================= */

.hero-graphic {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.omfinx-loan-calculator {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    max-width: 620px !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto !important;
    padding: 32px !important;

    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Header */
.omfinx-loan-calculator .loan-card-header {
    display: flex !important;
    width: 100% !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.omfinx-loan-calculator .loan-card-header>div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.omfinx-loan-calculator #loanAmountDisplay {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;

    font-size: 40px !important;
    line-height: 1.15 !important;
}

/* Approved badge */
.omfinx-loan-calculator .approved-badge {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Divider */
.omfinx-loan-calculator .loan-divider {
    width: 100% !important;
    margin: 20px 0 !important;
}

/* EMI + Interest */
.omfinx-loan-calculator .loan-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;

    width: 100% !important;
    gap: 18px !important;
}

.omfinx-loan-calculator .summary-box {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 105px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}

.omfinx-loan-calculator .summary-box span {
    display: block !important;
    line-height: 1.4 !important;
}

.omfinx-loan-calculator .summary-box strong {
    display: block !important;
    margin-top: 12px !important;

    white-space: nowrap !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
}

.omfinx-loan-calculator .summary-box strong small {
    font-size: 14px !important;
}

/* Approval */
.omfinx-loan-calculator .approval-section {
    width: 100% !important;
    margin-top: 28px !important;
}

.omfinx-loan-calculator .approval-heading {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.omfinx-loan-calculator .approval-bar {
    width: 100% !important;
    max-width: none !important;
}

/* Bank section */
.omfinx-loan-calculator .bank-section {
    width: 100% !important;
    margin-top: 28px !important;
    box-sizing: border-box !important;
}

.omfinx-loan-calculator .bank-row {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}

.omfinx-loan-calculator .bank-name {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.omfinx-loan-calculator .bank-name span {
    white-space: nowrap !important;
}

/* Timeline */
.omfinx-loan-calculator .timeline-section {
    width: 100% !important;
    margin-top: 28px !important;
}

.omfinx-loan-calculator .timeline-item {
    width: 100% !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1200px) {


    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 620px) !important;
        align-items: center !important;
        gap: 55px !important;
    }

    .hero-graphic {
        width: 620px !important;
        max-width: 620px !important;
    }

    .omfinx-loan-calculator {
        width: 620px !important;
        min-width: 0 !important;
        max-width: 620px !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) and (min-width: 768px) {


    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 520px) !important;
        gap: 30px !important;
    }

    .hero-graphic {
        width: 100% !important;
    }

    .omfinx-loan-calculator {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 520px !important;
        padding: 28px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {


    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .hero-graphic {
        width: 100% !important;
        max-width: 100% !important;
    }

    .omfinx-loan-calculator {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        padding: 20px !important;
    }

    .omfinx-loan-calculator .loan-card-header {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .omfinx-loan-calculator #loanAmountDisplay {
        font-size: 30px !important;
    }

    .omfinx-loan-calculator .loan-summary {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .omfinx-loan-calculator .summary-box {
        min-height: 105px !important;
        padding: 14px !important;
    }

    .omfinx-loan-calculator .summary-box strong {
        font-size: 21px !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .omfinx-loan-calculator {
        padding: 16px !important;
    }

    .omfinx-loan-calculator .loan-card-header {
        gap: 8px !important;
    }

    .omfinx-loan-calculator #loanAmountDisplay {
        font-size: 26px !important;
    }

    .omfinx-loan-calculator .approved-badge {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .omfinx-loan-calculator .loan-summary {
        grid-template-columns: 1fr 1fr !important;
    }

    .omfinx-loan-calculator .summary-box strong {
        font-size: 19px !important;
    }
}

/* =========================================================
   OMFINX - WHY CHOOSE US
   ========================================================= */

.why-choose-visual {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative shapes */
.why-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.why-shape-1 {
    width: 280px;
    height: 280px;
    background: rgba(212, 166, 42, 0.08);
    left: 5%;
    top: 10%;
}

.why-shape-2 {
    width: 180px;
    height: 180px;
    background: rgba(6, 27, 58, 0.06);
    right: 5%;
    bottom: 5%;
}


/* Main card */
.security-main-card {
    width: 350px;
    min-height: 350px;
    border-radius: 50%;
    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 55px;

    border: 1px solid rgba(6, 27, 58, 0.08);

    box-shadow:
        0 25px 60px rgba(6, 27, 58, 0.14);
}

.security-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(212, 166, 42, 0.12);
    color: #D4A62A;

    font-size: 38px;
    margin-bottom: 20px;
}

.security-main-card h3 {
    color: #061B3A;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-main-card p {
    max-width: 240px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}


/* Security status */
.security-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 50px;

    background: rgba(22, 163, 74, 0.08);
    color: #15803D;

    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16A34A;
}


/* Floating cards */
.security-floating-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;

    background: #ffffff;
    border: 1px solid rgba(6, 27, 58, 0.08);

    border-radius: 14px;

    box-shadow: 0 15px 35px rgba(6, 27, 58, 0.12);
}

.security-floating-card i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #061B3A;
    color: #D4A62A;
}

.security-floating-card strong {
    display: block;
    color: #061B3A;
    font-size: 13px;
}

.security-floating-card small {
    display: block;
    color: #64748B;
    font-size: 11px;
    margin-top: 3px;
}

.floating-card-1 {
    top: 12%;
    right: 0;
}

.floating-card-2 {
    bottom: 12%;
    left: 0;
}


/* Section heading */
.section-eyebrow {
    display: inline-block;

    color: #D4A62A;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-title {
    color: #061B3A;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
}

.section-description {
    max-width: 700px;
    color: #64748B;
    font-size: 17px;
    line-height: 1.7;
}


/* Feature cards */
.why-feature-card {
    height: 100%;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #E5EAF0;
    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.why-feature-card:hover {
    transform: translateY(-4px);

    border-color: rgba(212, 166, 42, 0.45);

    box-shadow:
        0 15px 35px rgba(6, 27, 58, 0.10);
}

.why-feature-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(212, 166, 42, 0.12);
    color: #D4A62A;

    font-size: 20px;
}

.why-feature-card h4 {
    color: #061B3A;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 7px;
}

.why-feature-card p {
    color: #64748B;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .why-choose-visual {
        min-height: 430px;
        margin-bottom: 20px;
    }

    .security-main-card {
        width: 320px;
        min-height: 320px;
    }

    .floating-card-1 {
        right: 5%;
    }

    .floating-card-2 {
        left: 5%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .why-choose-visual {
        min-height: 390px;
    }

    .security-main-card {
        width: 280px;
        min-height: 280px;
        padding: 35px;
    }

    .security-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .security-main-card h3 {
        font-size: 23px;
    }

    .security-floating-card {
        padding: 10px 12px;
        gap: 8px;
    }

    .security-floating-card i {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .security-floating-card strong {
        font-size: 11px;
    }

    .security-floating-card small {
        font-size: 9px;
    }

    .floating-card-1 {
        top: 4%;
        right: 0;
    }

    .floating-card-2 {
        bottom: 3%;
        left: 0;
    }

    .section-title {
        font-size: 34px;
    }

    .section-description {
        font-size: 15px;
    }

    .why-feature-card {
        padding: 18px;
    }

}

/* =========================================================
   OMFINX PREMIUM STATS SECTION
   ========================================================= */

.omfinx-stats-section {
    position: relative;

    padding: 70px 0;

    background: #061B3A;

    border-top: 1px solid #D4A62A;
    border-bottom: 1px solid #D4A62A;

    overflow: hidden;
}


/* subtle background decoration */

.omfinx-stats-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    top: -200px;

    border-radius: 50%;

    background: rgba(212, 166, 42, 0.05);

    pointer-events: none;
}

.omfinx-stats-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(212, 166, 42, 0.05);

    pointer-events: none;
}


/* Grid */

.omfinx-stats-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}


/* Card */

.omfinx-stat-card {
    position: relative;

    padding: 30px 20px;

    text-align: center;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(212, 166, 42, 0.28);

    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;

    overflow: hidden;
}

.omfinx-stat-card:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.075);

    border-color: #D4A62A;
}


/* Icon */

.omfinx-stat-icon {
    width: 54px;
    height: 54px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(212, 166, 42, 0.12);

    border: 1px solid rgba(212, 166, 42, 0.25);

    color: #D4A62A;

    font-size: 21px;
}


/* Number */

.omfinx-stat-number {
    margin: 0;

    color: #FFFFFF;

    font-size: clamp(32px, 3vw, 44px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.5px;
}

.omfinx-stat-number sup {
    position: relative;

    top: -0.4em;

    margin-left: 2px;

    color: #D4A62A;

    font-size: 18px;

    font-weight: 700;
}


/* Label */

.omfinx-stat-label {
    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .omfinx-stats-section {
        padding: 55px 0;
    }

    .omfinx-stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .omfinx-stats-section {
        padding: 45px 16px;
    }

    .omfinx-stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .omfinx-stat-card {
        padding: 22px 12px;

        border-radius: 14px;
    }

    .omfinx-stat-icon {
        width: 44px;
        height: 44px;

        margin-bottom: 13px;

        border-radius: 11px;

        font-size: 17px;
    }

    .omfinx-stat-number {
        font-size: 28px;
    }

    .omfinx-stat-number sup {
        font-size: 14px;
    }

    .omfinx-stat-label {
        margin-top: 7px;

        font-size: 9px;

        letter-spacing: 0.7px;
    }

}

/* ========================================= */
/* TESTIMONIALS SECTION                      */
/* ========================================= */
.btn-gold {
    background: #D4A62A;
    color: #061B3A;
    font-weight: 700;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: #b58d22;
    color: #fff;
}

.testimonial-card-new {
    border-radius: 18px;
    border: 1px solid #E5EAF0;
    background: #fff;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
}
.testimonial-card-new::after {
    content: '\f10e'; /* fa-quote-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 40px;
    color: rgba(6, 27, 58, 0.04);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 24px;
    color: #E5EAF0;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #D4A62A;
}

.testimonial-form-control {
    width: 100%;
    height: 52px;
    border-radius: 8px;
    border: 1px solid #E5EAF0;
    padding: 10px 15px;
    font-size: 15px;
}
textarea.testimonial-form-control {
    min-height: 130px;
    resize: vertical;
}
/* ================================================== */
/* ELIGIBILITY MODAL CSS                              */
/* ================================================== */
.eligibility-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 27, 58, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.eligibility-overlay.show {
    opacity: 1;
    visibility: visible;
}

.eligibility-modal {
    background: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(6, 27, 58, 0.25);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.eligibility-overlay.show .eligibility-modal {
    transform: scale(1);
}

.eligibility-close {
    position: absolute;
    top: -5px;
    right: -10px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #061B3A;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 10px;
}

.eligibility-close:hover {
    opacity: 1;
}

.eligibility-label {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
    display: block;
}

.eligibility-input {
    width: 100%;
    height: 52px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #061B3A;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

select.eligibility-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061B3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.eligibility-input:focus {
    outline: none;
    border-color: #D4A62A;
    box-shadow: 0 0 0 3px rgba(212, 166, 42, 0.12);
}

.eligibility-btn-submit {
    background: #D4A62A;
    color: #061B3A;
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.eligibility-btn-submit:hover {
    background: #b88d1d;
}

.eligibility-error {
    color: #dc3545;
    font-size: 11px;
    margin-top: 4px;
    display: none;
}

/* Scrollbar for modal */
.eligibility-modal::-webkit-scrollbar {
    width: 6px;
}
.eligibility-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.eligibility-modal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 767px) {
    .eligibility-modal {
        width: calc(100% - 24px);
        max-height: 92vh;
        padding: 20px;
        border-radius: 16px;
    }
    
    .eligibility-header .badge {
        font-size: 10px !important;
    }
    
    .eligibility-header h3 {
        font-size: 1.25rem;
    }
}

/* ========================================================================= */
/* OMFINX GLOBAL RESPONSIVE & UI FIXES (AUTO-GENERATED)                      */
/* ========================================================================= */

/* 1. Prevent Horizontal Overflow globally */
html, body, .main-wrapper {
    max-width: 100%;!important;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Fix row negative margins causing overflow when not inside a container */
.row {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.row > * {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

/* 2. Mobile Header Logo & Burger */
.navbar-brand img {
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}
.navbar-toggler {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent !important;
    color: var(--omfinx-dark-navy, #061B3A);
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
.navbar-collapse {
    z-index: 1050;
    border-radius: 8px;
    margin-top: 10px;
}
@media (max-width: 1199px) {
    .navbar-collapse {
        background-color: var(--omfinx-white, #ffffff);
        padding: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-collapse .nav-link {
        color: var(--omfinx-dark-navy, #061B3A) !important;
        padding: 10px 15px !important;
        border-radius: 8px;
    }
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: var(--omfinx-gold, #D4A62A) !important;
        background-color: var(--omfinx-light-bg, #F6F8FB) !important;
    }
}
@media (min-width: 1200px) {
    .navbar-collapse {
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }
}

/* 3. Ensure mobile cards, forms, calculators fit */
.calculator-card, .premium-product-card, .loan-card, form, .form-control {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Mobile Heroes */
@media (max-width: 767px) {
    .hero-section .row {
        flex-direction: column;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* 5. Safe Text Contrast Overrides */
/* Any section that has bg-white, bg-light, bg-soft-gray should NEVER have text-white */
.bg-white .text-white, 
.bg-light .text-white, 
.bg-soft-gray .text-white {
    color: var(--omfinx-dark-navy, #061B3A) !important;
}
.bg-white p.text-white, 
.bg-light p.text-white, 
.bg-soft-gray p.text-white,
.bg-white .text-white-50,
.bg-light .text-white-50 {
    color: var(--omfinx-muted, #64748B) !important;
}

/* Remove fixed widths that break mobile */
[style*="width: 100%;"] {
    width: 100% !important;
    max-width: 100% !important;
}

/* 6. Footer fixes */
.footer-links a {
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--omfinx-gold, #D4A62A) !important;
    padding-left: 5px;
}

/* 7. Navbar Text Color Fix for Desktop and Mobile when bg-white is applied */
.header-nav.bg-white .nav-link {
    color: var(--omfinx-dark-navy, #061B3A) !important;
}

.header-nav.bg-white .nav-link:hover,
.header-nav.bg-white .nav-link.active {
    color: var(--omfinx-gold, #D4A62A) !important;
}

/* =========================================
   ROBUST MOBILE HORIZONTAL OVERFLOW FIX
========================================= */
@media (max-width: 767px) {
    /* Prevent row negative margins from causing horizontal scroll */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .row > * {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Force containers to fit exactly within viewport */
    .container, .container-fluid, .container-custom, .section-container {
        width: 100% !important;
        max-width: 100%;!important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Make sure all titles scale down properly */
    .cv-hero-title, .hero-title, h1 {
        font-size: 2.2rem !important;
        word-wrap: break-word !important;
        hyphens: auto;
    }

    /* Any elements with 100vw should just be 100% */
    [style*="width: 100%;"] {
        width: 100% !important;
    }
    
    /* AOS animation fix for mobile overflow */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }
}

/* =========================================
   SMOOTH SCROLLING FIX FOR MOBILE (IOS)
========================================= */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-overflow-scrolling: touch !important;
    /* overscroll-behavior-y: none; removed */
}
