/*
 * Abroad Campus - Responsive Media Queries
 * File: css/responsive.css
 * Breakpoints for laptops, tablets, and mobile devices.
 */

/* Laptop / Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .col-3 { width: 50%; }
    .col-4 { width: 50%; }
}

/* Tablet / Portrait Layout (max-width: 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section-py {
        padding: 60px 0;
    }
    
    /* Navigation Bar */
    .top-bar {
        display: none; /* Hide top bar on mobile/tablet to save space */
    }
    
    .nav-menu {
        display: none; /* Hide primary inline menu, fallback to offcanvas menu */
    }
    
    .nav-right-actions .btn {
        display: none; /* Hide help button on smaller screens */
    }
    
    .menu-toggle {
        display: block; /* Show hamburger toggle */
    }
    
    /* Layout Grids */
    .col-6, .col-4, .col-3, .col-8 {
        width: 100% !important;
    }
    
    .row {
        flex-direction: column;
    }
    
    .row > div {
        margin-bottom: 30px;
    }
    
    .row > div:last-child {
        margin-bottom: 0;
    }
    
    /* Typography */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    /* Footer */
    footer {
        padding-top: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }
    
    .accreditations-strip {
        justify-content: center;
    }
    
    /* Enquiry form layout inside pages */
    .enquiry-form-card {
        padding: 25px;
    }
}

/* Mobile Screen Sizes (max-width: 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .navbar-logo img {
        height: 44px;
    }
    
    /* Floating buttons adjustment for mobile */
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
