Religion is the summit of this process of development of the mind. It demands the most subtle of minds to scale its heights and this is the goal of civilisations. The more subtle and penetrating the thoughts are, the more developed is the person or the society. Religion and spirituality are the highest degree of development of any person or society. Science, art, literature are various ways to train the mind to operate at subtle levels.
Technology is to serve the basic needs of man and as a medium of expression of the arts.
This far, and no further. With love, Gomu. You have mentioned that science and mathematics help the mind operate at subtler levels. While this is no doubt true, one must also be aware that science and mathematics have their limitations. They focus on the logical and rational side of things.