while 99 percent of the population was muslim , the country adhered to its secular makeup , which included banning by law head cover in government buildings , schools , and universities , for both males and females .