In 19th-century India, the rigid caste system and gender norms severely restricted opportunities for women and lower castes.