body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
}

.custom-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.custom-slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}


.custom-slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  background-size: cover;          /* fill full area */
  background-position: center;      /* center image */
  background-repeat: no-repeat;     /* stop repeating */
}


/* Navigation buttons */
.custom-prev, .custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.custom-prev { left: 15px; }
.custom-next { right: 15px; }

/* Dots */
.custom-dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 10;
}

.custom-dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.custom-dot.active {
  background-color: #333;
}

/* ✅ Responsive Design */
@media (max-width: 1024px) {
  .custom-slider {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .custom-slider {
    height: 220px;
  }
  .custom-prev, .custom-next {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .custom-slider {
    height: 180px;
  }
  .custom-prev, .custom-next {
    padding: 6px 10px;
    font-size: 12px;
  }
  .custom-dot {
    height: 10px;
    width: 10px;
  }
}