<!-- Mobile Footer Navigation -->
<div id="mobile-footer-nav">
    <ul>
        <li>
            <a href="super_admin_dashboard.php" <?php echo (basename($_SERVER['PHP_SELF']) == 'super_admin_dashboard.php') ? 'class="active"' : ''; ?>>
                <i class="fas fa-th-large"></i>
                <span>Dashboard</span>
            </a>
        </li>
        <li>
            <a href="super_admin_schools.php" <?php echo (basename($_SERVER['PHP_SELF']) == 'super_admin_schools.php') ? 'class="active"' : ''; ?>>
                <i class="fas fa-school"></i>
                <span>Schools</span>
            </a>
        </li>
        <li>
            <a href="super_admin_broadcast.php" <?php echo (basename($_SERVER['PHP_SELF']) == 'super_admin_broadcast.php') ? 'class="active"' : ''; ?>>
                <i class="fas fa-bullhorn"></i>
                <span>Broadcast</span>
            </a>
        </li>
        <li>
            <a href="#" id="moreMenuButton">
                <i class="fas fa-ellipsis-h"></i>
                <span>More</span>
            </a>
        </li>
    </ul>
</div>

<style>
/* Mobile Footer Navigation */
#mobile-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    display: none;
}

#mobile-footer-nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

#mobile-footer-nav li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-footer-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    font-size: 10px;
    font-weight: 500;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

#mobile-footer-nav a i {
    font-size: 22px;
    margin-bottom: 4px;
}

#mobile-footer-nav a.active {
    color: #4f46e5;
}

@media (max-width: 768px) {
    #mobile-footer-nav {
        display: block;
    }
    .main-content {
        padding-bottom: 90px;
    }
    .sidebar {
        display: none;
    }
}
</style>