Countries are not designed but are founded with a purpose or on the basis of ideology. Pakistan was founded for Muslims of India as they didn't want to live in undivided India. Muslims got this country to practice their religion freely.
Hinduism is not actually a religion and it is a way of life. It was not founded by anybody. It is more ancient than any other religion. It took into various beliefs of the prevailing faiths in the ancient India.