@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&dispaly=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	border: none;
	outline: none;
	scroll-behavior: smooth;
	font-family: 'Poppins', sans-serif;
}

:root {
	--bg-color: #1f242d;
	--second-bg-color: #323946;
	/*--bg-color: #000;
	--second-bg-color: #1f242d;*/
	--text-color: #c0c0c0;
	--submain-color: #d69900;
	--main-color: #f0d100;
}

html {
/*	font-size: 10.5;*/
	overflow-x: hidden;
}

body {
	background: var(--bg-color);
	color: var(--text-color);
}

section {
	min-height: auto;	
	padding: 5.5rem 9% 2.5rem;
}

h1, h2, h3, p{
	color: var(--text-color);
}

.header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0.8rem 10% 0.45rem;
	background: /*var(--bg-color)*/ #323946;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

.header img{
	width: 6vw;
}

.header.sticky{
	border-bottom: .075rem solid var(--submain-color);
	transition: 3s;
}

.logo{
	font-size: 1rem;
	color: #ffffff;
	margin-left: 3rem; 	
	transition: .3s;
	font-weight: 20px;
}

.navbar a{
	font-size: 1rem;
	color: var(--text-color);
	margin-left: 2rem;    
	transition: .8s ease;
}

.navbar a:hover,
.navbar a.active{
	color: var(--main-color);

}

#menu-icon{
	font-size: 3.6rem;
	color: var(--text-color);
	display: none;
}

.home{
	display: flex;
	justify-content: center;
	align-items: center;
	grid-template-columns: repeat(2, 1fr);
}

.home-img img{
	width: 35vw;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage{
	0%{
		transform: translateY(0);
	}
	50%{
	transform: translateY(-2.4rem);
	}
	100%{
	transform: translateY(0);
	}
}

.home-content h3{
	font-size: 1.75rem;
	font-weight: 700;
}

.home-content h3:nth-of-type(2){
	margin-bottom: 1.2rem;
}

span{
	color: var(--main-color);
}

.home-content h1{
	font-size: 3.2rem;
	font-weight: 700;
	padding: .8rem 0 0.3rem;
}

.home-content p{
	font-size: 1rem;
}

.social-media a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 2.75rem;
	height: 2.75rem;
	background: transparent;
	border: .2rem solid var(--main-color);
	border-radius: 50%;
	font-size: 1.5rem;
	color: var(--main-color);
	margin: 2.5rem 1.5rem 2.5rem 0;
	transition: .5s ease;
}

.social-media a:hover{
	background: var(--main-color);
	color: var(--second-bg-color);
	box-shadow: 0 0 1rem var(--main-color);
}

.buto{
	display: flex;
	gap: 46px;
}

.buto a{
	text-align: center;
}

.btn{
	display: inline-block;
	padding: 0.7rem 2rem;
	background: var(--main-color);
	border-radius: 4rem;
	box-shadow: 0 0 1rem var(--main-color);
	font-size: 1.0rem;
	color: var(--second-bg-color);
	letter-spacing: .03rem;
	font-weight: 600;
	transition: .65s ease;
}

.btn:hover{
	box-shadow: none;
}

.services{
	height: 70vh;
	background-image: linear-gradient(rgba(0, 0, 0, 0.8)/* first color code*/,rgba(0,0,0,0.8)), url('images/Nairobi-City-County-12-2.jpg')/*background image*/;
	background-position: center;
	background-size: cover;
}

.about{
	display: flex;
	/*justify-content: center;*/
	align-items: center;
	gap: 4rem;
	background: var(--second-bg-color);
	text-align: center;
}

.about-content p{
/*	padding-bottom: .0125rem;*/
	text-align: left;
}

.about-img img{
	width: 30vw;
	border-radius: 50%;
}

.heading{
	text-align: center;
	font-size: 4rem;
}

.about-content h2{
	font-size: 4rem;
	line-height: 1.15;
}

.about-content h3{
	font-size: 2.2rem;
}

.about-content p{
	font-size: 1.2rem;
	margin: 1rem 0 2rem;
}

