/* Slide styles with proper z-index */
.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  overflow: hidden;
  z-index: 1;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2; 
}

/* Full-screen animation with lower z-index */
.lottie-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Content overlay */
.slider-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #06231d;
  z-index: 3; /* Above animation but below nav buttons */
  padding: 56px 40px 56px 40px;
}

.slider-headline {
  color: white;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -2%;
  margin-bottom: 8px;
  line-height: 1.2;
  text-align: center;
}

.slider-tagline {
  color: #8cc63f;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -2%;
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: center;
}

.slider-progress {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}

.slider-progress-bar {
  height: 4px;
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.slider-progress-bar.active {
  background-color: #8cc63f;
}

/* Navigation buttons with proper z-index */
.slider-nav-buttons {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 100;
  pointer-events: none;
}

.slider-nav-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.3); 
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 101;
  pointer-events: all; 
  position: relative; 
}

.slider-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Ensure SVG icons inside buttons are visible */
.slider-nav-button svg {
  pointer-events: none;
  width: 24px;
  height: 24px;
}

/* Logo styles */
.logo-position {
  position: absolute;
  left: 50%;
  top: 55px;
  transform: translateX(-50%);
  z-index: 20;
}
