For a PhD, the overall strength of a particular department is not as important as the specific faculty advisor you’d like to work with and how well their research interests match yours and whether their resources would permit you to do the type of work you’d like to do.