<?php
include __DIR__ . '/../includes/header.php';
?>

<section class="section">
  <div class="container">

    <!-- Dashboard Header -->
    <div style="margin-bottom:28px;">
      <h1 style="font-size:28px; font-weight:800; margin-bottom:6px;">
        Institution Dashboard
      </h1>
      <p style="color:var(--muted);">
        Manage learning insights, coding challenges, and certifications from one place.
      </p>
    </div>

    <!-- Dashboard Cards -->
    <div class="grid">

      <!-- Learning Insight -->
      <div class="card">
        <h3>Learning Style Assessment</h3>
        <p>
          Understand how students learn through pattern-based assessments
          without marks or exam pressure.
        </p>
        <div style="margin-top:16px;">
          <a href="../manual_mode_setup.php" class="btn btn-primary">
            Start Assessment
          </a>
        </div>
      </div>

      <!-- Coding Challenges -->
      <div class="card">
        <h3>Coding Challenges</h3>
        <p>
          Structured coding tracks designed to build logical thinking
          and real-world problem-solving skills.
        </p>
        <div style="margin-top:16px;">
          <a href="../coding/tracks.php" class="btn btn-primary">
            View Coding Tracks
          </a>
        </div>
      </div>

      <!-- Certificates -->
      <div class="card">
        <h3>Certificates</h3>
        <p>
          Generate professional participation certificates
          recognizing student effort and demonstrated skills.
        </p>
        <div style="margin-top:16px;">
          <a href="../certificates/generate_certificate_pdf.php" class="btn btn-primary">
            Preview Certificate
          </a>
        </div>
      </div>

    </div>

  </div>
</section>

<?php
include __DIR__ . '/../includes/footer.php';
?>
