Afghanistan and Saudi Arabia are known for their Shariah-based legal systems and authoritarian ways of governance. But the two Islamist governments are on divergent paths regarding women's work and education.

In the Saudi kingdom, where until a few years ago women were deprived of many social rights and freedoms, the women's employment rate has surged to 37%, according to U.S. and Saudi officials.

Saudis, Taliban Follow Different Paths on Women's Work, Education

In the high-tech industry, Saudi women's participation has gone up so much that recently U.S. Ambassador to Saudi Arabia Michael Ratney humorously suggested that U.S. tech hub Silicon Valley could take inspiration from Saudi Arabia's efforts to foster female entrepreneurship.

Saudis, Taliban Follow Different Paths on Women's Work, Education

"In the tech sector in Saudi Arabia, a third of the workforce is women — which as I understand it is higher than Silicon Valley," Ratney said at an event in July.

Saudis, Taliban Follow Different Paths on Women's Work, Education

The progress extends beyond the tech industry, with women securing positions in government and private companies and leading startups at unprecedented rates. Furthermore, literacy among young Saudi women 15 to 24 years of age has reached 99%, marking a significant milestone. In May, astronaut Rayyanah Barnawi became the first Arab woman in history to travel into space.

The kingdom also has appointed five female ambassadors, including Princess Reema bint Bandar Al Saud, who represents Saudi Arabia in the United States.

"Today in the kingdom, we have more women receiving advanced degrees than men," Al Saud said at an event in July jointly organized by the nonpartisan Atlantic Council and Georgetown University in Washington.

Crown Prince Mohammed bin Salman, who has been criticized in the past for his human rights violations, is credited with spearheading a reformist and developmental agenda that includes greater rights and opportunities for women.

Widely referred to as an authoritarian monarchy, Saudi Arabia still has no female ministers in the government or a woman in the royal court where the Saudi royal family decides nearly all of the kingdom's affairs.

But even there, change is expected.

"There are several women in leadership positions already, and I only expect it to increase with time," Sussan Saikali, a research associate at Arab Gulf States Institute, told VOA.

"The Saudi government has removed several laws that were previously restricting women's ability to work in certain sectors, while also passing several anti-discrimination and anti-harassment laws," she said.

Afghanistan, meanwhile, has witnessed a regression in women's access to fundamental human rights and freedoms under the Taliban regime, including setbacks in education and employment, purportedly based on Islamic and cultural justifications.

Habiba Sarabi, Afghanistan's former minister of women's affairs, believes the Taliban's extremist ideology stems from decades of internationalization of Islamic extremism sponsored by oil-rich Gulf monarchies, chiefly the Saudis.

"For too long, the Gulf countries invested heavily in Islamic extremism, but now they have realized their mistakes and have started pursuing a different civilizational path," Sarabi told VOA.

Many Islamic organizations, countries and experts have objected to the Taliban's misogynistic policies, calling them inconsistent with Islamic principles and values.

The Taliban, like Saudi Arabia, operate under an unelected supreme leader who wields unchecked power, accountable only to a divine authority.

"The man [Taliban supreme leader] in Kandahar thinks he is the representative of God and he is not bound by human laws," Sarabi said.

Taliban officials say they have restored women's Islamic rights to decency and seclusion, a statement met with skepticism by many Islamic scholars.

"We should not heed those people [countries] that chant for women's education but do not allow education for women wearing the hijab," Sheikh Mohammad Khalid, the Taliban's minister for the promotion of Islamic virtues and the prevention of vice, told a gathering of male tribal elders on Tuesday.

Riyadh has not recognized the Taliban as Afghanistan's legitimate government but has maintained contact with Taliban officials, most of whom travel to Saudi Arabia annually for the Islamic pilgrimage, Hajj.

During Hajj in June, Taliban Defense Minister Yaqub Mujahid was seen greeting Saudi Crown Prince Mohammed bin Salman, who is credited for backing women's rights in his country. But it is not clear if he advised Yaqub about women's rights in Islam. Yaqub is the son of the late Mullah Omar, one of the Taliban's founding leaders, who is still widely revered among Taliban leaders.