/* ═══════════════════════════════════════
   SERVICES SECTION — Premium Cards
═══════════════════════════════════════ */

.services-section {
  background-color: #0f0f0f;
  /* subtle dot-grid texture — pure CSS, no image */
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 90px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

/* Radial fade so dots fade to black at edges */
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, #0f0f0f 80%);
  pointer-events: none;
  z-index: 0;
}

.services-section .section-chip,
.services-section > h2,
.services-section > p,
.services-section .container {
  position: relative;
  z-index: 1;
}

.services-section > h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  color: #fff;
}

.services-section > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* ── Cards ── */
.service-card {
  /* Each card sets --accent via inline style in HTML */
  --accent: #20C20E;

  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--accent);        /* ← coloured top accent line */
  border-radius: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: default;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Card number — subtle top-right watermark */
.service-card::after {
  content: attr(data-num);
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.1);
  font-variant-numeric: tabular-nums;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 2px 0 0 var(--accent),                  /* top glow line */
    0 12px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06);
  border-top-color: var(--accent);
  border-color: rgba(255,255,255,0.1);
}

.service-card .card-body {
  padding: 1.75rem 1.5rem 1.6rem;
}

/* ── Icon box ── */
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
  position: relative;
  /* coloured glow under icon using drop shadow */
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}

/* Per-service icon colours */
.si-purple { background: linear-gradient(135deg,#5e0dd6,#9b59ff); }
.si-blue   { background: linear-gradient(135deg,#1256b0,#42a5f5); }
.si-orange { background: linear-gradient(135deg,#d44e00,#ffa726); }
.si-teal   { background: linear-gradient(135deg,#005c50,#26c6da); }
.si-pink   { background: linear-gradient(135deg,#930d4a,#f06292); }
.si-red    { background: linear-gradient(135deg,#a01010,#ef5350); }
.si-cyan   { background: linear-gradient(135deg,#00515a,#00bcd4); }
.si-green  { background: linear-gradient(135deg,#145218,#43a047); }

.service-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: #fff;
  flex-shrink: 0;
}

.service-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ── Text ── */
.service-title {
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card-colour {
  color: rgba(255,255,255,0.56);
  font-size: 0.85rem;
  line-height: 1.75;
  margin: 0;
}

/* ── Section CTA ── */
.section-cta {
  margin-top: 3rem;
}

.hire-button {
  background: #20C20E;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.82rem 2.2rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(32,194,14,0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hire-button:hover,
.hire-button:focus {
  background: #18a30c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(32,194,14,0.5);
  outline: none;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .services-section {
    padding: 70px 16px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 55px 14px;
  }

  .service-card .card-body {
    padding: 1.4rem 1.2rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
  }
}
