<div class="container-fluid">

<h2 class="fw-bold mb-4">
Institutional Benchmarking & Excellence Intelligence Center
</h2>

<div class="row g-3 mb-4">

<div class="col-md-4">
<div class="card border-0 shadow-sm">
<div class="card-body text-center">
<div class="text-muted">Governance Score</div>
<h1><?= (int)$stats['governance_score'] ?>%</h1>
</div>
</div>
</div>

<div class="col-md-4">
<div class="card border-0 shadow-sm">
<div class="card-body text-center">
<div class="text-muted">Operational Score</div>
<h1><?= (int)$stats['operational_score'] ?>%</h1>
</div>
</div>
</div>

<div class="col-md-4">
<div class="card border-0 shadow-sm">
<div class="card-body text-center">
<div class="text-muted">Institutional Excellence</div>
<h1><?= (int)$stats['excellence_score'] ?>%</h1>
</div>
</div>
</div>

</div>

<div class="row">

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

<div class="card border-0 shadow-sm mb-4">

<div class="card-header fw-bold">
Conference Benchmark Ranking
</div>

<div class="table-responsive">

<table class="table table-striped">

<thead>
<tr>
<th>ID</th>
<th>Conference</th>
<th>Submissions</th>
<th>Published</th>
</tr>
</thead>

<tbody>

<?php foreach($conferenceRows as $r): ?>

<tr>

<td><?= (int)$r['id'] ?></td>

<td>
<?= htmlspecialchars($r['conference_title']) ?>
</td>

<td><?= (int)$r['submissions'] ?></td>

<td><?= (int)$r['published'] ?></td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>

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

<div class="card border-0 shadow-sm">

<div class="card-header fw-bold">
Reviewer Excellence Ranking
</div>

<div class="table-responsive">

<table class="table table-striped">

<thead>
<tr>
<th>ID</th>
<th>Reviewer</th>
<th>Completed Reviews</th>
</tr>
</thead>

<tbody>

<?php foreach($reviewerRows as $r): ?>

<tr>

<td><?= (int)$r['id'] ?></td>

<td>
<?= htmlspecialchars($r['reviewer_name']) ?>
</td>

<td>
<?= (int)$r['reviews_completed'] ?>
</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

</div>

</div>

</div>

</div>

</div>
