.workflow-section {
  background: #222222;
}

.workflow-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.workflow-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}

.workflow-row.reverse {
  flex-direction: row-reverse;
}

.workflow-card {
  background: linear-gradient(135deg, #ee3ec9, #ff6f3c);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 280px;
  position: relative;
  color: #fff;
  min-height: 340px;
  /* 👈 tweak this as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.gradient-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1rem;
}

.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.arrow {
  font-size: 1.5rem;
  color: #888;
  animation: pulseArrow 1.5s infinite;
}

.arrow.reverse {
  transform: scaleX(-1);
}

.arrow-row {
  display: flex;
  justify-content: flex-end;
  margin-right: 4rem;
}

@keyframes pulseArrow {
  0% {
    opacity: 0.3;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 0.3;
    transform: translateX(0);
  }
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* Responsive */

@media (max-width: 992px) {
  .workflow-row {
    flex-direction: column;
    gap: 2rem;
  }
  .arrow,
  .arrow-row {
    display: none;
  }
  .workflow-card {
    max-width: 100%;
  }
}

.arrow-row.down-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.arrow-center-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.arrow.pulse {
  animation: pulseArrow 1.5s infinite;
}
