/* ════════════════════════════════════════════════════════════════════
   SERVICES SLIDER SECTION (Overlapping Design)
   Placed after the Testimonials section
════════════════════════════════════════════════════════════════════ */

.services-section {
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* Yellow background top half */
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background-color: #f7c324;
  z-index: 0;
}

.services-section__header {
  position: relative;
  z-index: 1;
  padding: 3rem clamp(1rem, 4vw, 4rem) 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.services-section__label {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.services-section__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #111;
  max-width: 520px;
  line-height: 1.25;
  margin: 0;
}

.services-section__inner {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1rem, 4vw, 4rem) 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Swiper: allow shadow to bleed outside ── */
.services-swiper {
  overflow: visible !important;
  padding-bottom: 1rem !important;
}

/* ── Service Card ── */
.service-card {
  background: var(--site-surface-card);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

/* ── Card Image ── */
.service-card__img-wrap {
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  height: 200px;
  background: #ddd;
  flex-shrink: 0;
}

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img-wrap img {
  transform: scale(1.06);
}

/* ── Floating icon circle ── */
.service-card__icon {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: var(--site-surface-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 2;
}

/* ── Card text body ── */
.service-card__body {
  padding: 36px 20px 24px;
  flex-grow: 1;
}

.service-card__title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

/* Mobile: 1 full card visible with a peek of the next */
@media (max-width: 575px) {
  .services-section__header {
    padding: 2.5rem 1rem 1.5rem;
  }
  .services-section__inner {
    padding: 0 1rem 3rem;
  }
  .services-section::before {
    height: 55%;
  }
  .service-card__img-wrap {
    height: 170px;
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
  .service-card__img-wrap {
    height: 190px;
  }
}
