Term: nerd crush
Example: i have such a huge nerd crush on our prof
Definition: a crush on someone that developed because of admiration for the person's skill/talent/intellectual abilities etc