/**
 * Why Choose Us - CSS (required for why-choose-us section)
 * Moved from theme custom.css for corprate folder
 */

/* Show why-choose images - override theme .reveal visibility */
.why-choose-us .reveal{
	position: relative;
	display: block;
	visibility: visible;
	overflow: visible;
}

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

/* Why Choose Us section */
.why-choose-us{
	padding: 50px 0 100px;
}

.why-choose-list ul{
	list-style: disc;
	margin: 0;
	padding-left: 20px;
}

.why-choose-list ul li{
	color: var(--primary-color, #1a1a1a);
	text-transform: capitalize;
	line-height: normal;
	margin-bottom: 15px;
}

.why-choose-list ul li::marker{
	font-size: 18px;
	color: var(--accent-secondary-color, #cc0000);
}

.why-choose-list ul li:last-child{
	margin-bottom: 0;
}

.why-choose-btn{
	margin-top: 40px;
}

.why-choose-image{
	margin: 0 17px;
}

.why-choose-image figure{
	display: block;
}

.why-choose-image img{
	width: 100%;
	aspect-ratio: 1 / 1.416;
	object-fit: cover;
}

.why-choose-author-info,
.why-choose-author-skillbar{
	margin-bottom: 60px;
}

.why-choose-author-info h3{
	font-size: 20px;
	line-height: 1.4em;
	margin-bottom: 30px;
}

.why-choose-author-info p:last-child{
	margin-bottom: 0;
}

/* Skills progress bar */
.skills-progress-bar{
	margin-bottom: 30px;
}

.skills-progress-bar:last-child{
	margin-bottom: 0;
}

.skills-progress-bar .skillbar .skill-data{
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.skills-progress-bar .skill-data .skill-title{
	text-transform: capitalize;
}

.skills-progress-bar .skill-data .skill-no{
	color: var(--primary-color, #1a1a1a);
	margin-left: 20px;
}

.skills-progress-bar .skillbar .skill-progress{
	width: 100%;
	height: 8px;
	background: var(--divider-color, #eee);
	position: relative;
}

.skills-progress-bar .skill-progress .count-bar{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background: linear-gradient(90deg, var(--accent-color, #0066cc) 0%, var(--accent-secondary-color, #cc0000) 100%);
}

.why-choose-author-box{
	display: flex;
	align-items: center;
}

.why-choose-author-image{
	margin-right: 15px;
}

.why-choose-author-image figure{
	display: block;
	border-radius: 50%;
}

.why-choose-author-image img{
	width: 100%;
	max-width: 70px;
	border-radius: 50%;
}

.why-choose-author-content{
	margin-right: 30px;
}

.why-choose-author-content h3{
	font-size: 20px;
	text-transform: capitalize;
	margin-bottom: 5px;
}

.why-choose-author-content p{
	margin-bottom: 0;
}

.why-choose-author-signature img{
	width: 100%;
	max-width: 56px;
}

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

	.why-choose-content{
		margin-bottom: 30px;
	}

	.why-choose-list ul li{
		margin-bottom: 10px;
	}

	.why-choose-btn{
		margin-top: 30px;
	}

	.why-choose-image{
		margin: 0;
	}

	.why-choose-image img{
		aspect-ratio: 1 / 1.133;
	}

	.why-choose-author-info,
	.why-choose-author-skillbar{
		margin-bottom: 30px;
	}

	.why-choose-author-info h3{
		margin-bottom: 20px;
	}

	.skills-progress-bar{
		margin-bottom: 20px;
	}
}

/* Mobile - max-width: 767px */
@media only screen and (max-width: 767px){
	.why-choose-list ul li{
		font-size: 14px;
	}

	.why-choose-image{
		margin-bottom: 30px;
	}

	.why-choose-author-info h3{
		font-size: 18px;
	}

	.why-choose-author-content h3{
		font-size: 18px;
	}
}
