/* Start Container CSS for the banner */
.banner-container {
  /* min-height: 60vh; */
  /* Make sure banner takes at least 60% of the viewport height */
  background: var(--dynamic-gradient);
  color: var(--white-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Center text */
}

.bannertitle {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--white-surface) !important;
}

.banner-subheading {
  font-size: 1.2rem;
  color: var(--white-surface);
}

.advanced-filter-btn {
  border: 2px solid var(--white-surface);
  color: var(--white-surface);
  padding: 5px 20px;
  font-size: 0.875rem;
  margin-top: 1rem;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
  background: transparent;
}

.advanced-filter-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--white-surface);
  color: var(--white-surface);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bannertitle {
    font-size: 2rem;
  }

  .banner-subheading {
    font-size: 1rem;
  }

  .advanced-filter-btn {
    font-size: 0.8rem;
    padding: 4px 16px;
  }
}

/* Ensure the carousel and images are responsive */
.carousel.banner-carousel {
  height: 53vh; /* Default height for large screens */
}

.carousel-item img {
  object-fit: cover; /* Ensures the image covers the entire carousel area */
  height: 100%; /* Ensure the image fills the carousel's height */
  width: 100%; /* Ensure the image fills the carousel's width */
}

/* Style for carousel indicators */
.carousel-indicators li {
  background-color: #fff; /* Change the indicator color to white for better visibility */
  border-radius: 50%; /* Make indicators round */
  width: 12px; /* Indicator size */
  height: 12px; /* Indicator size */
}

.carousel-indicators li.active {
  background-color: #f39c12; /* Active indicator color */
}

.carousel-indicators {
  bottom: 20px; /* Adjust position of indicators */
}
/* Media query for screens between 1024px and 768px */

/* Remove numbers below indicators */
.carousel-indicators li {
  font-size: 0 !important; /* Remove any text/number under the indicator */
}
@media (max-width: 1024px) {
  .carousel.banner-carousel {
    height: 35vh; /* Adjust height for tablets */
  }
}
/* Media Queries for Smaller Devices */
@media (max-width: 768px) {
  .carousel.banner-carousel {
    height: 25vh; /* Adjust height for smaller screens */
  }
}

@media (max-width: 576px) {
  .carousel.banner-carousel {
    height: 20vh; /* Adjust height for extra small screens */
  }
}
/* Default style for the video */
.carousel-video {
  height: 53vh; /* Set the height as per your requirement */
  width: 100%; /* Make the video take full width */
  object-fit: cover; /* Ensure the video covers the area without distortion */
}

/* Media query for small devices (e.g., mobile) */
@media (max-width: 768px) {
  .carousel-video {
    height: 30vh; /* Adjust height for smaller screens */
    object-fit: contain; /* Ensure the video is contained within the area */
  }
}

/* Media query for extra small devices (portrait phones) */
@media (max-width: 576px) {
  .carousel-video {
    height: 16vh; /* Further reduce the height for very small screens */
    width: 100%; /* Make the video take full width */
    object-fit: contain; /* Ensure it does not overflow */
  }
}

/* End Container CSS for the banner */

/*Start CSS for the Caraousel */

.carousel-wrap {
  margin: 90px auto;
  padding: 0 5%;
  width: 80%;
  position: relative;
}
/* Media query for screens between 1024px and 768px */
@media (max-width: 1024px) and (min-width: 768px) {
  .carousel-wrap {
    margin: 415px auto; /* Adjust margin for this screen size range */
  }
}
@media (max-width: 768px) and (min-width: 576px) {
  .carousel-wrap {
    margin: 55px auto; /* Adjust margin for this screen size range */
  }
}
@media (max-width: 576px) and (min-width: 0px) {
  .carousel-wrap {
    margin: 0px auto; /* Adjust margin for this screen size range */
  }
}
/* .carousel-wrap a {
  color: var(--primary-color) !important;
} */

/* Styling for the card */
/* Car Item Styles */

/* Card styles */
.item .car-card {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.300);
  border-radius: 10px;
  /* overflow: hidden; */
  transition: all 0.5s ease;
}

.item .car-card:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

/* Image hover overlay */
.item .car-card .car-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white-surface);

}

.item .car-card .car-img img { 
  transition: transform 0.5s ease;
  height: 12.5rem;
}

.item .car-card:hover .car-img img {
  transform: scale(1.2);
}

.item .car-card .car-img::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color-transparent);
  transition: all 0.5s ease;
  border-radius: 10px;

}

