.swiper-container {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.links {
	color: white;
}

.links:hover {
	color: #990000;
}

.swiper-slide {
  position: relative;
  display: flex !important;
  justify-content: center !important;
  height: 100%;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1); /* Ensure all slides start at scale 1 */
  transition: transform 20s ease; /* Transition zoom effect smoothly */
}

.swiper-slide-active .background-image {
animation: zoomIn 20s forwards; /* Only zoom the active slide's background */
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(2); /* Adjust for desired zoom level */
  }
}

.carousel-content {
  position: absolute;
  bottom: 10%;
  color: white;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  transform: none; /* Ensures no scaling is applied */
  will-change: transform;
}

.carousel-content h2 {
  font-size: 5rem;
  margin-bottom: 10px;
  font-weight: bold;
  /*text-shadow: -1px -1px 0 #e35336, 1px 2px 0 #e35336, 3px 1px 0 #e35336, 1px 1px 0 #e35336; */
  text-shadow: 0 0 5px #ff7300, 1px 0px 4px #ff7300;
}

.carousel-content p {
  font-size: 1.5rem;
}

.swiper-pagination {
  bottom: 10px;
}

.swiper-button-next, .swiper-button-prev {
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

@media (max-width: 768px) {
  .carousel-content {
    bottom: 10%;
    max-width: 90%;
  }
  
  .swiper-container {
  height: 300px;
}

  .carousel-content h2 {
    font-size: 3rem;
  }

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