Strong quake hits Afghan-Pakistani border