.item .car-card:hover .car-img::after {
  width: 100%;
  height: 100%;
  border-radius: 10px;

}

/* Content overlay */
.item .car-card .car-content {
  position: relative;
  padding-right: 18px;
  padding-top: 10px;
  /* padding-bottom: 10px; */
  padding-left: 18px;
  background-color: #fff;
  transition: all 0.5s ease;
  z-index: 1;
  border-radius: 10px;
}

.item .car-card .car-content::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  transition: all 0.5s ease;
  z-index: 0;
  border-radius: 10px;


}

.item .car-card:hover .car-content::after {
  width: 100%;
  height: 100%;
}

/* Content inner and text */
.item .car-card .car-content-inner {
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
}

.item .car-card:hover .car-content-inner {
  color: #fff;
}

.item a{
  color: var(--black-surface);
}
/* Title, Price, and Reviews */
.item .car-card .car-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--black-surface);
  transition: color 0.5s ease;
}

.item .car-card:hover .car-title,
.item .car-card:hover .car-price,
.item .car-card:hover .car-reviews,
.item .car-card:hover .small,
.item .car-card:hover .fa-heart {
  color: var(--white-surface);
}

.item .car-card .car-price {
  font-size: 16px;
  color: var(--primary-color);
  margin: 0;
  transition: color 0.5s ease;
}

.item .car-card .car-reviews {
  font-size: 14px;
  color: #555;
}

.item .car-card .car-reviews .rating {
  color: #ffcc00;
  font-weight: bolder;
}


/* Owl Navigation */
.btn-prev,
.btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #b4b4b4;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  /* z-index: 1000; */
}

.btn-prev {
  left: 40px;
}

.btn-next {
  right: 40px;
}

/* Media query for screens below 1650px */
@media (max-width: 1650px) {
  .btn-prev {
    left: 0;
  }

  .btn-next {
    right: 0;
  }
}

/* Hide buttons initially */
.btn-prev.disabled,
.btn-next.disabled {
  display: none;
}

.disabled {
  pointer-events: none !important;
  opacity: 0.5 !important;
}

/* Hide buttons in mobile view */
@media (max-width: 600px) {
  .btn-prev,
  .btn-next {
    display: none;
  }
}

.btn-prev:hover,
.btn-next:hover {
  color: #b73439;
  /* Change icon color if needed */
}

/* Responsive adjustments for mobile screens */
/* @media (max-width: 600px) { */

/* .btn-prev,
    .btn-next {
        top: auto;
        bottom: 10px; 
        font-size: 25px;
        padding: 8px;
    }

    .btn-prev {
        left: 10px;
    }

    .btn-next {
        right: 10px;
    } */
/* } */

/*END CSS for the Caraousel */

/* ..............................Services Section CSS Starts.......................... */

