@media (max-width: 1400px) {}

@media (max-width: 1120px) {

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        position: unset;
        margin-right: 10px;
    }

    .slider_section .carousel-btn-box {
        display: flex;
        margin-top: 45px
    }
}

@media (max-width: 991px) {
    .hero_area {
        min-height: auto;
    }

    .user_option {
        justify-content: center;
    }

    /* Sticky header adjustments */
    .header_section {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar-brand span {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile reordering: booking form first, then slider */
    .booking-hero-wrapper {
        display: flex;
        flex-direction: column;
    }

    .hero_area {
        order: 2;
    }

    .book_section {
        order: 1;
    }

    .slider_section {
        padding: 40px 0 145px 0;
    }

    .slider_section .img-box {
        margin-top: 30px;
    }


    .about_section .detail-box,
    .why_section .box,
    .app_section .img-box {
        margin-top: 45px;
    }

    /* Footer responsive */
    .footer_column {
        margin-bottom: 25px;
    }

    .footer_title {
        font-size: 16px;
    }

    .floating_buttons {
        bottom: 80px;
        right: 15px;
        gap: 12px;
    }

    .float_btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Form responsive for tablet */
    .book_section .book_form .form-row {
        display: flex;
        flex-wrap: wrap;
    }

    .book_section .book_form .form-row .form-group {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .book_section .book_form .form-control {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .mobile-call-btn {
        display: inline-flex;
    }
}

@media (max-width: 576px) {
    /* Sticky header for small devices */
    .header_section {
        padding: 10px 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .navbar-brand {
        gap: 8px;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar-brand span {
        font-size: 16px;
    }

    /* Form responsive for mobile - 100% width inputs */
    .book_section .book_form {
        padding: 30px 20px;
        margin-top: 10px;
    }

    .book_section .book_form .trip-type-buttons {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .book_section .book_form .trip-type-buttons button {
        flex: 0 0 calc(50% - 5px);
    }

    .book_section .book_form .form-row {
        display: flex;
        flex-direction: column !important;
    }

    .book_section .book_form .form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px;
        flex: 0 0 100%;
    }

    .book_section .book_form .form-control {
        width: 100% !important;
        height: 45px;
        font-size: 16px;
    }

    .book_section .book_form label {
        font-size: 12px;
    }

    .book_section .book_form .autocomplete-container {
        width: 100%;
    }

    .book_section .book_form .btn-box {
        display: block;
    }

    .book_section .book_form .btn-box button {
        width: 100%;
        padding: 12px 25px;
    }

    /* Vehicle selection responsive */
    .vehicle-options {
        flex-direction: column;
    }

    .vehicle-options .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .vehicle-card {
        margin: 0 auto;
        width: 100%;
    }

    /* Date/Time picker responsive */
    .book_section .book_form .form-row .form-group.col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Footer responsive for small devices */
    .footer_content {
        padding: 40px 0 30px 0;
    }

    .footer_title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer_column {
        margin-bottom: 20px;
    }

    .contact_item {
        margin-bottom: 12px;
    }

    .footer_links {
        margin-bottom: 15px;
    }

    .services_section {
        margin-top: 15px;
        padding-top: 15px;
    }

    .services_title {
        font-size: 13px;
    }

    .booking_buttons {
        gap: 10px;
    }

    .btn_whatsapp,
    .btn_call {
        font-size: 13px;
        padding: 10px 15px;
        width: 100%;
    }

    .floating_buttons {
        bottom: 70px;
        right: 10px;
        gap: 10px;
    }

    .float_btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}


@media (max-width: 480px) {
    /* Extra small devices - ensure 100% width inputs */
    .book_section .book_form .form-group {
        width: 100% !important;
    }

    .book_section .book_form .form-control {
        width: 100% !important;
        font-size: 16px;
    }

    .book_section .book_form .btn-box button {
        width: 100%;
        font-size: 14px;
    }

    /* Fare table - optimize for small phones */
    .fare-header {
        grid-template-columns: 1fr 1fr;
        font-size: 11px;
        padding: 10px;
        gap: 5px;
    }

    .fare-row {
        grid-template-columns: 1fr 1fr;
        font-size: 11px;
        padding: 10px;
        gap: 5px;
    }

    .fare-row div:last-child {
        font-size: 12px;
        font-weight: bold;
    }

    .fare-row.total-row div:last-child {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    /* Extra small mobile - adjust padding and font sizes */
    .book_section .book_form {
        padding: 25px 15px;
    }

    .book_section .book_form .form-control {
        height: 40px;
        font-size: 14px;
    }

    .book_section .book_form label {
        font-size: 11px;
    }

    .navbar-brand span {
        font-size: 14px;
    }

    .navbar-brand img {
        height: 50px;
    }

    /* Fare table - ultra compact for tiny phones */
    .fare-header {
        grid-template-columns: 1fr 1fr;
        font-size: 10px;
        padding: 8px;
        gap: 4px;
    }

    .fare-row {
        grid-template-columns: 1fr 1fr;
        font-size: 10px;
        padding: 8px;
        gap: 4px;
    }

    .fare-row div:last-child {
        font-size: 11px;
    }

    .fare-row.total-row div:last-child {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    /* Smallest mobile devices */
    .book_section .book_form {
        padding: 20px 12px;
        margin-top: -60px;
    }

    .book_section .book_form .form-control {
        height: 38px;
        font-size: 13px;
        padding: 8px 10px;
    }

    .book_section .book_form .btn-box button {
        padding: 10px 15px;
        font-size: 12px;
    }

    .book_section .book_form label {
        font-size: 10px;
    }

    .navbar-brand {
        gap: 5px;
    }

    .navbar-brand img {
        height: 45px;
    }

    .navbar-brand span {
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }

}