/* ===============================
   SERVICES – GLOBAL RESET
================================ */
.services-section,
.service-hero {
  position: relative;
  overflow: hidden;
  background: #0b0f1a;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ===============================
   HERO SECTION
================================ */
.service-hero {
  padding: 140px 0 120px;
  text-align: center;
}

#threads-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

 

.gradient-text {
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-hero .lead {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #cbd5e1;
}

.hero-actions .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* ===============================
   SERVICES GRID
================================ */
.services-section {
  padding: 120px 0;
  background: #0b0f1a;
}

.services-wrapper {
  position: relative;
  z-index: 2;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.services-header span {
  color: #38bdf8;
}

.services-header p {
  color: #94a3b8;
  max-width: 640px;
  margin: auto;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===============================
   SERVICE CARD
================================ */
.service-card {
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none; width: 100%!important;
  color: #ffffff;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

/* ICON BOX */
.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff; /* ICON ALWAYS VISIBLE */
}

/* ICON COLORS */
.icon-box.pink   { background: #ec4899; }
.icon-box.green  { background: #22c55e; }
.icon-box.purple { background: #8b5cf6; }
.icon-box.blue   { background: #3b82f6; }
.icon-box.amber  { background: #f59e0b; }
.icon-box.cyan   { background: #06b6d4; }

/* ARROW */
.service-card .arrow {
  font-size: 22px;
  color: #94a3b8;
}

/* TEXT */
.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

/* ===============================
   BACKGROUND CANVAS
================================ */
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-hero h1 {
    font-size: 34px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
