/* Swiper Custom Styles - Replacing Revolution Slider */

/* Fullscreen container */
.swiper-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  background-color: #333;
}

/* Slide styling */
.swiper-slide {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Content container */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

/* Title styling */
.slide-title {
  font-weight: 700;
  letter-spacing: 3px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  display: inline-block;
  color: #fff;
  white-space: nowrap;
  margin-bottom: 30px;
}

/* Responsive title sizes */
@media (min-width: 992px) {
  .slide-title {
    font-size: 37px;
    line-height: 42px;
    padding: 20px 40px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-title {
    font-size: 34px;
    line-height: 38px;
    padding: 20px 40px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .slide-title {
    font-size: 28px;
    line-height: 32px;
    padding: 15px 30px;
  }
}

@media (max-width: 575px) {
  .slide-title {
    font-size: 22px;
    line-height: 26px;
    padding: 10px 20px;
    white-space: normal;
  }
}

/* Subtitle styling */
.slide-subtitle {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  margin-bottom: 40px;
}

/* Responsive subtitle sizes */
@media (min-width: 992px) {
  .slide-subtitle {
    font-size: 22px;
    line-height: 36px;
    max-width: 700px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-subtitle {
    font-size: 20px;
    line-height: 32px;
    max-width: 600px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .slide-subtitle {
    font-size: 18px;
    line-height: 28px;
    max-width: 500px;
  }
}

@media (max-width: 575px) {
  .slide-subtitle {
    font-size: 16px;
    line-height: 26px;
    max-width: 380px;
  }
}

/* Divider line */
.slide-divider {
  height: 1px;
  background-color: rgba(255,255,255,1);
  margin: 0 auto 40px;
}

@media (min-width: 992px) {
  .slide-divider {
    width: 380px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-divider {
    width: 330px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .slide-divider {
    width: 260px;
  }
}

@media (max-width: 575px) {
  .slide-divider {
    width: 200px;
  }
}

/* Slide 2 specific divider width */
.slide-2 .slide-divider {
  width: 420px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-2 .slide-divider {
    width: 360px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .slide-2 .slide-divider {
    width: 280px;
  }
}

@media (max-width: 575px) {
  .slide-2 .slide-divider {
    width: 220px;
  }
}

/* Buttons container */
.slide-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button styling */
.slide-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,1);
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 12px 25px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  white-space: nowrap;
}

.slide-btn:hover {
  color: rgba(0, 0, 0, 1);
  background-color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

/* Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 30px;
}

/* Hide navigation on mobile */
@media (max-width: 767px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Autoplay progress bar (countdown timer) */
.swiper-autoplay-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #18ba9b;
  z-index: 100;
  pointer-events: none;
}

.swiper-autoplay-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: #11826D;
  transition: width 0.1s linear;
}

/* Animation effects */
.swiper-slide-active .slide-title {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.swiper-slide-active .slide-subtitle {
  animation: fadeInUp 1s ease-out 1s both;
}

.swiper-slide-active .slide-divider {
  animation: fadeInUp 1s ease-out 1.2s both;
}

.swiper-slide-active .slide-buttons {
  animation: fadeInUp 1s ease-out 1.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
