
<?php
function gp_icon($type) {
    $icons = [
        'arrow' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M13.2 5.3 20 12l-6.8 6.7-1.4-1.4 4.4-4.3H4v-2h12.2l-4.4-4.3 1.4-1.4Z"/></svg>',
        'check' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m9.2 16.2-4.2-4.2-1.4 1.4 5.6 5.6L21 7.2l-1.4-1.4L9.2 16.2Z"/></svg>',
        'shield' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2 4 5.4v5.8c0 5 3.4 9.7 8 10.8 4.6-1.1 8-5.8 8-10.8V5.4L12 2Z"/></svg>',
        'vial' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 2h6v2h-1v5.2l4.4 7.6A3.5 3.5 0 0 1 15.4 22H8.6a3.5 3.5 0 0 1-3-5.2L10 9.2V4H9V2Z"/></svg>',
        'search' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M10.8 4a6.8 6.8 0 1 0 0 13.6 6.8 6.8 0 0 0 0-13.6Zm5.6 10 4.1 4.1-1.4 1.4-4.1-4.1 1.4-1.4Z"/></svg>',
        'globe' => '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 9h-3.1a15.5 15.5 0 0 0-1.2-5A8 8 0 0 1 18.9 11ZM12 4.1c.8 1.1 1.5 2.8 1.8 4.9h-3.6c.3-2.1 1-3.8 1.8-4.9ZM4.1 13h3.1c.2 1.8.6 3.5 1.2 5A8 8 0 0 1 4.1 13Zm3.1-2H4.1A8 8 0 0 1 8.4 6a15.5 15.5 0 0 0-1.2 5ZM12 19.9c-.8-1.1-1.5-2.8-1.8-4.9h3.6c-.3 2.1-1 3.8-1.8 4.9Z"/></svg>'
    ];

    return $icons[$type] ?? $icons['arrow'];
}

$regions = [
    ['title' => 'Europe & CIS', 'countries' => 'United Kingdom, Russia, Uzbekistan, Turkmenistan, Georgia, Kyrgyzstan.'],
    ['title' => 'Africa', 'countries' => 'Uganda, Kenya, Tanzania, Namibia, Malawi, Cameroon, Mozambique, Mauritius, Congo, Angola, Madagascar, Mali.'],
    ['title' => 'Middle East', 'countries' => 'Yemen, Iraq, Oman.'],
    ['title' => 'Asia & SE Asia', 'countries' => 'Nepal, Myanmar, Cambodia, Maldives, Thailand, Philippines.'],
    ['title' => 'Americas', 'countries' => 'Panama, Venezuela, Bolivia, Ecuador, Peru, Honduras.']
];

$compliance_items = [
    ['icon' => 'shield', 'title' => 'International Certifications', 'desc' => 'Our facility and processes are certified by WHO, GMP, GLP, and ISO.'],
    ['icon' => 'check', 'title' => 'Country-Specific Approvals', 'desc' => 'Dedicated registrations for Uganda, Kenya, Tanzania, Malawi, Yemen, Nepal, and Namibia.'],
    ['icon' => 'vial', 'title' => 'Rigorous Quality Control', 'desc' => 'Every batch undergoes detailed inspection in our QC and Microbiology labs before dispatch.'],
    ['icon' => 'search', 'title' => 'Standardized Production', 'desc' => 'We use high-quality injectable-grade APIs meeting global pharmacopoeia standards.']
];
?>

<section class="global-hero section" aria-labelledby="globalTitle">
    <div class="site-container global-hero-copy">
        <nav class="breadcrumbs" aria-label="Breadcrumb">
            <a href="<?= $base_url ?>/">Home</a>
            <span class="separator">/</span>
            <span>Global Presence</span>
        </nav>

        <span class="section-eyebrow">Global Presence</span>

        <h1 id="globalTitle">
            A Trusted Partner in <span>Global Healthcare</span>
        </h1>

        <p class="global-lead">
            Providing high-quality sterile medicines to healthcare providers and patients across more than 30 countries.
        </p>

        <p>
            At Sanjar Pharma, our commitment to "CARE IS GROWTH" extends far beyond our manufacturing facility in Gujarat. We have strategically scaled our operations to meet international pharmaceutical demands, currently exporting approximately 98% of our total production.
        </p>
    </div>
</section>

<section class="global-map-section section-sm section-surface" aria-labelledby="mapTitle">
    <div class="site-container">
        <div class="section-head centered-head">
            <div>
                <span class="section-eyebrow">International Markets</span>
                <h2 id="mapTitle" class="section-title">A Trusted Name in <span>30+ Countries</span></h2>
                <p>Reliable supply chains across global markets.</p>
            </div>
        </div>

        <div class="map-card card">
            <div id="map" aria-label="Sanjar Pharma global presence map"></div>
        </div>
    </div>
</section>

<section class="global-reach-section section" aria-labelledby="reachTitle">
    <div class="site-container reach-grid">
        <article class="market-reach card card-pad">
            <h2 id="reachTitle">Our International Reach</h2>
            <p>Our products are registered and trusted in a diverse range of international markets across five continents:</p>

            <div class="region-list">
                <?php foreach ($regions as $region): ?>
                    <div class="region-item">
                        <h3><?= htmlspecialchars($region['title'], ENT_QUOTES, 'UTF-8') ?></h3>
                        <p><?= htmlspecialchars($region['countries'], ENT_QUOTES, 'UTF-8') ?></p>
                    </div>
                <?php endforeach; ?>
            </div>
        </article>

        <article class="compliance-box">
            <h2>Global Quality & Compliance</h2>

            <div class="compliance-list">
                <?php foreach ($compliance_items as $item): ?>
                    <div class="compliance-item">
                        <span class="icon-sq"><?= gp_icon($item['icon']) ?></span>
                        <div>
                            <h3><?= htmlspecialchars($item['title'], ENT_QUOTES, 'UTF-8') ?></h3>
                            <p><?= htmlspecialchars($item['desc'], ENT_QUOTES, 'UTF-8') ?></p>
                        </div>
                    </div>
                <?php endforeach; ?>
            </div>
        </article>
    </div>
</section>

<style>

</style>

