* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    color: #333;
}

#loader-wrapper {
    transition: opacity 0.3s ease-out;
}

.heroSearchBtn {
    background: #0ab0db !important;
}
/* Review Card Start */
.reviewCard {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.reviewCard.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.reviewCard.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.reviewCard.show {
  opacity: 1;
  transform: translateY(0);
}

/* Review Card End */

.heroSearchBtn:hover {
    background: #0cc6f5 !important;
}

.vehicleCardSpan {
    color: #111;
    font-size: .6875rem;
    background: #f0f2f4;
    line-height: 17px;
    padding: 2px 6px 1px;
}

.vehicleColorSpan {
    font-size: .6875rem;
    line-height: 17px;
    padding: 2px 6px 1px;
}

.at_parent {
    width: 100%;
    margin: auto;
    padding: 4px 33px;
    border-color: #1fab00;
    color: #1fab00;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    text-transform: capitalize;
}
 
.at_logo-img {
    max-height: 10px;
    width: auto;
}

/* Hero Section */
.hero-section {
    min-height: 700px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

a.mostPopularTab__itemImage {
    width: 100%;
    max-width: 130px;
    aspect-ratio: 1.52941176;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
}

.bodyTypeTab__itemImage {
    margin: 0px 0px 13px;
    max-width: 147px;
    height: auto;
}

.mostPopularTab__itemImage img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.searchTabs__itemLink {
    border: 2px solid #0ab0db;
    padding: 3px 4px;
    font-size: .8125rem;
    font-weight: 500;
    line-height: 21px;
    color: #31343b;
    border-radius: 5px;
    text-align: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url("../assets/images/hero-bg-main.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100% );
}

/* Search Form Styles */
.search-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

    .search-form select,
    .search-form button {
        height: 60px;
        border-radius: 6px;
        font-size: 16px;
    }

    .search-form select {
        appearance: none;
        background-color: #f9f9f9;
        border: 1px solid #e8e8e8;
        padding: 0 16px;
        width: 100%;
        transition: all 0.3s ease;
    }

        .search-form select:focus {
            outline: none;
            border-color: #ff4a17;
            box-shadow: 0 0 0 2px rgba(255, 74, 23, 0.2);
        }

    .search-form button {
        background-color: #f9f9f9;
        border: 1px solid #e8e8e8;
        color: #333 !important;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.select-wrapper {
    position: relative;
}

    .select-wrapper svg {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

/* Testimonials Section */
.customer-revs {
    margin: 0 auto 0 auto;
}

.rectangle {
    width: 40%;
    background: white;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

/* slideshow container */
.slideshow-container {
    position: relative;
    width: 60rem;
    max-width: 80%;
    margin: 0 auto;
}

/* Slides */
.mySlides {
    display: none;
    padding: 2rem 5rem 0 5rem;
    text-align: center;
}

.mySlidesContainer {
    min-height: 5rem;
    padding: 3.5rem 2.5rem 2rem 3.5rem;
    background: white;
    border: 1px solid #1353FE;
    border-radius: 8px;
}

/* next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 55%;
    width: auto;
    margin-top: -1.875rem;
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 3rem;
    border-radius: 3px;
    user-select: none;
    transition: 0.4s;
}

/* position the "next button" to the right */
.next {
    position: absolute;
    right: 0;
    border-radius: 3px;
}

    /* on hover, add a black bg color with a little bit see-through */
    .prev:hover,
    .next:hover {
        background-color: #000; /* fallback color */
        background-color: rgba(0, 0, 0, 0.8);
        color: #f6eac1;
        text-decoration: none;
    }

/* the dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 0 1.25rem;
}

/* the dots/bullets/indicators */
.dot {
    height: 0.9375rem;
    width: 0.9375rem;
    margin: 0 2px;
    background-color: #f6eac1;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.4s ease;
}

.mobile-menu.active, .dot.active {
    background-color: #0ab0db;
}

.barStyle {
    width: 24px;
    height: 6px;
    background: black;
    border-radius: 50px;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    backdrop-filter: blur(10px);
}

#back-to-top {
    z-index: 9999;
}

.SMN_effect-46 a {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    font-weight: 500;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.SMN_effect-46 a:before {
    content: "";
    position: absolute;
    z-index: -1;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

    .SMN_effect-46 a:hover:before,
    .SMN_effect-46 a:focus:before,
    .SMN_effect-46 a:active:before {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
        transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    .SMN_effect-46 a:hover {
        color: #fff;
    }

/* Hero Swiper */
swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    background-position: center;
    background-size: cover;
}

    swiper-slide img {
        display: block;
        width: 100%;
    }

/* Featured Cars Swiper Styles */
.featured-cars-swiper {
    padding: 20px 5px !important;
}

    .featured-cars-swiper swiper-slide {
        height: auto !important;
    }

/* Custom Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #15803D !important;
    background: white;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px !important;
    }

/* Swiper Pagination */
.swiper-pagination-bullet-active {
    background: #15803D !important;
}

/* Card Swiper */
.testimonials-section swiper-container {
    width: 570px;
    height: 316px;
    border-radius: 32px;
}

.testimonials-section swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
}

.testimonials-section swiper-slide {
    box-shadow: none !important;
}

.testimonials-section .swiper-slide {
    box-shadow: none !important;
}

.testimonials-section .swiper {
    box-shadow: none !important;
}

.testimonials-section .swiper-slide-shadow {
    display: none !important;
}

/* Custom Scrollbar Styles */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #15803D;
    border-radius: 10px;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #ea580c;
    }

/* For Firefox */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #0ab0db #f1f1f1;
}

/* NoUiSlider Custom Styles */
.noUi-connect {
    background: #0ab0db !important;
}

.noUi-handle {
    background: #0ab0db !important;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    cursor: pointer;
    width: 18px !important;
    height: 18px !important;
    right: -9px !important;
    border: 3px solid whitesmoke !important;
    border-radius: 100% !important;
    cursor: default !important;
}

.noUi-horizontal {
    height: 8px !important;
}

    .noUi-horizontal .noUi-handle {
        top: -6px !important;
    }

.noUi-handle:before,
.noUi-handle:after {
    display: none !important;
}

.noUi-target {
    background: #e5e7eb !important;
    border: none;
    box-shadow: none;
    height: 2px;
}

.noUi-touch-area {
    background: #0ab0db;
    border-radius: 100%;
    cursor: ew-resize;
}

/* Search Field Styling */
.SearchField {
    background-color: white;
    border: 1px solid #0ab0db;
    padding: 10px 20px;
    font-size: 14px;
    width: 300px;
    max-width: 100%;
    transition: 0.2s ease-in-out;
}

.SearchField::placeholder {
    transition: 0.2s ease-in-out;
    color: black;
}

.SearchField:focus::placeholder {
    transform: translateX(3px);
}

.SearchField:focus-visible,
.SearchField:focus {
    outline: none;
}

/* Car Detail Slider */
.slider-for {
    margin-bottom: 20px;
}

.slider-for img {
    width: 100%;
    object-fit: cover;
/*    height: auto;*/
}

.slider-nav img {
    padding: 5px;
    cursor: pointer;
}

.slick-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.slick-current {
    opacity: 1;
}

.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.tab-button.active {
    background-color: #0ab0db;
    color: white;
}

.tab-button:hover {
    background-color: #0ab0db;
    transition: all;
    color: white;
}   

.tabpanel {
    display: none;
}

.tabpanel.active {
    display: block;
}

.faq-button {
    width: 100%;
    padding: 10px;
    background-color: #ff5722;
    color: white;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-content {
    padding: 10px;
    border: 1px solid #ff5722;
    border-top: none;
}

/* Media Queries */

@media (max-width: 768px) {
    .testimonials-section swiper-container {
        width: 100%;
        height: 316px;
        border-radius: 32px;
    }
}

/* Mobile Filter Accordion Styles */
@media (max-width: 1024px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 200;
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

        .mobile-menu.active {
            transform: translateY(0);
            transition: transform 0.3s ease-in-out;
        }

/*    .active {
        background-color: #f3f4f6;
    }*/

    button svg {
        transition: transform 0.2s ease-in-out;
    }

    .filter-section {
        transition: max-height 0.3s ease-out;
    }
}


.car-gallery {
    position: relative;
}

.slider-for {
    margin-bottom: 10px;
}

    .slider-for .slick-slide {
        position: relative;
    }

/* Navigation Arrows */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

    .slick-prev:before,
    .slick-next:before {
        display: none;
    }

    .slick-prev:hover,
    .slick-next:hover {
        background: rgba(255, 255, 255, 1);
    }

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

    /* SVG styling */
    .slick-prev svg,
    .slick-next svg {
        width: 20px;
        height: 20px;
        color: #000;
    }

    .slick-prev:hover svg,
    .slick-next:hover svg {
        color: #15803D; /* Orange color on hover */
    }

/* Thumbnails */
.slider-nav .slick-slide {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.slider-nav .slick-current {
    opacity: 1;
}

.slider-nav img {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.slider-nav .slick-current img {
    border-color: #0ab0db; /* border for active thumbnail */
}

/*Car Detail Modals*/

#modalEl,
#modalTestDrive,
#modalReserve {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 50;
    justify-content: center;
    align-items: center;
}

    #modalEl.show,
    #modalTestDrive.show,
    #modalReserve.show {
        display: flex;
        z-index: 99999;
    }

.disabled-btn {
    pointer-events: none; /* Prevent clicking */
    opacity: 0.5; /* Dimmed appearance */
    cursor: not-allowed; /* Show a "not allowed" cursor */
}


/* Stock Photos */

@media (max-width: 768px) {
    .hero-image-container {
        position: unset;
    }
    #mobileFooter {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #0ab0db;
    }

    .hero-section {
        min-height: 880px;
    }

    .search-form {
        padding: 20px;
    }

    .mob-max-w {
        max-width: 100% !important;
    }

    .prev,
    .next {
        background: black;
        z-index: 99999;
    }

    .mySlides {
        padding: 0;
    }

    .prev {
        left: -25px !important;
    }

    .next {
        right: -25px !important;
    }

    .mostPopularTab__itemImage img {
        width: 85px;
        height: 85px;
        object-fit: contain;
    }
}
/*.slider-for {
    margin-bottom: 60px;*/ /* Adjust based on footer height */
/*}*/

#mobileFooter {
    z-index: 1000; /* Ensure it's above everything */
}

.slick-slider {
    overflow: hidden;
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    flex-shrink: 0;
}
/* Stock Photos */
/*
.transition {
    transition: all 0.3s ease-in-out;
}

.hover\:bg-gray-200:hover {
    background-color: #f7fafc;
}

.hover\:text-orange-600:hover {
    color: #e67e22;
}*/

