Creating an S-curved Stepper Component

I’m trying to build a custom stepper component with an S-curve shape in React I’ve explored using the MUI Stepper component but couldn’t achieve the desired design. even I tried pure html and CSS also but couldn’t make it near.

I’m quite new to web development, so I’m struggling to even create a basic curved line.

enter image description here

looking for documentation, sample code or anything might helpful to create this component.