.services-section {
  padding: 40px 20px 60px;
  background-color: #f8f8f8;
  margin-top: 0;
}

.services-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section h2 {
    font-size: 1.5rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.3s ease;
}

.service-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.hover-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #004d4d;
  width: 0%;
  transition: width 0.4s ease;
}

.service-card:hover .hover-bar {
  width: 100%;
}

.service-card p {
  text-align: center;
  padding: 15px 10px;
  margin: 0;
  font-weight: 600;
  color: #004d4d;
}
