The impact of a 7.7-magnitude earthquake in remote southwestern Pakistan was also felt in Karachi, the country's biggest city, where office workers rushed to flee buildings.