.unforgettable-rides-section {
  padding: 64px 0px;
  background-color: #000;
  position: relative;
}
.unforgettable-rides-section .rides-container {
  max-width: 80%;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 1024px) {
  .unforgettable-rides-section .rides-container {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .unforgettable-rides-section .rides-container {
    max-width: 100%;
    margin: 0 auto;
  }

  .unforgettable-rides-section {
    padding: 32px 20px;
  }
}
.unforgettable-rides-section .rides-title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: white;
  font-family: GuardianSansXCond Semibold;
  margin-bottom: 40px;
}
.unforgettable-rides-section .ride-card {
  position: relative;
  height: 360px;
  overflow: hidden;
  cursor: pointer;
}
.unforgettable-rides-section .ride-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 207px;
  left: 0px;
  bottom: 0px;
  background: linear-gradient(
    0deg,
    #181818 2.79%,
    rgba(24, 24, 24, 0.741909) 66.56%,
    rgba(24, 24, 24, 0.315427) 85.75%,
    rgba(24, 24, 24, 0) 96%
  );
}
.unforgettable-rides-section .ride-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.unforgettable-rides-section .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 18px 16px;
}
.unforgettable-rides-section .card-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #fff;
  font-family: GuardianSansXCond Semibold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.unforgettable-rides-section .nav-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.unforgettable-rides-section .nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
  .unforgettable-rides-section .rides-title {
    margin-bottom: 24px;
  }
  .unforgettable-rides-section .rides-grid {
    margin-right: -20px;
  }
  .unforgettable-rides-section .rides-title {
    font-size: 28px;
    line-height: 32px;
  }
}
.unforgettable-rides-section .arrow-section {
  position: relative;
  position: absolute;
  margin: 0 -24px;
  bottom: 200px;
  left: 0;
  right: 0;
  z-index: 2;
}
@media only screen and (max-width: 1024px) {
  .unforgettable-rides-section .arrow-section {
    margin: 0 -10px;
    bottom: 180px;
  }
}

.unforgettable-rides-section .arrow-section .arrow-custom {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(22.73px);
  backdrop-filter: blur(22.73px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -40px;
  z-index: 9;
  cursor: pointer;
}

.unforgettable-rides-section .arrow-section .next {
  right: 0;
}
@media only screen and (max-width: 767px) {
  .unforgettable-rides-section .arrow-section .arrow-custom {
    display: none;
  }
}
.unforgettable-rides-section .arrow-section .arrow-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.23px;
  background: linear-gradient(-40deg, rgba(255, 255, 255, 0.2), #fff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.unforgettable-rides-section .arrow-section .arrow-custom::after {
  font-size: 14px;
  color: white;
  display: none;
}

.unforgettable-rides-section .arrow-section .swiper-button-disabled {
  display: none;
}

/* Arrow Section  */
.unforgettable-rides-section .arrow-section .prev span:after {
  height: 10px;
  width: 10px;
  content: "";
  border-bottom: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
}

.unforgettable-rides-section .arrow-section .next span:after {
  height: 10px;
  width: 10px;
  content: "";
  border-bottom: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: block;
}

/* Pagination */
.unforgettable-rides-section .swiper-pagination {
  position: absolute;
  text-align: left;
  bottom: -42px !important;
  left: 0 !important;
}
@media only screen and (min-width: 1199px) {
  .unforgettable-rides-section .swiper-pagination {
    display: none; /* as per design */
  }
}
@media only screen and (max-width: 767px) {
  .unforgettable-rides-section .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 24px;
  }

  .unforgettable-rides-section .button-section .btn {
    height: 40px;
  }
}
.unforgettable-rides-section .swiper-pagination .swiper-pagination-bullet {
  width: 34px;
  height: 4px;
  border-radius: 0;
  background-color: #616161;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  transform-origin: right center;
}
.unforgettable-rides-section
  .swiper-pagination
  .swiper-pagination-bullet-active {
  width: 54px;
  background-color: #ffffff;
}

@media only screen and (max-width: 767px) {
  .unforgettable-rides-section .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 2px;
  }
  .unforgettable-rides-section
    .swiper-pagination
    .swiper-pagination-bullet-active {
    width: 20px;
  }
}
