Nifty rises 1% to 23,996; IT stocks surge amid global tech selloff