/* ============================================================
   PROCESS SECTION — Homepage (flowx)
   ============================================================ */

.flowx-process-area {
  padding: 100px 20px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.flowx-process-area::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(110,242,138,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.flowx-process-area::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(78,221,227,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Heading ── */
.flowx-title {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  color: #111827;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.flowx-subtitle {
  font-size: 17px;
  color: #6b7280;
  font-weight: 400;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

/* ── Row wrapper ── */
.flowx-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Single step ── */
.flowx-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 220px;
}

/* ── Connector line between steps ── */
.flowx-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px; /* vertically centered on the number bubble */
  left: calc(50% + 34px);
  width: calc(100% - 68px);
  height: 3px;
  background: linear-gradient(90deg, #6EF28A 0%, #4EDDE3 100%);
  border-radius: 4px;
  z-index: 0;
}

/* ── Number bubble ── */
.flowx-num {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6EF28A 0%, #4EDDE3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #064e3b;
  font-weight: 800;
  font-size: 22px;
  z-index: 2;
  position: relative;
  box-shadow: 0 6px 20px rgba(110,242,138,0.40);
  margin-bottom: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.flowx-step:hover .flowx-num {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(110,242,138,0.55);
}

/* Remove old .flowx-top and .flowx-arrow — no longer used */
.flowx-top  { display: none; }
.flowx-arrow { display: none; }

/* ── Card ── */
.flowx-card {
  width: 100%;
  background: #ffffff;
  padding: 32px 20px 28px;
  border-radius: 20px;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.flowx-step:hover .flowx-card {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: #6EF28A;
}

.flowx-card h3 {
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.flowx-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .flowx-wrapper {
    flex-wrap: wrap;
    gap: 32px;
  }

  .flowx-step {
    max-width: 180px;
  }

  .flowx-step:not(:last-child)::after {
    display: none;
  }

  .flowx-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .flowx-process-area {
    padding: 70px 16px 80px;
  }

  .flowx-title {
    font-size: 28px;
  }

  .flowx-subtitle {
    font-size: 15px;
    margin-bottom: 48px;
  }

  .flowx-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .flowx-step {
    max-width: 480px;
    width: 100%;
  }

  .flowx-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .flowx-num {
    width: 52px;
    height: 52px;
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .flowx-title {
    font-size: 24px;
  }

  .flowx-card h3 {
    font-size: 16px;
  }

  .flowx-card p {
    font-size: 13px;
  }
}
