How does the Indian Constitution balance religious diversity while ensuring a secular identity?

The news highlights debates about the influence of religion on the Indian Constitution. I want to understand how the Constitution manages to accommodate different religions while maintaining a secular character.