/* Modern card styles for services page */
/* 2 cards per row on desktop, 1 per row on mobile */
.services-modern-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}
.services-modern-card {
  background: #F6F3C2;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(223,38,61,0.13);
  padding: 2.5rem 2rem 2rem 2rem;
  width: calc(50% - 1.25rem);
  min-width: 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border: 2px solid #91C6BC;
}
@media (max-width: 900px) {
  .services-modern-card {
    width: 100%;
    min-width: 0;
    max-width: 98vw;
  }
  .services-modern-row {
    flex-direction: column;
    align-items: center;
  }
}
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 2rem;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(214,69,33,0.15);
  transform: translateY(-4px) scale(1.03);
}
.services-modern-card img {
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
  display: block;
}
.service-card h2, .services-modern-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem 0;
  color: #4B9DA9;
  text-align: center;
}
.service-card .service-icon, .services-modern-card .service-icon {
  font-size: 2.2rem;
  color: #E37434;
  margin-bottom: 0.5rem;
}
.service-card table {
  width: 100%;
  margin: 1rem 0 0.5rem 0;
  border-collapse: collapse;
}
.service-card table td {
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
}
.service-card p, .services-modern-card p {
  margin: 0.5rem 0 0 0;
  color: #91C6BC;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 900px) {
  .services-modern-row { flex-direction: column; align-items: center; }
  .service-card { max-width: 95vw; }
}
