<div class="<?= $user['layouts'] ==1?"container-fluid":"container";?>">
	<div class="row">
		<div class="col-lg-8 col-md-6">
			<div class="singleServicearea <?= $user['layouts'] !=1?"pt-90":"";?>">
				<div class="singleServiceTop <?= $service['service_type']==2?"imageTop":"";?>">
					<div class="topIcon <?= $service['service_type']!=1?"videopart":"";?> ">
						<?php if ($service['service_type']==1): ?>
							<?= $service['icon'];?>
						<?php elseif ($service['service_type']==2): ?>
							<div class="serviceImg">
								<img src="<?= base_url(html_escape($service['images'])); ?>"  alt="">
							</div>
						<?php elseif ($service['service_type']==3): ?>
							<div class="videoWrapper">
								<?= $service['video_link'];?>
							</div>
						<?php endif; ?>
					</div>
					<div class="singleServiceBody mt-20 pb-50">
						<h5 class="service_title"><?= html_escape($service['title']);?></h5>
						<p><?= $service['details'];?></p>
					</div>
				</div><!-- singleServiceTop -->
			</div>
		</div>
		<div class="col-lg-4 col-md-6">
			<div class="rightService">
				<div class="user_information">
					<h4><?= !empty(lang('seller_information'))?lang('seller_information'):"Seller Information"; ?></h4>
					<div class="user_info_details">
						<div class="left_user_info">
							<img src="<?= base_url($user['thumb']) ;?>" alt="" />
							<div class="">
								<h5><?= !empty($user['name'])?$user['name']:$user['username'] ;?></h5>
								<p><?= $user['designation'] ;?></p>
							</div>
						</div>
						<div class="right_user_info">
							<a href="<?= base_url($slug) ;?>"><?= !empty(lang('contact'))?lang('contact'):"Contact";?></a>
						</div>
					</div>
				</div>
			<?php if(!empty($service_settings['bank_details'])): ?>
				<div class="payment_info ">
					<h4><?= !empty(lang('bank_details'))?lang('bank_details'):"Bank Details" ;?></h4>
					<div class="bankDetails icon-flex mt-10">
						<div class="leftIcon">
							<i class="fa fa-bank"></i>
						</div>
						<div class="rightText">
							<div class="bankdetails">
									<pre class="pre">
										<?= ltrim($service_settings['bank_details']) ;?>
									</pre>
							</div>
						</div>
					</div>
				</div>
			<?php endif;?>

				<div class="payment_info ">
					<h4><?= !empty(lang('service_info'))?lang('service_info'):"Service Information"; ?></h4>
					<div class="paymentInfo icon-flex mt-10">
						<div class="leftIcon">
							<i class="fa fa-info-circle"></i>
						</div>
						<div class="rightText">
							<h5><?= html_escape($service['title']);?></h5>
							<div class="rightserviceDetails">
								<h5><?= !empty(lang('qty'))?lang('qty'):"QTY"; ?> : <span>1</span></h5>
								<h5><?= !empty(lang('price'))?lang('price'):"price"; ?>: <?= $service['price'];?> <?=  my_currency($service_settings['country_id'],'currency_symbol');;?></h5>
							</div>
						</div>
					</div>
				</div>

				<?php if(is_allow()==1): ?>
					<?php if(isset($service['pay_button_status']) && $service['pay_button_status']==1): ?>
						<?php  if(!empty($service['price']) && $service['price'] !=0):?>
							<div class="payment_info ">
								<h4><?= !empty(lang('payment_method'))?lang('payment_method'):"Payment method"; ?></h4>
								<div class="paymentInfo icon-flex mt-10">
									<div class="leftIcon">
										<i class="fa fa-credit-card-alt"></i>
									</div>
									<div class="rightText">
										<h5><?= !empty(lang('pay_now'))?lang('pay_now'):"Pay Now"; ?></h5>
										<div class="paymentButton">
											<?php if(isset($paypal['is_paypal']) && $paypal['is_paypal']==1): ?>
												<a href="javascript:;"  data-user="<?= $slug;?>" data-type="paypal" class="modalBtn"><?= lang('paypal'); ?></a>
											<?php endif;?>
											
											<?php if(isset($stripe['is_stripe']) && $stripe['is_stripe']==1): ?>
												<a href="javascript:;" data-user="<?= $slug;?>"  data-type="stripe" class="modalBtn"><?= lang('stripe'); ?></a>
											<?php endif;?>

											<?php if(isset($razorpay['is_razorpay']) && $razorpay['is_razorpay']==1): ?>
												<a href="javascript:;" data-user="<?= $slug;?>"  data-type="razorpay" class="modalBtn"><?= lang('razorpay'); ?></a>
											<?php endif;?>

											<a href="javascript:;" data-user="<?= $slug;?>" data-type="offline" class="modalBtn"><?= lang('offline_request'); ?></a>
										</div>
									</div>
								</div>
							</div>
						<?php endif;?>
					<?php endif;?>
				<?php endif; ?>
			</div>
		</div>
	</div>
</div>
<?php if(isset($service['pay_button_status']) && $service['pay_button_status']==1): ?>
	<?php if(is_allow()==1): ?>
		<?php $this->load->view('service_payment/paypal_payment'); ?>

		<?php $this->load->view('service_payment/stripe_payment'); ?>

		<?php $this->load->view('service_payment/razorpay_payment_gateway'); ?>

		<?php $this->load->view('service_payment/offline_payment'); ?>
	<?php endif; ?>
<?php endif; ?>