.home-bg {
  background: url("/assets/oimages/home-bg.webp")
    no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slide {
  min-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  height: 400px;
}

.slide .image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .image img {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  height: auto;
  max-height: 350px;
}

.content {
  flex: 1;
  color: white;
  text-align: left;
  padding-left: 20px;
}

.content h3 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  margin-top: 10px;
  border-radius: 5px;
}

/* Navigation Arrows */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 10px;
    height: auto;
    gap: 1rem;
  }

  .slide .image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
  }

  .content {
    padding: 0;
    text-align: center;
  }

  .content h3 {
    font-size: clamp(1rem, 1rem, 15vw);
  }

  .content .btn {
    margin-top: 20px;
  }

  .prev,
  .next {
    padding: 8px;
    font-size: 14px;
  }
}
