/* Carousel Styles */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  /*background: #fdfdfd;*/
}

.carousel-slide {
  height: 200px;
  display: none;
  padding: 60px 40px;
  animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
  display: block;
}

.carousel-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: lightgrey;
}

.carousel-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  /*color: #444;*/
  text-align: center;
  margin-left: 16px;
  margin-right: 16px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 31, 94, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #55215b;
}

.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