section {
  padding: 60px 0;
  /* min-height: 100vh; */
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bg-gray {
  background-color: var(--white-surface);
}

.site-heading h2 {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.site-heading h2 span {
  color: var(--primary-color);
}

.site-heading h4 {
  display: inline-block;
  padding-bottom: 20px;
  position: relative;
  text-transform: capitalize;
  z-index: 1;
}

.site-heading h4::before {
  background: var(--primary-color) none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  width: 50px;
}

.site-heading {
  margin-bottom: 60px;
  overflow: hidden;
  margin-top: -5px;
}

.carousel-shadow .owl-stage-outer {
  margin: -15px -15px 0;
  padding: 15px;
}

.we-offer-area .our-offer-carousel .owl-dots .owl-dot span {
  background: var(--white-surface) none repeat scroll 0 0;
  border: 2px solid;
  height: 15px;
  margin: 0 5px;
  width: 15px;
}

.we-offer-area .our-offer-carousel .owl-dots .owl-dot.active span {
  background: var(--primary-color) none repeat scroll 0 0;
  border-color: var(--primary-color);
}

.we-offer-area .item {
  background: var(--white-surface) none repeat scroll 0 0;
  border-left: 2px solid var(--primary-color);
  -moz-box-shadow: 0 0 10px #cccccc;
  -webkit-box-shadow: 0 0 10px #cccccc;
  -o-box-shadow: 0 0 10px #cccccc;
  box-shadow: 0 0 10px #cccccc;
  overflow: hidden;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.we-offer-area.text-center .item {
  background: var(--white-surface) none repeat scroll 0 0;
  border: medium none;
  padding: 67px 40px 64px;
}

.we-offer-area.text-center .item i {
  background: var(--primary-color) none repeat scroll 0 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  color: var(--white-surface);
  font-size: 40px;
  height: 80px;
  line-height: 80px;
  position: relative;
  text-align: center;
  width: 80px;
  z-index: 1;
  transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  margin-bottom: 25px;
}

.we-offer-area.text-center .item i::after {
  border: 2px solid var(--primary-color);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  content: "";
  height: 90px;
  left: -5px;
  position: absolute;
  top: -5px;
  width: 90px;
  z-index: -1;
  transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
}

.we-offer-area.item-border-less .item {
  border: medium none;
}

.we-offer-area .our-offer-items.less-carousel .equal-height {
  margin-bottom: 30px;
}

.we-offer-area.item-border-less .item .number {
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  font-weight: 900;
  opacity: 0.1;
  position: absolute;
  right: 30px;
  top: 30px;
}

.our-offer-carousel.center-active .owl-item:nth-child(2n) .item,
.we-offer-area.center-active .single-item:nth-child(2n) .item {
  background: var(--primary-color) none repeat scroll 0 0;
}

.our-offer-carousel.center-active .owl-item:nth-child(2n) .item i,
.our-offer-carousel.center-active .owl-item:nth-child(2n) .item h4,
.our-offer-carousel.center-active .owl-item:nth-child(2n) .item p,
.we-offer-area.center-active .single-item:nth-child(2n) .item i,
.we-offer-area.center-active .single-item:nth-child(2n) .item h4,
.we-offer-area.center-active .single-item:nth-child(2n) .item p {
  color: var(--white-surface);
}

.we-offer-area .item i {
  color: var(--primary-color);
  display: inline-block;
  font-size: 60px;
  margin-bottom: 20px;
}

.we-offer-area .item h4 {
  font-weight: 600;
  text-transform: capitalize;
}

.we-offer-area .item p {
  margin: 0;
}

.we-offer-area .item i,
.we-offer-area .item h4,
.we-offer-area .item p {
  transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
}

.we-offer-area .item::after {
  background: var(--primary-color) none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  width: 100%;
  z-index: -1;
}

.we-offer-area .item:hover::after {
  left: 0;
}

.we-offer-area .item:hover i,
.we-offer-area .item:hover h4,
.we-offer-area .item:hover p {
  color: var(--white-surface) !important;
}

.we-offer-area.text-center .item:hover i::after {
  border-color: var(--white-surface) !important;
}

.we-offer-area.text-center .item:hover i {
  background-color: var(--white-surface) !important;
  color: var(--primary-color) !important;
}

.we-offer-area.text-left .item i {
  background: var(--primary-color) none repeat scroll 0 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  color: var(--white-surface);
  display: inline-block;
  font-size: 60px;
  height: 100px;
  line-height: 100px;
  margin-bottom: 30px;
  position: relative;
  width: 100px;
  z-index: 1;
  text-align: center;
}

.we-offer-area.text-left .item i::after {
  border: 2px solid var(--primary-color);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  content: "";
  height: 120px;
  left: -10px;
  position: absolute;
  top: -10px;
  width: 120px;
}

/* .........................Services Section CSS Ends.......................... */

/* .............................Car Brand Section CSS Starts.....................  */

.new-car-list .heading img {
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  padding: 5px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.new-car-list .heading {
  text-align: center;
}

.new-car-list .heading h3 {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.new-car-list img {
  max-width: 100%;
  vertical-align: middle;
}

/* .............................Car Brand Section CSS Ends.....................  */

/* .............................Call to Action Section CSS Starts.....................  */
.button-action {
  position: relative;
  color: rgb(0, 0, 0);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-color);
  border-radius: 1000px;
  padding: 10px 20px;
  margin: 40px;
  box-shadow: 0 2px 5px 0 rgba(255, 1, 1, 0.25);
  transition: 0.5s all ease-in-out;
  animation: pulse 2s infinite cubic-bezier(0.25, 0, 0, 1);
  /* Animation runs continuously */
}

.button-action:hover {
  cursor: pointer;
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
  animation-play-state: paused;
  /* Pauses animation on hover */
  box-shadow: 0 0 0 0 rgba(255, 1, 1, 0);
  /* Removes box-shadow during hover */
}

@keyframes pulse {
  0% {
    box-shadow: var(--light-shadow);
    /* Start with light shadow */
  }

  100% {
    box-shadow: 0 0 0 18px rgba(255, 1, 1, 0);
    /* Expand shadow and fade out */
  }
}

/* .............................Call to Action Section CSS Ends.....................  */
