The Taliban have barred education for women and girls beyond sixth grade since they took control of Afghanistan in 2021.