Nifty IT gains momentum as Q1 earnings boost sentiment