I've just sold my iPhone 5S. Paranoia has kicked in?

So I went to Settings>General>Reset and clicked Erase all content and settings and when the phone turned itself back on I did a hard reset (holding down home button, volume button and power button for 10 secs) and again that reset itself and when I checked it seemed like a brand new phone but now IIm just worried that my text messages/pictures/iCloud account will still be on that phone? Can somebody please put my mind at ease?!

If you erased all content and settings then you are fine.