/********** Template CSS **********/
:root {
	--primary: #4e5341;
	--secondary: #ecdac5;
	--light: #e2e2e2;
	--dark: #393b32;
	--black: #232323;
	--tittle: "Cairo", sans-serif;
	--mainFont: "Roboto", sans-serif;
}
* {
	box-sizing: border-box;
}
video {
	border-radius: 9px;
	border: 3px solid var(--primary);
}
.raduis {
	border: 0.07em solid var(--primary);
	border-radius: 0.25em;
}
.back-to-top {
	position: fixed;
	display: none;
	right: 30px;
	bottom: 30px;
	z-index: 99;
}
.cairo {
	font-family: var(--tittle) !important;
}
.Taj {
	font-family: "Tajawal", sans-serif !important;
}
h1,
.h1,
h2,
.h2,
.fw-bold {
	font-weight: 700 !important;
	font-family: var(--tittle);
}

h3,
.h3,
h4,
.h4,
.fw-medium {
	font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
	font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
	z-index: 99999;
}

#spinner.show {
	transition: opacity 0.5s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

/*** Button ***/
.btn {
	transition: 0.5s;
	font-weight: 500;
	font-family: var(--tittle);
}

.btn-primary,
.btn-outline-primary:hover {
	color: var(--light);
	background-color: var(--primary);
	border: none;
}

.btn-square {
	width: 38px;
	height: 38px;
}

.btn-sm-square {
	width: 32px;
	height: 32px;
}

.btn-lg-square {
	width: 48px;
	height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
	top: -100px;
	transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
	height: 81px;
	font-family: var(--tittle);
	font-weight: 650;
	outline: none;
}

.navbar .navbar-nav .nav-link {
	margin: 0px 0px;
	font-size: 19px;
	font-weight: 650;
	outline: none;
	font-family: var(--tittle);
	background: transparent;
	padding: 26px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
	color: var(--primary);
	background: var(--secondary);
}

@media (max-width: 991.98px) {
	.navbar .navbar-nav .nav-link {
		margin-right: 0;
		padding: 10px 0;
	}

	.navbar .navbar-nav {
		border-top: 1px solid #eeeeee;
	}
	.navbar {
		background-color: var(--secondary) !important;
	}
}

@media (min-width: 992px) {
	.navbar .nav-item .dropdown-menu {
		display: block;
		border: none;
		margin-top: 0;
		top: 150%;
		opacity: 0;
		visibility: hidden;
		transition: 0.5s;
	}

	.navbar .nav-item:hover .dropdown-menu {
		top: 100%;
		visibility: visible;
		transition: 0.5s;
		opacity: 1;
	}
}

/*** Header ***/
.carousel-caption {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: #4e5341b0;
	z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
	width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 3rem;
	background-color: var(--primary);
	border: 10px solid var(--primary);
}

@media (max-width: 768px) {
	#header-carousel .carousel-item {
		position: relative;
		max-height: 75vh;
	}

	#header-carousel .carousel-item img {
		height: 100%;
		object-fit: cover;
	}
}

.page-header {
	background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
		url(../img/carousel-1.jpg) center center no-repeat;
	background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
	color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
	font-size: 18px;
	color: var(--light);
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
	.top-feature {
		position: relative;
		margin-top: -80px;
		z-index: 1;
	}
}

/*** Facts & Quote ***/

/*** Service ***/
.service-item {
	position: relative;
	text-align: center;
}

.service-item .service-img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: -1;
}

.service-item .service-img img {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	object-fit: cover;
	transform: scale(1.2);
	transition: 0.3s;
	z-index: -1;
}

.service-item:hover .service-img img {
	transform: scale(1);
}

.service-item .service-text {
	background: #ffffff;
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
	transition: 0.3s;
}

.service-item:hover .service-text {
	background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4 {
	transition: 0.3;
}
.service-item .service-text p {
	transition: 0.3;
	font-size: small;
	font-weight: 450;
}

.service-item:hover .service-text h4 {
	color: #ffffff;
}

.service-item:hover .service-text p {
	color: var(--light);
}

.service-item .service-text .btn-square {
	width: 100px;
	height: 100px;
	background: transparent;
	transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
	background: var(--light);
	border: 2px solid var(--secondary);
}

.service-item .service-text .btn {
	width: 31px;
	height: 31px;
	display: inline-flex;
	align-items: center;
	color: var(--dark);
	background: var(--light);
	white-space: nowrap;
	overflow: hidden;
	transition: 0.3s;
}

.service-item:hover .service-text .btn {
	width: 112px;
}
#Features i {
	color: var(--primary);
}
/*** Project Portfolio ***/
#portfolio-flters {
	display: inline-block;
	background: var(--light);
	padding: 10px 15px;
}

