/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.slide-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1s ease-out;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1s ease-out 0.2s both;
}

.slide-content .btn {
  animation: slideInUp 1s ease-out 0.4s both;
  font-size: 1.1rem;
  padding: 15px 30px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.prev-slide,
.next-slide {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.prev-slide:hover,
.next-slide:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dots .dot.active {
  background-color: #e74c3c;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.slider-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Responsive Slider */
@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  .slider-controls {
    bottom: 20px;
    gap: 15px;
  }

  .prev-slide,
  .next-slide {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-dots .dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 400px;
  }

  .slide-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .slide-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .slide-content .btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
}
