<?= $this->extend('layout/main_layout') ?>
<?= $this->section('content') ?>
<div class="message">
    <img src="<?= base_url('public/images/registration-1.png') ?>" alt="Registration Success">
    <h1>Your kid(s) has been Successfully registered!</h1>
    <p>You will be redirected to the home page shortly.</p>
</div>
<?= $this->endSection() ?>

<?= $this->section('scripts') ?>
<script>
    document.addEventListener('DOMContentLoaded', function() {
        setTimeout(function() {
            window.location.href = "<?= base_url('/parent_dashboard') ?>";
        }, 5000);
    });
</script>
<?= $this->endSection() ?>