/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Header top line */

.top-line__inline-btns {
	display: flex;
	gap: 24px;
}

.contact-btn {
	display: flex;
	align-items: center;
	gap: 4px;
}

.contact-btn img {
	display: block;
	width: 14px;
}

.contact-btn__text {
	color: #FFF;
	line-height: 1;
	font-size: 14px;
	font-weight: 400;
	opacity: .6;
	transition: all .2s ease-in-out;
}

.contact-btn:hover > .contact-btn__text {
	opacity: 1;
}

/* Header menu */

.header-menu .sub-menu {
	border-radius: 4px;
}

.header-menu .sub-menu a {
	display: flex;
	align-items: center;
	min-height: 48px;
}

/* Home services */

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 300px;
	padding: 32px;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 8px 16px rgba(0,0,0,.12);
	transition: all .2s ease-in-out;
}

.service-card__title {
	margin-bottom: 4px;
	color: #18181A;
	font-size: 24px !important;
	line-height: 130%;
	font-weight: 600;
	text-transform: capitalize;
	opacity: .87;
}

.service-card__text {
	max-width: 400px;
	font-weight: 400;
	font-size: 14px !important;
	line-height: 150%;
	color: #18181A;
	opacity: .6;
}

.service-card__link {
	color: #ff6e31;
	font-size: 14px;
	font-weight: 400;
	line-height: 100%;
}

.service-card__img {
	position: absolute;
	right: 0;
	bottom: 0;
	border-radius: 0 0 5px 0;
}

.service-card:hover {
	box-shadow: 0 16px 32px rgba(0,0,0,.12);
}

/* Testimonials */

.testimonial {
    display: flex;
    flex-direction: column;
	justify-content: space-between;
	min-height: 605px;
	padding: 32px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.testimonial__text p {
    color: #18181A;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    opacity: .87;
}

.testimonial__info {
    display: flex;
	align-items: center;
    gap: 16px;
	margin-top: 32px;
}

.testimonial__img {
	width: 150px;
}

.testimonial__author h3 {
	padding: 0;
	color: #18181A;
	font-size: 18px;
	font-weight: 500;
	line-height: 150%;
}

.testimonial__author p {
	color: #18181A;
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	opacity: .6;
}

/* Contact info */

.info-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #18181A;
	font-size: 16px;
	line-height: 150%;
}

/* Media */

@media (max-width: 1199.98px) {
	.service-card__img {
		width: 130px;
	} 
}

@media (max-width: 991.98px) {
	.service-card__title {
		font-size: 18px !important;
	} 
	
	.testimonial__info {
		flex-direction: column;
	}
	
	.testimonial__img {
		margin: 0 auto 0 0;
	}
	
	.et_contact_bottom_container,
	.et_contact_bottom_container button {
		width: 100%;
	}
	
	.et_contact_bottom_container button {
		margin-left: 10px;
	}
}