Dear, if all the fuses and relays are good, try disconnecting the battery for one 5 or ten minutes and then connect again. Maybe the car's computer took it as a mistake and blocked the circuit.
As for the trailer you should test it with a separate battery, without it being connected to the vehicle, and that the car's output tab matches its signals from the different lights of the trailer.