.carousel-bg-image {
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Slider Appointment Button */
.slider-appointment-btn {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 100%;
}

.slider-appointment-btn .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .slider-appointment-btn {
    bottom: 15%;
  }
}

@media (max-width: 768px) {
  .slider-appointment-btn {
    bottom: 10%;
  }

  .slider-appointment-btn .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .slider-appointment-btn {
    bottom: 5%;
  }

  .slider-appointment-btn .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

/* Gradient Button with Glow Effect */
.btn-glow {
  background: linear-gradient(45deg, #ff8a00, #e52e71, #2575fc);
  background-size: 300% 300%;
  color: white;
  border: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: gradientBG 8s ease infinite;
}

/* Gradient Animation */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Stars Container */
.glow-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Individual Stars */
.glow-star {
  position: absolute;
  display: block;
  font-size: 14px;
  color: white;
  opacity: 0;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #e60073, 0 0 20px #e60073;
  animation: starPulse 3s ease-in-out infinite;
}

/* Random Star Positions */
.glow-star:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0.5s;
}
.glow-star:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-delay: 1s;
}
.glow-star:nth-child(3) {
  top: 40%;
  left: 50%;
  animation-delay: 1.5s;
}

/* Star Pulse Animation */
@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Button Hover Effects */
.btn-glowstars:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Click Animation */
.btn-glowstars:active {
  transform: scale(0.95);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .btn-glowstars {
    padding: 10px 20px;
  }
  .glow-star {
    font-size: 12px;
  }
}