.skills h2{
	font-size: 3rem;
	margin-bottom: 5rem;
}

.skills-container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.4rem;
}

.skills-container .skills-box{
	flex: 1 1 20rem; /* for the flex-wrap */
	background: var(--second-bg-color);
	padding: 2.5rem 2rem 3rem;
	border-radius: 2rem;
	text-align: center;
	border: .07rem solid var(--main-color);
	transition: .5s ease;
}

.skills-container .skills-box:hover{
	border-color: var(--main-color);
	transform: scale(1.05);
}

.skills-box i{
	font-size: 3rem;
	color: var(--submain-color);
}

.skills-box h3{
	font-size: 1.8rem;
}

.skills-box p{
	font-size: 1rem;
	margin: .8rem 0 2rem;
}

.portfolio{
/*	background: var(--second-bg-color);*/
	background-image: linear-gradient(rgba(0, 0, 0, 0.575)/* first color code*/,rgba(0,0,0,0.575)), url('images/africalawtech.jpg')/*background image*/;
	background-position: center;
	background-size: cover;
}

.portfolio h2{
	font-size: 3rem;
	margin-bottom: 4rem;
}

.portfolio-container{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	gap: 1.8rem;
}

.portfolio-container .portfolio-box{
	position: relative;
	border-radius: 1.25rem;
	box-shadow: 0 0 0.6rem var(--main-color);
	overflow: hidden;
	display: flex;
}

.portfolio-box img{
	width: 100%;
	transition: .5s ease;
}

.portfolio-box:hover img{
	transform: scale(1.1);
}

.portfolio-box .portfolio-layer{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.05), var(--main-color));
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 0 4rem;
	transform: translateY(100%);
	transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer{
	transform: translateY(0%);
}

.portfolio-layer h4, p{
	color: #fff;
}

.portfolio-layer h4{
	font-size: 1.7rem;
}

.portfolio-layer p{
	font-size: 0.9rem;
	font-weight: 450;
	margin: .3rem 0 1rem;
}

.portfolio-layer a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 3rem;
	height: 3rem;
	background: var(--text-color);
	border-radius: 50%;
}

.portfolio-layer a i{
	font-size: 2rem;
	color: var(--second-bg-color);
}

.footer{	
	background: var(--second-bg-color);
	display: flex;
	flex-direction: column;
}

.no_footer_text{
	display: flex;
}

.no_footer_text h4{
	padding: 0.5rem 0 0rem;
}

.contact{
   /* width: 80%; */
	margin: 0 10% 0;
	text-align: left;
	flex-direction: column;
}

.contact h4{
/*	font-size: 3rem;*/
	margin-bottom: 0.5rem;
}

.row {
	padding-bottom: 30px;
	display: flex;
	flex-direction: column;
/*	gap: 2rem;*/
}

.row img{
	width: 9vw;
	padding-top: 0.2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.row span{
	color: var(--submain-color);
}

.social-media2 a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 2.175rem;
	height: 2.175rem;
	background: transparent;
	border: .09rem solid var(--main-color);
	border-radius: 50%;
	font-size: 1.5rem;
	color: var(--main-color);
	margin: .5rem 1rem 0;
	transition: .5s ease;
}

.social-media2 a:hover{
	background: var(--main-color);
	color: var(--second-bg-color);
	box-shadow: 0 0 1rem var(--main-color);
}

.contact-col{
/*	width: 67px;*/  /*  use X% instead of Xpxfor adjusting the length of the input-box  */
	font-size: 1.2rem;
	flex-basis: 48%;
	margin: 0rem 0 0rem;
}

.contact-col p{
	font-size: .85rem;
	color: var(--text-color);
}

.contact-col div{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px;
}

.contact-col div .fa /*icons*/{
/*	font-size: 28px;*/
	color: var(--main-color);
	margin: 1rem;
}

.contact-col div .bx /*icons*/{
/*	font-size: 28px;*/
	color: var(--main-color);
	margin: 1rem;
}

