/* Hero container */
.hero {
  position: relative;
  height: calc(100vh - 204px); 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* Slideshow wrapper */
.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slides track */
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

/* Individual slide */
.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
}

/* Slide content block */
.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  color: #fff;
  max-width: 450px;
  text-align: left;
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  box-shadow: 0px 4px 20px red;
}

/* Active slide content animation */
.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Heading */
.slide-content h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: bold;
}

/* Paragraph */
.slide-content p {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Button */
.slide-content .btn {
  display: inline-block;
  padding: 10px 22px;
  background: crimson;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.slide-content .btn:hover {
  background: darkred;
  transform: scale(1.05);
}

/* Navigation arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.arrow.left { left: 15px; }
.arrow.right { right: 15px; }

.arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Dots navigation */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dots span {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.dots span.active {
  opacity: 1;
  transform: scale(1.2);
}
@media (max-width: 1144px) {
/* Hero container */
.hero {
  height: calc(100vh - 200px); 
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
/* Hero container */
.hero {
  height: calc(100vh - 170px); 
}
  .slide-content {
    bottom: 10%;
    left: 5%;
    max-width: 90%;
    padding: 15px;
  }

  .slide-content h2 {
    font-size: 1.6rem;
  }

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

  .slide-content .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 368px) {
/* Hero container */
.hero {
  height: calc(100vh - 160px); 
}

