<!-- FOOTER -->
<footer class="footer mt-5 pt-5 text-white" style="background: linear-gradient(90deg, #084D36 0%, #CC9933 80%);">
  <div class="container">
    <div class="row gy-4">

      <!-- Tentang LPM -->
      <div class="col-md-4">
        <h5 class="fw-bold mb-3">Tentang LPM UNIRU</h5>
        <p>
          Lembaga Penjaminan Mutu (LPM) Universitas Riyadlul Ulum Tasikmalaya berkomitmen menjaga dan meningkatkan mutu akademik serta tata kelola universitas melalui penerapan Sistem Penjaminan Mutu Internal dan Eksternal (SPMI & SPME).
        </p>
      </div>

      <!-- Link Cepat -->
      <div class="col-md-4">
        <h5 class="fw-bold mb-3">Link Cepat</h5>
        <ul class="list-unstyled">
          <li><a href="<?= base_url('profil.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>Profil</a></li>
          <li><a href="<?= base_url('kegiatan.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>Kegiatan</a></li>
          <li><a href="<?= base_url('berita.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>Berita</a></li>
          <li><a href="<?= base_url('dokumen.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>Dokumen Mutu</a></li>
          <li><a href="<?= base_url('spme.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>SPME</a></li>
          <li><a href="<?= base_url('kontak.php'); ?>" class="footer-link"><i class="fa fa-angle-right me-2"></i>Kontak</a></li>
        </ul>
      </div>

<!-- Kontak -->
<div class="col-md-4">
  <h5 class="fw-bold mb-3">Kontak Kami</h5>

  <p>
    <i class="fa fa-map-marker-alt me-2"></i>
    Kp. Leuwigenta Kel. Setianagara Kec. Cibeureum, Kota Tasikmalaya, Jawa Barat 46196
  </p>

  <p>
    <i class="fa fa-envelope me-2"></i>
    lpm@uniru.ac.id
  </p>

  <p>
    <i class="fab fa-whatsapp me-2 text-white"></i>
    <a href="tel:+6282119362686" class="contact-phone">
      +62 821-1936-2686 (Dr. Dadang)
    </a>
  </p>

  <!--<div class="mt-3">-->
  <!--  <a href="https://facebook.com/uniru" class="social-link me-3">-->
  <!--    <i class="fab fa-facebook fa-lg"></i>-->
  <!--  </a>-->
  <!--  <a href="https://instagram.com/lpm.uniru" class="social-link me-3">-->
  <!--    <i class="fab fa-instagram fa-lg"></i>-->
  <!--  </a>-->
  <!--  <a href="https://youtube.com/@uniru" class="social-link">-->
  <!--    <i class="fab fa-youtube fa-lg"></i>-->
  <!--  </a>-->
  </div>
</div>

    </div>

    <hr class="mt-5 mb-3" style="border-color: rgba(255,255,255,0.3);">

    <div class="text-center pb-3">
      <small>&copy; <?= date('Y'); ?> Lembaga Penjaminan Mutu Universitas Riyadlul Ulum (LPM UNIRU) Tasikmalaya. Semua hak cipta dilindungi.</small>
    </div>
  </div>
</footer>

<!-- Back to top -->
<button id="backToTop" class="btn btn-light rounded-circle position-fixed" style="bottom: 25px; right: 25px; display: none;">
  <i class="fa fa-arrow-up"></i>
</button>

<script>
  // Tombol back to top
  const backToTop = document.getElementById("backToTop");
  window.addEventListener("scroll", () => {
    if (window.scrollY > 200) {
      backToTop.style.display = "block";
    } else {
      backToTop.style.display = "none";
    }
  });
  backToTop.addEventListener("click", () => {
    window.scrollTo({ top: 0, behavior: "smooth" });
  });
</script>

<!-- Schema.org untuk SEO -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "CollegeOrUniversity",
  "name": "Universitas Riyadlul Ulum (UNIRU)",
  "department": {
    "@type": "EducationalOrganization",
    "name": "Lembaga Penjaminan Mutu (LPM)",
    "url": "<?= esc($page_url); ?>",
    "sameAs": [
      "https://facebook.com/uniru",
      "https://instagram.com/lpm.uniru",
      "https://youtube.com/@uniru"
    ],
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "Jl. Raya Manonjaya No. 20",
      "addressLocality": "Tasikmalaya",
      "addressRegion": "Jawa Barat",
      "postalCode": "46197",
      "addressCountry": "ID"
    },
    "telephone": "(0265) 123-456",
    "email": "lpm@uniru.ac.id"
  }
}
</script>

<style>
  .footer-link {
    color: white;
    text-decoration: none;
    transition: 0.3s;
  }
  .footer-link:hover {
    color: #FFFF99;
    padding-left: 5px;
  }
  .social-link {
    color: white;
    transition: 0.3s;
  }
  .social-link:hover {
    color: #FFFF99;
    transform: scale(1.2);
  }
  #backToTop {
    background-color: #CC9933;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  }
  #backToTop:hover {
    background-color: #084D36;
  }
  .contact-phone {
  text-decoration: none;
  color: white;               /* Warna natural, elegan */
  font-weight: 500;
  transition: color .2s ease;
}

.contact-phone:hover {
  color: #0f7a3f;            /* hijau lembut (sesuai tema UNIRU) */
  text-decoration: none;
}
</style>

</body>
</html>
