<!-- Header -->
<style>
.balita {
    background-color: #00A3FF;
}
</style>
<div class="header bg-secondary pb-6">
    <div class="container-fluid">
        <div class="header-body  ">
            <div class="row align-items-center py-4">

                <div class="row">
                    <!-- card balita -->
                    <div class="col-lg-3 col-md-6 col-12">
                        <div class="card bg-primary mb-4">
                            <div class="card-body p-3">
                                <div class="row">
                                    <div class="col-8">
                                        <div class="numbers">
                                            <p class="text-md mb-0 text-uppercase font-weight-bold text-white">Total
                                                Balita
                                            </p>
                                            <h2 class="font-weight-bolder bold text-white">
                                                <?= $totalbalita->balita?>
                                            </h2>
                                            <p class="mb-0">
                                                <a class="text-cyan text-sm font-weight-bolder" href="
                                                    <?=base_url('balita')?>">Lihat Detail</a>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-4 text-end">
                                        <div
                                            class="icon icon-shape bg-gradient-white shadow-primary text-center rounded-circle">
                                            <i class="ni ni-circle-08 text-dark text-lg opacity-5"
                                                aria-hidden="true"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- card kriteria -->
                    <div class="col-lg-3 col-md-6 col-12">
                        <div class="card bg-danger  mb-4">
                            <div class="card-body p-3">
                                <div class="row">
                                    <div class="col-8">
                                        <div class="numbers text-white">
                                            <p class="text-md mb-0 text-uppercase font-weight-bold">Total Kriteria
                                            </p>
                                            <h2 class="font-weight-bold text-white">
                                                <?= $totalkriteria->kriteria?>
                                            </h2>
                                            <p class="mb-0">
                                                <a class="text-cyan text-sm font-weight-bolder" href="
                                                    <?=base_url('kriteria')?>">Lihat Detail</a>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-4 text-end">
                                        <div
                                            class="icon icon-shape bg-gradient-white shadow-primary text-center rounded-circle">
                                            <i class="ni ni-bullet-list-67 text-lg text-black opacity-5"
                                                aria-hidden="true"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-lg-3 col-md-6 col-12">
                        <div class="card bg-warning mb-4">
                            <div class="card-body p-3">
                                <div class="row">
                                    <div class="col-8">
                                        <div class="numbers">
                                            <p class="text-sm mb-0 text-uppercase font-weight-bold text-white">Total
                                                Makanan
                                                Alternatif
                                            </p>
                                            <h2 class="font-weight-bold text-white">
                                                <?= $totalalternatif->alternatif?>
                                            </h2>
                                            <p class="mb-0">
                                                <a class="text-cyan text-sm font-weight-bolder" href="
                                                    <?=base_url('alternatif')?>">Lihat Detail</a>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-4 text-end">
                                        <div
                                            class="icon icon-shape bg-gradient-white shadow-primary text-center rounded-circle">
                                            <i class="ni ni-collection text-lg text-dark opacity-5"
                                                aria-hidden="true"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-lg-3 col-md-6 col-12">
                        <div class="card bg-success mb-4">
                            <div class="card-body p-3">
                                <div class="row">
                                    <div class="col-8">
                                        <div class="numbers">
                                            <p class="text-sm mb-0 text-uppercase font-weight-bold text-white">Total
                                                Perhitungan
                                            </p>
                                            <h2 class="font-weight-bold text-white">
                                                <?= $totalperhitungan->perhitungan?>
                                            </h2>
                                            <p class="mb-0">
                                                <a class="text-cyan text-sm font-weight-bolder" href="
                                                    <?=base_url('hasil')?>">Lihat Detail</a>
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-4 text-end">
                                        <div
                                            class="icon icon-shape bg-gradient-white shadow-primary text-center rounded-circle">
                                            <i class="ni ni-chart-bar-32 text-lg text-dark opacity-5"
                                                aria-hidden="true"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div>
        <?= $this->session->flashdata('msg2') ?>
    </div>
</div>
<!-- Page content -->
<div class="content bg-primary">
    <div class="container-fluid">

        <!-- <div class="card">

            <div class="card-body">
                <hr>
            </div>
        </div> -->
        <!-- /.row -->
    </div>
    <!-- /.container-fluid -->
</div>