#services-title {
  color: #0fbbff;
}

.custom-card {
  width: 100%;
  background: #07182e;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 25%,
    #0fbbff 50%,
    #ff499e 75%,
    transparent 100%
  );
  background-size: 400% 400%;
  z-index: 0;
  animation: snake 7s linear infinite;
  filter: blur(4px);
}

@keyframes snake {
  0% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.custom-card::after {
  content: "";
  position: absolute;
  background: #07182e;
  inset: 3px;
  border-radius: 12px;
  z-index: 1;
}

/* Ensure card content is above pseudo-elements */
.custom-card .card-body {
  position: relative;
  z-index: 2;
}

/* Style card content for contrast */
.custom-card .card-title,
.custom-card .card-text {
  color: white;
}

.custom-card .btn-primary {
  background-color: #ff499e;
  border: none;
  transition: background-color 0.3s ease;
}

.custom-card .btn-primary:hover {
  background-color: #0fbbff;
}

/* MAIN */
.servizi-title {
  color: #0fbbff;
}
