The cultural and religious changes over the centuries have made Pakistanis resilient and adaptable.