<section class="features-section">
    <div class="container">
        <div class="row">
            <div class="col-lg-7">
                <h2>Contact <span style="color:var(--secondary)">Us</span></h2>
                <p class="text-secondary mb-4">Have questions? We'd love to hear from you.</p>
                <?php if (!empty($success)): ?><div class="alert-cix alert-cix-success"><i class="fas fa-check-circle"></i> <?= $success ?></div><?php endif; ?>
                <?php if (!empty($error)): ?><div class="alert-cix alert-cix-error"><i class="fas fa-exclamation-circle"></i> <?= $error ?></div><?php endif; ?>
                <div class="card-cix">
                    <form method="POST">
                        <?= csrf_field() ?>
                        <div class="form-group-cix"><label class="form-label-cix">Name *</label><input type="text" name="name" class="form-control-cix" required></div>
                        <div class="form-group-cix"><label class="form-label-cix">Email *</label><input type="email" name="email" class="form-control-cix" required></div>
                        <div class="form-group-cix"><label class="form-label-cix">Message *</label><textarea name="message" class="form-control-cix" rows="5" required></textarea></div>
                        <button type="submit" class="btn-cix btn-cix-primary"><i class="fas fa-paper-plane me-1"></i> Send Message</button>
                    </form>
                </div>
            </div>
            <div class="col-lg-5">
                <div class="card-cix mb-3">
                    <h5><i class="fas fa-map-marker-alt text-orange me-2"></i> Office</h5>
                    <p class="text-secondary">012 004 0207</p>
                </div>
                <div class="card-cix mb-3">
                    <h5><i class="fab fa-whatsapp me-2" style="color:#25D366"></i> WhatsApp</h5>
                    <p class="text-secondary">083 759 8075</p>
                    <a href="https://wa.me/27837598075" class="btn-cix btn-cix-sm btn-cix-accent" target="_blank">Chat on WhatsApp</a>
                </div>
                <div class="card-cix mb-3">
                    <h5><i class="fas fa-envelope text-orange me-2"></i> Email</h5>
                    <p class="text-secondary">academic@cixconnect.co.za</p>
                </div>
                <div class="card-cix">
                    <h5><i class="fas fa-globe text-orange me-2"></i> Website</h5>
                    <a href="https://cixconnect.co.za" target="_blank">cixconnect.co.za</a>
                </div>
            </div>
        </div>
    </div>
</section>
