.work-process-section,
.work-process-section * {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.work-process-section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
  overflow: hidden;
  background-image: linear-gradient(160deg, #07051a 0%, #0d0828 35%, #0a0622 70%, #060417 100%);
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.work-process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/oscillation-wave.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Content alignment via .site-wrap (header.php) */
.work-process-container {
  margin-left: 0 !important;
  width: 100%;
}

.work-process-header {
  text-align: center;
}

.work-process-header .aptly-section-heading {
  font-weight: 600;
  display: inline-block;
}

.work-process-description {
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgb(209 213 219);
  font-size: clamp(var(--font-sm), 1.1vw, 0.95rem);
  line-height: 1.7;
  font-weight: 500;
  padding: 0 0.5rem;
}

.work-process-steps-container {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.work-process-steps-wrapper {
  position: relative;
  width: 100%;
}

/* Top: light blue/teal dotted grid line */
.work-process-flow-line {
  position: absolute;
  top: 0;
  height: 0;
  border-top: 2px dotted rgba(0, 165, 168, 0.85);
  z-index: 1;
  left: 0;
  width: 100%;
}

.work-process-steps-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}

.work-process-step {
  width: 200px;
  min-width: 140px;
  position: relative;
  padding-top: 1rem;
  z-index: 2;
  text-align: center;
}

.work-process-connector {
  position: absolute;
  top: 0;
  height: 4rem;
  width: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 2px dotted rgba(0, 165, 168, 0.85);
}

.work-process-number,
.work-process-step-title,
.work-process-step-description {
  color: var(--color-inverse);
}

.work-process-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-top: 5rem;
  display: block;
}

.work-process-step-title {
  font-size: clamp(var(--font-sm), 1.1vw, var(--font-base));
  font-weight: 400;
  margin-bottom: 1rem;
}

.work-process-step-description {
  font-size: clamp(0.7rem, 0.9vw, var(--font-xs));
  line-height: 1.6;
}

/* --- XL screens (1600px+) --- */
@media (min-width: 1600px) {
  .work-process-section {
    padding-top: 6.5rem;
    padding-bottom: 7.5rem;
  }

  .work-process-description {
    max-width: 1000px;
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  }

  .work-process-steps-container {
    margin-top: 4.5rem;
  }

  .work-process-step {
    width: 220px;
    min-width: 160px;
  }

  .work-process-number {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  }

  .work-process-step-title {
    font-size: clamp(0.9375rem, 1.2vw, var(--font-lg));
  }

  .work-process-step-description {
    font-size: clamp(var(--font-xs), 1vw, var(--font-sm));
  }
}

/* --- TABLET --- */
@media (max-width: 1024px) {
  .work-process-flow-line,
  .work-process-connector {
    display: none;
  }

  .work-process-steps-grid {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .work-process-step {
    width: 100%;
    max-width: 480px;
    min-width: unset;
  }

  .work-process-number {
    margin-top: 0;
  }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .work-process-section {
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .work-process-header .aptly-section-heading {
    font-size: var(--font-2xl);
  }

  .work-process-description {
    font-size: var(--font-sm);
    padding: 0;
  }

  .work-process-steps-container {
    margin-top: 2rem;
  }

  .work-process-steps-grid {
    gap: 2rem;
  }

  .work-process-number {
    font-size: var(--font-4xl);
  }

  .work-process-step-title {
    font-size: var(--font-base);
  }

  .work-process-step-description {
    font-size: var(--font-xs);
  }
}

/* --- SMALL MOBILE --- */
@media (max-width: 480px) {
  .work-process-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .work-process-steps-grid {
    gap: 1.5rem;
  }

  .work-process-number {
    font-size: var(--font-2xl);
  }

  .work-process-step-title {
    font-size: var(--font-sm);
  }

  .work-process-step-description {
    font-size: var(--font-xs);
  }
}
