/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Include web custom fonts
   ========================================================================== */
@font-face {
	font-family: 'open_sansregular';
	src: url('../fonts/OpenSans-Regular-webfont.eot');
	src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
		url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
		url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'open_sanssemibold';
	src: url('../fonts/OpenSans-Semibold-webfont.eot');
	src: url('../fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/OpenSans-Semibold-webfont.woff') format('woff'),
		url('../fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
		url('../fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'open_sansbold';
	src: url('../fonts/OpenSans-Bold-webfont.eot');
	src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
		url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
		url('../fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's common styles
   ========================================================================== */

body {
	font-family: 'open_sansregular';
	font-size: 15px;
	font-weight: normal;
	line-height: 1.2;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	font-weight: normal;
}
a {
	text-decoration: none;
}
img {
	max-width: 100%;
}


/*   Header Section styles
================================================================================== */

.container {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
}

.header-section {
	padding-top: 25px;
	overflow: hidden;
}
.header-inner-section {
	width: 100%;
	background: url(../img/top-section-bg-tab.png) no-repeat right bottom;
}
.header {
	background-size: cover;
	position: relative;
	padding-bottom: 450px;
	background: url(../img/top-bg-desk.png) no-repeat 0px 66px;
	background-color: transparent;
}
.logo-container	{
	float: left;
	width: 20%;
	margin-left: 85px;
}
header {
	margin-bottom: 85px;
}
nav {
	float: right;
	width: 21%;
	padding-top: 24px;
}
nav ul li {
	float: left;
}
nav li a {
	font-size: 1em;
	color: #000;
	margin-left: 10px;
	margin-right: 10px;
}
.land-form {
	width: 61%;
	margin-left: 39%;
	background: #4eb7f5;
	padding-top: 20px;
	padding-bottom: 15px;
	position: absolute;
	top: 185px;
	padding-left: 30px;
}
.land-form h2 {
	font-size: 2.571em;
	font-family: 'open_sanssemibold';
	color: #fff;
	line-height: 1.5;
}
.land-form .firstp {
	font-size: 1.286em;
	color: #4e5563;
	margin-bottom: 50px;
	line-height: 1.5;
}

.land-form p {
	font-size: 1.143em;
	color: #fff;
	line-height: 1.5;
}
.land-form form {
	margin-bottom: 10px;
}
.land-form input {
	outline: none;
	border: 0 none;
}

.land-form input::-webkit-input-placeholder {
	color: #6d747a;
}

.land-form input:-moz-placeholder {
	color: #6d747a;
}

.land-form input::-moz-placeholder {
	color: #6d747a;
}

.land-form input:-ms-input-placeholder {
	color: #6d747a;
}

.land-form label {
	background: url("../img/envelope.png") no-repeat 15px 10px #6cc9fe;
	padding-left: 58px;
	margin-right: 15px;
	border-radius: 6px;
	width: 390px;
	display: inline-block;
	box-shadow: inset 1px 2px 2px 0px rgba(50, 149, 207, 1);
}

.land-form input.email {
	background: #93d3f9;
	width: 100%;
	padding: 10px 8px;
	box-shadow: inset 0px 2px 2px 0px rgba(50, 149, 207, 1);
	border-radius: 0px 6px 6px 0px;
}

.land-form .submit-btn {
	background: #1292dd;
	color: #fff;
	font-size: 1.286em;
	text-align: center;
	line-height: 1.5;
	font-family: 'open_sanssemibold';
	width: 115px;
	height: 35px;
	box-shadow: 0px 4px 0px 0px rgba(50, 149, 207, 1);
	border-radius: 5px;
}

.service-section {
	padding-top: 45px;
	padding-bottom: 55px;
	background: url("../img/service-bg-desk.png") no-repeat 0px 25px #1292dd;
	color: #fff;
	text-align: center;
}
.service h2 {
	margin-top: 30px;
	color: #4f5664;
	font-family: 'open_sansbold';
	font-size: 2.50em;
	margin-bottom: 60px;
}
.service > p {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.services-container {
	padding: 0 170px;
}
.single-service {
	width: 33%;
	float: left;
}
.single-service figure {
	width: 107px;
	height: 107px;
	text-align: center;
	margin: 0 auto;
	background: #fff;
	border: 6px solid #c9d9e6;
	padding: 10px;
	border-radius: 100%;
	line-height: 74px;
	margin-bottom: 25px;
}

.single-service h3 {
	margin-bottom: 40px;
	color: #4f5664;
	font-family: 'open_sansbold';
	font-size: 1.50em;
}
.single-service h3.single-line {
	margin-bottom: 15px;
}
.service-cta {
	margin-top: 50px;
}
.cta-button {
	color: #4e5664;
	padding: 10px 35px;
	background: #c9d9e6;
	display: inline-block;
	text-align: center;
	font-family: 'open_sanssemibold';
	font-size: 1.286em;
	border-radius: 10px;
}

.about-section {
	padding-top: 65px;
	padding-bottom: 95px;
	background: url("../img/about-bg-desk.png") no-repeat left 65px;
	background-size: cover;
	text-align: center;
	padding-left: 290px;
	padding-right: 290px;
}

.about h2 {
  color: #4f5664;
  font-family: 'open_sansbold';
  font-size: 2.571em;
  margin: 0 0 20px 0;
  padding-bottom: 25px;
  position: relative;
}
.about-title::after {
	background: #dae5ee;
	content: "";
	display: block;
	height: 6px;
	width: 70px;
	margin: 25px auto 0;
}
.about > p {
	width: 490px;
	margin-left: auto;
	margin-right: auto;
}
.contact-container {
	margin-top: 165px;
}
.contact-container a {
	font-size: 2em;
	font-family: 'open_sansbold';
	color: #4f5664;
}
.contact-number {
	float: left;
	width: 50%;
}
.contact-email {
	float: right;
	width: 50%;
}

.contact-number figure {
	margin-bottom: 15px;
}
.contact-email figure {
	margin-bottom: 20px;
}

.contact-number figure,
.contact-email figure {
	position: relative;
	padding-bottom: 35px;
}
.contact-number figure::after,
.contact-email figure::after {
	content: "";
	display: block;
	height: 6px;
	width: 70px;
	margin: 25px auto 0;
	background: #1e98df;
}
.footer-section {
	background: #4e5563;
	padding-top: 30px;
	padding-bottom: 20px;
	text-align: center;
	color: #fff;
}
.footer figure {
	margin-bottom: 20px;
}
.service-inner {
	background: none;
}



/* ==========================================================================
   Responsive Design Codes
   ========================================================================== */
@media screen and (min-width: 1500px) {
	.land-form {
		width: 55%;
		margin-left: 45%;
	}
}


/* ==============================================================
Codes for tab
================================================================ */

@media screen and (max-width: 1171px) and (min-width: 992px) {
	.container {
		max-width: 970px;
	}
	.header-inner-section {
		background: url(../img/top-section-bg-tab.png) no-repeat right bottom;
	}
	.header {
		background: url(../img/top-bg-tab.png) no-repeat 0px 60px;
		padding-bottom: 500px;
	}
	nav {
		width: 25%;
		padding-top: 20px;
	}
	.land-form h2 {
		font-size: 2.20em;
	}
	.land-form .firstp {
		font-size: 1.10em;
	}
	.land-form label {
		width: 360px;
	}
	.land-form p {
		font-size: 1em;
	}
	.services-container {
		padding: 0 110px;
	}
	.service-section {
		background: url("../img/service-bg-tab.png") no-repeat 0px 25px #1292dd;
	}
	.about-section {
		background: url("../img/about-bg-tab.png") no-repeat left 65px;
		padding-left: 130px;
		padding-right: 130px;
	}
	.service-inner {
		background: none;
	}
}

/* ==============================================================
	Codes for small tab
 ================================================================ */


@media screen and (max-width: 991px) and (min-width: 768px) {
	.container {
		max-width: 750px;
	}
	.header-inner-section {
		background: url(../img/top-section-bg-small-tab.png) no-repeat right bottom;
	}
	.header {
		background: url(../img/top-bg-small-tab.png) no-repeat 0px 60px;
		padding-bottom: 380px;
	}
	.logo-container {
		width: 25%;
		margin-left: 65px;
	}
	nav {
		width: 33%;
		padding-top: 18px;
	}
	.land-form h2 {
		font-size: 1.70em;
	}
	.land-form {
		padding-left: 20px;
		top: 160px;
		width: 58%;
		margin-left: 42%;
	}
	.land-form .firstp {
		font-size: 0.90em;
		margin-bottom: 35px;
	}
	.land-form input.email {
		font-size: 0.80em;
	}
	.land-form label {
		width: 280px;
	}
	.land-form p {
		font-size: 0.85em;
	}
	.services-container {
		padding: 0 10px;
	}
	.service-section {
		background: url("../img/service-bg-tab.png") no-repeat 0px 25px #1292dd;
	}
	.about-section {
		background: url("../img/about-bg-small-tab.png") no-repeat left 65px;
		padding-left: 40px;
		padding-right: 40px;
	}

	.service-inner {
		background: none;
	}
}


/* ==============================================================
Codes for mobile
================================================================ */

@media screen and (max-width: 767px) {
	.container {
		max-width: 100%;
	}
	.header-inner-section {
		background: none;
	}
	header {
		margin-bottom: 265px;
	}
	.header {
		background: url(../img/top-bg-mob.png) no-repeat 0px 66px;
		padding-bottom: 400px;
	}
	nav {
		display: none;
	}
	.logo-container {
		float: none;
		width: 100%;
		text-align: center;
		margin-left: 0;
	}
	.land-form {
		width: 100%;
		margin-left: 0%;
		padding: 15px;
		text-align: center;
		top: 340px;
	}
	.land-form h2 {
		font-size: 1.85em;
		line-height: 1.2;
		margin-bottom: 15px;
	}
	.land-form .firstp {
		font-size: 0.95em;
		margin-bottom: 40px;
		line-height: 1.5;
	}
	.land-form label {
		width: 100%;
		max-width: 360px;
		margin-bottom: 15px;
	}
	.land-form input.email {
		font-size: 0.85em;
	}
	.land-form p {
		font-size: 0.95em;
	}
	.service-section {
		background: url("../img/service-bg-mob-top.png") no-repeat 0px 120px #1292dd;
	}
	.service-inner {
		background: url("../img/service-bg-mob-bottom.png") no-repeat right bottom;
	}
	.service > p {
		margin-left: 25px;
		font-size: 0.85em;
		margin-right: 25px;
	}
	.service h2 {
		margin-top: 25px;
		font-size: 1.70em;
		margin-bottom: 40px;
	}
	.services-container {
		padding: 0 15px;
	}
	.single-service {
		width: 80%;
		float: none;
		margin: 0 auto 60px;
	}
	.service-cta {
		margin-top: 30px;
		margin-bottom: 20px;
	}
	.about-section {
		background: url("../img/about-bg-mob-top.png") no-repeat left 90px;
		padding: 35px 15px 0;
	}
	.about-inner {
		background: url("../img/about-bg-mob-bottom.png") no-repeat right 620px;
		padding-bottom: 95px;
	}
	.contact-container {
	    margin-top: 50px;
	}
	.contact-number figure, .contact-email figure {
	    padding-bottom: 20px;
	}
	.contact-container a {
   	font-size: 1.5em;
   	line-height: 1;
	}
	.about h2 {
		font-size: 1.70em;
	}
	.about > p {
		width: 98%;
		font-size: 0.85em;
	}
	.contact-number {
		margin-bottom: 70px;
	}
	.contact-number,
	.contact-email {
		float: none;
		width: 100%;
	}
}


@media screen and (max-width: 767px) and (min-width: 325px) {
	.header {
		background: url(../img/top-bg-big-mob.png) no-repeat center 66px;
	}
	.header-inner-section {
		background: url(../img/top-section-bg-big-mob.png) no-repeat right bottom;
	}
	.about-inner {
		background: url("../img/about-bg-mob-bottom.png") no-repeat right 570px;
		padding-bottom: 95px;
	}
}

@media screen and (max-width: 767px) and (min-width: 500px) {
	.land-form {
		top: 385px;
	}
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
