This is very well studied in sociology and anthropology and has been for many decades. Kerala is a major case study in many fields because of this.
In addition, other states got very close to that literacy rate, but are probably managed quite differently to Kerala. Worth considering if people want to try to replicate Kerala's efforts without considering the wider context
> Education in Kerala has deep historical roots, dating back to the rule of local dynasties and the influence of colonial missionaries. The rulers of Travancore and Cochin played a crucial role in establishing schools and promoting learning, especially among marginalized communities. The British and Christian missionaries also made significant contributions by setting up institutions that emphasized modern education.
> In 1817, the Travancore government issued a royal decree stating that education should be provided to all, including women and lower castes. By the early 20th century, Kerala had already built a strong foundation for literacy, ensuring that access to education was widespread.
https://livekerala.com/blog/how-kerala-became-indias-most-li...
> much less pollution
Comparatively? Perhaps. One look at the Vembanad Lake and you'll know what I'm talking about: https://www.thehindu.com/news/cities/Kochi/high-levels-of-fa... It stinks these days.
> Kerala has a 96% literacy rate
Lieracy surveys aren't as rigorous; likely 5% to 20% drop from reported numbers: https://www.dataforindia.com/measuring-literacy/
> still holds much of the charm
As someone who visited Kerala multiple times a year, things have gotten worse both climate wise & pollution wise. Though, the monsoon gods still bless Kerala, it isn't as green as it used to be. I've found (under similar climatic conditions) the Sri Lankan lowlands (West coast) to be more greener. Ditto for rainforests of NE India & SE Asia.