/* Slider Wrapper */
.ftbs-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000; /* fallback if no image */
}

/* Each Slide */
.ftbs-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
}

/* Active Slide (visible) */
.ftbs-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Dark overlay for better text visibility */
.ftbs-slider::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Text Overlay */
.ftbs-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px;
  max-width: 90%;
}

/* Title and Subtitle */
.ftbs-title {
  font-size: 5rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 700;
}

.ftbs-subtitle {
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}

/* Make text responsive */
@media (max-width: 993px) {
  .ftbs-title {
    font-size: 3rem;
}
}
@media (max-width: 768px) {
  .ftbs-title { font-size: 2rem; }
  .ftbs-subtitle { font-size: 1.1rem; 
  }

.ftbs-overlay {
width: 100%;
}
.ftbs-slider {
    height: 45vh;
    overflow: hidden;
}
}