/* ========================================
   SERVICES SECTION
======================================== */

.services-section {
  padding: 10px 0;
  position: relative;
    overflow-x: clip;
}

.services-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: -120px;
  background: rgba(59, 130, 246, 0.08);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.services-grid {
  position: relative;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  overflow: hidden;
  background: rgba(12, 19, 36, 0.76);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 20px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #3b82f6,
    #22d3ee,
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(17, 29, 51, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 23px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.18),
    rgba(6, 182, 212, 0.08)
  );
  color: #67e8f9;
  font-size: 1.8rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 13px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.8;
}

.service-card > p {
  margin-bottom: 20px;
  font-size: 0.93rem;
  line-height: 2.1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.9;
}

.service-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: #22d3ee;
  font-weight: 800;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #67e8f9;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.service-link span {
  transition: transform 0.25s ease;
}

.service-link:hover {
  color: #a5f3fc;
}

.service-link:hover span {
  transform: translateX(-4px);
}

.services-note {
  max-width: 850px;
  margin: 35px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.48);
  text-align: center;
}

.services-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 2.1;
}

.services-note strong {
  color: #e2e8f0;
}

@media (max-width: 767.98px) {
  .services-section {
    padding: 65px 0;
  }

  .service-card {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card::before,
  .service-link span {
    transition: none;
  }
}