Of course, this is just a rough sketch, but you get the general idea I'm sure. The blue circles show where you should have the blue ball placed for each part of the foot, since the entire thing needs to rotate around the ankle. Here's an example in Techne to give you a better idea;
All of those parts share the same position, ie the blue ball is in the same place for all of them, and they're offsetted and rotated around into their current positions.
Sorry in advance if I've come off as treating you dumb in this post, I was just trying to be thorough and give as much detail as possible.