The birthday paradox

I'm retired now, but when I was a teacher I used to have classes with exactly 30 students. At the beginning of the school year I told these classes: “I bet at least two of you have the same birthday.”
I was proven right in 70% of the cases.
For many people, this result is counterintuitive. They call it the birthday paradox.
Can you explain this good result?