@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import "fa7.all.min.css";

html, body {
    height: 100%;
}

body {
    font-family: Montserrat;
    display: flex;
    flex-direction: column;
}

.navbar > .container > * {
    flex: 0 0 auto;
}

.nav-link {
    font-size: 14px !important;
    padding: 6px 12px !important;
}

.logo-light {
    max-height: 80px;
}

.header-phone-row {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.header-phone {
    color: var(--bs-green) !important;
    font-size: 30px;
    font-weight: 500;
    /* position:relative; */
    /* top:-20px; */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-light {
        max-height: 60px;
    }
    .header-phone {
        top: 0;
    }
}

.navbar-accent {
    border-bottom: 4px solid rgb(0, 158, 62);
    position: relative;
}

/* Hero section */
/* HERO SECTION */
.hero-section {
    background: url('/img/hero-bg.jpg') center center / cover no-repeat;
    padding: 90px 0;
    /* default desktop height */
    position: relative;
    border-top: 4px solid #333;
    /* color: #fff; */
}

/* Optional overlay  */

/* .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);  
}
.hero-section > .container {
    position: relative;
    z-index: 2;
} */


.hero-title {
    font-family: Montserrat, sans-serif !important;
    font-size: 64px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    color: var(--bs-green) !important;
}
.hero-title-light {
    font-family: Montserrat, sans-serif !important;
    font-size: 64px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    color: var(--bs-light) !important;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.btn-hero-apply {
    text-transform: uppercase;
    font-size: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 10px;
    }

    .hero-title, .hero-title-light {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
/* Medium screens (iPad/tablet), 768px–991px */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title, .hero-title-light {
        font-size: 52px;   /* adjust as needed */
        line-height: 1.1;
    }
}


/* login box in Hero */
.hero-login {
    background-color: rgba(61, 74, 61, .73);
    border-radius: 5px;
}

/* select state dropdown */
.state-dropdown-wrapper {
    width: 250px; /* adjust to taste */
    text-align: left; /* keeps label aligned nicely */
}
.state-dropdown-wrapper label {
    text-align: center;
    font-size: 12px;
    width: 100%;
}
.state-dropdown-wrapper select {
    border-radius: 8px;
    padding: 8px 12px;
}



/* OFN green */
.bg-ofn {
    background-color: rgb(160, 176, 160);
    /* padding-top: 60px; */
}

/* Increase top padding when the bridge-row becomes taller */
@media (max-width: 768px) {

    /* lg breakpoint: 3 cols -> stacked */
    .bg-ofn {
        padding-top: 180px;
        /* adjust as needed */
    }
}

@media (max-width: 576px) {

    /* extra small screens */
    .bg-ofn {
        padding-top: 220px;
        /* slightly more if stacking increases height */
    }
}

/* Wrapper that positions the bridge box */
.bridge-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    /* prevents affecting layout */
}

/* Row that spans full container width */
.bridge-row {
    border-radius: 0px;
    position: absolute;
    left: 50%;
    /* anchor center */
    transform: translateX(-50%);
    /* center inside container area */
    top: -50px;
    /* amount of overlap upward */
    width: 100%;
    /* take full width of the container */
    max-width: 1320px;
    /* match your Bootstrap container size */
    z-index: 10;
}

/* Feature Number (big badge) */
.feature-number {
    font-size: 2rem;
    /* roughly h2 size */
    /* font-weight: 700; */
    font-family: Montserrat, sans-serif;
    /* border-radius: 12px; */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    /* keeps size consistent */
}

/* Title + description */
.feature-title {
    font-size: 1.25rem;
    /* font-weight: 600; */
    margin-bottom: 4px;
    font-family: Montserrat, sans-serif;
}

.feature-desc {
    font-size: .9rem;
    font-weight: 400;
}

/* Vertical alignment */
.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .feature-number {
        font-size: 1.8rem;
        padding: 10px 18px;
        min-width: 60px;
    }
}

