@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap");

.services-heading {
  background-color: #e3ddff;
  color: #5b4cd1;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  text-align: center;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(91, 76, 209, 0.2);
  margin: 40px auto;
  width: fit-content;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-heading:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(91, 76, 209, 0.3);
}

.services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 15px;
  font-family: "Poppins", sans-serif;
  max-width: 900px;
  margin: auto;
}

.service-card {
  display: flex;
  flex-direction: row;
  background: linear-gradient(135deg, #f3efff, #e7dfff);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(91, 76, 209, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-left: 5px solid #5b4cd1;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 18px rgba(91, 76, 209, 0.18);
}

.service-image {
  flex: 0 0 35%;
  max-width: 35%;
  background-color: #e3ddff;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #5b4cd1;
  font-weight: 600;
}

.service-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
  }

  .service-image,
  .service-content {
    max-width: 100%;
    flex: none;
  }

  .service-content {
    padding: 16px;
    text-align: center;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }
}
