<?php

require_once __DIR__ . '/_cms_helpers.php';

$lang =
    $lang ?? 'en';

?>

<section class="mb-5">

    <h2 class="section-title">
        <i class="fa fa-award text-primary"></i>

        <?= $lang === 'ar'
            ? 'الفهرسة والنشر العلمي'
            : 'Scientific Indexing & Publication' ?>
    </h2>

    <div class="row g-4">

        <?php

        $indexes = [

            [
                'title'=>'Scopus',
                'icon'=>'fa-database',
                'desc'=> $lang === 'ar'
                    ? 'فهرسة عالمية للأبحاث المحكمة'
                    : 'Global peer-reviewed indexing'
            ],

            [
                'title'=>'Crossref',
                'icon'=>'fa-link',
                'desc'=> $lang === 'ar'
                    ? 'معرفات DOI للأبحاث'
                    : 'DOI registration support'
            ],

            [
                'title'=>'Google Scholar',
                'icon'=>'fa-graduation-cap',
                'desc'=> $lang === 'ar'
                    ? 'أرشفة أكاديمية عالمية'
                    : 'Academic indexing visibility'
            ]

        ];

        foreach ($indexes as $idx):
        ?>

            <div class="col-lg-4">

                <div class="ec-kpi-card h-100">

                    <div class="ec-kpi-icon bg-info-subtle text-info">

                        <i class="fa <?= pcb_h($idx['icon']) ?>"></i>

                    </div>

                    <h4 class="fw-bold mb-3">
                        <?= pcb_h($idx['title']) ?>
                    </h4>

                    <div class="text-muted">
                        <?= pcb_h($idx['desc']) ?>
                    </div>

                </div>

            </div>

        <?php endforeach; ?>

    </div>

</section>