#portfolio-flters li {
	display: inline-block;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
	transition: 0.5s;
	border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
	color: var(--dark);
	border-color: var(--dark);
}

.portfolio-inner {
	overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
	position: absolute;
	content: "";
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: #4e5341ac;
	transition: 0.5s;
}

.portfolio-inner::after {
	left: auto;
	right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
	width: 50%;
}

.portfolio-inner .portfolio-text {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: 0.5s;
	z-index: 3;
	opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
	transition-delay: 0.3s;
	opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
	background: var(--light);
	color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
	background: var(--primary);
	color: var(--light);
}

/*** Team ***/
.team-item {
	position: relative;
	overflow: hidden;
}

.team-item .team-text {
	position: absolute;
	width: calc(100% - 45px);
	left: -100%;
	bottom: 45px;
	padding: 1.5rem;
	background: #ffffff;
	border-radius: 0 4px 4px 0;
	opacity: 0;
	transition: 0.5s;
}

.team-item:hover .team-text {
	left: 0;
	opacity: 1;
}

.team-item .team-social .btn {
	background: var(--light);
	color: var(--primary);
}

.team-item .team-social .btn:hover {
	background: var(--primary);
	color: var(--light);
}

.team-item .team-img .team-social {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.5s;
	z-index: 3;
	opacity: 0;
}

.team-item:hover .team-img .team-social {
	transition-delay: 0.3s;
	opacity: 1;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
	width: 100px;
	height: 100px;
	border: 2px solid var(--primary);
	border-radius: 9px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	-ms-border-radius: 9px;
	-o-border-radius: 9px;
}

.testimonial-carousel .owl-nav {
	margin-top: 30px;
	display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
	margin-right: 15px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	background: var(--light);
	border-radius: 4px;
	font-size: 22px;
	transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
	background: var(--primary);
	color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
	display: block;
	margin-bottom: 5px;
	padding: 0;
	text-align: left;
	color: var(--light);
	font-weight: normal;
	text-transform: capitalize;
	transition: 0.3s;
}

.footer .btn.btn-link::before {
	position: relative;
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 10px;
}

.footer .btn.btn-link:hover {
	color: var(--primary);
	letter-spacing: 1px;
	box-shadow: none;
}

.copyright {
	color: var(--light);
	background: var(--primary);
}

.copyright a {
	color: #ffffff;
}

.copyright a:hover {
	color: var(--secondary);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
	padding: 20px 0 30px 0;
	background-color: #ffffffb0;
	border: 3px solid var(--primary);
	border-radius: 9px;
}

.contact .info-item i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	font-size: 46px;
	line-height: 0;
	color: var(--primary);
	border: 3px solid var(--primary);
}
.contact .info-item i :hover {
	color: var(--secondary);
	border: 3px solid var(--secondary);
}
.contact .info-item a {
	color: var(--primary);
}
.contact .info-item h3 {
	font-size: 24px;
	color: var(--primary);
	font-weight: 700;
	margin: 10px 0;
	text-align: center;
}

.contact .info-item p {
	padding: 0;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
}
.contact label {
	color: var(--primary);
	font-weight: bold;
}
.contact #contact-form {
	width: 100%;
	background: #fff;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
	padding: 30px;
}

.contact #contact-form .form-group {
	padding-bottom: 20px;
}

.contact #contact-form .error-message {
	display: none;
	color: #fff;
	background: #df1529;
	text-align: left;
	padding: 15px;
	font-weight: 600;
}

.contact #contact-form .error-message br + br {
	margin-top: 25px;
}

.contact #contact-form .sent-message {
	display: none;
	color: #fff;
	background: #059652;
	text-align: center;
	padding: 15px;
	font-weight: 600;
}

.contact #contact-form .loading {
	display: none;
	background: #fff;
	text-align: center;
	padding: 15px;
}

.contact #contact-form .loading:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid #059652;
	border-top-color: #fff;
	animation: animate-loading 1s linear infinite;
}

.contact #contact-form input,
.contact #contact-form textarea {
	border-radius: 0;
	box-shadow: none;
	font-size: 14px;
}

.contact #contact-form input:focus,
.contact #contact-form textarea:focus {
	border-color: var(--color-primary);
}

.contact #contact-form input {
	height: 44px;
}

.contact #contact-form textarea {
	padding: 10px 12px;
}

.contact #contact-form button[type="submit"] {
	background: var(--color-primary);
	border: 0;
	padding: 10px 35px;
	color: #fff;
	transition: 0.4s;
	border-radius: 5px;
}

.contact #contact-form button[type="submit"]:hover {
	background: rgba(254, 185, 0, 0.8);
}

.contact iframe {
	border: 4px solid var(--primary);
	border-radius: 14px;
	height: max-content;
	aspect-ratio: 21/6;
}

@keyframes animate-loading {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
