@charset "UTF-8";
/* Core Carousel Wrapper */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* Background Layer Container */
.carousel-backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out; /* Smooth background fade */
}


.bg-slide.active {
  opacity: 1;
}

/* Static Floating Text Container Layer */
.static-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5; /* Sits completely above the changing backgrounds */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Allows clicks to pass through if needed */
}

.slide-content {
  text-align: left;
  color: #ffffff;
  max-width: 1200px;
  padding: 0px;
  pointer-events: auto; /* Re-enables button clicks inside the card */
}

@media (max-width: 1200px) {
		.slide-content {
  max-width: 95%;
}
}

.slide-content h1 {
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.slide-content p {
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slide-content .col-md-6 {
    /* Prevents layout shift by giving the text a fixed minimum height box */
    min-height: 280px; 
}

/* 2. Base Transition setups for individual elements */
#carousel-title, #carousel-text, #carousel-btn {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. Independent entry states */

/* Title slides in gently from the right */
#carousel-title.slide-prep {
    opacity: 0;
    transform: translateX(25px);
}

/* Paragraph text stays put and only fades */
#carousel-text.slide-prep {
    opacity: 0;
}

/* Button rises up gracefully from below */
#carousel-btn.slide-prep {
    opacity: 0;
    transform: translateY(20px);
}



/* Call to Action Button */
.cta-button_ {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff4757;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button_:hover {
  background-color: #ff6b81;
  transform: scale(1.05);
}

/* Navigation Controls */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.nav-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* Navigation Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active { background-color: #ffffff; }
