/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199px) {
    /* Add styles for large desktops here if needed */
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {

    /* Header and Navigation */
    .toggle_btn {
        color: #ffffff !important;
        font-size: 25px;
    }

    #header {
        background: var(--whiteColor) !important;
    }

    header::after {
        width: 50%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    /* Navigation */
    .offcanvas-start {
        border-right: 3px solid var(--buleColor) !important;
    }

    .demoNavBar li a {
        color: var(--darkColor) !important;
    }

    .demoNavBar li {
        text-align: center !important;
    }

    .demoNavBar .dropdown-menu li:first-child a {
        padding-left: 16px !important;
    }

    /* Content and Layout */
    .trvl-container {
        grid-template-columns: auto auto auto;
    }

    .w_100_mobile {
        width: 100% !important;
    }

    /* Typography */
    .app_sub_title {
        font-size: 13px !important;
    }

    .works-text {
        font-size: 28px !important;
        line-height: 30px;
    }

    /* Buttons and CTAs */
    .btn_view_eats {
        font-size: 12px !important;
    }

    /* Contact Section */
    .b-contact-form-box {
        border: 1px solid var(--buleColor) !important;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {

    /* Header and Branding */
    .site_logo {
        width: auto !important;
    }

    /* Typography */
    .section-title h2 {
        font-size: 25px !important;
    }

    .page_title {
        font-size: 25px !important;
    }

    .works-text {
        font-size: 25px;
    }

    /* Layout and Grids */
    .trvl-container {
        grid-template-columns: auto auto;
        grid-gap: 20px;
    }

    /* Search and Results */
    .departure-search {
        margin-top: 0px !important;
    }

    .single_search_result_item ul.result_content li .item-content h6 {
        font-size: 13px !important;
    }

    .search__panel {
        margin: 0px;
        padding: 50px 0px 80px;
    }

    /* UI Elements */
    .how_works {
        min-height: 0px !important;
        box-shadow: none;
        background: #eee;
        border-radius: 7px;
    }

    .passenger-details-box {
        padding: 15px !important;
        border: 1px solid var(--buleColor);
    }

    /* Buttons and Navigation */
    .trip_book_now_btn {
        font-size: 18px;
        padding: 8px 30px;
    }

    .repeat-arrow-img-btn {
        top: 74px;
    }

    button.repeat-arrow-img-btn.repeat-arrow-img-btn2 {
        top: 80px;
        transform: rotate(90deg);
    }

    .banner_carousel .owl-nav button span {
        display: none;
    }

    /* Form Elements */
    .accordion-button {
        padding: 8px 0px;
        font-size: 18px;
    }

    .accordion-body {
        padding: 10px 0px;
    }

    .select2-container--default .select2-selection--single {
        height: 41px !important;
    }

    /* App Section */
    .app_sec .section-title h2 {
        font-size: 25px !important;
        line-height: 35px;
    }

    /* QR and Icons */
    .qr_image {
        width: 140px;
    }

    .service-icon-wrapper img {
        height: 100px !important;
        object-fit: contain;
    }

    /* Language and Scroll Controls */
    .lang_title span {
        font-size: 14px;
        font-weight: 600;
        color: var(--whiteColor) !important;
    }

    .scroll-to-tops {
        bottom: 84px !important;
    }

    /* Footer */
    .footer_logo {
        width: 160px !important;
        margin: 0px !important;
    }

    .footer_title {
        margin: 15px 0px 5px;
        font-size: 20px;
    }

    .footer-bg {
        padding: 40px 0px 30px !important;
    }

    /* Misc */
    .all__info { 
        font-size: 18px !important;
    }
    .contact-icons{
        padding: 10px !important;
    }
}

/* Extra small devices (phones, less than 601px) */
@media (max-width: 600px) {

    /* Layout */
    .trvl-container {
        grid-template-columns: auto;
        grid-gap: 15px;
    }
}

/* Very small devices (less than 576px) */
@media (max-width: 575px) {
    /* Add any styles specifically for phones in portrait mode */
}

/* Tiny devices (less than 401px) */
@media (max-width: 400px) {

    /* Layout */
    .dpe_ariv_wrap {
        flex-wrap: nowrap !important;
    }

    .bi_arrow {
        width: 80px;
    }

    /* Typography and Pricing */
    .single_search_result_item ul.result_content li .item-content p {
        font-size: 13px;
    }

    p.text-danger.fw-bold {
        font-size: 14px;
    }

    .single_search_result_item ul.result_content li .price {
        font-size: 20px;
    }
}