/* ============================================
   RESPONSIVE CSS - Mobile First Overrides
   ============================================ */

/* Tablet landscape and below */
@media screen and (max-width: 991px) {
    .main-nav-setting ul li {
        padding-top: 14px;
        padding-bottom: 14px;
        border-bottom: solid 1px #E2E8F0;
        font-weight: 500;
        width: 100%;
    }

    .btn-display {
        display: block;
    }

    .signin-btn {
        color: black;
        padding-bottom: 40px;
    }

    .advance-row {
        flex-flow: column-reverse;
    }

    .multilender-section .row {
        gap: 32px;
    }

    .multilender-section-light .row {
        gap: 32px;
    }
}

/* Tablet portrait */
@media screen and (max-width: 768px) {
    .btn-display {
        display: block;
        padding-bottom: 40px;
    }

    .main-nav-setting ul {
        margin-left: 0;
        margin-top: 20px;
        padding: 0;
    }

    .main-nav-setting ul li {
        padding-top: 14px;
        padding-bottom: 14px;
        border-bottom: solid 1px #E2E8F0;
        font-weight: 500;
        width: 100%;
    }

    .main-nav-setting ul li a {
        font-size: 16px;
    }

    .navbar-light .navbar-toggler {
        border-color: transparent;
        margin-top: 0;
    }

    .signin-btn {
        color: black;
    }

    .hero-section {
        padding-top: 16px;
        padding-bottom: 40px;
    }

    /* Stack hero columns */
    .cus-term-loan-cen {
        flex-direction: column;
    }

    /* Better spacing for stacked content */
    .shop-card-window-content {
        margin-top: 24px;
    }

    /* Qualify section stacks nicely */
    .qualify-section .row > div {
        border-right: none !important;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .qualify-section .row > div:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Footer adjustments */
    .footer-border .row {
        gap: 24px;
    }

    .pre-footer-section {
        text-align: center;
    }

    .footer .useful-set {
        text-align: left;
    }

    /* FAQ sections */
    .hero-section.section3 .row .col-1 {
        display: none;
    }

    /* Trust bar wraps nicely */
    .trust-bar span {
        display: block;
        margin: 4px 0;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .offer-section .offer-box2 .para p {
        padding-right: 0;
    }

    .btn-main-hero {
        width: 100%;
    }

    .btn-main-qualify {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-main {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-h {
        width: 100%;
    }

    .content p {
        text-align: left;
    }

    .title h2 {
        text-align: center;
        font-size: 1.6rem;
    }

    .box {
        padding: 10px;
    }

    .counter-section h1 {
        font-size: 2rem;
    }

    .col-pad {
        padding-bottom: 40px;
    }

    .sunrise-image-sm img {
        width: 35px;
    }

    .sunrise-image img {
        width: 160px;
    }

    .social-icon {
        flex-flow: column;
        padding: 0;
    }

    .call-section p {
        padding-top: 8px;
    }

    .advance-row {
        flex-flow: column-reverse;
    }

    .offer-img img {
        padding-top: 16px;
        width: 20px;
    }

    .qualify-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .box img {
        margin-bottom: 12px;
    }

    .box .title {
        margin-bottom: 12px;
    }

    .multilender-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .counter-section {
        padding-top: 40px;
        padding-bottom: 40px;
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .offer-section .offer-box2 .para h6 {
        font-size: 18px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    /* Loan section CTA */
    .loan-section,
    .c2a-bg {
        padding: 48px 0;
    }

    .c2a-main {
        font-size: 22px;
        line-height: 1.3;
    }

    .c2a-sub {
        font-size: 0.95rem;
    }

    /* Call section stacks */
    .call-section .row {
        text-align: center;
    }

    .call-section h3 {
        font-size: 1.2rem;
        text-align: center;
        float: none !important;
    }

    .call-section img {
        float: none !important;
        margin: 0 auto 12px !important;
        display: block;
    }

    /* Footer mobile */
    .footer-border .row {
        text-align: center;
    }

    .footer .useful-set {
        text-align: center;
    }

    .footer .useful-set ul li a:hover {
        padding-left: 0;
    }
}

/* Small phones */
@media screen and (max-width: 360px) {
    .headerstyle {
        font-size: 1.6em;
    }

    .hero-list-style li {
        font-size: 0.8em;
        margin: 6px 0;
    }

    .sectionheader {
        font-size: 22px;
    }

    .button-32 {
        padding: 12px 20px;
        font-size: 14px;
    }
}
