.fertility-hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.carousel-image-container {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.carousel-slide {
  height: 100%;
  width: 100%;
  object-fit: contain;
  max-height: 100vh;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.7)
  );
}

.carousel-caption {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  right: 0;
  padding: 0 15%;
  text-align: center;
  z-index: 2;
}

.carousel-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.carousel-subtitle {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.carousel-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  line-height: 1.6;
}

.carousel-btn {
  background-color: #e91e63;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background-color: #d81b60;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn i {
  margin-right: 8px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.nav-arrow i {
  font-size: 1.5rem;
  color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
  .carousel-title {
    font-size: 2rem;
  }
  
  .carousel-subtitle {
    font-size: 1.25rem;
  }
  
  .carousel-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .carousel-caption {
    padding: 0 5%;
  }

  .carousel-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
