.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.process-accordion .process-content {
  display: flex;
  position: relative;
}

.steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  position: relative;
  padding-left: 30px;
}

.steps-list::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 8px;
  width: 1px;
  height: calc(100% - 30px); /* stops around the last dot */
  background-color: #d9d9d9;
  z-index: 0;
}

.step-item,
.step-item * {
  -webkit-tap-highlight-color: transparent;
}

.step-item {
  cursor: pointer;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  transition: all 0.3s ease;
  position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

.step-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #a39682; /* dot color */
  border: 2px solid #f6f2ed; /* inner circle effect */
  z-index: 1;
}

.step-item:last-child::before {
  /* optional: ensure the last dot appears on top of the line end */
  z-index: 2;
}

.step-item.active::before {
  background-color: #a39682;
  box-shadow: 0 0 0 3px #f6f2ed;
}

.step-item .step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  font-weight: 600;
  color: #999;
}

.step-item.active .step-number {
  color: var(--accent-color, #ff6b00);
}

.step-title {
  font-size: 18px;
  font-weight: 500;
}

/*.step-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}*/

.step-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.6s ease, opacity 0.6s ease;
}

/*.step-item.active .step-body {
  max-height: 1000px;
  opacity: 1;
  margin-top: 10px;
}*/

.step-item.active .step-body {
  opacity: 1;
}

.mobile-image {
  display: none;
  margin-top: 10px;
}
.step-images {
  position: sticky;
  top: 50px;
  flex: 1;
  height: 600px;
  margin-left: 40px;
  overflow: hidden;
}

.step-images .image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* default all 100% */
  height: auto;
  transition-property: width, height;
  transition-duration: 700ms, 700ms;
  transition-timing-function: ease-in-out, ease-in-out;
  transform-style: preserve-3d;
  will-change: width, height;
  overflow: hidden;
}

.step-images .image-wrapper img {
  width: 100%;
  height: 538px;
  object-fit: cover;
  border-radius: 18px;
  position: static;
  transform-origin: 0% 50%;
  box-sizing: content-box;
}

@media (max-width: 768px) {
  .step-images {
    display: none;
  }
}


@media (max-width: 768px) {
  .process-accordion .process-content {
    flex-direction: column;
  }

  .step-images {
    display: none;
  }

  .mobile-image {
    display: block;
  }
}
