.mySwiper {
  width: 100%;
  height: 420px;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start; /* desktop left-aligned */
  align-items: center;
  padding-left: 10%;
  position: relative;
}

.hero-content {
  color: #fff;
  max-width: 500px;
  background: rgba(0,0,0,0.4);
  padding: 20px 30px;
  border-radius: 10px;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.hero-btn:hover {
  background: #7fd98b;
}

/* Swiper pagination (dots) */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.6);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .mySwiper {
    height: 400px; /* smaller height */
  }

  .hero-slide {
    justify-content: center; /* center text on mobile */
    padding-left: 0;
    padding: 20px;
  }

  .hero-content {
    max-width: 100%;
    background: rgba(0,0,0,0.55); /* darker for readability */
    text-align: center;
    padding: 15px;
  }

  .hero-content h2 {
    font-size: 1.3rem; /* smaller text */
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}
