/* Services Section */
.services {
  padding: 120px 80px 80px;
  background-color: #ffffff;
}

/* Mobile responsive services */
@media screen and (max-width: 768px) {
  .services {
    padding: 60px 20px 40px !important;
    margin-top: 20px !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .services .section-header {
    margin-bottom: 30px !important;
  }
  
  .services-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .service-card {
    min-width: 100% !important;
    padding: 40px 20px !important;
    margin-bottom: 0 !important;
  }
  
  .service-card-featured {
    order: -1 !important; /* Featured card first */
  }
}

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

.services-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.service-card {
  text-align: center;
  padding: 65px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 302px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.service-card-featured {
  background-color: #ffffff;
  box-shadow: 0px 50px 70px 0px rgba(162, 182, 212, 0.16);
}

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

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.service-card:nth-child(1) .service-icon-wrapper {
  background-color: #ecf7fc;
}

.service-card:nth-child(2) .service-icon-wrapper {
  background-color: #fcedf4;
}

.service-card:nth-child(3) .service-icon-wrapper {
  background-color: #edf7f6;
}

.service-card:nth-child(4) .service-icon-wrapper {
  background-color: #fcf2ed;
}

.service-icon {
  width: 48px;
  height: 48px;
}

.service-title {
  font-family: "SomarSans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33em;
  color: #474f62;
  margin-bottom: 0;
}

.service-description {
  font-family: "SomarSans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  color: #474f62;
  opacity: 0.7;
}
