.swiper {
  width: 100%;
  height: 95vh;
  position: relative;
  overflow: hidden;

}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.swiper-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.2);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.swiper-slide-active img {
  transform: scale(1.1);
  filter: brightness(0.8) contrast(1.3);
}

/* Pagination */
.swiper-pagination {
  bottom: 15px;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ff9800;
  opacity: 1;
  width: 12px;
  height: 12px;
}

/* Text Overlay */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  padding: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.text-overlay h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.text-overlay h1 span {
  color: #fff;
  font-weight: 700;
}

.text-overlay p {
  font-size: 1.5rem;
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 700px;
  font-weight: 400;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
}

.text-overlay button {
  background: #ff9800;
  color: #fff;
  border: none;
  padding: 18px 50px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.text-overlay button:hover {
  background: linear-gradient(135deg, #00796b, #ffb74d);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.text-overlay button img {
  width: 24px;
  height: 24px;
  filter: brightness(100);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .swiper {
    height: 75vh;
    /* Adjusted height for better visibility */
  }

  .text-overlay h1 {
    font-size: 2.2rem;
    /* Smaller font size for better readability */
    margin-bottom: 15px;
  }

  .text-overlay p {
    font-size: 1.1rem;
    /* Smaller font size */
    max-width: 90%;
    margin-bottom: 20px;
  }

  .text-overlay button {
    padding: 14px 35px;
    font-size: 1.1rem;
  }

  .swiper-pagination {
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .swiper {
    height: 60vh;
    /* Further reduced height for small screens */
  }

  .text-overlay h1 {
    font-size: 1.8rem;
    /* Adjusted size for small mobile screens */
    margin-bottom: 10px;
  }

  .text-overlay p {
    font-size: 1rem;
    /* Reduced font size for better readability */
    margin-bottom: 15px;
  }

  .text-overlay button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .text-overlay button img {
    width: 18px;
    height: 18px;
  }

  .swiper-pagination {
    bottom: 8px;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
  }

  /* For mobile, make the text-overlay width 100% */
  .text-overlay {
    width: 100%;
    display: block;
  }
}

.swiper-pagination span {
  background: #ff9800;
}


/* Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  margin-right: 15px;
  margin-left: 15px;
  width: 30px;
  height: 30px;
  margin-top: -20px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #f07e26;
  border-radius: 5px;
  transition: all 0.3s ease;
  padding: 5px 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #067d45;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}


.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: 'next';
  font-size: 20px !important;
  color: #fff;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: 'prev';
  font-size: 20px !important;
  color: #fff;
}