/*===================================================
    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;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    overflow-wrap: anywhere;
}

@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;
    }

    .hero-section {
        min-height: auto;
        padding: 105px 0 70px;
    }

    .hero-content {
        max-width: 720px;
        margin: 0 auto 38px;
        text-align: center;
    }

    .hero-features .row {
        row-gap: 0;
    }

    .hero-image-slider {
        max-width: 680px;
        margin: 0 auto;
    }

    .hero-slide img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .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,
    .cab-fleet-carousel,
    .testimonial-carousel,
    .testimonial-carousel-2,
    .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;
    }

    .cab-card-footer {
        flex-wrap: wrap;
    }

    .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;
    }

    .hero-section {
        padding: 86px 0 54px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 22px;
    }

    .hero-features {
        margin-bottom: 24px;
    }

    .hero-features .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-features .col-6 div {
        margin-bottom: 10px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        min-height: 48px;
        padding: 13px 14px;
        margin: 0;
        border-radius: 6px;
    }

    .hero-image-slider {
        border-radius: 12px;
    }

    .hero-slide img {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .slider-dots {
        bottom: 12px;
    }

    .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;
        justify-content: center;
    }

    .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;
    }

    .cab-card-footer .default-btn,
    .route-actions .default-btn {
        width: 100%;
        min-width: 0;
    }
}

@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;
    }

    .hero-section {
        padding: 76px 0 44px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 35px;
    }

    .hero-subtitle {
        font-size: 19px;
        line-height: 27px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 24px;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-slide img {
        aspect-ratio: 1 / 1;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .floating-left-btns {
        left: 10px;
        bottom: 74px;
    }

    .float-btn,
    .scroll-to-top {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .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;
    }
}

/* Final mobile hard fixes */
@media (max-width: 991px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        min-width: 0;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .main-header,
    .nav-menu-wrapper,
    section,
    footer {
        width: 100%;
        max-width: 100%;
    }

    .header-menu-wrap {
        left: 16px;
        right: 16px;
        width: auto;
        padding: 0 0 16px;
    }

    .header-menu-wrap ul {
        width: 100%;
    }

    .hero-section {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-section .row {
        row-gap: 30px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 0;
    }

    .hero-title,
    .hero-subtitle,
    .hero-description,
    .section-heading h2,
    .section-heading p {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.18;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-image-slider,
    .hero-slide img,
    .about-img,
    .booking-popup-box,
    .enquiry-popup-box,
    .pricing-item,
    .route-card,
    .route-archive-card,
    .post-card,
    .cab-card,
    .feature-box,
    .counter-item {
        width: 100%;
        max-width: 100%;
    }

    .booking-popup-box {
        padding: 34px 18px 22px;
    }

    .booking-popup-box .booking-car-image {
        display: none;
    }

    .booking-popup-box .section-heading {
        padding-right: 38px;
    }

    .booking-popup-box .section-heading h2 {
        font-size: 24px;
        line-height: 1.25;
    }

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

    .booking-section:before,
    .booking-section:after,
    .footer-top .brand:before,
    .footer-top .brand:after,
    .footer-top .footer-call:before,
    .pricing-head:before,
    .pricing-head:after,
    .service-shape-wrap,
    .route-card::before,
    .counter-item::before,
    .route-archive-card::before,
    .cab-card::before {
        display: none;
    }

    .service-section,
    .pricing-section,
    .rental-section,
    .route-section,
    .cab-fleet-section,
    .blog-section,
    .testimonial-section,
    .footer-section {
        overflow: hidden;
    }

    .service-carousel,
    .cab-fleet-carousel,
    .testimonial-carousel,
    .testimonial-carousel-2 {
        width: 100%;
        overflow: hidden;
    }

    .service-thumb,
    .post-card .post-thumb,
    .cab-card-img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .service-thumb img,
    .post-card .post-thumb img,
    .cab-card-img img,
    .pricing-car img,
    .about-img img,
    .booking-visual-grid img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pricing-car {
        height: auto;
        min-height: 0;
    }

    .pricing-list li,
    .route-section .route-list li a,
    .footer-contact li,
    .footer-links li a {
        word-break: break-word;
    }

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

    .route-help-box,
    .footer-top .brand,
    .footer-call,
    .cta-content .cta-call,
    .cab-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top .brand,
    .footer-top .footer-call {
        padding: 30px 0;
    }

    .footer-call p a,
    .cta-content .cta-call p a,
    .call-now-card a {
        font-size: 20px;
        line-height: 1.3;
        word-break: break-word;
    }

    .floating-left-btns {
        left: 10px;
        bottom: 72px;
    }
}

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

    .row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .row > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

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

    .header-menu-wrap {
        left: 12px;
        right: 12px;
        top: 64px;
        max-height: calc(100vh - 64px);
    }

    .hero-section {
        padding-top: 34px;
        padding-bottom: 38px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-btn-primary,
    .hero-btn-secondary,
    .default-btn {
        width: 100%;
        min-width: 0;
        padding-left: 14px;
        padding-right: 14px;
        text-align: center;
        justify-content: center;
    }

    .counter-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .counter-item {
        padding: 24px 14px;
        margin-bottom: 14px;
    }

    .service-content,
    .cab-card-body,
    .post-content-wrap,
    .route-card,
    .route-archive-card {
        padding: 20px 16px;
    }

    .booking-popup,
    .enquiry-popup {
        padding: 10px;
    }

    .booking-popup-box,
    .enquiry-popup-box {
        max-height: calc(100vh - 20px);
    }
}
