<div class="header-area ">
	<div class="header-top_area">
		<div class="container">
			<div class="row">
				<div class="col-xl-3 col-md-3">
					<div class="social_media_links">
						<a target="_blank" href="https://web.facebook.com/medisavecorporationbd">
							<i class="ti-facebook"></i>
						</a>

						<a href="https://twitter.com/MedisaveCorpo">
							<i class="ti-twitter-alt"></i>
						</a>

						<a href="https://www.linkedin.com/in/medisavecorporation">
							<i class="fa fa-linkedin"></i>
						</a>

						<a target="_blank" href="https://www.instagram.com/medisave.corp/">
							<i class="fa fa-instagram"></i>
						</a>
					</div>
				</div>
				<div class="col-xl-9 col-md-9">
					<div class="short_contact_list">
						<ul>
							<li><a href="#"> <i class="fa fa-envelope"></i> info@medisavecorporation.com</a></li>
							<li><a href="#"> <i class="fa fa-phone"></i> +8801875-076981</a></li>
							<li><a href="javascript:void(0)" class="login-btn" data-toggle="modal" data-target="#login_view">Login</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="sticky-header" class="main-header-area">
		<div class="container">
			<div class="row align-items-center">
				<div class="col-xl-3 col-lg-2">
					<div class="logo">
						<a href="<?=base_url()?>">
							<img src="<?=base_url()?>assets/img/logo.png" alt="">
						</a>
					</div>
				</div>
				<div class="col-xl-9 col-lg-10">
					<div class="main-menu  d-none d-lg-block">
						<nav>
							<ul id="navigation">
								<li>
									<a href="<?php echo base_url() ?>">Home <span class="sr-only">(current)</span></a>
								</li>
								<li>
									<a href="<?php echo base_url('product') ?>">Product</a>
								</li>
								<li><a href="#">Category <i class="ti-angle-down"></i></a>
									<ul class="submenu">
										<?php
										$ci = &get_instance();
										$ci->load->model('pages/CategoryModel', 'model');
										$categoryData = $ci->model->getCategoryofProduct();
										foreach ($categoryData as $data) {
											?>
											<li><a href=""><?php echo $data['category_name'] ?> <i class="ti-angle-down"></i></a>
												<ul class="submenu sub">
													<?php
													$subCategoryData = $ci->model->getSubCategoryofProduct($data['category_id']);
													foreach ($subCategoryData as $subData) {
														?>
														<li><a href="<?php echo base_url('category/' . $data['url'] . "/" . $subData['url']) ?>"><?php echo $subData['sub_category_name'] ?></a></li>
														<?php
													}
													?>
												</ul>
											</li>
										<?php
										}
										?>
									</ul>
								</li>

								<li><a href="#">Brand <i class="ti-angle-down"></i></a>
									<ul class="submenu">
										<?php
										$ci->load->model('pages/BrandModel', 'brandModel');
										$brandData = $ci->brandModel->getBrandofProduct();
										foreach ($brandData as $value) { ?>
											<li>
												<a href="<?php echo base_url('brand/' . $value['url']) ?>"><?= $value['brand_name'] ?></a>
											</li>
											<?php
										}
										?>
									</ul>
								</li>
								<li>
									<a href="<?php echo base_url('about') ?>">About</a>
								</li>
								<li>
									<a href="<?php echo base_url('gallery') ?>">Gallery</a>
								</li>
								<li>
									<a href="<?php echo base_url('portfolio') ?>">Portfolio</a>
								</li>
								<li>
									<a href="<?php echo base_url('contact') ?>">Contact</a>
								</li>
							</ul>
						</nav>
					</div>
				</div>
				<div class="col-12">
					<div class="mobile_menu d-block d-lg-none"></div>
				</div>
			</div>
		</div>
	</div>
</div>
