<?xml version="1.0" encoding="UTF-8"?>
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
>

  <!-- ==================== Core Pages ==================== -->

  <!-- Homepage — highest priority, content refreshed regularly -->
  <url>
    <loc>https://mpa.com.pk/</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Classes listing — primary entry point for students -->
  <url>
    <loc>https://mpa.com.pk/classes</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- About — institutional page, rarely changes -->
  <url>
    <loc>https://mpa.com.pk/about</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Privacy Policy — legal page, rarely changes -->
  <url>
    <loc>https://mpa.com.pk/privacy-policy</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!-- ==================== Class Pages ==================== -->

  <!-- 1st Year / Part I Mathematics -->
  <url>
    <loc>https://mpa.com.pk/classes/first-year-xl</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- 2nd Year / Part II Mathematics -->
  <url>
    <loc>https://mpa.com.pk/classes/second-year-xll</loc>
    <lastmod>2026-06-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!--
    NOTE: Subject and content browser URLs (/classes/:classSlug/:subjectSlug/browse)
    are dynamically generated from Firestore and are not listed here as static entries.
    They will be discovered by search engines naturally via internal links from the class pages.

    EXCLUDED (private/admin — blocked in robots.txt):
      /login
      /admin
      /admin/classes
      /admin/subjects
      /admin/content
      /settings
      /404
  -->

</urlset>
