/* Work Process Section (Steps + Arrows) */
.wps-work-process{
  --wps-yellow: #EDC33F;
  --wps-title: #0a122a;
  --wps-text: #6b7280;
  --wps-arrow: rgba(107,114,128, var(--wps-arrow-opacity, 0.35));
  --wps-card-gap: 70px;
}

.wps-work-process *{ box-sizing: border-box; }

.wps-work-process .wps-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.wps-work-process .wps-head{
  text-align: center;
  margin-bottom: 55px;
}

.wps-work-process .wps-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--wps-yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.wps-work-process .wps-eyebrow::before,
.wps-work-process .wps-eyebrow::after{
  content: "";
  width: 70px;
  height: 2px;
  background: var(--wps-yellow);
  opacity: 0.85;
}

.wps-work-process .wps-title{
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--wps-title);
  font-weight: 800;
  text-transform: uppercase;
}

.wps-work-process .wps-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wps-card-gap);
  align-items: start;
}

.wps-work-process .wps-step{
  position: relative;
  text-align: center;
}

/* Curved arrow between steps (desktop) */
.wps-work-process .wps-step:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 62px;
  right: calc(var(--wps-card-gap) * -0.6);
  width: 140px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  /* Inline SVG (curved arrow) tinted via currentColor-like approach */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='110' viewBox='0 0 220 110'%3E%3Cpath d='M10 80 C70 10, 140 10, 190 70' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round' stroke-dasharray='6 6'/%3E%3Cpath d='M190 70 L175 66 L182 54' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  filter: opacity(var(--wps-arrow-opacity, 0.35));
}

.wps-work-process .wps-media{
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

/* Number badge */
.wps-work-process .wps-badge{
  position: absolute;
  top: -8px;
  left: -12px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--wps-yellow);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Dotted circle wrapper */
.wps-work-process .wps-img{
  width: 190px;
  height: 190px;
  border-radius: 999px;
  border: 2px dashed var(--wps-yellow);
  display: grid;
  place-items: center;
  padding: 18px;
}

.wps-work-process .wps-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

/* Placeholder if image not provided */
.wps-work-process .wps-placeholder{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(156,163,175,0.18);
}

.wps-work-process .wps-step-title{
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--wps-title);
}

.wps-work-process .wps-step-text{
  margin: 0;
  color: var(--wps-text);
  font-size: 15px;
  line-height: 1.8;
}

/* Responsive: stack & change arrows to down */

/* Responsive: 2 columns on tablets */
@media (max-width: 1100px){
  .wps-work-process{ --wps-card-gap: 55px; }
  .wps-work-process .wps-steps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wps-work-process .wps-step:not(:last-child)::after{
    right: calc(var(--wps-card-gap) * -0.55);
    width: 120px;
    height: 70px;
  }
}

@media (max-width: 900px){
  .wps-work-process{ --wps-card-gap: 45px; }
  .wps-work-process .wps-steps{ grid-template-columns: 1fr; }

  .wps-work-process .wps-step{ padding-bottom: 25px; }

  .wps-work-process .wps-step:not(:last-child)::after{
    top: auto;
    right: auto;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%) rotate(90deg);
    width: 90px;
    height: 60px;
  }
}
