.home-masthead .home-slider-section {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.home-slider-section {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.home-slider {
  position: relative;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .home-slider {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.home-slider__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
  background: #f3f4f6;
  aspect-ratio: 1200 / 360;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.home-slider.is-dragging .home-slider__viewport {
  cursor: grabbing;
}

.home-slider.is-dragging .home-slider__link {
  pointer-events: none;
}

.home-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.home-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
}

.home-slider__slide a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.home-slider__link {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.home-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-slider--no-arrows .home-slider__viewport {
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.home-slider--no-arrows:not(.is-transitioning) .home-slider__slide:not(.is-active) {
  visibility: hidden;
}

.home-slider--no-arrows .home-slider__img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.home-slider--no-arrows .home-slider__slide:not(.is-active) {
  pointer-events: none;
}

.home-slider--no-arrows .home-slider__link {
  cursor: pointer;
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: #374151;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-slider__arrow:hover {
  background: var(--bharat-primary);
  color: #fff;
  transform: scale(1.06);
}

.home-slider__arrow--prev {
  left: 0.75rem;
}

.home-slider__arrow--next {
  right: 0.75rem;
}

.home-slider__arrow svg {
  width: 1rem;
  height: 1rem;
}

.home-slider__dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.home-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.home-slider__dot.is-active {
  width: 1.5rem;
  background: var(--bharat-primary);
}

.home-slider.is-paused .home-slider__track {
  transition-duration: 0.4s;
}

@media (max-width: 639px) {
  .home-slider__arrow {
    display: none;
  }
}
