/* ---------------------------------------
   Technical Services — Services page cards
   Scoped to the .services section only
   --------------------------------------- */

/* Container breathing room */
.services.container { padding: 2.25rem 1rem 0; }

/* Split-card layout you already use, but “cardified” */
.services .service-block {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;

  /* Card look */
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 30, 66, 0.06);
  padding: 1.25rem;

  /* Micro-interaction */
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.services .service-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10, 30, 66, 0.10);
  border-color: #dde6f2;
}

/* Alternate row still supported */
.services .service-block.reverse { flex-direction: row-reverse; }

/* Media side: fixed 16:9 “frame” with clean rounding and shadow */
.services .service-image {
  flex: 0 0 420px; /* adjusts at breakpoints below */
}
.services .service-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;            /* for older browsers this is a no-op */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(10, 30, 66, 0.12);
  display: block;
}

/* Text side: stronger hierarchy, tighter rhythm */
.services .service-info { flex: 1; }
.services .service-info h2 {
  color: #0B5EA8;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: .25rem 0 .5rem;
}
.services .service-info p {
  color: #394657;
  margin: 0 0 .75rem;
  line-height: 1.65;
}

/* Convert default bullet list to a clean check list */
.services .service-info ul {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0;
}
.services .service-info li {
  position: relative;
  padding-left: 1.6rem;
  margin: .35rem 0;
}
.services .service-info li::before {
  content: "";
  position: absolute;
  left: 0; top: .2rem;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0B5EA8 0, #0B5EA8 60%, transparent 61%) center/70% 70% no-repeat,
    #E7F1FD;
  box-shadow: inset 0 0 0 1px #bcd8ff;
}

/* Chips for fast facts (optional markup) */
.services .badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 .25rem;
  padding: 0;
  list-style: none;
}
.services .badge-list li {
  font-size: .82rem;
  line-height: 1;
  color: #0B5EA8;
  background: #EEF6FF;
  border: 1px solid #D6E8FF;
  border-radius: 999px;
  padding: .4rem .6rem;
  white-space: nowrap;
}

/* Subtle colored accent bar at the top of each card */
.services .service-block::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 8px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0B5EA8, #5DA448);
  opacity: .25;
}

/* Responsiveness */
@media (max-width: 1100px) {
  .services .service-image { flex-basis: 360px; }
}
@media (max-width: 900px) {
  .services .service-block,
  .services .service-block.reverse {
    flex-direction: column;
  }
  .services .service-image { flex-basis: auto; }
}
@media (max-width: 520px) {
  .services .service-info h2 { font-size: 1.35rem; }
}
