/* ======================
   SERVICES / CARD-GRID
====================== */
.services {
  padding: 6rem 2.5rem;
  background: #f0f2f4;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: #0a2c3e;
}

.card-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
  width: 18.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}

.card-content {
  padding: 1.25rem;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #0a2c3e;
}

.card-content p {
  font-size: 0.95rem;
  color: #444;
}

.card .btn {
  margin-top: 0.9375rem;
  display: inline-block;
  background: #0a2c3e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.card .btn:hover {
  background: #6db3e8;
  color: #0a2c3e;
  transform: translateY(-2px);
}

/* ======================
   MEDIA QUERIES – SERVICES / CARDS
====================== */
@media (max-width: 1024px) {
  .services {
    padding: 3rem 2rem;
  }

  .card {
    width: 100%;
    max-width: 25rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 2.5rem 1.5rem;
  }

  .card-grid {
    gap: 1rem;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .services h2 {
    font-size: 1.5rem;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.85rem;
  }
}