.services-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
}

.services-heading {
  color: #222;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 40px 0;
  justify-content: center;
}

.service-card {
  border-radius: 6px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  width: calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 20px;
  z-index: 1;
  border: solid 1px #0678b1;
}

.service-card:nth-child(odd) {
  background: #fff;
}

.service-card:nth-child(even) {
  background: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  background-size: 300% 300%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before {
  opacity: 1;
  animation: shineMove 1.5s ease forwards;
}
@keyframes shineMove {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.service-card i,
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  z-index: 1;
}

/* Icon colors */
.service-card:nth-child(1) .service-icon {
  background: radial-gradient(circle, #ff6b6b, #d94a4a);
}
.service-card:nth-child(2) .service-icon {
  background: radial-gradient(circle, #4ecdc4, #38a99f);
}
.service-card:nth-child(3) .service-icon {
  background: radial-gradient(circle, #1a73e8, #155ab6);
}
.service-card:nth-child(4) .service-icon {
  background: radial-gradient(circle, #fbbc04, #e0a103);
}
.service-card:nth-child(5) .service-icon {
  background: radial-gradient(circle, #9b51e0, #7a36c2);
}
.service-card:nth-child(6) .service-icon {
  background: radial-gradient(circle, #00c853, #009624);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.6rem;
  z-index: 1;
  text-decoration: none;
}
.service-card:nth-child(odd) .service-title {
  color: #0678b1;
}
.service-card:nth-child(even) .service-title {
  color: #0678b1;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
  z-index: 1;
}
.service-card:nth-child(odd) .service-description {
  color: #444;
}
.service-card:nth-child(even) .service-description {
  color: #444;
}

@media (max-width: 768px) {
  .service-card {
    width: calc(50% - 1rem);
  }
  .services-wrapper {
    width: 100%;
    padding: 0px 10px;
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 100%;
  }
}
