.services-section {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: #132D55;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #e74c3c;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px; /* Space between rows */
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: #f5f7fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #e74c3c;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  color: #132D55;
  margin-bottom: 10px;
  position: relative;
}

.service-title::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #007bff;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.service-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 968px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
      font-size: 36px;
  }
}

@media (max-width: 576px) {
  .services-grid {
      grid-template-columns: 1fr;
  }

  .section-title {
      font-size: 28px;
  }

  .service-card {
      padding: 20px;
  }

  .service-title {
      font-size: 18px;
  }

  .service-description {
      font-size: 14px;
  }
}