/*.contact form{
	max-width: 70rem;
	margin: 1rem auto 1rem;
	text-align: center;
}

.contact form .input-box{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.contact form .input-box input, .contact form textarea{
	width: 100%;
	padding: .75rem;
	font-size: 0.9rem;
	color: var(--text-color);
	background: var(--second-bg-color);
	border-radius: .8rem;
	margin: .25rem 0; /*  space in between the forms all round 
}

.contact form .input-box input{
	width: 49%; /*  space in between the forms vertically
}

.contact form textarea{
	resize: none;
}

.contact form .btn{
	margin-top: 0.8rem;
	cursor: pointer;
}*/

.servicexp{
	flex-direction: column;
	width: 280px;
	padding-top: 1rem;
}

.servicexp p{
	color: var(--text-color);
	padding-bottom: 0.1rem;
}

.brands{
	padding: 5px 0 5px;
	text-align: center;
}

.brands h4{
	padding: 5px 0 0;
}

.brands p{
	color: var(--text-color);
}

.brands-col{
	padding: 2rem 0 0;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 7.5rem;
}

.ewan-logo img{
	width: 200px;
}

.chriva-logo img{
	width: 200px;
	border-radius: 50%;
}

/*.ait-logo{
	height: auto;
}*/

.footer-text{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0.9rem 30% 0.75rem;
}

.footer-text p{
	font-size: 1rem;
	color: var(--text-color);
}

.footer-iconTop a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: .5rem;
	background: var(--main-color);
	border-radius: 2.2rem;
	transition: .5s ease;
}

.footer-iconTop a:hover{
	box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i{
	font-size: 1.8rem;
	color: var(--second-bg-color);
}

.clearfix::before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
}



/*  services page  */

.header2 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1rem 10% 0.6rem;
	background: /*var(--bg-color)*/ #323946;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

.header2.sticky {
	border-bottom: .075rem solid var(--submain-color);
	transition: 3s;
}

.background{
	background-image: linear-gradient(rgba(0, 0, 0, 0.5)/* first color code*/,rgba(0,0,0,0.5)), url('images/Programer.jpeg')/*background image*/;
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.skills2{
/*	height: 12vh;*/
	width: 100%;
	margin: auto;
	text-align: center;
	padding: 20px 0% 0px;
	text-align: center;
	font-size: 20px;
}

.skills3{
	padding: 0 10% 0;
}

.skills3 h2{
	padding-bottom: 7px;
}

.skills3 p{
	padding: .2rem;
}

.skills-content p{
	padding: 0 0 12px;
}

.skills3-container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.4rem;
	padding-bottom: 30px;
	text-align: center;
}

.skills3-container .skills3-box{
	flex: 1 1 20rem; /* for the flex-wrap */
	background: linear-gradient(rgba(0, 0, 0, 0.75)/* first color code*/,rgba(0,0,0,0.75));
	padding: 2.5rem 2rem 3rem;
	border-radius: 2rem;
	text-align: center;
	border: .07rem solid var(--main-color);
	transition: .5s ease;
}

.skills3-container .skills3-box:hover{
	border-color: var(--main-color);
	transform: scale(1.05);
}

.services-skills{
	height: auto;
	background-image: linear-gradient(rgba(0, 0, 0, 0.6)/* first color code*/,rgba(0,0,0,0.6)), url('images/2488997.jpg')/*background image*/;
	background-position: fixed;
	border-radius: 1.5rem;
	text-align: center;
	padding-bottom: 30px;
}

.services-skills h1{
	font-size: 26px;
	padding: 25px 0 10px;
}

.services-skills p{
	font-weight: 450;
}

.services-skills a{
	padding: 8px 24px 8px;
}


/*--- price table ---*/
.pricing-table{
/*	background: #f8f8f8;*/
	padding: 0px 0px 50px;
}

.hero-btn.red-btn a{
	font-size: 2.25rem;
}

.hero-btn{
	display: inline-block;
	text-decoration: none;
	color: #fff;
	border: 1px solid #fff;
	padding: 12px 34px;
	font-size: 1.5rem;
	background: transparent;
	position: relative;
	cursor: pointer;
}

