<?php 
include '../includes/config.php'; // Sertakan koneksi
include '../includes/header.php'; // Ini sudah memuat <html>, <head>, dan Navbar
?>

<main>
    <section class="bg-light py-5">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-md-6">
                    <h1 class="fw-bold text-primary">TANGKIS</h1>
                    <p class="lead">Tempat Aduan Nonaktifkan Gratifikasi, Kecurangan, Indikasi Simpang Etik dan Disiplin <strong> </strong></p>
                    <a href="lapor.php" class="btn btn-warning btn-lg text-white fw-bold shadow-sm">
                        <i class="bi bi-megaphone-fill me-2"></i>Laporkan Sekarang
                    </a>
                </div>
                <div class="col-md-6 text-center">
                    <img src="../assets/img/hero-illustration.png" class="img-fluid" alt="WBS Illustration" style="max-height: 400px;">
                </div>
            </div>
        </div>
    </section>

    <section class="container py-5">
        <h3 class="text-center fw-bold mb-5">Tata Cara Pengaduan</h3>
        <div class="row g-4 text-center">
            <div class="col-md-3">
                <div class="card h-100 border-0 shadow-sm p-4">
                    <div class="d-flex justify-content-center mb-3">
                        <div class="bg-primary text-white rounded-circle d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">1</div>
                    </div>
                    <i class="bi bi-person-plus fs-1 text-primary mb-3"></i>
                    <h6 class="fw-bold">Registrasi Akun</h6>
                    <p class="small text-muted">Mendaftarkan akun menggunakan data valid.</p>
                </div>
            </div>
            
            <div class="col-md-3">
                <div class="card h-100 border-0 shadow-sm p-4">
                    <div class="d-flex justify-content-center mb-3">
                        <div class="bg-primary text-white rounded-circle d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">2</div>
                    </div>
                    <i class="bi bi-box-arrow-in-right fs-1 text-primary mb-3"></i>
                    <h6 class="fw-bold">Masuk Sistem</h6>
                    <p class="small text-muted">Login ke dalam portal pengaduan.</p>
                </div>
            </div>

            <div class="col-md-3">
                <div class="card h-100 border-0 shadow-sm p-4">
                    <div class="d-flex justify-content-center mb-3">
                        <div class="bg-primary text-white rounded-circle d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">3</div>
                    </div>
                    <i class="bi bi-file-earmark-text fs-1 text-primary mb-3"></i>
                    <h6 class="fw-bold">Lengkapi Formulir</h6>
                    <p class="small text-muted">Isi data dugaan pelanggaran dengan jelas.</p>
                </div>
            </div>

            <div class="col-md-3">
                <div class="card h-100 border-0 shadow-sm p-4">
                    <div class="d-flex justify-content-center mb-3">
                        <div class="bg-primary text-white rounded-circle d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">4</div>
                    </div>
                    <i class="bi bi-check-all fs-1 text-primary mb-3"></i>
                    <h6 class="fw-bold">Kirim Pengaduan</h6>
                    <p class="small text-muted">Kirim dan simpan kode tracking Anda.</p>
                </div>
            </div>
        </div>
    </section>

    <section id="kontak" class="bg-white py-5 border-top">
        <div class="container">
            <h3 class="text-center fw-bold mb-5">Kontak Kami</h3>
            <div class="row g-4 text-center justify-content-center">
                <div class="col-md-4">
                    <div class="p-3">
                        <i class="bi bi-geo-alt-fill fs-1 text-primary mb-3"></i>
                        <h6 class="fw-bold">Alamat Kantor</h6>
                        <p class="text-muted small">Jl. Lintas Timur Desa Mataram Marga Kecamatan Sukadana 34194</p>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="p-3">
                        <i class="bi bi-envelope-at-fill fs-1 text-primary mb-3"></i>
                        <h6 class="fw-bold">Email Respon Cepat</h6>
                        <p class="text-muted small">bps1804@bps.go.id</p>
                    </div>
                </div>
            </div>
        </div>
    </section>
</main>

<?php include '../includes/footer.php'; ?>