/* Swiper container */
.swiper {
  width: 100%;
  height: 700px;
  position: relative;
}

/* Each slide */
.swiper-slide {
  position: relative;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✅ Optional overlay for readability */
.mySwiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* semi-transparent black */
  z-index: 5;
}

/* Slide text content */
.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 700px;
  padding: 20px;
  z-index: 10;
}

.slider-box {
  background: #00000083;
}

.slide-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.slide-content p {
  font-size: 18px;
  line-height: 1.6;
}

/* Desktop positioning */
.slide-content.left {
  left: 5%;
  text-align: left;
}

.slide-content.right {
  right: 5%;
  text-align: right;
}

/* Swiper navigation arrows */
.swiper-button-prev svg,
.swiper-button-next svg {
  width: 50px;
  height: 50px;
  stroke: #fff; /* visible on dark overlay */
  stroke-width: 2;
}

.swiper-button-next,
.swiper-button-prev {
  width: 45px !important;
}

/* ✅ Responsive: Mobile view */
@media (max-width: 768px) {
  .slide-content {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
  }

  .slide-content h2 {
    text-align: center;
    font-size: 24px;
    line-height: 1.4;
  }

  .slide-content p {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
  }
}
