Assad regime was secular. That's why the islamic revolutionaries have been trying to topple it, for decades, and institute sharia. Which they are now busy doing.
Secular regimes in Muslim-majority countries are inherently unstable. Just look at Egypt. As soon as they could freely vote, they voted in the Muslim Brotherhood.