/* ==========================
   SERVICES
========================== */

.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 60px 60px;

  mask-image: radial-gradient(circle, #fff 30%, transparent 90%);
  pointer-events: none;
}

.services-heading {
  max-width: 900px;
  margin: auto;
  text-align: center;
  margin-bottom: 80px;
}

.services-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  border-radius: 100px;

  border: 1px solid rgba(139, 92, 246, 0.3);

  background: rgba(139, 92, 246, 0.08);

  color: var(--primary);

  margin-bottom: 20px;

  font-size: 0.85rem;
  letter-spacing: 2px;
}

.services-heading h2 {
  margin-bottom: 20px;
}

.services-heading h2 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
}

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

.service-card {
  position: relative;

  padding: 32px;

  border-radius: 24px;

  background: rgba(22, 27, 34, 0.8);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  overflow: hidden;

  transition: 0.35s;
}

.service-card::before {
  content: "";

  position: absolute;

  width: 200px;
  height: 200px;

  background: rgba(139, 92, 246, 0.15);

  filter: blur(80px);

  top: -100px;
  right: -100px;

  opacity: 0;

  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.5);
}

.service-card:hover::before {
  opacity: 1;
}

/* .featured {
    grid-column: span 2;
} */

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 24px;
}

.service-index {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.card-top i {
  font-size: 1.3rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 25px;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 25px;
}

.service-tech span {
  padding: 8px 14px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 0.8rem;
}

.code-line {
  padding: 14px 16px;

  border-radius: 12px;

  background: #0b0f14;

  border: 1px solid rgba(255, 255, 255, 0.05);

  font-family: monospace;

  color: #22c55e;

  font-size: 0.85rem;

  overflow-x: auto;
}

.tech-strip {
  margin-top: 70px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 15px;
}

.tech-strip span {
  padding: 14px 20px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 0.9rem;

  transition: 0.3s;
}

.tech-strip span:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ==========================
   RESPONSIVE
========================== */

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

  .featured {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .services-heading {
    margin-bottom: 50px;
  }

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

  .service-card {
    padding: 24px;
  }

  .tech-strip {
    justify-content: flex-start;
    gap: 10px;
  }

  .tech-strip span {
    font-size: 0.8rem;
    padding: 12px 16px;
  }
}

.tech-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-strip span i {
  font-size: 1rem;
}

.tech-strip span:nth-child(1) i {
  color: #22c55e; /* Green */
}

.tech-strip span:nth-child(2) i {
  color: #3b82f6; /* Blue */
}

.tech-strip span:nth-child(3) i {
  color: #f59e0b; /* Amber */
}

.tech-strip span:nth-child(4) i {
  color: #8b5cf6; /* Purple */
}

.tech-strip span:nth-child(5) i {
  color: #ef4444; /* Red */
}
