The honest answer is two-part. In your 20s, optimise for the steepest learning curve you can find, even if it pays ₹ 2 LPA less than your batchmate's offer at TCS. In your 30s,...
Your resume probably isn't broken, rather it's whispering when it should be pointing. The gap you took and the jobs you did are all fine. What's quietly killing your callback rate is a page...