/* Services Section */
.services-section {
  background: #fff;
  padding: 80px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
}

.services-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

/* Service Cards Grid */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  animation: slideInUpService 0.6s ease-out forwards;
}

.service-card.animate:nth-child(1) { animation-delay: 0.1s; }
.service-card.animate:nth-child(2) { animation-delay: 0.2s; }
.service-card.animate:nth-child(3) { animation-delay: 0.3s; }
.service-card.animate:nth-child(4) { animation-delay: 0.4s; }
.service-card.animate:nth-child(5) { animation-delay: 0.5s; }
.service-card.animate:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUpService {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.service-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
  color: var(--secondary);
}

.service-card:hover .service-content p {
  color: #555;
}

.services-header.animate {
  animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .services-section {
    padding: 60px 0;
  }
  
  .services-header h2 {
    font-size: 36px;
  }
  
  .services-header {
    margin-bottom: 50px;
  }
  
  .service-image {
    height: 200px;
  }
  
  .service-content {
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 50px 0;
  }
  
  .services-header h2 {
    font-size: 28px;
  }
  
  .services-header {
    margin-bottom: 40px;
  }
  
  .service-image {
    height: 180px;
  }
  
  .service-content {
    padding: 20px 15px;
  }
  
  .service-content h3 {
    font-size: 18px;
  }
  
  .service-content p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 40px 0;
  }
  
  .services-header h2 {
    font-size: 24px;
  }
  
  .service-card {
    margin-bottom: 20px;
  }
}
