Country, society and nation come before ideology: PM