/* Homepage only (frontend/index.blade.php). */

/* Mobile (default): 2 boxes per row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

/* Desktop: 4 boxes per row */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

/* Card styling */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
