<div class="page-banner">
    <div class="container">
        <h2>Alumni Team</h2>
        <p>Honoring our former team members who contributed to Alpha Genomics</p>
        <div class="breadcrumb">
            <a href="/">Home</a>
            <span class="separator"><i class="fas fa-chevron-right"></i></span>
            <span>Alumni Team</span>
        </div>
    </div>
</div>

<section class="page-content">
    <div class="container">
        <div class="section-title fade-in-up">
            <h2>Our Alumni</h2>
            <p>We are grateful for the contributions of our former team members who helped shape Alpha Genomics</p>
        </div>
        <?php if (!empty($alumni)): ?>
        <div class="team-grid">
            <?php foreach ($alumni as $member): ?>
            <div class="team-card fade-in-up">
                <?php if ($member['image_url']): ?>
                <div class="team-card-image">
                    <img src="<?= htmlspecialchars($member['image_url']) ?>" alt="<?= htmlspecialchars($member['name']) ?>">
                    <div class="team-social">
                        <?php if (!empty($member['linkedin'])): ?>
                        <a href="<?= htmlspecialchars($member['linkedin']) ?>" target="_blank" title="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
                        <?php endif; ?>
                        <?php if (!empty($member['email'])): ?>
                        <a href="mailto:<?= htmlspecialchars($member['email']) ?>" title="Email"><i class="fas fa-envelope"></i></a>
                        <?php endif; ?>
                        <?php if (!empty($member['twitter'])): ?>
                        <a href="<?= htmlspecialchars($member['twitter']) ?>" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a>
                        <?php endif; ?>
                        <?php if (!empty($member['facebook'])): ?>
                        <a href="<?= htmlspecialchars($member['facebook']) ?>" target="_blank" title="Facebook"><i class="fab fa-facebook-f"></i></a>
                        <?php endif; ?>
                    </div>
                </div>
                <?php endif; ?>
                <div class="team-card-body">
                    <h3><?= htmlspecialchars($member['name']) ?></h3>
                    <span><?= htmlspecialchars($member['position']) ?></span>
                    <p><?= htmlspecialchars($member['bio']) ?></p>
                </div>
            </div>
            <?php endforeach; ?>
        </div>
        <?php else: ?>
        <div class="text-center" style="padding: 60px 0;">
            <p>No alumni members to display at this time.</p>
        </div>
        <?php endif; ?>
    </div>
</section>
