Iran is a theocracy, with a dictator at the top. a long way from  a democracy, regardless of how educated its population is.
"According to the Islamic Republic’s constitution, only men who believe in the 'absolute sovereignty of the jurist [Ayatollah]' can be nominated for the office of the president."
  (Saeed Rahnema, retired professor of political science and public policy at York University)