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

html,
body {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.5;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.container {
	max-width: 1200px;
	padding: 0 1.5rem;
	margin: auto;
	overflow: hidden;
}

.btn-main,
.btn-light,
.btn-dark {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	transition: all 0.5s ease-in 0.1s;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.btn-main {
	background: #ffbc00;
	color: #333;
}

.btn-light {
	background: #f4f4f4;
	color: #333;
}

.btn-dark {
	background: #333;
	color: #f4f4f4;
}

button[class^="btn-"]:hover,
a[class^="btn-"]:hover,
input[class^="btn-"]:hover {
	background-color: #ffbc00;
}

.bg-main {
	background: #ffbc00;
	color: #fff;
}

.bg-dark {
	background: #333;
	color: #fff;
}

.bg-light {
	background: #f4f4f4;
	color: #000;
}

.bg-medium {
	background: #ccc;
	color: #000;
}

.lead {
	font-size: 1.3rem;
	margin-bottom: 2rem;
}

.text-center {
	text-align: center;
}

.py-1 {
	padding: 1rem 0;
}

.py-2 {
	padding: 2rem 0;
}

.py-3 {
	padding: 2rem 0;
}

.py-4 {
	padding: 4rem 0;
}

.my-1 {
	margin: 1rem 0;
}

.my-2 {
	margin: 2rem 0;
}

.my-3 {
	margin: 2rem 0;
}

.my-4 {
	margin: 4rem 0;
}

.section-title {
	font-size: 2rem;
	display: block;
	padding-bottom: 0.5rem;
	text-align: center;
	font-weight: 100;
	text-transform: uppercase;
}

.bottom-line {
	height: 2px;
	width: 5rem;
	background: #ffbc00;
	display: block;
	margin: 0 auto 1rem auto;
	transition: all 1s ease;
	cursor: pointer;
}
.bottom-line:hover {
	width: 10rem;
}

.items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0.2rem;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.item {
	position: relative;
	background: #ffbc00;
	overflow: hidden;
}
.item::after {
	content: "";
	position: absolute;
	display: block;
	background: inherit;
	opacity: 0.9;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
	transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}
.item:hover:after {
	transform: scale(2) translateX(0) translateY(0) rotate(-28deg);
	transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}
.item:hover .item-image {
	transform: scale(1.2);
}
.item:hover .item-text {
	opacity: 1;
	transform: translateY(0);
}
.item-image {
	height: auto;
	transform: translateZ(0);
	display: block;
	transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
}
.item-image:before {
	content: "";
	display: block;
	padding-top: 75%;
	overflow: hidden;
}
.item-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	line-height: 0;
}
.item-text {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	text-align: center;
	z-index: 1;
	color: #fff;
	transform: translateY(-20%);
	transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1),
		transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
	transition-delay: 300ms;
}
.item-text-wrap {
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.item-text-title {
	font-size: 2rem;
	padding: 0 1rem;
	margin: 5px 0 0 0;
}
.item-text-category {
	text-transform: uppercase;
	font-size: 1.2rem;
	opacity: 0.7;
	margin: 0;
}

a {
	text-decoration: none;
	color: #333;
}

ul {
	list-style: none;
}

h2,
h3,
h4 {
	text-transform: uppercase;
}

img {
	width: 100%;
	height: 100%;
}

textarea,
input {
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	box-shadow: 0 0px 1px hsla(0, 0%, 0%, 0.2), 0 1px 2px hsla(0, 0%, 0%, 0.2);
	background-color: white;
	line-height: 1.5;
	margin: 0;
}

textarea:hover,
input:hover {
	box-shadow: 0 0px 1px hsla(0, 0%, 0%, 0.6), 0 1px 2px hsla(0, 0%, 0%, 0.2);
}

#logo {
	width: 200px;
	height: 70px;
	color: #fff;
	text-transform: uppercase;
}

#main-nav {
	display: flex;
	justify-content: space-between;
	padding-top: 1rem;
}
#main-nav ul {
	display: flex;
}
#main-nav li {
	padding: 1rem 1.5rem;
}
#main-nav a {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 3px transparent solid;
	padding-bottom: 0.5rem;
	transition: border-color 0.5s;
}
#main-nav a:hover {
	border-color: #ccc;
}
#main-nav a.current {
	border-color: #ffbc00;
}

