/************************************/
/* Hero Section                     */
/************************************/

.hero {
	position: relative;
	padding: 120px 0 80px;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.hero-btn .btn-default {
	display: inline-block;
}

.hero-body .video-play-button {
	display: inline-flex;
	align-items: center;
}

.hero-body .video-play-button p {
	text-transform: capitalize;
	color: var(--primary-color);
	margin: 0;
	transition: all 0.3s ease-in-out;
}

.hero-body .video-play-button a {
	height: 50px;
	width: 50px;
	border: 1px solid var(--accent-secondary-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	transition: all 0.3s ease-in-out;
}

.hero-body .video-play-button a:hover {
	background: var(--accent-secondary-color);
}

.hero-body .video-play-button a i {
	font-size: 18px;
	color: var(--accent-secondary-color);
	transition: color 0.3s ease;
}

.hero-body .video-play-button a:hover i {
	color: var(--black-color);
}

.hero-image {
	position: relative;
	z-index: 1;
	margin-left: auto;
	max-width: 540px;
}

.hero-img {
	position: relative;
	background: url("../assets/hero-shape.svg") no-repeat bottom center;
	background-size: contain;
}

.hero-img img {
	width: 100%;
	aspect-ratio: 1 / 1.2082;
	object-fit: cover;
	border-radius: 12px;
}

/* Client trust card */
.customer-image-box {
	position: absolute;
	bottom: 90px;
	left: 0;
	width: 100%;
	max-width: 210px;
	background-color: var(--primary-color);
	border-radius: 20px;
	padding: 20px;
	overflow: hidden;
	animation: reviewbox 3s infinite linear alternate;
}

@keyframes reviewbox {
	50% { left: 50px; }
}

.customer-image-box::before {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-accent-reverse);
	z-index: 0;
	transition: all 0.4s ease-in-out;
}

.customer-image-box:hover::before {
	top: 0;
}

.customer-image-content {
	position: relative;
	margin-bottom: 15px;
	z-index: 1;
}

.customer-image-content h3 {
	font-size: 16px;
	text-transform: capitalize;
	color: var(--black-color);
	font-weight: 600;
}

.customer-experience-images {
	position: relative;
	display: inline-flex;
	z-index: 1;
}

.customer-experience-images .customer-image {
	position: relative;
	display: inline-block;
	margin-left: -8px;
	border-radius: 50%;
	overflow: hidden;
	z-index: 1;
}

.customer-experience-images .customer-image:first-child {
	margin: 0;
}

.customer-experience-images .customer-image figure {
	display: block;
	border: 1px solid var(--primary-color);
	border-radius: 50%;
	margin: 0;
}

.customer-experience-images .customer-image img {
	max-width: 40px;
	width: 40px;
	height: 40px;
	object-fit: cover;
}

.customer-image.add-more {
	width: 40px;
	height: 40px;
	background: var(--gradient-accent);
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.customer-image.add-more a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.customer-image.add-more a i {
	color: var(--black-color);
	font-size: 14px;
}

/* Experience counter card */
.experience-counter-box {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 100%;
	max-width: 200px;
	background-color: var(--primary-color);
	border-radius: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 20px;
	overflow: hidden;
	animation: experiencebox 3s infinite linear alternate;
}

@keyframes experiencebox {
	50% { right: 50px; }
}

.experience-counter-box::before {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-accent-reverse);
	z-index: 0;
	transition: all 0.4s ease-in-out;
}

.experience-counter-box:hover::before {
	top: 0;
}

.experience-counter-box h2 {
	position: relative;
	width: 65px;
	font-size: 42px;
	color: var(--black-color);
	margin-right: 5px;
	z-index: 1;
	font-weight: 700;
	line-height: 1;
}

.experience-counter-box p {
	position: relative;
	width: calc(100% - 70px);
	text-transform: capitalize;
	font-weight: 500;
	font-size: 14px;
	color: var(--black-color);
	margin: 0;
	z-index: 1;
	line-height: 1.3;
}

@media only screen and (max-width: 991px) {
	.hero {
		padding: 100px 0 50px;
	}

	.hero-content {
		margin-bottom: 24px;
		text-align: left;
	}

	.hero-body {
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}

	.hero-btn .btn-default {
		display: inline-block;
		width: auto;
	}

	.hero-image {
		max-width: 100%;
		margin: 0 auto;
	}

	.customer-image-box {
		bottom: 50px;
		left: 10px;
	}
}

@media only screen and (max-width: 767px) {
	.hero {
		padding: 100px 0 40px;
	}

	.hero-image {
		max-width: 100%;
	}

	.hero-img img {
		border-radius: 16px;
	}

	.customer-image-box {
		bottom: 30px;
		left: 0;
		max-width: 180px;
		padding: 12px;
	}

	.customer-image-content {
		margin-bottom: 10px;
	}

	.customer-image-content h3 {
		font-size: 14px;
	}

	.experience-counter-box {
		max-width: 160px;
		padding: 12px;
		right: 0;
	}

	.experience-counter-box h2 {
		font-size: 28px;
		width: 48px;
	}

	.experience-counter-box p {
		width: calc(100% - 53px);
		font-size: 11px;
	}

	@keyframes reviewbox {
		50% { left: 20px; }
	}

	@keyframes experiencebox {
		50% { right: 20px; }
	}
}
