/* Services section styling */
.services-section {
  position: relative;
  background: linear-gradient(to bottom, #0f172a, #111827);
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/digital-blue-hud.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff6b00);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.3);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
  padding: 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-description {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  color: #ffd700;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #ff9500;
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.services-cta {
  margin-top: 3rem;
  text-align: center;
}
