<?php
$errors = $this->session->userdata('errors');
if (isset($errors)) {
?>
	<script>
		swal("Oops", "<?php echo $errors ?>", "error")
	</script>
	<?php echo $errors ?>
<?php
	$this->session->unset_userdata('errors');
}
$error = $this->session->userdata('error');
if (isset($error)) {
?>
	<script>
		swal("Oops", "<?php echo $error ?>", "error")
	</script>
<?php
	$this->session->unset_userdata('error');
}
$success = $this->session->userdata('success');
if (isset($success)) {
?>
	<script>
		swal({
			title: "Done!",
			text: "<?php echo $success ?>",
			icon: "success",
		});
	</script>
<?php
	$this->session->unset_userdata('success');
}
?>
<section class="margin-top-xs-55" style="background: #fff;position: relative;
">
	<div class="header-text mb-0">
		<div>
			<div class="row ">
				<div class="col-lg-12 col-md-12 col-sm-12 text-center">
					<svg style="width:100%;height: 450px;" viewBox="0 0 1280 679" preserveAspectRatio="none" width="100%" height="100%">
						<defs>   
							<g id="shape">
								<path d="M0 0H1280V544.882C1280 544.882 1115 679 640 679C165 679 0 544.882 0 544.882V0Z" fill="#D9D9D9"></path>
								<path d="M0 0H1280V544.882C1280 544.882 1115 679 640 679C165 679 0 544.882 0 544.882V0Z" fill="url(#gradient)"></path>
							</g>
							<radialGradient id="gradient" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(640 -261.197) rotate(90) scale(815.683 664.92)">
								<stop stop-color="#4169E1"></stop>
								<stop offset="1" stop-color="#071A34"></stop>
							</radialGradient>
						</defs>
						<use href="#shape"></use>
					</svg>
					<div class="frame-image">
						<div style="position: absolute; border-radius: inherit; inset: 0px;" data-framer-background-image-wrapper="true"><img decoding="async" sizes="100vw" src="<?php echo base_url(); ?>assets/lSHGuRrPALnsNPFyY1JslN8so.png" alt="" style="display: block; width: 100%; height: 100%; border-radius: inherit; object-position: center center; object-fit: cover;"></div>
					</div>
					<div class="text-body main-header-text">
					<h1 class="text-center text-white"><b>Contact Us</b></h1>
					</div>
				</div>

				<div class="floating-icons">
					<i class="icon-facebook"></i>
					<i class="icon-adwords"></i>
					<i class="icon-seo"></i>
					<i class="icon-instagram"></i>
					<i class="icon-activecampaign"></i>
					<i class="icon-wordpress"></i>
					<i class="icon-shopify"></i>
					<i class="icon-youtube"></i>
					<i class="icon-analytics"></i>
					<i class="icon-kk"></i>
				</div>
			</div>
		</div>
	</div>
</section>

<!--Contact-->
<div class="sptb bg-white contacts" style="padding-top:100px">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="row text-white">
					<div class="col-lg-3 col-md-12">
						<div class="card border-0 mb-lg-0">
							<div class="support-service mb-0  text-center bg-primary">
								<i class="fa fa-phone"></i>
								<h5><?php echo $app_setting->mobile; ?></h5>
								<P>Free Support!</P>
							</div>
						</div>
					</div>
					<div class="col-lg-3 col-md-12">
						<div class="card border-0 mb-lg-0">
							<div class="support-service mb-0 text-center bg-secondary">
								<i class="fa fa-clock-o"></i>
								<h5>Mon-Sat(10:00-19:00)</h5>
								<p>Working Hours!</p>
							</div>
						</div>
					</div>
					<div class="col-lg-3 col-md-12">
						<div class="card border-0 mb-lg-0">
							<div class="support-service mb-0 text-center bg-success">
								<i class="fa fa-map-marker"></i>
								<p><?php echo $app_setting->address; ?></p>
							</div>
						</div>
					</div>
					<div class="col-lg-3 col-md-12">
						<div class="card border-0 mb-0">
							<div class="support-service mb-0 text-center bg-orange">
								<i class="fa fa-envelope-o"></i>
								<h5><?php echo $app_setting->email; ?></h5>
								<p>Support us!</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<!--Contact-->

<!--Contact-->
<div class="sptb">
	<div class="container">
		<div class="row">
			<div class="col-lg-7 col-xl-7 col-md-12 mx-auto">
				<div class="card mb-0 single-page customerpage contact">
					<div class="card-body wrapper wrapper2 box-shadow-0">
						<div class="mb-6 text-dark">
							<h5 class="fs-25 font-weight-semibold">Contact Us</h5>
						</div>
						<?php echo form_open(base_url() . 'home/submit_contact_form'); ?>
						<div class="name">
							<label>Name</label>
							<input type="text" name="contact_name" placeholder="" required>
						</div>
						<div class="mail">
							<label>Email</label>
							<input type="email" name="contact_email" placeholder="" required>
						</div>
						<div class="mail">
							<label>Mobile</label>
							<input type="tel" name="contact_mobile" required="" pattern="[0-9]{10}">
						</div>
						<div class="Message">
							<label>Message</label>
							<textarea name="contact_msg" rows="6" placeholder="Message" required></textarea>
						</div>
						<div class="col-sm-12">
							<div class="form-group">
								<div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
							</div>
						</div>
						<div class="submit">
							<button class="btn btn-primary" type="submit">Send Message</button>
						</div>
						<?php echo form_close(); ?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<!--/Contact-->