<?php
// views/partials/footer.php

require_once __DIR__ . '/../../src/Helpers/Language.php';
?>
<footer class="bg-teal-950 text-teal-200 border-t border-teal-800/80 pt-12 pb-8 mt-16">
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
    
    <!-- Brand Info -->
    <div class="space-y-4 md:col-span-2">
      <div class="flex items-center gap-3">
        <div class="w-9 h-9 rounded-xl bg-amber-500 text-teal-950 font-black flex items-center justify-center text-lg">
          ف
        </div>
        <h3 class="font-extrabold text-white text-lg">
          <?= Language::t('academyName') ?>
        </h3>
      </div>
      <p class="text-xs text-teal-300/80 leading-relaxed max-w-md">
        <?= Language::t('footerDesc') ?>
      </p>
    </div>

    <!-- Quick Links -->
    <div class="space-y-3">
      <h4 class="text-white text-sm font-bold uppercase tracking-wider font-mono">
        <?= Language::t('quickLinks') ?>
      </h4>
      <ul class="space-y-2 text-xs">
        <li><a href="index.php" class="hover:text-amber-400 transition-colors">▶ <?= Language::t('exploreCourses') ?></a></li>
        <li><a href="index.php?page=portal" class="hover:text-amber-400 transition-colors">▶ <?= Language::t('myPortal') ?></a></li>
        <li><a href="index.php?page=portal#live" class="hover:text-amber-400 transition-colors">▶ <?= Language::t('liveClasses') ?></a></li>
      </ul>
    </div>

    <!-- Contact & Campus -->
    <div class="space-y-3">
      <h4 class="text-white text-sm font-bold uppercase tracking-wider font-mono">
        <?= Language::t('contactUs') ?>
      </h4>
      <div class="space-y-2 text-xs text-teal-300/80">
        <p class="flex items-center gap-2">
          <span>📍</span>
          <span><?= Language::t('location') ?></span>
        </p>
        <p class="flex items-center gap-2">
          <span>📧</span>
          <span>admissions@alfaruq.edu.ng</span>
        </p>
        <p class="flex items-center gap-2">
          <span>📞</span>
          <span>+234 803 123 4567</span>
        </p>
      </div>
    </div>

  </div>

  <div class="max-w-7xl mx-auto px-4 border-t border-teal-900 pt-6 text-center text-xs text-teal-400/60">
    <p>&copy; <?= date('Y') ?> <?= Language::t('footerRights') ?></p>
  </div>
</footer>
