There is nothing wrong with either your age or your question. This site only limits access by behavior, not by age.
Instead of a card, why not write your teacher a note saying how much you appreciate the efforts he/she makes on your behalf with your birthday wish.