.hero-btn:hover{
	border: 1px solid var(--submain-color);
	background: var(--submain-color);
	transition: 1s;
}

.red-btn{
	border: .125rem solid var(--text-color);
	border-radius: 9px;
	background: transparent;
	color: var(--main-color);
/*	padding: 12px 34px;*/
}

.red-btn:hover{
	color: #fff;
}

.pricing-table .details{
	width: 90%;
	max-width: 500px;
	text-align: center;
	margin: 0 auto;
	padding: 40px 20px;
}

.pricing-table .details h2{
	font-size: 20px;
	margin-bottom: 3px;
	color: #ffffff;
}

.pricing-table .details p{
	font-size: 15px;
}

.pricing-table .grid{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 10px;
	padding: 20px;
}

.pricing-table .grid .box{
	width: 250px;
	border: .07rem solid var(--main-color);
	text-align: center;
	padding: 20px;
	background: var(--submain-color);
	border-radius: 10px;
	box-shadow: 0px 2px 10px 5px rgba(0, 0, 0, 0.75);
}

.pricing-table .grid .box .title{
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #000;
}

.pricing-table .grid .box .price{
	margin-bottom: 20px;
}

.pricing-table .grid .box.professional .price b{
	display: block;
	font-size: 40px;
	margin-bottom: -5px;
	color: #fff;
	padding-bottom: 5px;
}

.pricing-table .grid .box .price b{
	display: block;
	font-size: 40px;
	margin-bottom: -5px;
	color: #000;
	padding-bottom: 5px;
}

