﻿/*Sets basic body style*/
body {
	margin: 0;
	font-family: 'Tajawal', sans-serif;
	background-color: rgb(245, 245, 245);
}


body.Contact{
	/*background-image: url(img/home_background.jpg);*/
	background-color: rgb(255, 255, 255);
	position:relative;
	padding-bottom: 700px;
}

body.services{
	/*background-image: url(img/home_background.jpg);*/
    background-color: rgb(255, 255, 255);
	padding:0;
	margin:0;

}
body.About{
	/*background-image: url(img/home_background.jpg);*/
    background-color: rgb(255, 255, 255);
}


@viewport{
	zoom: 1.0;
}
@-ms-viewport{
	zoom: 1.0;
}
/*sets regular font size for mobile view*/
@media screen and (max-width:600px){
	body{
		font-size:30px;
	}
	body.Home{
		font-size:30px;
	}
	body.Contact{
		font-size:30px;
	}
	body.services{
		font-size:30px;
	}
	body.About{
		font-size:30px;
	}
}




/*-------------------header start mobile-------------*/
header {
	/*background-image: url(img/home_background2.jpg);*/
	background-color: white;
	text-align: center;
	top: 0%;
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 13%;
}

.nav-toggle{
	display:none;
}
.nav-toggle-label{
	position:absolute;
	top:30%;
	left:0;
	margin-left: 1em;
	display:flex;
	align-items: center;
}
.nav-toggle-label, span
.nav-toggle-label, span::before,
.nav-toggle-label, span::after{
	display:block;
	height: 4px;
	width: 1.1em;
	background: rgb(168, 132, 33);
	border-radius: 2px;
	position: absolute;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after{
	content:'';
	position: absolute;
}

.nav-toggle-label span::before{
	bottom:7px;
}
.nav-toggle-label span::after{
	top:7px;
}
nav {
	position: absolute;
	text-align: left;
	font-size: 40px;
	top: 100%;
	left: 0;
	background-color: white;
	width: 100%;
	transform: scale(1, 0);
	transform-origin: top;
	transition: transform 400ms ease-in-out;
}
nav ul{
	margin:0;
	padding:0;
	list-style: none;
}
nav li{
	margin-bottom: 0em;
	margin-left:1em;
}
nav a{
	color: rgb(0, 0, 0);
	text-decoration: none;
	font-size: 1.2rem;
	text-transform: uppercase;
	opacity:0;
	transition: opacity 150ms ease-in-out;
}
	nav a:hover {
		color: black;
	}
.nav-toggle:checked ~ nav{
	transform: scale(1,1);
	
}
.nav-toggle:checked ~ nav a{
	opacity: 1;
	transition: opacity 250ms ease-in-out 250ms;
}


/*header start normal*/
@media screen and (min-width: 800px){
	.nav-toggle-label{
		display:none;
	}

	header {
		height: 17%;
		display: grid;
		grid-template-columns: 1fr auto minmax(600px,3fr) 1fr;
		background-color: white;
	}

	.logo{
		position: relative;
		grid-column: 2 / 3;
		left: 100px;
		height: 80px;
		width: auto;
	}

	nav{
		all: unset;
		grid-column: 3 / 4;
		display: flex;
		align-items: center;
	}
	nav a{
		position: relative;
		left: 300px;
		opacity: 1;
		font-size: 25px;
	}
	nav ul{
		display: flex;
	}
	nav li{
		margin-left: 2.5em;
		margin-bottom: 0;
	}
	nav a::before{
		content: '';
		display: block;
		height: 3px;
		width: 100%;
		background-color: #444;
		position: absolute;
		top: -.1em;
		width: 100%;
		transform: scale(0,1);
		transition: all ease-in-out 350ms;	
	}
	
	nav a:hover::before{
		transform: scale(1,1);
	}
}


/*-------------header end--------*/


/*text*/
h2{
	color: black;
	font-weight: bold;
	font-size:20px;
}

h3{
	color:white;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	font-weight: lighter;
}
h4 {
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: lighter;
}
h5 {
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: lighter;
}
h6 {
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: lighter;
}







/*setting up the footer*/
.main-content > div{
	width: 700px;
	height: 200px;
} 
.main-content{
	display: flex;
	justify-content: space-between;
}
.left{
	float: left;
}
.center{
	float: center;
	margin: 0;
}
.right{
	float: right;
}



.social-menu ul{
    position: absolute;
    top: 40%;
    left: 83%;
    padding:0;
    margin:0;
    transform: translate(-50%, -50%);
    display: flex;


}
.social-menu ul li{
    list-style: none;
    margin: 0 15px;
}

.social-menu ul li .fab{
    font-size: 30px;
    line-height: 60px;
    transition:.6s;
    color: #000;
}
.social-menu ul li .fa:hover {
    color: #fff;
}
.social-menu ul li a{
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    transition: .6s;
    box-shadow: 0 5px 4px rgba(0, 0, 0, .5);
}
.social-menu ul li a:hover{
    transform: translate(0, -10px);
}
.social-menu ul li:nth-child(1) a:hover{
    background-color: #3b5999;
}
.social-menu ul li:nth-child(2) a:hover {
    background-color: purple;
}
.button{
	cursor: pointer;
	text-align: center;
	
}






h4 a:-webkit-any-link {
    color:rgb(0, 162, 255);
    cursor: pointer;
    text-decoration: none;
}

/*Things that dont need to be seen in WEB page*/
@media screen and (min-width: 800px) {


	.footer_phone{
		display: none;
	}

}



/*----------------------------------------Phone version-------------*/
@media screen and (max-width: 800px){

	.footer_index {
		display: none;
	}

	.phone-main-content > div {
		width: 700px;
		height: 200px;
	}

	.phone-main-content {
		display: flex;
		justify-content: space-between;
	}

	.center h5{
		font-size: 20px;
		line-height: 90px;
		font-weight: lighter;
	}


	.center h3 {
		font-size: 20px;
		font-weight: lighter;
	}
	.center h4 {
		font-size: 15px;
		font-weight: lighter;
	}

	.phone-social-menu ul {
		position: absolute;
		top: 22%;
		left: 50%;
		padding: 0;
		margin: 0;
		transform: translate(-50%, -50%);
		display: flex;
	}

	.phone-social-menu ul li {
		list-style: none;
		margin: 0 10px;
	}
	.phone-social-menu ul li .fab {
		font-size: 20px;
		line-height: 40px;
		transition: .6s;
		color: #000;
	}

	.phone-social-menu ul li .fa:hover {
		color: #fff;
	}

	.phone-social-menu ul li a {
		position: relative;
		display: block;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background-color: #fff;
		text-align: center;
		transition: .6s;
		box-shadow: 0 5px 4px rgba(0, 0, 0, .5);
	}

	.phone-social-menu ul li a:hover {
		transform: translate(0, -10px);
	}

	.phone-social-menu ul li:nth-child(1) a:hover {
		background-color: #3b5999;
	}

	.phone-social-menu ul li:nth-child(2) a:hover {
		background-color: purple;
	}

	/*Remove Career*/
	.social-menu{
		display: none; 
	}

}

/*----------------------end of services phone version-----------------*/







