/* Products / services section */

#products .badge {
  display: inline-block;
  text-align: center !important;
  margin: 0 auto;
}

#products .container.text-center {
  text-align: center;
}

#products .section-title {
  text-align: center;
}

#products .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1.3rem;
  margin-top: 2rem;
}

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

.card {
  background: var(--nc-card);
  border-radius: var(--nc-radius-lg);
  padding: 1.1rem 1.1rem 1.1rem;
  border: 1px solid var(--nc-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.72);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0 0,
    rgba(0, 196, 255, 0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity var(--nc-transition);
  pointer-events: none;
}

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

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nc-accent-1), var(--nc-accent-2));
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.card-body {
  font-size: 0.87rem;
  color: var(--nc-muted);
  margin-bottom: 0.7rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.7rem;
}

.card-tag {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 14, 38, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
