Pakistan has struggled to cope with the heaviest rains in more than a decade, leading to widespread flooding that killed nearly 1,000 people and left millions more homeless. More than 30 million people have been affected by the floods, one of the worst floods in Pakistan’s history.