/* ==========================================================================
   BH DIGITAL SERVICES (Bilal Haider ID) — Responsive Media Queries
   File: assets/css/responsive.css
   Tested targets: 320px, 375px, 430px, 768px, 1024px, 1440px
   ========================================================================== */

@media (max-width: 1100px) {
    .bh-trust-grid,
    .bh-announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bh-categories-grid,
    .bh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bh-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bh-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bh-filter-top,
    .bh-filter-advanced {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .bh-hero-grid,
    .bh-brand-promise-grid,
    .bh-contact-grid {
        grid-template-columns: 1fr;
    }

    .bh-mobile-menu-btn {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
    }

    .bh-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--bh-bg-navy);
        border-bottom: 1px solid var(--bh-border-blue);
        padding: 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        box-shadow: var(--bh-shadow-lg);
        z-index: 99;
    }

    .bh-nav.is-open {
        display: flex;
    }

    .bh-nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .bh-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .bh-nav-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .bh-nav-cta .bh-btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 680px) {
    .bh-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .bh-section {
        padding: 48px 0;
    }
    .bh-trust-grid,
    .bh-announcements-grid,
    .bh-categories-grid,
    .bh-services-grid,
    .bh-steps-grid,
    .bh-footer-grid,
    .bh-filter-top,
    .bh-filter-advanced,
    .bh-showcase-grid,
    .bh-modal-meta-grid,
    .bh-form-grid-2,
    .bh-country-list {
        grid-template-columns: 1fr;
    }
    .bh-topbar-inner {
        justify-content: center;
        text-align: center;
    }
    .bh-topbar-contacts {
        display: none;
    }
    .bh-service-actions {
        grid-template-columns: 1fr;
    }
    .bh-btn {
        min-height: 44px;
    }
    .bh-modal {
        padding: 20px 16px;
        margin: 10px;
    }
    .bh-whatsapp-float span {
        display: none;
    }
    .bh-whatsapp-float {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        right: 16px;
        bottom: 16px;
    }
    .bh-back-to-top {
        right: 20px;
        bottom: 82px;
    }
}

@media (max-width: 375px) {
    .bh-hero-title {
        font-size: 28px;
    }
    .bh-section-title {
        font-size: 24px;
    }
    .bh-brand-name {
        font-size: 14px;
    }
    .bh-filter-panel {
        padding: 14px;
    }
}

/* Smooth Horizontal-Scrollable Pills & Mobile Bottom-Sheet Polish */
@media (max-width: 768px) {
    .bh-platform-nav,
    .bh-chip-group {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        gap: 8px;
    }
    .bh-platform-nav::-webkit-scrollbar,
    .bh-chip-group::-webkit-scrollbar {
        display: none;
    }
    .bh-platform-pill,
    .bh-filter-chip {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .bh-modal-backdrop.is-open {
        align-items: flex-end;
        padding: 0;
    }
    .bh-modal {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        padding: 22px 16px 28px;
    }
}
