/* ==========================================================
   One Web Click — All Services page
   Portfolio-inspired image cards, using the existing service
   artwork from assets/images/services/.
   ========================================================== */
.services-page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services-list-section {
  padding-top: 54px;
}

.services-filter-pills {
  margin-bottom: 46px;
}

.service-filter-item {
  transition: opacity .25s ease, transform .25s ease;
}

.service-list-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.service-list-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 640 / 420;
  background: linear-gradient(135deg, #0066ff, #00d4aa);
  text-decoration: none;
}

.service-list-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.service-list-card:hover .service-list-image img {
  transform: scale(1.055);
}

.service-list-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 43, .02) 35%, rgba(7, 17, 43, .22) 100%);
  pointer-events: none;
}

.service-list-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0066ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .10);
}

.service-list-image-arrow {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #0066ff;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .25s ease, transform .25s ease;
}

.service-list-card:hover .service-list-image-arrow,
.service-list-image:focus-visible .service-list-image-arrow {
  opacity: 1;
  transform: translateY(0);
}

.service-list-body {
  position: relative;
  padding: 25px 28px 28px;
}

.service-list-icon {
  width: 50px;
  height: 50px;
  margin-top: -50px;
  margin-bottom: 18px;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0066ff, #00cfa9);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(0, 102, 255, .22);
  border: 4px solid #fff;
}

.service-list-body h2 {
  margin: 0 0 10px;
  color: #10152f;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

.service-list-body p {
  min-height: 56px;
  margin: 0 0 20px;
  color: #687287;
  font-size: 15px;
  line-height: 1.7;
}

.service-list-body .read-more-link {
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .services-list-section {
    padding-top: 40px;
  }

  .services-filter-pills {
    margin-bottom: 34px;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .services-filter-pills .filter-pill {
    flex: 0 0 auto;
  }
}

@media (max-width: 575.98px) {
  .service-list-body {
    padding: 22px 20px 24px;
  }

  .service-list-body h2 {
    font-size: 21px;
  }

  .service-list-body p {
    min-height: 0;
  }
}
