Marine to continental transition in Himalayan foreland