<!-- templates/includes/footer.html -->
{% load static %}
<footer class="rb-footer">
    <div class="rb-footer-inner">

        <!-- Brand column -->
        <div class="rb-footer-brand">
            <picture>
                <source srcset="{% static 'admin/img/logo-nav.webp' %}" type="image/webp">
                <img src="{% static 'admin/img/logo-nav.png' %}" alt="Rapha-Bethel" width="40" height="40">
            </picture>
            <div>
                <div class="rb-footer-name">Rapha-Bethel BNPS</div>
                <div class="rb-footer-tagline">Bilingual Nursery &amp; Primary School</div>
                <a href="https://raphabethel.org/BNPS" target="_blank" rel="noopener" class="rb-footer-link">
                    <i class="fas fa-globe"></i> School Website
                </a>
                <a href="https://raphabethel.org/portal/RaphaBethel_User_Guides-School_Management_System.pdf" target="_blank" rel="noopener" class="rb-footer-link">
                    <i class="fas fa-book"></i> User Guide
                </a>
            </div>
        </div>

        <!-- Contact column -->
        <div class="rb-footer-col">
            <div class="rb-footer-heading">Contact</div>
            <a href="tel:+237670177979" class="rb-footer-link">
                <i class="fas fa-phone-alt"></i> +237 6 70 17 79 79
            </a>
            <a href="mailto:info@raphabethel.org" class="rb-footer-link">
                <i class="fas fa-envelope"></i> info@raphabethel.edu
            </a>
            <span class="rb-footer-link">
                <i class="fas fa-map-marker-alt"></i> Douala, Cameroon
            </span>
        </div>

        <!-- Quick Links column -->
        <div class="rb-footer-col">
            <div class="rb-footer-heading">Quick Links</div>
            {% if user.is_authenticated %}
            <a href="{% url 'dashboard' %}" class="rb-footer-link"><i class="fas fa-th-large"></i> Dashboard</a>
            <a href="{% url 'students:student_list' %}" class="rb-footer-link"><i class="fas fa-user-graduate"></i> Students</a>
            {% if user.is_superuser %}<a href="{% url 'admin:index' %}" class="rb-footer-link"><i class="fas fa-shield-alt"></i>Backend Admin</a>{% endif %}
            {% else %}
            <a href="{% url 'staff:login' %}" class="rb-footer-link"><i class="fas fa-sign-in-alt"></i> Staff Login</a>
            {% endif %}
        </div>

    </div>

    <div class="rb-footer-bottom">
        &copy; {% now "Y" %} Vi-2s-Dk Foundation &middot; All rights reserved
    </div>
</footer>
