/*===================================================
    Media Query
====================================================*/

/* Tablet Devices */
@media (max-width: 992px) {
    .padding{ padding: 50px 0; }
    .sm-padding{ padding: 15px; }
    p br{ display: none; }
    span br{ display: none; }
    .default-btn{ padding: 0 30px; }
    .section-heading h2{
        font-size: 32px;
        line-height: 42px;
    }
    .section-heading br{ display: inherit; }
    .grid-post{ margin: 0; }
    .about-info{
        display: block;
        column-gap: 20px;
    }
    .about-info li h2{margin-top: 25px;}
    .about-img:before{
        right: 90px; 
        bottom: 0;
    }
    .about-img .about-img1 {
        transform: translate(-35px, -40px);
    }
    .about-img .about-img2 {
        right: 30px;
        bottom: -100px;
    }
    .service-section .bg-half{
        height: 496px;
    }
    .swiper-outside .swiper-nav{ display: none; }
    .booking-car-image,
    .booking-section:before{ display: none;}
    .booking-section:after {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
        height: 60px;
    }
    .booking-wrap .section-heading h2{ font-size: 32px; }
    .taxi-holder{
        background-image: none;
    }
    .taxi-holder .mockup,
    .location-marker,
    .taxi-holder .taxi,
    .taxi-holder .charecter{
        display: none;
    }
    .testimonial-section{ padding: 50px 0; }
    .feature-wrap{
        margin-left: 0;
        padding: 50px;
        margin-top: 80px;
    }
    .footer-call p span{
        display: inline-block;
        font-size: 32px;
        line-height: 1;
        margin-bottom: 0;
        margin-right: 20px;
    }
    .cta-men{ display: none; }
    .cta-content h2{ font-size: 36px; }
    .cta-section{ clip-path: inherit; }
    .cta-content{ text-align: center; }
    .cta-content .cta-call{ justify-content: center; }
    .cta-content .cta-call p span{ text-align: left; }
    .booking-form-2{margin-bottom: 50px;}
    .cta-section-2 .cta-content {
        text-align: left;
        margin-bottom: 35px;
        width: 50%;
    }
    .cta-section-2 .cta-men{
        display: block;
        background-size: 90%;
        right: 10px;
        
    }
    .page-header-shape{
        width: 30%;
        height: 60px;
    }
    .page-header-shape:after{ height: 45px; }
    .video-box-inner > img{display: none;}
    .taxi-details .section-heading{margin-top: 40px;}
    .driver-details{ margin-top: 40px; }    
    .testimonial-section-2 .testi-pagination .swiper-pagination{
        bottom: -20px;
    }
    .contact-form-group .default-btn{ font-size: 14px; }

}

/* Mobile Devices */
@media all and (max-width: 768px) {
    .padding{ padding: 50px 0; }
    .xs-padding{ padding: 15px; }
    .section-heading p br,
    br{ display: none; }
    .section-heading h2{
        font-size: 24px;
        line-height: 34px;
    }
    .about-img{
        margin-bottom: 80px;
        margin-top: 15px;
    }
    .about-img:before {
        right: 75px;
        bottom: -35px;
        height: calc(100% + 50px);
    }
    .about-img .about-img1 {
        max-width: 240px;
        transform: translate(20px, 10px);
    }
    .about-img .about-img2 {
        right: 15px;
        bottom: 30px;
    }
    .service-section .bg-half{
        height: 547px;
    }
    .booking-form{
        grid-template-columns: 1fr;
    }
    .booking-section:after{ display: none; }
    .booking-wrap .section-heading h2{ font-size: 24px; }   
    
    .cta-content h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .cta-content .cta-call p a{ font-size: 22px; }
    .footer-top .brand:before{
        clip-path: inherit;
    }
    .footer-top-wrap{
        background-color: #222;
        overflow: hidden;
    }
    .footer-call p span,
    .footer-call p a{
        font-size: 20px;
    }
    .footer-top .brand{
        display: block;
        padding: 50px 30px;
    }
    .footer-top .brand .footer-logo img{
        max-width: 150px;
        height: 64px;
    }
    .footer-top .brand p{
        padding: 0;
        margin-top: 20px;
    }
    .footer-top .brand p:before{
        display: none;
    }
    .footer-mid-wrap{
        padding: 50px 0 100px 0;
    }
    .main-slider-2 .swiper-nav{ display: none; }
    .booking-form-2 .col-lg-8{
        padding: 50px 20px;
    }
    .booking-form-2{clip-path: none;}
    .cta-section-2:before,
    .cta-section-2 .cta-content{width: 100%;}
    .cta-section-2 .cta-men{display: none;}
    .page-header-shape {
        width: 40%;
        height: 50px;
    }
    .page-header-shape:after {
        height: 35px;
        left: -100px;
    }
    .service-details-list,
    .service-features{ grid-template-columns: 1fr; }
    .service-details-list > div{ margin-top: 20px; }
    .taxi-details-img img {
        margin-left: 0;
        margin-top: 30px;
    }
    .taxi-details-img .price{
        right: 35px;
        top: 10px;
    }
    .taxi-features{grid-template-columns: 1fr;}
    .taxi-booking-form{ grid-template-columns: 1fr; }
    .contact-form-group{
        display: block;
    }
    .contact-form-group .form-field:not(:last-of-type){
        margin-bottom: 20px;
    }
    .contact-section .contact-details li{display: block;}
    .contact-section .contact-details li i{
        display: block;
        margin-bottom: 15px;
    }
    
}

