India isn't an imperialist power with aims to subjugate any specific country.
Both US and China have undertaken policies counter-productive for Indian interets. They both still do it and it's spammed over everywhere in this forum.
Collapse of Soviet Union didn't blew up a nuclear war. It depends upon how nukes are managed.
India has faced intervention from west against annexing Pakistan even when Pak wasn't a nuclear power.
Pakistan was created to contain India to prevent rise of another USSR or China, not to serve Indian interests. 1971 turned the tables. So, both China and the US at least turned blind eyes if not entirely assisted them to acquire nuclear weapons.
The collapse of first Pakistani state in 1971 made India relieve its forces from eastern front building a big expeditionary military and focus on China. The collapse of second will end absolute intervention of US and China in South Asia.
Pakistan is only South Asian country which isn't dependent on India but seeks others to contain India. India has grip on all others.
Signals never lasted more than a lip job and Indo-Soviet treaty of friendship was signed much later. Even after collapse of USSR when India literally joined the capitalist bloc, it was always pushed under heavy sanctions while China used to get away for same set of actions.
AfPak belt had Iran in West, USSR in North, China in East and India in South which is sufficient reason to work with those states.
It's anyway US opposition to India's reintegration projects and not India's reluctance which pushed India away from them. They were imperialists and we are a rebellious former colony of one of those countries. It's quite obvious that our politics in this regard is different.
en.m.wikipedia.org
View attachment 112721View attachment 112722
Pakistan was an essential tool to contain India. They were protected by P5 by imposing Tashkent treaty on India but did lose half of country leaving no local power to contain India in IOR. Somehow, industrial, technological and economic advantages started in appear in India after 1980s which earned India some "acceptance in western public". It didn't change the western governmental attitude towards much even till 2000s.
Onus of cooperation never lied on India. It has only struggled to survive and now is being invited by west to fight China.
Both Indian and US interests and policies converge there very well. In case of a world war, India and the US might fight alongside and use each others' bases too.
For the time being till then, India maintains a huge military unlike other US allies and doesn't need US troops onboard. So, India doesn't need to go beyond where it is sitting today as far as Indo-US relationship is concerned. India just has to maintain its influence in Indian ocean region and continue to grow itself in all aspects.