.services-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header h1 {
  color: #4caf50;
  font-size: 36px;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 18px;
  color: #666;
}

.service {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.service img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-details {
  flex: 1;
}

.service-details h2 {
  color: #4caf50;
  margin-bottom: 10px;
}

.service-details p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Alternate layout for even items */
.service:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .service {
    flex-direction: column;
  }
  .service img {
    max-width: 100%;
  }
  .service:nth-child(even) {
    flex-direction: column;
  }
}
