/* Main Section */
.carousel-item img {
  object-fit: cover;
}

/* Search Bar */
.input-group {
  position: relative;
  z-index: 1;
}

.search_bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
}

.search_bar form {
  width: 40%;
}

.search_btn {
  text-transform: uppercase;
  padding: 5px;
  background-color: var(--primary);
  color: var(--text-white);
}

.search_btn:hover {
  background-color: var(--dark);
}

.search_btn img {
  width: 25px;
}

/* Scroll Down Button */
.scroll_down {
  display: flex;
  justify-content: center;
}

.scroll_down button:focus {
  border: none;
}

.scroll_down img {
  width: 50px;
}

/* Bid and Auction Section */
.about-detail {
  background-color: var(--light-background);
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.about-auction {
  margin-left: 150px;
  border-radius: 20px 0 0 20px;
}

.about-biding {
  margin-right: 150px;
  border-radius: 0 20px 20px 0;
}

.heading-bg {
  padding: 5px 20px;
  background-color: var(--primary);
  color: var(--text-white);
  text-align: center;
  border-radius: 10px;
}

.biding-text {
  font-family: helvetica;
  font-weight: 500;
}

/* Listing */
.listing {
  width: 100%;
  display: flex;
  justify-content: center;
}

.red-banner {
  border-radius: 10px;
  margin: 0px 550px;
  margin-bottom: -20px;
  padding: 25px 30px;
  background-color: var(--primary);
}

.listing-title {
  padding: 5px 30px;
  background-color: var(--dark);
  color: var(--text-white);
  border-radius: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.black-line {
  padding: 2px;
  padding: 2px;
  background: black;
  margin-bottom: -25px;
  border-radius: 20px;
}

/* Listing Card */
#latest-cars,
#recommended-cars,
#blog-news {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  align-content: center;
  gap: 30px;
}

/* Blog - News */
.user-img {
  padding: 40px;
  width: 250px;
}

.read-more {
  color: var(--primary);
}

/* News Letter */
.news-bg {
  background-color: var(--light-background);
  padding: 20px 0;
  margin: 100px 0 50px 0;
}

.left-news {
  padding: 30px;
}

.news-heading {
  font-size: 56px;
  font-family: text-font-bold;
  color: var(--primary);
}

.news-text {
  padding: 0 50px;
  line-height: 30px;
}

.sub-btn {
  text-transform: uppercase;
  background-color: var(--primary);
  color: var(--text-white);
}

.sub-btn:hover {
  color: var(--text-white);
  background-color: var(--dark);
}

/* Sponser section */
.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-carousel .owl-item {
  height: auto;
}

.sponser-partner {
  font-size: 40px;
  color: var(--text-white);
  font-weight: 700;
}

.major-partner {
  display: flex;
  height: 220px;
  background-color: var(--primary);
  border-radius: 0 45px 45px 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.iaa-partner {
  width: 200px;
}

.trust-us {
  background-color: var(--light-background);
  padding: 25px;
  border-radius: 25px;
}

.trust-text {
  color: var(--text-white);
  margin-bottom: 15px;
  font-weight: bold;
}

.partner-owl {
  width: 80px !important;
}

/* New View All button */
/* All-Cars */
.view-line {
  padding: 2px;
  background: black;
  border-radius: 20px;
}

.view-all {
  display: flex;
  float: right;
  color: #ffffff;
  padding: 0 10px 0 20px;
  background-color: black;
  margin-top: -30px;
  align-items: center;
  border-radius: 20px;
}

.view-all:hover {
  background-color: var(--primary);
}

.button {
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}

.button:before,
.button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 7px;
}

.button:before {
  border: 4px solid var(--text-white);
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.button:after {
  border: 4px solid var(--text-white);
  transform: scale(1.3);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.button:hover:before,
.button:focus:before {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover:after,
.button:focus:after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.button-box {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 12px 15px 0 21px;
  fill: var(--text-white);
}

.button:hover .button-box,
.button:focus .button-box {
  transition: 0.4s;
  transform: translateX(56px);
}

.cars-carousel-control {
  width: auto !important;
}

.exotic-next-icon,
.exotic-prev-icon {
  border-radius: 25px;
  background-color: var(--dark) !important;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 10px;
  width: 25px;
  height: 40px;
  fill: red;
}
.exotic-prev-icon {

.exotic-next-icon:hover,
.exotic-prev-icon:hover {
  border-radius: 25px;
  background-color: var(--primary) !important;
}

  margin-left: -30px;
}

.exotic-next-icon {
  margin-right: -30px;
}
