#carousel {
  height: 50vh;
}

.carousel-slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-dot {
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 2rem;
  background-color: white;
}

.carousel-arrow {
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Content container */
.carousel-content {
  position: absolute;
  width: 100%;
  top: 12vh;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  /* max-width: 800px; */
  margin: 0 auto;
}

.carousel-slide.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

/* Heading styles */
.carousel-heading {
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
  text-shadow: 
                0 0 40px rgba(0, 0, 0, 0.8),
                0 0 80px rgba(0, 0, 0, 0.6),
                0 0 120px rgba(0, 0, 0, 0.4);
            filter: drop-shadow(0 0 60px rgba(0, 0, 0, 0.9));
}

/* Subheading styles */
.carousel-subheading {
  position: relative;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-shadow: 
                0 0 30px rgba(0, 0, 0, 0.9),
                0 0 60px rgba(0, 0, 0, 0.7),
                0 0 90px rgba(0, 0, 0, 0.5);
            filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.8));
}

/* Button styles */
/* .carousel-button {
  position: relative;
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

.carousel-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.5px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* .carousel-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
} */

.carousel-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-button:hover::before {
  opacity: 1;
}

.carousel-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.carousel-button:active {
  transform: translateY(0);
}

@media (max-width: 425px){
  .carousel-content {
    top: 12vh;
    padding: 1rem 0;
  }
  
  /* Heading styles */
  .carousel-heading {
    font-size: 40px;
    margin-bottom: 10px;
    padding: 0px 5px;
  }
  
  /* Subheading styles */
  .carousel-subheading {
    margin-bottom: 10px;
    padding: 0px 15px;
  }
  
  /* .carousel-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
  } */
}

/* .carousel-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.carousel-slide.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide.active .carousel-heading {
  transition-delay: 0.2s;
}

.carousel-slide.active .carousel-subheading {
  transition-delay: 0.4s;
}

.carousel-slide.active .carousel-button {
  transition-delay: 0.6s;
}

.carousel-button {
  transition: all 0.3s ease;
}

.carousel-button:hover {
  /* transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} */