I think you can beat the game with any combination of pokemon.
That being said, without giving too much of content away, your team does seem ill-suited for some of the up coming battles.
Consider getting a Magnetzone, Ampharos, or some other electric type pokemon.
You will need one of these to fight the flying type gym leader and one of the PULSE pokemons.
As well, if it is possible, breed another Ralts but evolve it into a Gardevoir instead. A powerful fairy type will help tremendously in future battles.
Getting an Ice-ground type such as Mamoswine will also be useful. You will end up fighting a lot of powerful pokemon with 4x weakness to ice and 2x weakness to ground.
Again, it is up to you to decide which pokemon to run in your team. However, I strongly recommend getting powerful Fairy, Ice, Steel, and Electric type pokemon to deal with some of the future battles.
Don't forget to designate someone on your team to put down status effects.
It is almost impossible for you to beat the most recent gym leader without employing some tactics with status effects. The gym leader has 2 pokemon with base stats around 600. None of your pokemon at that point will be able to fight toe to toe, you will have to spam revives/cotton candy as you wither it down with either status effects or with pokemon moves used under Trick Room.