You've sent in your resume for a job you feel you can do and are interested in doing. You were invited for a face-to-face interview. All signs point to you being a "fit" to the corporate culture. So, why did you not get the job?
It is essential that you prepare ahead of time for a face-to-face interview. It is likewise important to "review" what took place during the face-to-face opportunity you were given to sell yourself. How did you do? What took place at the initial interaction? Did you approach smiling and with a firm handshake or were you so nervous that it got in your way? Were your responses to their questions right on, highlighting the best of what you have to offer? Did you stick to answering the question that was asked or did you veer off into lengthy tangents?
What would you have done better? Were you able to state clearly how you were able and willing to do the job in the specific organization and department? Remember that you can always learn on the job specifics but you can't be motivated where you have little or no interest. That will likely show through for a good interviewer and it is important. They are looking for your skill and your interest but also they need to be able to visualize you as a member of the team. How do you feel you did in that regard?