Getting a PhD in science (or anything else really), has very little to do with being intelligent and everything to do with really really wanting it and being willing to put in the hard work. I know several very intelligent people who failed to get their PhD because they found it more work than they where willing to do, and I know several people with fairly mediocre grades who got PhDs because it was what they really wanted and they where willing to do the work and not give up.