Before the Buddhists wake up to the enquiry, would you allow a Hindu to answer your query?
Science and religion are both the same, Knowledge (Gnana, Vid - Vidya, Veda, Education, Knowing). There is no discord. One eggs the other forward.
Hinduism does not kill disenters or burn them on stakes. It invites them to intelligent discussions. While most Hindus are theists, atheism also has always been part of hindu philosophy. Two orthodox systems (Samkhya and Vaisesika - Atomic theory) were atheists, while a third 'Advaita Vedanta' could be theist as well as atheist. Many unorthodox systems also were atheistic (Jainism, Buddhism, Charvak, Lokayat, Ajivikas).
You can see the stirrings of atheism in the Rig-Vedic verse known as the 'Nasadeeya Sukta' which says:
'Who really knows? Who will here proclaim it?
Whence was it produced? Whence is this creation?
The gods came afterwards, with the creation of this universe.
Who then knows whence it has arisen?
Whence this creation has arisen
– perhaps it formed itself, or perhaps it did not –
the One who looks down on it, in the highest heaven, only He knows
or perhaps He does not know.'