Four years after the Taliban took power in Afghanistan, neighboring Pakistan is dealing with growing militant threats, strained relations with Kabul, and growing tensions along the border.