/* =========================
   TGXFlow – our_process.css
   Readable overlay on any image
   ========================= */

.process-section {
  position: relative;
}

/* timeline list */
.process-timeline {
  margin: 0;
  padding: 0;
}

/* step row */
.process-step {
  position: relative;
  padding: 16px 0;
  gap: 14px;
  cursor: pointer;
}

/* subtle vertical connector line */
.process-step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(15, 23, 42, 0.10);
  z-index: 0;
}

.process-step:last-child::before {
  bottom: 50%;
}

/* number circle */
.step-circle {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #0b0b12;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.35);
  flex-shrink: 0;
}

/* active step emphasis */
.process-step.is-active .step-circle {
  box-shadow:
    0 0 18px rgba(34, 211, 238, 0.55),
    0 0 28px rgba(37, 99, 235, 0.25);
}

.step-body h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.process-step.is-active .step-body h4 {
  color: var(--primary);
}

.step-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   RIGHT VISUAL PANEL
   ========================= */

.process-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow);
  min-height: 360px;
}

/* Slides (image layer) */
.process-visual-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.process-visual-slide.active {
  opacity: 1;
}

/* Glass + dark gradient layer (always readable) */
.process-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(8, 12, 24, 0.78) 0%,
      rgba(8, 12, 24, 0.42) 48%,
      rgba(8, 12, 24, 0.14) 100%),
    radial-gradient(900px 420px at 20% 80%,
      rgba(37, 99, 235, 0.18),
      transparent 60%);
}

/* Tagline content (text layer) */
.process-tagline {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;

  max-width: 620px;
  border-radius: 18px;
  padding: 20px 20px 18px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

/* Typography on image */
.tagline-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 8px 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.tagline-main {
  margin: 0 0 10px 0;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.05;
}

.tagline-accent {
  background: linear-gradient(135deg, #ec4899, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline-sub {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 767.98px) {
  .process-visual {
    min-height: 240px;
    margin-top: 16px;
  }

  .process-tagline {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 16px 14px;
    border-radius: 16px;
  }

  .tagline-main {
    font-size: clamp(22px, 6vw, 30px);
  }

  .tagline-sub {
    font-size: 13px;
    max-width: 100%;
  }
}
