.section-fleet_carousel {
  padding: 0;
  position: relative;
  margin: 5rem 0;
}
.section-fleet_carousel .background {
  position: absolute;
  left: 0;
  top: 60%;
  height: 40%;
  width: 100%;
  background-image: linear-gradient(to bottom, var(--gray) 25%, var(--white));
  z-index: 1;
}
.section-fleet_carousel .container {
  position: relative;
  max-width: 1200px;
}
.section-fleet_carousel .container .subheading {
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}
.section-fleet_carousel .container h1, .section-fleet_carousel .container h2 {
  max-width: 900px;
  margin: 20px auto;
  text-align: center;
  font-size: 4em;
}
.section-fleet_carousel .container .text {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.section-fleet_carousel .container .buttons {
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

/*

Tabs

*/
.section-fleet_carousel .vehicles .tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  box-shadow: 0 10px 30px var(--gray);
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 100px;
  padding: 6px 20px;
  background-image: linear-gradient(to bottom, var(--white) 50%, var(--gray));
}
.section-fleet_carousel .vehicles .tabs .tab {
  padding: 2px 20px;
  cursor: pointer;
  width: 100px;
  text-align: center;
  position: relative;
}
.section-fleet_carousel .vehicles .tabs .tab:not(:last-child) {
  border-right: 1px solid var(--gray);
}
.section-fleet_carousel .vehicles .tabs .tab:has(+ .active) {
  border-right: 0;
}
.section-fleet_carousel .vehicles .tabs .tab img {
  width: 30px;
  margin: 0 auto;
  display: none;
  position: relative;
}
.section-fleet_carousel .vehicles .tabs .tab p {
  margin: 0;
  font-size: 0.9em;
  position: relative;
}
.section-fleet_carousel .vehicles .tabs .tab p:hover {
  text-decoration: underline;
}
.section-fleet_carousel .vehicles .tabs .tab.active {
  border-right: 0;
}
.section-fleet_carousel .vehicles .tabs .tab.active div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section-fleet_carousel .vehicles .tabs .tab.active div:before {
  content: "";
  background-color: var(--primary);
  position: absolute;
  top: -10px;
  left: -10px;
  height: calc(100% + 20px);
  width: calc(100% + 20px);
  border-radius: 0 0 20px 20px;
}
.section-fleet_carousel .vehicles .tabs .tab.active div img {
  display: block;
}
.section-fleet_carousel .vehicles .tabs .tab.active div p {
  color: var(--white);
}
.section-fleet_carousel .vehicles .tab-content {
  position: relative;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container {
  display: flex;
  align-items: center;
  grid-gap: 100px;
  transition: all 1s;
  width: -moz-max-content;
  width: max-content;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container .item {
  position: relative;
  padding-top: 75px;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container .item p.ghosted-text {
  top: 102%;
  transition: all 1s;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container .item img {
  margin: 0 auto;
  width: 400px;
  aspect-ratio: 1.75;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  z-index: 1;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container .item.active {
  overflow: unset;
}
.section-fleet_carousel .vehicles .tab-content .scrolling-container .item.active p.ghosted-text {
  top: 0;
}
.section-fleet_carousel .vehicles .tab-content .arrows {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  display: flex;
  justify-content: space-between;
}
.section-fleet_carousel .vehicles .tab-content .arrows svg.arrow {
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 100%;
  padding: 6px;
  transition: all 0.2s;
}
.section-fleet_carousel .vehicles .tab-content .arrows svg.arrow:hover {
  background-color: var(--gray);
}

@media (max-width: 820px) {
  .section-fleet_carousel .container h1, .section-fleet_carousel .container h2 {
    font-size: 3em;
  }
  .section-fleet_carousel .container .vehicles .tabs {
    display: none;
  }
  .section-fleet_carousel .container .vehicles .tab-content .arrows {
    width: 80%;
  }
}
/*

Scroll Animations

*/
.section-fleet_carousel .block {
  margin-top: -50px;
  opacity: 0;
  transition: all 1s;
}
.section-fleet_carousel.scrolled-to .block {
  margin-top: 0;
  opacity: 1;
}