/* 
  SERVICE CARDS STYLES
  Modern, responsive grid of service cards
*/

/* Services Grid Container */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Individual Service Card */
.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Service Card Image */
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Service Card Content */
.service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--text, #222222);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-content h3 i,
.service-content h3 svg {
  color: var(--primary, #c21d2e);
  flex-shrink: 0;
}

.service-content p {
  color: var(--text-light, #575760);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card img {
    height: 180px;
  }

  .service-content h3 {
    font-size: 1.15rem;
  }

  .service-content {
    padding: 1.25rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