.pricing-table .grid .box .features > *{
	color: #000;
	padding: 8px 0px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.pricing-table .grid .box .button a{
	width: 100%;
	margin: 25px 0px 0px;
	padding: 10px 50px 10px;
	background: linear-gradient(to bottom, var(--second-bg-color), var(--bg-color));
	color: var(--text-color);
	border-radius: 5px;
	outline: none;
	border: none;
	font-weight: 600;
	cursor: pointer;
}

.pricing-table .grid .box .button{
	padding: 38px 0 9px;
}

.pricing-table .grid .box.professional{
	transform:  scale(1.1);
	background: linear-gradient(to bottom, var(--second-bg-color), var(--bg-color));
}

.pricing-table .grid .box.professional .title{
	color: #eee;
}

.pricing-table .grid .box.professional .price{
	color: #fff;	
}

.pricing-table .grid .box.professional .features > *{
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.pricing-table .grid .box.professional .button a{
	background: #fff;
	color: var(--second-bg-color);
}



/*breakpoints*/

@media (max-width: 1200px){
	html{
		font-size: 92%;
	}
	.no_footer_text{
		space-between: none;
	}
	.contact{
		margin: 0 8% 0;
	}
	.servicex{
		width: 250px;
	}
	.brands-col{
		gap: 1rem;
	}
	.ait-logo img{
		width: 120px;
	}
	.chriva-logo img{
		width: 140px;
	}
	.ewan-logo img{
	width: 140px;
	}
}

@media (max-width: 991px){
	.header{
		padding: 2rem 3%;
	}
	section{
		padding: 5.75rem 4% 2rem;
	}
	/*.home-content p{
		font-size: 1.45rem;
	}*/
	.buto{
		width: 45%;
		gap: 1.25rem;
	}
	.about h2{
		font-size: 3rem;
	}
	.about-content{
		gap: 0;
	}
	/*.about-content p{
		font-size: 1.45rem;
	}*/
	.skills{
		padding-bottom: 7rem;
	}
	.logo img{
		width: 7rem;
	}
	/*.services-box p{
		font-size: 1.55rem;
	}*/
	.portfolio{
		padding-bottom: 7rem;
		background-image: linear-gradient(rgba(0, 0, 0, 0.6)/* first color code*/,rgba(0,0,0,0.6)), url('images/africalawtech2.jpg')/*background image*/;
	}
	.portfolio-container{
		grid-template-columns: repeat(2, 1fr);
	}
	.portfolio-box h4, p{
		font-size: 1.8rem;
	}
	.services-skills{
		height: auto;
		background-image: linear-gradient(rgba(0, 0, 0, 0.6)/* first color code*/,rgba(0,0,0,0.6)), url('images/3228895.jpg')/*background image*/;
		background-position: fixed;
		border-radius: 1.5rem;
		text-align: center;
		padding-bottom: 30px;
	}
	.skills-content .btn{
		font-size: 1.25rem;
	}
	.pricing-table .grid{
		gap: 20px;
	}
	.pricing-table .grid .box.professional{
		transform: scale(1.05);
	}
	.contact{
		margin: 0 3% 0;
	}
	.row{
		flex-direction: column;
	}
	.servicex{
		width: 200px;
	}
	.servicexp p{
		font-size: 1rem;
	}
	.brands p{
		font-size: 1.4rem;
	}
	.footer{
		padding: 2rem 3%;
	}
	.ait-logo img{
		width: 120px;
	}
	.chriva-logo img{
		width: 140px;
	}
	.ewan-logo img{
	width: 140px;
	}
}

@media (max-width: 768px){
	.header{
		padding: 1.25rem 10% 0.75rem;
	}
	.header2{
		padding: 1.25rem 10% 0.75rem;		
	}
	.logo img{
		width: 5rem;
	}
	#menu-icon{
		display: block;
	}
	.navbar{
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		padding: 1rem 3%;
		background: var(--bg-color);
		border-top: .1rem solid rgba(0, 0, 0, .2);
		box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
		display: none;
	}
	.navbar.active{
		display: block;
	}
	.navbar a{
		display: block;
		font-size: 2rem;
		margin: 3rem 0;
	}
	.home{
		flex-direction: column;
	}
	.home-content h3{
		font-size: 2.6rem;
	}
	/*.home-content h1{
		font-size: 5rem;
	}*/
	.home-img{
		display: flex;
		justify-content: center;
		align-items: center;
		width: 70vw;
		margin-top: 4rem;
	}
	.home-img img{
		width: 90vw;
	}
	.buto{
		width: 50%;
		flex-direction: column;
	}
	.about-content p{
		padding-bottom: 10px;
	}
	.about-img img{
		width: 90vw;
	}
	.about{
		flex-direction: column-reverse;
	}
	.about img{
		width: 70vw;
		margin-top: 1rem;
	}
	.skills h2{
		margin-bottom: 3rem;
	}
	/*.services-container{
		grid-template-columns: repeat(2, 1fr);
	}*/
	.skills-container{
		display: flex;
		flex-direction: column;
	}
	.portfolio h2{
		margin-bottom: 3rem;
	}
	.no_footer_text{
		flex-direction: column;
		text-align: center;
	}
	.row{
		display: flex;
		flex-direction: column;
	}
	.img{
		display: flex;
		justify-content: center;
		align-items: center;	}
	.row img{
	width: 20vw;
	}
	/*.rowimg{
		display: flex;
		justify-content: center;
		align-items: center;
	}*/
	.row h5{
		font-size: 1.5rem;
	}
	.servicex{
		width: auto;
/*		width: 380px;*/
	}
	.servicexp{
		width: auto;
	}
	.contact{
		text-align: center;
	}
	.contact-col{
		margin: 0 0 0;
		font-size: 2.5rem;		
	}
	.contact-col p{
		font-size: 1.25rem;
	}
	.social-media2{
		padding-top: 1rem;
	}
	.brands-col{
		flex-direction: column;
	}
	.footer{
		text-align: center;
		padding: 1.25rem 10% 0.5rem;	
	}
	.footer-text{
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
}

@media (max-width: 617px){
	.portfolio-container{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 450px){
	html{
		font-size: 82%;
	}
}

@media (max-width: 365px){
	/*.footer{
		flex-direction: column-reverse;
	}*/
	/*.footer p{
		text-align: center;
		margin-top: 2rem;
	}*/
}
