/* Services Slider Widget Styles */

/* Parent Slider */
.swiper-parent {
  width: 100%;
  height: 500px;
}

/* Child Sliders */
.swiper-child {
  width: 100%;
  height: 300px;
  margin: 20px 0;
  position: relative;
}

.swiper-child .swiper-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.swiper-child .swiper-slide:hover img {
  transform: scale(1.05);
}

/* Hide pagination in child sliders */
.swiper-child .swiper-pagination {
  display: none;
}

/* Services Slider Container */
.services-slider-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Service Column */
.service-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
}

/* Service Card */
.service-card {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

/* Service Title */
.service-title {
  font-size: 23px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: #000000;
  text-align: center;
  min-height: 56px;
}

/* Service Gallery Slider */

.service-gallery-slider .swiper {
  width: 100%;
  height: 100%;
}

.service-gallery-slider .swiper-wrapper {
  height: 100%;
}

.service-gallery-slider .swiper-slide:hover img {
  transform: scale(1.05);
}

.service-gallery-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.service-gallery-picture {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  display: block;
}

.swiper-child .swiper-slide {
  height: 240px;
}

/* Swiper Navigation */
.swiper-button-custom {
  position: absolute;
  top: 110px;
  z-index: 10;
}

.swiper-button-custom:hover {
  cursor: pointer;
}

.swiper-button-custom i {
  font-size: 20px;
  color: #fff;
}
.swiper-button-prev-custom {
  left: 15px;
}

.swiper-button-next-custom {
  right: 15px;
}

/* Swiper Pagination */
.swiper-pagination {
  bottom: 15px;
  z-index: 10;
}

/* Service Description */
.service-description {
  padding: 20px 0;
  font-family: "Inter", Sans-serif;
  font-size: 17px;
  font-weight: 400;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.5em;
  letter-spacing: 0px;
  color: #000000;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-slider-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 15px;
  }

  .swiper-child {
    height: 250px;
  }

  .service-title {
    font-size: 20px;
    padding: 20px 15px 15px;
  }

  .service-gallery-slider {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .elementor-divider {
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
  }
  .service-card {
    height: auto;
  }
  .services-slider-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 10px;
  }

  .swiper-child {
    height: 220px;
  }

  .service-column {
    min-height: 0;
  }

  .service-title {
    font-size: 18px;
    padding: 18px 15px 0;
    min-height: 0;
  }

  .service-gallery-slider {
    height: auto;
  }

  .service-description {
    padding: 20px;
    font-size: 14px;
    min-height: 100px;
  }

  .service-link {
    margin: 0 20px 20px;
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .services-slider-container {
    gap: 25px;
    padding: 5px;
  }

  .swiper-child {
    height: 200px;
  }

  .service-gallery-slider {
    height: auto;
  }

  .service-description {
    padding: 15px;
    font-size: 13px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px;
    margin-top: -17px;
  }

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