/* buttons */
.btn-ofn, .text-bg-ofn {
    background-color: rgb(160, 176, 160);
    border-color: rgb(143, 163, 143);
    /* color: rgb(61, 74, 61); */
}

.btn-outline-ofn, .btn-outline-ofn.disabled {
    color: rgb(61, 74, 61);
    border-color: rgb(160, 176, 160);
}

.btn-ofn:hover, .btn-outline-ofn:hover {
    background-color: rgb(132, 146, 132) !important;
    border-color: rgb(160, 176, 160) !important;
}

.btn-ofn:hover {
    color: rgb(61, 74, 61)!important;
}

.btn-ofn:focus {
    background-color: rgb(132, 146, 132) !important;
    border-color: var(--bs-gray-300) !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25) !important;
}

.btn-ofn:active, .btn-check:checked+.btn-ofn {
    background-color: rgb(132, 146, 132) !important;
    border-color: var(--bs-gray-100) !important;
}

.btn-ofn:disabled, .btn-ofn.disabled {
    background-color: rgb(160, 176, 160) !important;
    border-color: var(--bs-gray-500) !important;
    opacity: 0.2 !important;
}

.how-payday-works div {
    text-align: center;
}

.how-payday-works p {
    text-align: center;
    font-weight: bold;
    font-size: 16px !important;
}

/* What do I need section */
.what-do-i-need p {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
}

.what-do-i-need p::after {
    display: block;
    border: 1px solid var(--bs-primary);
    content: "";
    width: 70%;
    margin: 0 auto;
}

.what-do-i-need li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Why choose us section */
.faq-section {
    background: url('/img/faq-bg.jpg') center center / cover no-repeat;
}

.faq-section p {
    font-size: 14px;
}

/* Footer styling */
.footer {
    background: linear-gradient(to bottom, #1a1a1a, #111);
    border-top: 4px solid rgb(0, 158, 62);
    /* green border */
    margin-top: auto;
    color: #ffffff;
}

.footer p {
    font-size: 12px;
}

/* FAQ page */
.faq-menu {
    text-align: center;
}
.faq-menu a {
    margin-bottom: 10px;
    display: inline-block;
    border-right: 1px solid;
    padding: 0 10px;
}
.faq-menu a:last-child {
    border-right: none;
}
/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(160, 176, 160);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.scroll-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn.hide {
    opacity: 0;
    transform: translateY(20px);
}


/* Admin */
#clearFilter i:hover {
    color: #dc3545!important; /* subtle red hover */
}

.module-reasons .checkmark-list li {
    position: relative;
    margin-bottom: 20px;
}
.module-reasons .checkmark-list {
    list-style: none;
    margin-top: 30px;
}
.module-reasons .checkmark-list li:before {

    font-family: "Font Awesome 7 Free";
    content: "\f058";
    font-weight: 900;
    position: absolute;
    left: -1.5em;
    top: 0;
    font-size: 2em;
    color: #009e3e;
}

.reviews .stars i {
    color: #fc0;
    margin: 0 3px;
}

/* CMS SEO page body + Summernote editor: blockquote / code / pre (Bootstrap does not style plain blockquote strongly) */
.seo-body blockquote,
.note-editable blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 0.35rem solid var(--bs-secondary, #6c757d);
    color: var(--bs-secondary, #6c757d);
    background-color: var(--bs-secondary-bg, #f8f9fa);
}

.seo-body pre,
.note-editable pre {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, 0.375rem);
    overflow-x: auto;
    font-size: 0.875em;
}

.seo-body :not(pre) > code,
.note-editable :not(pre) > code {
    padding: 0.15em 0.35em;
    font-size: 0.875em;
    color: var(--bs-danger, #b02a37);
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    border-radius: 0.25rem;
}

.seo-body pre code,
.note-editable pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border-radius: 0;
}

/* Ensure Bootstrap utilities show inside the editor (Summernote sets colors on .note-editable) */
.note-editable .text-muted {
    color: var(--bs-secondary-color) !important;
}