/* travelers preferences section*/
.categories-slider-wrapper {
  position: relative !important;
  overflow: hidden !important;
}
.categories-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.categories-slider::-webkit-scrollbar {
  display: none;
}
.categories-card {
  flex: 0 0 auto;
  width: 245px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.categories-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  content: "";
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}
.btn-next-preferences:hover {
  color: white !important;
}
.scroll-indicators-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-indicators-mobile,
.scroll-indicators-desktop {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s, width 0.3s, height 0.3s;
}
.carousel-dot.active {
  background-color: #cf3425;
  width: 25px;
  height: 10px;
  border-radius: 5px;
}

/* experts section*/
.experts-slider-wrapper {
  position: relative !important;
  overflow: hidden !important;
}
.experts-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.experts-slider::-webkit-scrollbar {
  display: none;
}
.experts-card {
  flex: 0 0 auto;
  width: 300px !important;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.btn-next-preferences:hover {
  color: white !important;
}
.scroll-indicators-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-indicators-mobile,
.scroll-indicators-desktop {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s, width 0.3s, height 0.3s;
}
.carousel-dot.active {
  background-color: #cf3425;
  width: 25px;
  height: 10px;
  border-radius: 5px;
}

/* Travel plans section */

@media (max-width: 575.98px) {
  #travelplansSection .owl-nav {
    display: none !important;
  }
  #travelplansSection
    > .owl-stage-outer
    > .owl-stage
    > .owl-item
    > .place-item {
    width: 300px !important;
  }
  #travelplansSection > .owl-stage-outer > .owl-stage > .owl-item {
    width: 300px !important;
  }

  #travelplansSection
    > .owl-stage-outer
    > .owl-stage
    > .owl-nav
    > .owl-dots.disabled {
    display: block !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  /* expert section */
  #experienceSection .owl-nav {
    display: none !important;
  }
  #experienceSection > .owl-stage-outer > .owl-stage > .owl-item > .place-item {
    width: 300px !important;
  }
  #experienceSection > .owl-stage-outer > .owl-stage > .owl-item {
    width: 300px !important;
  }

  #experienceSection
    > .owl-stage-outer
    > .owl-stage
    > .owl-nav
    > .owl-dots.disabled {
    display: block !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  /* Checkout recent articles section */
  #sub-card {
    height: 150px !important;
  }
  #sub-img-card {
    height: 150px !important;
  }

  #sub-content {
    font-size: 10px !important;
  }

  #sub-title {
    font-size: 12px !important;
  }

  #subname {
    font-size: 10px !important;
  }

  #subdate {
    font-size: 10px !important;
  }

  /* advantages section */
  #title-sec {
    font-size: 17px !important;
  }
  #sub-sec {
    font-size: 13px !important;
  }
  .section-right-img-two .review-rate-top {
    position: absolute;
    top: 29px;
    left: unset;
    right: -10px !important;
  }
  .sec-head-btn {
    padding: 6px 6px;
    font-size: 0.8rem !important;
    border-radius: 5rem;
  }
}
