* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Header */
.services-header {
  background: linear-gradient(to right, #00c6e0, #0073b1);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.services-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 16px;
}

/* Grid */
.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background-color: white;
  width: calc(33.33% - 30px);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  color: #0073b1;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #444;
}

.btn {
  padding: 10px 16px;
  background-color: #0073b1;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #005a8c;
}

/* Responsive */
@media (max-width: 992px) {
  .service-card {
    width: calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .service-card {
    width: 100%;
  }

  .services-header h1 {
    font-size: 28px;
  }
}
