.progressbar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    counter-reset: step;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
  }

  /* ✅ connector line behind circles */
  .progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d6e6ee; /* inactive line color */
    transform: translateY(-50%);
    z-index: 0; /* behind circles */
  }

  .progressbar li {
    position: relative;
    text-align: center;
    width: 100%;
    color: #3399cc;
    font-size: 14px;
  }

  /* ✅ numbered circles */
  .progressbar li::before {
    counter-increment: step;
    content: counter(step);
    width: 32px;
    height: 32px;
    line-height: 30px;
    border: 2px solid #3399cc;
    border-radius: 50%;
    display: inline-block;
    background-color: #fff;
    color: #3399cc;
    font-weight: 600;
    position: relative;
    z-index: 1; /* circles stay on top */
  }

  /* ✅ active line (blue part behind) */
  .progressbar li.active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -50%;
    width: 100%;
    height: 2px;
    background-color: #3399cc;
    transform: translateY(-50%);
    z-index: 0; /* keep it behind the circle */
  }

  .progressbar li:first-child.active::after {
    content: none;
  }

  /* ✅ labels */
  .progressbar li span {
    display: block;
    margin-top: 8px;
    color: #3399cc;
  }