.working-working {
  background-color: #F0F0F0;
  min-height: 50px;
  padding: 80px 60px;
}

.working-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #14101e;
  margin-bottom: 48px;
}

.working-highlight {
  color: #701AB5;
}

/* ---------- STEP ICONS ROW ---------- */
.working-stepsRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  max-width: 1300px;
  margin: 0 auto 60px;
}

.working-stepWrapper {
  display: flex;
  align-items: center;
  flex: 1;
}

.working-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
}

.working-stepIconCircle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(210deg, #701AB5 -0.31%, #2AF 166.03%);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(139, 61, 255, 0.25);
}

.working-stepLabel {
  font-size: 13px;
  font-weight: 600;
  color: #14101e;
  max-width: 130px;
}

.working-stepArrow {
  color: #701AB5;
  flex-shrink: 0;
  margin: 0 4px;
  align-self: center;
  margin-top: -28px; /* aligns the arrow with the icon circle's vertical center */
}

/* ---------- BANNER ---------- */
.working-banner {
  position: relative;
  background: #001246;
  border-radius: 24px;
  padding: 40px 48px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 301px;
}

.working-bannerText {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
}

.working-bannerHeading {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.working-bannerHighlight {
  color: #b388ff;
}

.working-bannerList {
  display: flex;
  gap: 32px;
}

.working-bannerColumn {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.working-bannerItem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #dcd8ec;
}

.working-bannerItem svg {
  color: #BA70FF;
  flex-shrink: 0;
}

/* image sits centered above the dark card, peeking out the top-middle */
.working-bannerImageWrapper {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  height: 301px;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

.working-bannerImage {
  display: block;
}

/* lead notification card, floating bottom-right */
.working-leadCard {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    210deg,
    rgba(112, 26, 181, 0.56) -0.31%,
    rgba(34, 170, 255, 0.56) 166.03%
  );
  border-radius: 16px;
  padding: 16px 18px;
  width: 320px;
  height: 172px;
  margin-left: auto;
  backdrop-filter: blur(6px);
}

.working-leadCardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
}

.working-leadCardCheck {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2bb673;
  color: #ffffff;
}

.working-leadCardTime {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.working-leadCardPerson {
  display: flex;
  align-items: center;
  gap: 10px;
}

.working-leadCardAvatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid #ffffff;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box; /* keeps the border inside the 34px size instead of growing it */
}

.working-leadCardName {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.working-leadCardInterest {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .working-stepsRow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .working-stepWrapper {
    flex: 0 1 140px;
  }

  .working-stepArrow {
    display: none;
  }

  .working-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
  }

  .working-bannerImageWrapper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 180px;
    margin: 20px 0;
  }

  .working-leadCard {
    margin: 0 auto; /* was margin-left: auto — now centers horizontally */
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .working-working {
    padding: 50px 20px;
  }

  .working-heading {
    font-size: 22px;
  }

  .working-bannerList {
    flex-direction: column;
    gap: 10px;
  }
}


/* ---------- MOBILE STEPS GRID (2 columns, arrows between pairs) ---------- */
@media (max-width: 600px) {
  .working-stepsRow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 8px;
    row-gap: 28px;
    max-width: 360px;
    margin: 0 auto 40px;
  }

  .working-stepWrapper {
    display: contents; /* lets the step + arrow inside become direct grid items */
  }

  .working-step {
    flex: none;
  }

  /* place each pair of steps into columns 1 and 3, leaving column 2 for the arrow */
  .working-stepWrapper:nth-of-type(1) .working-step,
  .working-stepWrapper:nth-of-type(3) .working-step,
  .working-stepWrapper:nth-of-type(5) .working-step {
    grid-column: 1;
  }

  .working-stepWrapper:nth-of-type(2) .working-step,
  .working-stepWrapper:nth-of-type(4) .working-step,
  .working-stepWrapper:nth-of-type(6) .working-step {
    grid-column: 3;
  }

  .working-stepWrapper:nth-of-type(1) { grid-row: 1; }
  .working-stepWrapper:nth-of-type(2) { grid-row: 1; }
  .working-stepWrapper:nth-of-type(3) { grid-row: 2; }
  .working-stepWrapper:nth-of-type(4) { grid-row: 2; }
  .working-stepWrapper:nth-of-type(5) { grid-row: 3; }
  .working-stepWrapper:nth-of-type(6) { grid-row: 3; }

  /* re-enable the arrow (overrides the 1024px display:none) and
     place it in the middle column, recolored to #701AB5 */
  .working-stepArrow {
    display: block !important;
    color: #701AB5;
    grid-column: 2;
    margin-top: 0;
    align-self: center;
  }

  .working-stepWrapper:nth-of-type(1) .working-stepArrow { grid-row: 1; }
  .working-stepWrapper:nth-of-type(3) .working-stepArrow { grid-row: 2; }
  .working-stepWrapper:nth-of-type(5) .working-stepArrow { grid-row: 3; }

  /* odd wrappers (1,3,5) carry the arrow; even wrappers (2,4,6)
     are the last item in their row, so their arrow (rendered only
     if index < length-1) must be hidden if present */
  .working-stepWrapper:nth-of-type(2) .working-stepArrow,
  .working-stepWrapper:nth-of-type(4) .working-stepArrow,
  .working-stepWrapper:nth-of-type(6) .working-stepArrow {
    display: none !important;
  }

  .working-stepIconCircle {
    width: 60px;
    height: 60px;
  }

  .working-stepLabel {
    font-size: 12px;
  }
}