Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The civic duty badge says it's granted for casting 300 votes but I got it after casting only 295 (here on meta).
Maybe it's counting other vote types...
The badge was counting votes on deleted posts, I just amended it so it consistent with the rest of the counts elsewhere.
Votes now only count on non-deleted posts (towards badges)
Badge will not be fixed retroactively, if you got it a bit early that is fine by me.