.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: all 1s ease;
  max-width: 90%;
}
.slide.active .text-box {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.text-box h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px; text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}
.text-box p {
  font-size: 1.3rem;
  color: #f1f1f1;
  line-height: 1.6; text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

/* Navigation text */
.nav-text {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.2rem;
  z-index: 3;
}
.nav-text span {
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.3s, transform 0.3s;
}
.nav-text span:hover {
  color: #007bff;
  transform: scale(1.1);
}

/* Vertical divider */
.divider {
  width: 2px;
  height: 20px;
  background: rgba(255,255,255,0.6);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dots button.active {
  background: #007bff;
  transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .text-box h2 { font-size: 2.2rem; }
  .text-box p { font-size: 1.1rem; }
}
@media (max-width: 768px) {
  .text-box h2 { font-size: 1.8rem; }
  .text-box p { font-size: 1rem; }
  .nav-text { font-size: 1rem; gap: 12px; }
}
@media (max-width: 480px) {
  .hero-slider { height: 80vh; }
  .text-box h2 { font-size: 1.4rem; }
  .text-box p { font-size: 0.9rem; }
  .nav-text { flex-direction: column; gap: 8px; }
  .divider { display: none; }
}