@media all and (max-width: 580px) {
    #scrollup {
        bottom: 20px;
        right: 20px;
    }
    .pricing-tab-menu li:not(:last-of-type) {
        padding-right: 25px;
    }
    .pricing-tab-menu li:not(:last-of-type):before {
        width: 15px;
        right: 5px;
    }
    #pricing-tab-content .tab-pane{
        margin-top: 15px;
    }
    .app-feature li:not(:last-of-type){
        margin-bottom: 20px;
    }
}

/* Site-wide responsive fixes */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }

    .pricing-tab-menu {
        flex-wrap: wrap;
        row-gap: 12px;
        justify-content: center;
    }

    .pricing-tab-menu li:not(:last-of-type) {
        padding-right: 18px;
    }
}

@media (max-width: 992px) {
    .nav-menu-wrapper {
        margin-bottom: 0;
    }

    .header-menu-wrap {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .slider-content-wrap {
        height: auto;
        min-height: 520px;
        padding: 110px 0 80px;
    }

    .slider-caption.big {
        max-width: 720px;
        font-size: 42px;
        line-height: 50px;
    }

    .slider-caption.small {
        max-width: 680px;
    }

    .booking-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-visual-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px;
        margin-top: 30px;
    }

    .service-carousel,
    .pricing-section,
    .route-archive-section {
        overflow: hidden;
    }

    .route-notice-bar p {
        margin: 0;
    }

    .route-archive-card {
        padding: 0;
    }

    .route-help-box {
        align-items: flex-start;
    }

    .contact-details-wrap {
        margin-bottom: 40px;
    }

    .faq-help-card {
        margin-top: 30px;
    }

    .rental-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }

    .slider-content-wrap {
        min-height: 500px;
        padding: 95px 0 70px;
    }

    .slider-caption.medium {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .slider-caption.big {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 14px;
    }

    .slider-caption.small {
        font-size: 15px;
        line-height: 24px;
    }

    .slider-btn .default-btn,
    .default-btn {
        min-width: auto;
        max-width: 100%;
        padding: 0 22px;
    }

    .about-img {
        margin-bottom: 35px;
    }

    .about-img:before,
    .about-img .about-img2 {
        display: none;
    }

    .about-img .about-img1 {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .about-info li {
        align-items: center;
    }

    .service-section .bg-half {
        height: 430px;
    }

    .service-thumb,
    .post-card .post-thumb {
        height: 220px;
    }

    .booking-section .row.padding {
        padding-left: 0;
        padding-right: 0;
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .booking-form .niceSelect .current,
    .booking-form .form-field input {
        font-size: 15px;
    }

    .booking-visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 12px;
    }

    .booking-visual-grid img,
    .booking-visual-grid .booking-visual-main {
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .pricing-tab-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .pricing-tab-menu li,
    .pricing-tab-menu li:not(:last-of-type) {
        padding-right: 0;
    }

    .pricing-tab-menu li:not(:last-of-type):before {
        display: none;
    }

    .pricing-tab-menu li .nav-link {
        width: 100%;
    }

    .pricing-item {
        margin-bottom: 20px;
    }

    .feature-wrap {
        padding: 32px 22px;
        margin-top: 35px;
    }

    .cabs-features li {
        align-items: flex-start;
    }

    .cta-content .cta-call {
        align-items: center;
        gap: 12px;
    }

    .cta-content .cta-call p a {
        font-size: 19px;
        word-break: break-word;
    }

    .blog-section .grid-post > div {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-top .brand {
        padding: 36px 20px;
    }

    .footer-call {
        padding: 26px 0;
    }

    .footer-call p span,
    .footer-call p a {
        display: block;
        margin: 0;
        line-height: 1.35;
        word-break: break-word;
    }

    .footer-mid-wrap {
        padding-bottom: 55px;
    }

    .page-header-info h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .page-header-info p {
        max-width: 100%;
    }

    .route-archive-list a {
        font-size: 15px;
    }

    .route-help-box {
        padding: 24px 20px;
    }

    .route-help-box h3 {
        font-size: 22px;
    }

    .contact-form-group .form-field.message {
        grid-column-end: auto;
    }

    .branches-list {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav-menu-inner {
        min-height: 64px;
    }

    .nav-menu-wrapper .site-logo img {
        max-width: 112px;
        height: 48px;
    }

    .slider-content-wrap {
        min-height: 470px;
        padding: 80px 0 58px;
    }

    .slider-caption.big {
        font-size: 26px;
        line-height: 34px;
    }

    .section-heading h2,
    .booking-wrap .section-heading h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .counter-content h2,
    .counter-content span {
        font-size: 28px;
    }

    .service-thumb,
    .post-card .post-thumb {
        height: 190px;
    }

    .pricing-car {
        height: auto;
    }

    .pricing-car img {
        max-height: 170px;
        object-fit: contain;
    }

    .contact-title h2,
    .page-header-info h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .faq-help-card {
        padding: 20px;
    }
}
