/* =========================================================
   Wound Care Medical Billing - Responsive Stylesheet
   Breakpoints follow Bootstrap 5:
   xxl >= 1400 | xl < 1400 | lg < 1200 | md < 992 | sm < 768 | xs < 576
   ========================================================= */

/* ---------- Large desktops (< 1400px) ---------- */
@media (max-width: 1399.98px) {
    :root {
        --fs-xxl: 48px;
        --fs-xl: 40px;
    }
}

/* ---------- Desktops (< 1200px) ---------- */
@media (max-width: 1199.98px) {
    :root {
        --fs-xxl: 42px;
        --fs-xl: 36px;
        --fs-lg: 24px;
    }

    .services-section .slider-prev { left: -1.5rem; }
    .services-section .slider-next { right: -1.5rem; }
}

/* ---------- Tablets (< 992px) ---------- */
@media (max-width: 991.98px) {
    :root {
        --fs-xxl: 38px;
        --fs-xl: 32px;
        --fs-md: 18px;
        --fs-base: 17px;
    }

    /* Header: collapsed menu */
    .site-header .navbar-collapse {
        padding-top: 1rem;
    }
    .site-header .navbar-nav {
        margin-bottom: 1rem;
    }

    /* Hero */
    .hero-section .hero-media {
        padding: 1.5rem 1.5rem 0 0;
    }

    /* Services: 2 cards visible, arrows inside */
    .services-section .service-card {
        -ms-flex: 0 0 calc((100% - 1.5rem) / 2);
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
    .services-section .services-slider {
        padding: 0 2.5rem;
    }
    .services-section .slider-prev { left: 0; }
    .services-section .slider-next { right: 0; }
}

/* ---------- Mobile landscape (< 768px) ---------- */
@media (max-width: 767.98px) {
    :root {
        --fs-xxl: 32px;
        --fs-xl: 28px;
        --fs-lg: 22px;
        --fs-base: 16px;
        --fs-sm: 15px;
    }

    /* EHR marquee: smaller logos */
    .technology-section .marquee-item {
        width: 1400px;
    }

    /* Services: 1 card visible */
    .services-section .service-card {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    /* FAQ */
    .faq-section .faq-accordion {
        --bs-accordion-btn-padding-x: 1.25rem;
        --bs-accordion-btn-padding-y: 1.25rem;
        --bs-accordion-body-padding-x: 1.25rem;
        --bs-accordion-border-radius: 16px;
        --bs-accordion-inner-border-radius: 15px;
    }
}

/* ---------- Mobile portrait (< 576px) ---------- */
@media (max-width: 575.98px) {
    :root {
        --fs-xxl: 28px;
        --fs-xl: 26px;
        --fs-md: 17px;
    }

    .btn-theme {
        --bs-btn-padding-x: 1.4rem;
        --bs-btn-padding-y: 0.8rem;
    }

    .btn-outline-pill {
        --bs-btn-padding-x: 1rem;
        --bs-btn-padding-y: 0.7rem;
        --bs-btn-font-size: 14px;
    }

    .services-section .services-slider {
        padding: 0 2rem;
    }
    .services-section .btn-slider-arrow {
        --bs-btn-font-size: 1.5rem;
    }

    /* Footer newsletter stacks */
    .site-footer .newsletter-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}
