/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Laptop / Smaller Desktop */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape / Standard Tablet */
@media (max-width: 1023px) {
    .highlight-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-item:nth-child(2) {
        border-right: none;
    }

    .about-container {
        gap: 2rem;
    }

    .mobile-booking-container {
        gap: 2rem;
    }

    .testimonial-track {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card:nth-child(3) {
        display: none; /* Hide 3rd on tablet for layout if slider not active */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .hero-bg {
        /* Ensure overlay allows readability when stacked */
        background-color: var(--clr-navy);
    }
    
    .hero-overlay {
        background: rgba(7, 27, 51, 0.85);
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .trust-points {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-booking {
        width: 100%;
        max-width: 500px;
    }
    
    .nav-list {
        display: none; /* Will be toggled via JS on mobile */
    }
    
    .btn-book-header {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .header-contact {
        display: none; /* Hide phone on mobile header to save space, or show simplified version */
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    :root {
        --spacing-md: 1rem;
        --spacing-xl: 4rem;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--clr-white);
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-list a {
        font-size: 1.1rem;
        display: block;
    }

    /* Mobile Toggle Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .mobile-toggle.active {
        position: fixed;
        right: 1rem;
    }

    /* Hero */
    .hero {
        padding-top: 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .trust-points {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    /* Booking Form */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-card {
        padding: 1.5rem;
    }

    /* Highlights */
    .highlight-container {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        padding: 1.5rem 1rem;
    }
    
    .highlight-item:last-child {
        border-bottom: none;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
        text-align: center;
    }
    
    .about-image-wrapper {
        order: 1;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Accessible Transport */
    .acc-inner {
        grid-template-columns: 1fr;
    }
    .acc-right {
        border-radius: var(--radius-md);
        max-height: 280px;
    }
    .acc-photo {
        min-height: 280px;
    }
    .acc-features-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .acc-bottom-bar {
        flex-direction: column;
    }
    .acc-bottom-cta {
        width: 100%;
        clip-path: none;
        padding: 1.5rem;
        padding-right: 1.5rem;
    }
    .acc-bottom-features {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Fleet */
    .fleet-img-container {
        flex-direction: column;
        align-items: center;
    }
    
    .fleet-vehicle {
        height: auto;
        max-width: 100%;
    }
    
    .fleet-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }



    /* Testimonials */
    .testimonial-track {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3) {
        display: none; /* Mobile slider placeholder logic */
    }
    
    .slider-btn {
        display: none; /* Hide arrows on mobile, rely on dots/swipe ideally */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}
