/* services.php — What We Offer value cards */
.services-offer-section {
  background: linear-gradient(180deg, #f8fcfc 0%, #fff 45%, #f3fafa 100%);
  position: relative;
  overflow: hidden;
}

.services-offer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(3, 166, 128, 0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(40, 31, 85, 0.02) 25%, transparent 25%);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.6;
}

.services-offer-section .container {
  position: relative;
  z-index: 1;
}

.services-page-lead {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: center;
}

.services-offer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 42px 28px 38px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

a.services-offer-card:hover {
  background: #e8faf7;
  box-shadow: 0 14px 36px rgba(3, 166, 128, 0.12);
  transform: translateY(-4px);
  color: inherit;
}

.services-offer-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #f3fafa 0%, #e8faf7 100%);
  border: 2px solid color-mix(in srgb, var(--offer-icon-color, #03a680) 35%, #e8eef5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.services-offer-icon i {
  font-size: 2.35rem;
  color: var(--offer-icon-color, #281f55);
  line-height: 1;
}

.services-offer-icon .offer-icon-secondary {
  position: absolute;
  font-size: 1rem;
  color: #03a680;
  opacity: 0.9;
}

.services-offer-icon .offer-icon-secondary.icon-tr {
  top: 14px;
  right: 16px;
}
.services-offer-icon .offer-icon-secondary.icon-bl {
  bottom: 12px;
  left: 14px;
}

.services-offer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #281f55;
  line-height: 1.45;
  margin: 0 0 1rem;
  max-width: 220px;
}

.services-offer-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  max-width: 240px;
}

/* Service portfolio — same card family */
.services-portfolio-section {
  background: #fff;
}

.services-portfolio-section .section-title {
  text-align: center;
  letter-spacing: 0;
}

.services-portfolio-card {
  --offer-icon-color: #03a680;
}

.services-portfolio-card .services-offer-heading {
  font-size: 0.78rem;
  max-width: 100%;
}

.services-portfolio-card .services-offer-desc {
  max-width: 100%;
  margin-bottom: 1.25rem;
  flex: 1;
}

.services-portfolio-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--offer-icon-color, #03a680);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.25s ease;
}

a.services-offer-card:hover .services-portfolio-link {
  gap: 10px;
}

@media (max-width: 767px) {
  .services-offer-card {
    padding: 32px 22px 28px;
  }
  .services-offer-icon {
    width: 76px;
    height: 76px;
  }
  .services-offer-icon i {
    font-size: 2rem;
  }
}
