
<!DOCTYPE html>
<html lang="zxx">
<head>
	<title>AKM Accounting & Tax Services</title>
	<?php include('includes/stylesheets.php');?>
	<style>
	.span-success{
		color:green;
		
		font-size:10px;
	}
	.span-danger{
		color:red;
		
		font-size:10px;
	}
</style>
</head>
<body>
	<?php include('layouts/social.php');?>
	<!-- Header Section -->
	<?php include('layouts/navbar.php');?>
	<!-- Header Section end -->

	<!-- Hero Section end -->
	<section class="hero-section">
		<div class="container">
			<div class="row">
				<!-- <div class="col-lg-6"> -->
					<div class="hs-text">
						<div style="padding:15px;">
							<h2><strong style="color:#047a0a">AKM </strong> <br><small> Accounting & Tax Services</small></h2>
							<h4></h4>
							<p>We provide outsourced accounting, meaning the total cost of our services is less<br/> than hiring a full-time employee. </p>
							<a href="#" class="site-btn sb-green" data-toggle="modal" data-target="#quoteModal">Get A Quote</a>
						</div>			
					</div>
				<!-- </div> -->
				<!-- <div class="col-lg-6">
					<form class="hero-form">
						<input type="text" placeholder="Your Name">
						<input type="text" placeholder="Your E-mail">
						<input type="text" placeholder="Your Phone">
						<p>We offer accounting, tax, payroll and company registration services; we have partnered with one of the best web development companies in the world, to offer all our clients a 100% satisfying websites.  </p>
						<button class="site-btn">Apply for our service!</button>
					</form>
				</div> -->
			</div>
		</div>
		<div class="hero-slider owl-carousel">
			<div class="hs-item set-bg" data-setbg="img/hero-slider/1.jpg"></div>
			<div class="hs-item set-bg" data-setbg="img/hero-slider/2.jpg"></div>
			<div class="hs-item set-bg" data-setbg="img/hero-slider/1.jpg"></div>
		</div>
	</section>
	<!-- Hero Section end -->

	<?php
		function __autoload($class){
			require_once "classes/$class.php";
		}
		
		$emails = new Emailpro();


		if(isset($_POST['send'])){

			$details = [
				"names"     => $_POST['fn']." ".$_POST['sn'],
				"email"     => $_POST['email'],
				"phone"     => $_POST['phone'],
				"vat_reg"   => $_POST['vat_reg'],
				"employees" => $_POST['employees'],
				"descr"  	=> $_POST['descr'],
				"subject"   => "Request for a quote"
			];

			$res = $emails->getQuote($details);
			/*r=<?php echo $res;?>*/
			if($res){
				?>
				<script>
					Swal.fire(
						'Request Sent!',
						'Thank you for emailing us , we will respond soon!',
						'success'
						)
				</script>
				<?php
			}else{
				?>
				<script>
					Swal.fire(
						'Failed to send request!',
						'Sorry we could not send your request , please try again!',
						'error'
						)
				</script>
				<?php
			}

		}
	?>
	<!-- Why Section end -->
	<section class="why-section spad">
		<div class="container">
			<div class="text-center mb-5 pb-4">
				<h2 class="pro-h">Why Choose us?</h2>
			</div>
			<div class="row">
				<div class="col-md-4">
					<div class="icon-box-item">
						<div class="ib-icon text-center">
							<i class="flaticon-012-24-hours"></i>
						</div>
						<div class="ib-text">
							<h5 class="pro-h">Time Effective!</h5>
							<p>We understand how busy you are, and with our expertise we can take care of your accounting and taxation needs quickly and effectively. </p>
						</div>
					</div>
				</div>
				<div class="col-md-4">
					<div class="icon-box-item">
						<div class="ib-icon">
							<i class="flaticon-036-customer-service"></i>
						</div>
						<div class="ib-text">
							<h5 class="pro-h">Our Staff</h5>
							<p>Our team of accountants is committed to performing their services with integrity, excellence, and professionalism</p>
						</div>
					</div>
				</div>
				<div class="col-md-4">
					<div class="icon-box-item">
						<div class="ib-icon">
							<i class="flaticon-039-info"></i>
						</div>
						<div class="ib-text">
							<h5 class="pro-h">Quality Work</h5>
							<p>AKM focuses on developing and maintaining top quality finance and tax services that is cost effective, useful and satisfactory to the clients. </p>
						</div>
					</div>
				</div>
			</div>
			<div class="text-center pt-3">
				
			</div>
		</div>
	</section>
	<!-- Why Section end -->


	<!-- CTA Section end -->
	<section class="cta-section set-bg" data-setbg="img/cta-bg.jpg">
		<div class="container">
			<h2>Let <strong>AKM</strong> handle your books?</h2>
			<h5>Helping our clients is not just a job, its out passion.<br/>We care about each and every one of our clients and want to see them succeed.</h5>
			<a href="about.php" class="site-btn sb-dark sb-big">Find out More</a>
		</div>
	</section>
	<!-- CTA Section end -->


	<!-- Feature Section -->
	<section class="feature-section spad">
		<div class="container">
			<div class="feature-item">
				<div class="row">
					<div class="col-lg-6">
						<img src="img/about-img.jpg" alt="">
					</div>
					<div class="col-lg-6">
						<div class="feature-text">
							<h2 class="pro-h">Outsourced Accounting Services</h2>
							<p>We provide outsourced accounting, meaning the total cost of our services is less than hiring a full-time employee. Outsourcing increases profitability-it allows allows you to concentrate limited services on your core business to be more profitable. We see an overview of things from a helicopter point of view and unbiased by organisational relations.</p>
							<a href="about.php" class="readmore">Readmore <img src="img/arrow.png" alt=""></a>
						</div>
					</div>
				</div>
			</div>
			<div class="feature-item">
				<div class="row">
					<div class="col-lg-6 order-lg-2">
						<img src="img/feature-2.jpg" alt="">
					</div>
					<div class="col-lg-6 order-lg-1">
						<div class="feature-text">
							<h2 class="pro-h">Taxation Services</h2>
							<p>We make sure that your tax status is always up to date and make complex tax issues simple for you. We keep accurate and reliable accounts, proving more cost-effective by helping you avoid penalties due to late submission of tax returns to SARS</p>
							<a href="about.php" class="readmore">Readmore <img src="img/arrow.png" alt=""></a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- Feature Section end -->


	<!-- Help Section -->
	<section class="help-section spad"  style="background-color:#22242b;">
		<div class="container">
			<div class="text-center text-white mb-5 pb-4">
				<h2>More Services</h2>
			</div>
			<div class="row">
				<div class="col-md-6">
					<p>We provide businesses, entrepreneurships and individuals with high quality accounting, taxation and business services in a timely, efficient and innovation manner</p>
				</div>
				<div class="col-md-6">
					<p>We also provde technical service that will help your business to grow in this digital era</p>
				</div>
			</div>
			<div class="row">
			
				<div class="col-md-4">
					<ul class="help-list">
						<li>Accounting</li>
						<li>Tax</li>		
					</ul>
				</div>
				<div class="col-md-4">
					<ul class="help-list">
						<li>Payroll</li>
						<li>Company Registrations</li>	
					</ul>
				</div>
				<div class="col-md-4">
					<ul class="help-list">
						<li>Website Development</li>
						<li>Mobile App Development</li>		
					</ul>
				</div>
			</div>
		</div>
	</section>
	<!-- Help Section end -->


	<!-- Info Section -->
	<section class="info-section spad">
		<div class="container">
			<div class="row">
				<div class="col-lg-5">
					<img src="img/info-img.jpg" alt="">
				</div>
				<div class="col-lg-7">
					<div class="info-text">
						<h2 class="pro-h">We’re here to help</h2>
						<h5>Monday to Thursday (8am to 5pm), and Friday (8am to 5pm).</h5>
						<p>You can benefit from our in-house experts' knowledge. Any question you might have regarding tax, accounting, payroll or just general business advice will be answered by a professional online.</p>
						<ul>
							<li>081 766 3515 / 0716416446</li>
							<li>info@accountingtaxservices.co.za</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- Info Section end -->
	<!-- Modal -->
	<div class="modal fade" id="quoteModal" tabindex="-1" role="dialog" aria-labelledby="quoteModal" aria-hidden="true">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
		<div class="modal-header" style="background-color:#047a0a;">
			<h5 class="modal-title" style="color:#fff">Get a Quote</h5>
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">&times;</span>
			</button>
		</div>
		<form action="index.php" method="POST">
			<div class="modal-body">
				<div class="row">
				<div class="col-md-6 form-group">
					<label for="">Firstname</label>
					<input type="text" class="form-control" name="fn" required>
				</div>
				<div class="col-md-6 form-group">
					<label for="">Lastname</label>
					<input type="text" class="form-control" name="sn" required>
				</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-group">
						<label for="">Phone number</label>
						<br/><span id="alert-span"></span>
						<input type="text" class="form-control" id="phone" name="phone" oninput="phoneValidate()" required>
					</div>
					<div class="col-md-6 form-group">
						<label for="">Email</label>
						<input type="email" class="form-control" name="email" required>
					</div>
				</div>
				<hr/>
				<div class="form-group">
					<label for="">Is your Business VAT REGISTERED?</label>
					<select class="form-control" id="phone" name="vat_reg"  required>
						<option value="">Select option :</option>
						<option value="Yes">Yes</option>
						<option value="No">No</option>
					</select>
				</div>
				<div class="form-group">
					<label for="">How many employees do you have ?</label>
					<input type="text" class="form-control" name="employees" required>
				</div>
				<div class="form-group">
					<label for="">Description of what you would want us to do for you</label>
					<textarea class="form-control" name="descr" required></textarea>
				</div>
				
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
				<button type="submit" class="btn btn-primary" name="send"  style="background-color:#047a0a;">Submit Details</button>
			</div>
		</form>
		</div>
	</div>
	</div>
	<!-- Modal end -->

	<!-- Footer Section -->
	<?php include('layouts/footer.php');?>
	<!-- Footer Section end -->
	
	<!--====== Javascripts & Jquery ======-->
	<?php include('includes/scripts.php');?>
	<script>
		function phoneValidate(){
			var spanAlert = document.getElementById('alert-span');
			var pnumber = document.getElementById('phone').value;
		
			var trimmed = pnumber.replace(/\s/g, '');
			var regex = /^0(6|7|8){1}[0-9]{1}[0-9]{7}$/;
			if (regex.test(trimmed) === true) {
				spanAlert.className = "span-success";
				spanAlert.innerHTML = "";  
				// this.enableButton(btnId);
			}else{
				spanAlert.className = "span-danger";
				spanAlert.innerHTML = "Phone number is not a valid SA number";
				
			}
		}
	</script>
	</body>
</html>
