/* Modern card styles for Services page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(18, 30, 54, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card .card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card .card-body {
  padding: 1rem 1.1rem 1.25rem 1.1rem;
  flex: 1 1 auto;
}

.service-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  color: #0b2947;
}

.service-card p { margin: 0 0 0.75rem 0; color: #344054; }

.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0078d4;
  color: #fff;
  padding: 0.4rem 0.6rem;
  font-weight: 700;
  border-radius: 6px;
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Small helper to keep layout consistent with site */
.services-section { max-width: 1080px; margin: 0 auto; }

/* Make entire card clickable and show hover state */
.service-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.service-link .service-card { transition: transform 180ms ease, box-shadow 180ms ease; }
.service-link:hover .service-card { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(18,30,54,0.12); }
.service-link:focus { outline: 3px solid rgba(0,120,212,0.18); border-radius: 8px; }

/* ensure link covers full grid cell */
.services-grid > div { display: block; }

