Switching phases of 36v motor with MOSFETs

I have a 350w 36v hub (bldc) motor and a controller that are connected with 3 phase wires. The problem is the controller doesn't have a revese feature (it's a bicycle ESC). So I need in some way switch the phase to phase connection
I need two states
State 1 reverse
ESC green phase => Motor blue phase
ESC blue phase => Motor green phase

State 2 forward
ESC green phase => Motor green phase
ESC blue phase => Motor blue phase

I couldn't find a relay that would work with 36v and 10A. So I am thinking to use MOSFETs instead with my arduino, but I haven't used MOSFET before so I need some advice, can anyone help?

When switching between forward and reverse I first will turn the motor and controller off to switch safely

Get a controller that does both directions, you cannot live-switch a motor like that, the inductive
surges will fry the existing driver and possibly weld the relay contacts...