/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services.section {
  background-color: #111; /* Charcoal background */
  color: #fff;
  padding: 4rem 0;
}

.services.section h2,
.services.section p,
.services.section h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-card {
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 260px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.link-more {
  color: #e53935;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.link-more:hover {
  color: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Button below the cards */
.services .btn-primary {
  margin-top: 2rem;
  background-color: #e53935;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.services .btn-primary:hover {
  background-color: #ff4d4d;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
    max-width: 320px;
  }
}
