.slider-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.schedule-card {
  position: relative;
  flex: 0 0 250px;
  border-radius: 12px;
  padding: 20px;   /* No extra right padding */
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: black;
  background-color: white;
  overflow: visible; /* Allow text to overlap outside if needed */
  z-index: 1;
}

.schedule-card.active {
  background-color: darkorange;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.3);
  z-index: 10;
}
.schedule-card.active h2{
  color: black;
}
.schedule-card h2, .schedule-card p {
  position: relative;
  z-index: 2;            /* Text above image */
  color: inherit;
  margin: 0;
}

/* Add subtle text shadow so text stands out over the image */
.schedule-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.schedule-card p {
  font-size: 1rem;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* The semicircle background image */
#backgroundCut {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: auto;
  z-index: 1;       /* Behind the text (z-index 2) */
  pointer-events: none;
}

@keyframes slideDownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.schedule-card {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-name: slideDownFadeIn;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}

/* Stagger delay for each card */
.schedule-card:nth-child(1) {
  animation-delay: 0.1s;
}
.schedule-card:nth-child(2) {
  animation-delay: 0.3s;
}
.schedule-card:nth-child(3) {
  animation-delay: 0.5s;
}
.schedule-card:nth-child(4) {
  animation-delay: 0.7s;
}
/* Add more as needed */
