/* ----------------------------------------------------------------------------------------
* Carousel additions for: Our Services + Our Team sections
* Sits on top of custom.css — does not edit it, only extends it so it merges cleanly
* into the live site.
* ---------------------------------------------------------------------------------------- */

/* Both sliders share the swiper markup, so the theme's .testimonial-slider-gold
   height rule (height:100% on .swiper / .swiper-wrapper) already applies to the
   team slider. We add the same behaviour for the services slider under its own
   wrapper class. */
.services-slider-silver,
.services-slider-silver .swiper,
.services-slider-silver .swiper-wrapper {
  height: 100%;
}

.services-slider-silver .swiper,
.testimonial-slider-gold .swiper {
  overflow: hidden;
  padding-top: 30px; /* room for the icon-box that pokes above the card */
  padding-bottom: 8px; /* room for hover/shadow */
  margin-top: -30px;
}

.services-slider-silver .swiper-slide,
.testimonial-slider-gold .swiper-slide {
  height: auto;
}

/* The theme's card components use a bootstrap-column trick
   (height: calc(100% - 30px); margin-bottom: 30px) — inside a swiper slide,
   spacing is handled by Swiper's spaceBetween instead. */
.services-slider-silver .service-item-silver,
.testimonial-slider-gold .team-item-silver {
  height: 100%;
  margin-bottom: 0;
}

/* ----------------------------------------------------------------------------------------
* Slider controls (prev arrow / pagination dots / next arrow)
* ---------------------------------------------------------------------------------------- */

.slider-controls-silver {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
}

.slider-controls-silver .swiper-pagination.testimonial-pagination {
  position: static;
  width: auto;
  margin-top: 0;
}

.slider-nav-btn-silver {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.slider-nav-btn-silver:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.slider-nav-btn-silver.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.slider-nav-btn-silver:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* ----------------------------------------------------------------------------------------
* Responsive
* ---------------------------------------------------------------------------------------- */

@media only screen and (max-width: 991px) {
  .slider-controls-silver {
    gap: 18px;
    margin-top: 40px;
  }

  .slider-nav-btn-silver {
    height: 44px;
    width: 44px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 575px) {
  .slider-controls-silver {
    gap: 12px;
    margin-top: 30px;
  }

  .slider-nav-btn-silver {
    height: 38px;
    width: 38px;
    font-size: 13px;
  }

  .services-slider-silver .swiper,
  .testimonial-slider-gold .swiper {
    padding-top: 25px;
    margin-top: -25px;
  }
}
