/* ==========================================================================
   BSQC RESPONSIVE BREAKPOINTS - responsive.css
   Board of Standardization & Quality Control (UK)
   ========================================================================== */

/* ==========================================
   1. MOBILE SIZES (Up to 576px)
   ========================================== */
@media (max-width: 575.98px) {
    .section {
        padding: 60px 0;
    }
    
    .page-hero {
        padding: 60px 0 40px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn-custom {
        width: 100%;
    }
    
    .trust-bar {
        margin-top: -20px;
    }
    
    .trust-card {
        padding: 20px;
    }
    
    .premium-card {
        padding: 24px;
    }
    
    .footer {
        padding: 60px 0 30px 0;
    }
    
    .footer h4 {
        margin-top: 2rem;
    }
    
    .footer-bottom {
        margin-top: 40px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 12px 16px;
    }
    
    .table-custom th, 
    .table-custom td {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .verify-search-container {
        padding: 20px;
    }
}

/* ==========================================
   2. SMALL DEVICES / TABLETS (576px to 768px)
   ========================================== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-section {
        padding: 130px 0 70px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .trust-bar {
        margin-top: -30px;
    }
    
    .verify-search-container {
        padding: 30px;
    }
}

/* ==========================================
   3. MEDIUM TABLETS (768px to 992px)
   ========================================== */
@media (max-width: 991.98px) {
    /* Mobile Menu Drawer Layout */
    .navbar-collapse-custom {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--primary);
        z-index: 1040;
        padding: 80px 30px 40px 30px;
        box-shadow: -10px 0 30px rgba(11, 31, 58, 0.15);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .navbar-collapse-custom.show {
        right: 0;
    }
    
    .navbar-nav {
        margin-bottom: 2rem;
    }
    
    .nav-link-custom {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-link-custom::after {
        display: none;
    }
    
    .nav-link-custom.active,
    .nav-link-custom:hover {
        color: var(--accent) !important;
        padding-left: 8px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px;
        outline: none !important;
        box-shadow: none !important;
        color: var(--primary);
        z-index: 1050;
    }
    
    .navbar-toggler-icon {
        background-image: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 24px;
        height: 24px;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after,
    .navbar-toggler-line {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition);
    }
    
    .navbar-toggler-icon::before {
        transform: translateY(-8px);
    }
    
    .navbar-toggler-icon::after {
        transform: translateY(8px);
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-line {
        opacity: 0;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        background-color: var(--white);
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        background-color: var(--white);
    }
    
    .navbar-toggler[aria-expanded="true"] {
        position: fixed;
        right: 20px;
        top: 24px;
        color: var(--white);
    }
    
    /* Layout specific */
    .asymmetric-col-right {
        margin-top: 2.5rem;
    }
    
    .trust-bar-row > div {
        margin-bottom: 24px;
    }
    
    .trust-bar-row > div:last-child {
        margin-bottom: 0;
    }
    
    .horizontal-timeline {
        display: none;
    }
}

/* ==========================================
   4. DESKTOP & LARGE BREAKPOINTS (992px and up)
   ========================================== */
@media (min-width: 992px) {
    .navbar-collapse-custom {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        flex-grow: 1;
    }
    
    .navbar-nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-left: auto;
        margin-right: 24px;
    }
    
    .asymmetric-col-left {
        padding-right: 50px;
    }
    
    .vertical-timeline {
        display: none;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ==========================================
   5. ACCESS ACCESSIBILITY & PREF REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
