:root {
  --track: #d9d9d9;
  --active: #FFC324;
  --dot: #a8a8a8;
  --text: #fff;
  --muted: #ccc;
  --highlight: #FFC107;
  --dot-size: 42px;
  --h4-size: 20px;
  --gap: 8px;
}

/* --- Timeline Base Styling --- */
.process-wrapper {
  position: relative;
  max-width: 100%;
  margin: 40px auto;
  padding: 0 16px;
  color: var(--text);
}

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: var(--gap);
}

.step {
  text-align: center;
  flex: 1 1 0;
}

.step span {
  display: inline-block;
  width: var(--dot-size);
  height: var(--dot-size);
  line-height: var(--dot-size);
  border-radius: 50%;
  font-weight: 700;
  color: #111;
  background: var(--dot);
  transition: background .25s ease, color .25s ease;
  user-select: none;
}

.step h4 {
  margin: 8px auto 0;
  font-size: var(--h4-size);
  color: var(--muted);
  opacity: .9;
  transition: color .25s ease, opacity .25s ease, transform .25s ease;
  position: relative;
}

/* Active + Completed Styling */
.step.active span,
.step.completed span {
  background: var(--active);
  color: #000;
}

.step.active h4,
.step.completed h4 {
  color: var(--highlight);
  opacity: 1;
}

.progress-line {
  position: absolute;
  top: calc(var(--dot-size) / 2);
  left: calc(var(--dot-size) - 10px);
  right: calc(var(--dot-size) - 10px);
  height: 2px;
  background: var(--track);
  z-index: 1;
}

.progress-line .fill {
  height: 100%;
  width: 100%;
  background: var(--active);
  transform-origin: left center;
  transform: scaleX(1);
  opacity: 0.85;
}

/* --- ✅ Mobile Responsive (Vertical Timeline) --- */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: flex-center;
    gap: 24px;
  }

  .progress-line {
    top: 0;
    left: 35px;
    width: 2px;
    height: 100%;
    right: auto;
    transform: none;
  }

  .step {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .step span {
    flex-shrink: 0;
    margin-right: 10px;
  }

  .step h4 {
    margin: 0;
    font-size: 18px;
  }
}

