<body class="wrap-all-content">
    <!-- Main -->
    <main role="main" class="container with-navbar" style="padding:0px 0px 0px 0px; max-width: 480px !important;">
        <!-- Content -->
        
<nav class="container navbar fixed-top navbar-default p-0 title benihbaik_solid" style="max-width: 480px;">
    <div style="max-width: 480px !important; margin: 0px 30px;">
        <span class="navbar-text title-navbar">
            <a href="index.html" class="navbar-text mr-2 back">
                <i class="fa fa-arrow-left title " style="color:#828282;"></i>
            </a>
        </span>
    </div>
</nav>
<div style="padding-top: 2px;">
    <div style="margin: 58px 30px 0px;padding-bottom: 40px;">
        <div class="box-search">
            <input id="keyword-lemparan" type="hidden"> 
            
            <input class="input-search" id="key" name="q" autocomplete="off" type="text"
            placeholder="Cari yang ingin kamu bantu"
            aria-label="Cari yang ingin kamu bantu"> 
            <span class="box-icon-search">
                <i class="fas fa-search"></i>
            </span>
        </div>
        <div class="result" id="result" style="display: none;">
        </div>
        <!-- Data Loader -->
        <div class="auto-load text-center">
            <svg version="1.1" id="L9" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
                x="0px" y="0px" height="60" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve">
                <path fill="#000"
                    d="M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50">
                    <animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s"
                        from="0 50 50" to="360 50 50" repeatCount="indefinite" />
                </path>
            </svg>
        </div>

        <div id="opsi">
            <div class="box-category">
            <h1 class="title-box">Kategori Terpopuler</h1>

            <div class="wrapper-category">
                <?php foreach($kategori as $kat): ?>
                <a href="kategori-campaign/<?php echo $kat['kacam_url']; ?>" class="item-category unv-gtm" data-name="Pilihan Kategori <?php echo $profil['nama']; ?>" data-action="<?php echo $kat['kacam_nama']; ?>" data-label="kategori-campaign/<?php echo $kat['kacam_url']; ?>"><?php echo $kat['kacam_nama']; ?></a>
                <?php endforeach; ?>
            </div>
        </div>
            <div class="box-wrap">
                <h1 class="title-box">Campaign Pilihan BenihBaik</h1>
                <div class="wrapper-campaign">
                    <?php foreach($pilihanli as $pli): ?>
                    <a href="donasi/<?php echo $pli['gd_url']; ?>" class="item-campaign">
                        <img src="assets/home/img/<?php echo $pli['gd_foto']; ?>" onerror="this.onerror=null;this.src='img/image_sementara/image-not-found.png';" class="thumb-camp">
                        <h2 class="camp-title title-rowcut"><?php echo $pli['gd_judul']; ?></h2>
                    </a>
                    <?php endforeach; ?>
                </div>
            </div>
        </div>
    </div>
</div>

<style>
a:hover {
    color: #41B548;
    text-decoration: none;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}
</style>
<!-- Content -->
    </main>
    <!-- Main -->  