/**
 * About Us - Images & related styles (required for about-image-1, about-image-2)
 * Moved from theme custom.css for corprate folder
 */

/* Image anime & reveal - base (reveal is hidden by theme until GSAP runs) */
.about-us-images .image-anime{
	position: relative;
	overflow: hidden;
}

.about-us-images .image-anime:after{
	content: "";
	position: absolute;
	width: 200%;
	height: 0%;
	left: 50%;
	top: 50%;
	background-color: rgba(255,255,255,.3);
	transform: translate(-50%,-50%) rotate(-45deg);
	z-index: 1;
}

.about-us-images .image-anime:hover:after{
	height: 250%;
	transition: all 600ms linear;
	background-color: transparent;
}

/* Show about images - override theme .reveal visibility (images show without GSAP) */
.about-us-images .reveal{
	position: relative;
	display: block;
	visibility: visible;
	overflow: visible;
}

.about-us-images .reveal img{
	height: 100%;
	width: 100%;
	object-fit: cover;
	transform-origin: left;
}

/* About Us section */
.about-us{
	padding: 100px 0;
}

.about-us-images{
	position: relative;
	padding: 20px 240px 165px 30px;
	margin-right: 35px;
}

.about-image-1{
	transform: rotate(-10deg);
}

.about-image-1 figure,
.about-image-2 figure{
	display: block;
}

.about-image-1 img,
.about-image-2 img{
	width: 100%;
	aspect-ratio: 1 / 1.162;
	object-fit: cover;
}

.about-image-2{
	position: absolute;
	bottom: 40px;
	right: 50px;
	transform: rotate(17deg);
	width: 100%;
	max-width: 290px;
}

.about-image-circle{
	position: absolute;
	top: 0;
	right: 30px;
}

.about-image-circle a{
	display: block;
	box-shadow: 0px 0px 30px 0px #0000000D;
	border-radius: 50%;
}

.about-image-circle a img{
	width: 100%;
	max-width: 146px;
	animation: infiniterotate 25s infinite linear;
}

@keyframes infiniterotate{
	from{
		transform: rotate(0deg);
	}
	to{
		transform: rotate(360deg);
	}
}

/* About Us body & footer */
.about-us-body{
	display: flex;
	gap: 30px 50px;
	flex-wrap: wrap;
}

.about-body-item{
	width: calc(50% - 25px);
	display: flex;
	align-items: center;
}

.about-body-item .icon-box{
	margin-right: 20px;
}

.about-body-item .icon-box img{
	width: 100%;
	max-width: 50px;
}

.about-body-item-content{
	width: calc(100% - 70px);
}

.about-body-item-content h3{
	font-size: 16px;
	line-height: 1.5em;
	text-transform: capitalize;
}

.about-us-footer{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	border-top: 1px solid var(--divider-color, #eee);
	margin-top: 40px;
	padding-top: 40px;
}

.about-us-footer-counter{
	width: calc(27% - 20px);
}

.about-us-footer-counter h2{
	font-size: 80px;
	font-weight: 700;
	line-height: 1em;
	background-image: linear-gradient(90deg, var(--accent-color, #0066cc) 17.66%, var(--accent-secondary-color, #cc0000) 90.75%);
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.about-us-footer-content{
	width: calc(45% - 20px);
}

.about-us-footer-content h3{
	font-size: 18px;
	line-height: 1.5em;
}

.about-us-footer-button{
	width: calc(28% - 20px);
	text-align: end;
}

/* Tablet */
@media only screen and (max-width: 991px){
	.about-us{
		padding: 50px 0;
	}

	.about-us-images{
		width: 100%;
		max-width: 75%;
		margin: 0 auto 30px;
		padding: 20px 225px 140px 30px;
	}

	.about-image-2{
		max-width: 270px;
	}

	.about-image-circle a img{
		max-width: 120px;
	}

	.about-us-body{
		gap: 20px;
	}

	.about-body-item{
		width: calc(50% - 10px);
	}

	.about-body-item .icon-box{
		margin-right: 10px;
	}

	.about-body-item .icon-box img{
		max-width: 35px;
	}

	.about-body-item-content{
		width: calc(100% - 45px);
	}

	.about-us-footer{
		margin-top: 30px;
		padding-top: 30px;
	}

	.about-us-footer-counter h2{
		font-size: 60px;
	}

	.about-us-footer-counter{
		width: calc(22% - 20px);
	}

	.about-us-footer-content{
		width: calc(50% - 20px);
	}
}

/* Mobile */
@media only screen and (max-width: 767px){
	.about-us-images{
		max-width: 100%;
		padding: 15px 100px 130px 20px;
	}

	.about-image-2{
		max-width: 200px;
		bottom: 25px;
		right: 30px;
	}

	.about-image-circle{
		top: 10px;
		right: 0;
	}

	.about-image-circle a img{
		max-width: 100px;
	}

	.about-body-item{
		width: 100%;
	}

	.about-body-item .icon-box{
		margin-right: 5px;
	}

	.about-body-item .icon-box img{
		max-width: 30px;
	}

	.about-body-item-content{
		width: 100%;
	}

	.about-us-footer{
		gap: 20px;
	}

	.about-us-footer-counter{
		width: calc(28% - 10px);
	}

	.about-us-footer-counter h2{
		font-size: 40px;
	}

	.about-us-footer-content{
		width: calc(72% - 10px);
	}

	.about-us-footer-content h3{
		font-size: 16px;
	}

	.about-us-footer-button{
		text-align: left;
		width: 100%;
	}
}