/* section {
	background: url('../img/bg-3.jpg') no-repeat center center/cover;
	color: #fff;
} */
#header-home {
	background: url("../img/bg1.jpg") no-repeat center center/cover;
	height: 100vh;
	color: #fff;
}
#header-home .header-content {
	text-align: center;
	padding-top: 20%;
}
#header-home .header-content h1 {
	font-size: 4rem;
	line-height: 1.2;
}
#header-home .header-content a {
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
}

#header-inner {
	background: url("../img/bg1.jpg") no-repeat 20% 30% / cover;
	height: 5.5rem;
	border-bottom: 3px solid #ffbc00;
}

#home-a .specials {
	margin-top: 1.5rem;
	display: grid;
	grid-gap: 1.5rem;
	grid-template-columns: repeat(4, 1fr);
}
#home-a .specials .fa {
	color: #ffbc00;
	padding-bottom: 0.4rem;
}
#home-a .specials p {
	font-weight: 500;
	font-size: 1.2rem;
	line-height: 1.2;
}

#home-b .stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
#home-b .stats li {
	line-height: 2;
}
#home-b .stats li.stats-title {
	font-size: 1.5rem;
}
.stats-main {
	color: #ffbc00;
}
#home-b .stats li.stats-number {
	font-size: 2rem;
	font-weight: bold;
}
#home-b .stats div {
	padding: 3rem 0;
}
#home-b .stats div:nth-child(odd) {
	background: #f4f4f4;
	color: #000;
	border-radius: 5px;
}
#home-b .stats div:nth-child(even) {
	background: #333;
	color: #fff;
	border-radius: 5px;
}

#home-c {
	background: url("../img/web1.7.jpg") no-repeat 40% 30% / cover;
	opacity: 1;
	color: #fff;
	font-size: 1.5rem;
}

#home-c .process {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1.5rem;
	text-align: center;
	justify-content: center;
}
#home-c .process-step {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 28px;
	background: linear-gradient(
		to right,
		red,
		orange,
		yellow,
		green,
		blue,
		indigo,
		violet
	);
	color: #fff;
	border-radius: 50%;
	height: 15px;
	width: 15px;
	line-height: 15px;
	text-align: center;
	padding: 1rem;
	transition: all 1s;
}
#home-c .process-icon {
	border-radius: 50%;
	background: #05446b;
	color: #fff;
	padding: 2rem;
	width: 70px;
	height: 70px;
	line-height: 70px;
	text-align: center;
	position: relative;
	transition: all 1s ease-in-out;
	cursor: pointer;
}
#home-c .process-icon:hover {
	background: linear-gradient(
		to right,
		red,
		orange,
		yellow,
		green,
		blue,
		indigo,
		violet
	);
	width: 90px;
	height: 90px;
	line-height: 90px;
}
#home-c .process-icon:hover .process-step {
	background: #05446b;
}

#about-a .about-info {
	display: grid;
	grid-template-areas:
		"bio-image bio bio"
		"aw1 aw2 aw3";
	grid-gap: 1.2rem;
}

#about-a .bio-image {
	grid-area: bio-image;
}

#about-a .bio {
	grid-area: bio;
	border-left: 3px solid #ffbc00;
	padding: 0.8rem;
}
#about-a .bio h4 {
	margin-bottom: 1rem;
	font-weight: bold;
	font-size: 1.2rem;
}
#about-a .bio p {
	font-size: 1.2rem;
}

#about-a .award-1 {
	grid-area: aw1;
}

#about-a .award-2 {
	grid-area: aw2;
}

#about-a .award-3 {
	grid-area: aw3;
}

#about-a .award-1 .fa,
#about-a .award-2 .fa,
#about-a .award-3 .fa {
	color: #ffbc00;
	margin: 1rem;
}

#about-b .progress {
	overflow: hidden;
	height: 1.2rem;
	background: #ccc;
	border-radius: 5px;
	margin-bottom: 0.6rem;
}
#about-b .progress div {
	height: 100%;
	color: #fff;
	text-align: center;
	background: radial-gradient(#ecc649, #ac8007, #ecc649);
}

#about-c .about-logos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 2rem;
}
#about-c .about-logos img {
	width: 70%;
}

#about-d .testimonials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0.5rem;
}
#about-d .testimonials ul {
	list-style: none;
	margin-top: 1rem;
	display: flex;
	align-items: center;
}
#about-d .testimonials p {
	/* border-top: 5px solid #ccc; */
	font-weight: 600;
	border-left: 5px solid #caa70d;
	border-radius: 5px;
	padding: 0.5rem;
	height: 19rem;
}
#about-d .testimonials img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 0.5rem;
}

#contact-a .text-fields {
	display: grid;
	grid-template-areas:
		"name email"
		"subject phone"
		"message message";
	grid-gap: 1.2rem;
	margin-bottom: -3rem;
}
#contact-a .text-fields .name-input {
	grid-area: name;
}
#contact-a .text-fields .email-input {
	grid-area: email;
}
#contact-a .text-fields .subject-input {
	grid-area: subject;
}
#contact-a .text-fields .phone-input {
	grid-area: phone;
}
#contact-a .text-fields .message-input {
	grid-area: message;
	height: 100px;
}
#contact-a .text-fields .text-input {
	padding: 0.5rem 1rem;
	font-size: 1rem;
}
#contact-a .text-fields .text-input:focus {
	outline-color: #5a878f;
}

#contact-a .btn-dark {
	width: 50%;
	border-radius: 3px;
	border: 1px solid #ffbc00;
	margin: 0 0 2rem 0;
	font-size: 1rem;
}
#contact-a .btn-dark:hover {
	border: 1px solid #333;
}

#contact-b .contact-info {
	display: grid;

	grid-template-columns: repeat(4, 1fr);
	text-align: center;
	justify-content: center;
}

#contact-c h1 {
	text-align: center;
	font-size: 4rem;
	font-weight: bold;
}

#main-footer {
	/* background: #333; */
	border-top: 3px solid #ffbc00;
	background: #fbf9f9;
	height: 5rem;
}
#main-footer .footer-content {
	display: flex;
	justify-content: space-between;
	height: 5rem;
	align-items: center;
}
#main-footer .footer-content .social .fab {
	margin-right: 1rem;
	border: 2px solid #fff;
	border-radius: 50%;
	height: 20px;
	width: 20px;
	line-height: 20px;
	text-align: center;
	padding: 0.5rem;
	background: #333;
	color: #fff;
}
#main-footer .footer-content .social .fab:hover {
	background: #ffbc00;
}

@media (max-width: 1200px) {
	#about-a .about-info .bio-image {
		height: 30vh;
		width: 100%;
		align-self: center;
	}
}

@media (min-width: 800px) {
	#about-d .testimonials p {
		height: 9rem;
	}
}
@media (max-width: 800px) {
	#about-d .testimonials p {
		font-size: 0.9rem;
		height: 9rem;
	}
	#main-nav {
		flex-direction: column;
		align-items: center;
	}
	#main-nav li {
		padding: 1rem;
	}
	#header-home {
		height: 10rem;
		border-bottom: 3px solid #ffbc00;
		background-position: 20% 30%;
	}
	#header-home .header-content {
		display: none;
	}
	#header-inner {
		height: 10rem;
	}
	#home-a .specials,
	#home-b .stats,
	#home-c .process,
	#about-d .testimonials,
	.items {
		grid-template-columns: 1fr;
	}
	#home-a .specials div {
		border-bottom: 1px solid #999;
		padding-bottom: 1rem;
	}
	#home-a .specials div:last-child {
		border: none;
		padding-bottom: 0;
	}
	#home-b .stats div {
		padding: 2rem 0 1rem 0;
	}
	#about-a .about-info {
		grid-template-areas:
			"bio-image"
			"bio"
			"aw1"
			"aw2"
			"aw3";
	}
	#about-a .about-info .bio-image {
		height: 100%;
		width: 100%;
	}

	#about-c {
		display: none;
	}
	#contact-a .text-fields {
		grid-template-areas:
			"name"
			"subject"
			"email"
			"phone"
			"message";
	}

	#contact-b .contact-info {
		grid-template-columns: 1fr;
	}
	#contact-b .contact-info div {
		border-bottom: 1px solid #555;
		padding-bottom: 1rem;
		margin-bottom: 1rem;
	}
	#contact-b .contact-info div:last-child {
		border-bottom: none;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	#contact-c h1 {
		font-size: 2rem;
	}
	#main-footer {
		/* height: 9rem; */
	}
	#main-footer .footer-content {
		flex-direction: column;
		padding: 1rem;
		height: 8rem;
	}
	#main-footer .footer-content .social {
		display: flex;
	}
}

@media (max-height: 580px) {
	#header-home .header-content {
		padding-top: 3rem;
	}
}

@media (max-height: 330px) {
	#header-home .header-content h1 {
		font-size: 2rem;
	}
}
