/* Hero */
#md-hero {
	padding: 107px 0 216px;
	position: relative;
}
.hero-bckg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-wrap {
	align-items: center;
	position: relative;
	z-index: 9;
}
.hero-title {
	font-size: 63px;
	font-weight: 700;
	line-height: 70px;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 25px;
}
.hero-text {
	font-size: 24px;
	font-weight: 500;
	line-height: 36px;
	color: #fff;
	padding-right: 60px;
}

/* Hero List */
#above-hero {
	background: var(--bckg);
	padding-bottom: 50px;
	position: relative;
	z-index: 9;
}
.above-hero-wrap {
	display: flex;
	justify-content: space-between;
	background: #fff;
	border-radius: 10px;
	margin: -75px 15px 0;
}
.hero-list-single {
	width: 25%;
}
.hero-list-single:not(:last-of-type) {
	border-right: 1px solid #D2DDDA;
}
.hero-list-inner {
	padding: 25px 15px 15px 25px;
}
.hero-list-top-wrap {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.hero-list-icon-wrap {
	width: 50px;
}
.hero-list-top-wrap h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	color: var(--ttl);
	margin: 0;
}
.hero-list-text-wrap p {
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	color: var(--txt);
}

/* Services */
#md-services {
	background: var(--bckg);
	padding: 40px 0;
}
.services-title-wrap {
	margin-bottom: 45px;
	padding-left: 15px;
	padding-right: 15px;
}
.services-title {
	margin-bottom: 5px;
}
.service-subtitle {
	max-width: 75%;
	margin: 0 auto;
}

/* Why choose us */
#md-why {
	background: var(--bckg);
	padding-top: 30px;
}
.why-img-wrap {
	padding-right: 15px;
}
.why-box {
	background: #fff;
	border-radius: 10px;
	padding: 17px 25px;
	width: 232px;
	height: 130px;
	position: absolute;
	text-align: left;
}
.why-box-top {
	right: 30px;
	top: 0;
}
.why-box-bottom {
	left: 15px;
	bottom: 0;
}
.why-number {
	font-size: 50px;
	font-weight: 700;
	line-height: 70px;
	color: var(--main);
}
.why-box-text {
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--ttl);
}
.why-title {
	margin-bottom: 20px;
}
.why-text {
	font-size: 18px;
	font-weight: 500;
	line-height: 30px;
	color: var(--txt);
	margin-bottom: 20px;
}
.why-list {
	list-style: none;
	padding: 0;
	margin: 30px 0;
}
.why-list-single {
	display: flex;
	align-items: baseline;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 25px;
	color: var(--txt);
}
.why-icon-wrap {
	width: 47px;
}
.why-li-wrap {
	width: calc(100% - 47px);
}
.why-list-single span {
	color: var(--ttl);
	font-weight: 700;
	display: contents;
}
.why-btn {
	width: 165px;
	height: 47px;
	border: 1px solid var(--main);
	font-size: 15px;
	font-weight: 700;
	line-height: 24px;
	color: var(--ttl);
}
.why-btn:hover {
	color: #fff;
	background-color: var(--main);
}
.why-background {
	margin-top: 30px;
}

/* Banner */
#md-banner {
	padding: 20px 0 80px;
}
.banner-wrap {
	display: flex;
	justify-content: center;
}
.banner-inner {
	text-align: center;
}
.banner-title {
	margin-bottom: 15px;
}
.banner-text {
	margin-bottom: 40px;
}
.banner-btn {
	width: 200px;
	height: 53px;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: -0.02em;
	margin: 0 auto;
}

/* Testimonials */
#md-testimonials {
	background: linear-gradient(to bottom, #fff 50%, var(--bckg) 50%);
}
.testimonials-wrap {
	background: url(/wp-content/uploads/2024/11/testimonial_image_webp.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 20px;
	padding: 60px 50px 60px 60px;
}
.testimonials-title-wrap {
	width: 41%;
}
.reviews-quotes {
	margin-bottom: 20px;
}
.testimonials-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 54px;
	color: #fff;
	margin: 0 0 20px;
}
.md-subtitle.testimonials-subtitle {
	color: #fff;
}
.testimonials-list_wrap {
	width: 59%;
	padding-left: 15px;
}
.testimonials-list_inner {
	display: flex;
	justify-content: space-between;
	height: 100%;
}
.testimonial {
	padding-left: 14px;
	padding-right: 14px;
	width: 50%;
}
.testimonial-inner {
	background: #fff;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 26px 15px 20px 25px;
}
.avatar {
	margin-bottom: 15px;
}
.testimonial_author-name p {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 30px;
	color: var(--ttl);
}

/* Blogs */
#md-blogs {
	background: var(--bckg);
	padding: 110px 0 80px;
}

/* Media */
@media screen and (max-width: 1650px) {
	#md-hero {
		padding: 75px 0 180px;
	}
	.hero-bckg-img {
    object-position: left;
}
}

@media screen and (max-width: 1199px) {
	#md-hero {
		padding: 55px 0 150px;
	}
	.hero-title {
		font-size: 48px;
		line-height: 60px;
	}
	.hero-text {
		font-size: 20px;
		line-height: 32px;
	}
	.hero-wrap {
		align-items: unset;
	}
	.hero-text-wrap {
		margin-top: 40px;
	}
	.hero-list-inner {
		padding: 20px 15px 15px 20px;
	}
	.hero-list-icon-wrap {
		width: 40px;
	}
	.hero-list-icon-wrap img {
		width: 30px;
		height: 30px;
	}
	.hero-list-top-wrap h3 {
		font-size: 19px;
	}
	.why-text {
		font-size: 16px;
		line-height: 28px;
		margin-bottom: 17px;
	}
	.why-img {
		margin-top: 59px;
	}
	.why-box-bottom {
		bottom: -44px;
	}
	.testimonials-wrap {
		padding: 50px 40px;
		background-position: left;
	}
	.testimonials-title {
		font-size: 29px;
		line-height: 38px;
		margin-bottom: 15px;
	}
	.testimonial {
		padding-left: 10px;
		padding-right: 10px;
	}
	.testimonial-inner {
		padding: 20px 10px 15px 20px;
	}
	.testimonial_author-name p {
		font-size: 15px;
	}
	#md-blogs {
		padding: 85px 0 50px;
	}
}
@media screen and (max-width: 991px) {
	.hero-text-wrap {
		margin-top: 0;
		margin-bottom: 40px;
	}
	.hero-title {
		font-size: 43px;
		line-height: 58px;
		margin-bottom: 15px;
	}
	.hero-title br {
		display: none;
	}
	.hero-text {
		font-size: 19px;
		line-height: 30px;
	}
	.above-hero-wrap {
		flex-wrap: wrap;
	}
	.hero-list-single {
		width: 50%;
	}
	.hero-list-single:nth-of-type(2) {
		border-right: none;
	}
	.hero-list-single:nth-of-type(1),
	.hero-list-single:nth-of-type(2) {
		border-bottom: 1px solid #D2DDDA;
	}
	#above-hero {
		padding-bottom: 20px;
	}
	.service-subtitle {
		max-width: unset;
	}
	.why-img-wrap {
		padding-right: 0;
		text-align: center;
	}
	.why-box-top {
		right: 15px;
	}
	.why-box-bottom {
		bottom: 0;
	}
	.why-img {
		max-width: 550px;
		margin: 0 auto;
	}
	.why-wrap {
		display: flex;
		flex-direction: column;
	}
	.why-wrap > div:first-of-type {
		order: 2;
	}
	.why-wrap > div:last-of-type {
		order: 1;
	}
	.why-background {
		order: 3;
	}
	#md-why {
		padding-top: 15px;
	}
	.why-text-wrap {
		margin-bottom: 65px;
	}
	.testimonials-title-wrap,
	.testimonials-list_wrap {
		width: 100%;
	}
	.testimonials-title-wrap {
		padding: 0 10px 40px;
	}
	.testimonials-list_wrap {
		padding-left: 0;
	}
}
@media screen and (max-width: 767px) {
	#md-hero {
		padding-top: 42px;
	}
	.hero-title {
		font-size: 30px;
		line-height: 42px;
	}
	.hero-text {
		font-size: 16px;
		line-height: 26px;
		padding-right: 0;
	}
	.hero-list-single {
		width: 100%;
	}
	.hero-list-single:nth-of-type(1),
	.hero-list-single:nth-of-type(3) {
		border-right: none;
	}
	.hero-list-single:nth-of-type(3) {
		border-bottom: 1px solid #D2DDDA;
	}
	.why-img {
		width: 100%;
		max-width: unset;
	}
	.why-box {
		padding: 9px 15px;
		width: auto;
		height: auto;
	}
	.why-number {
		font-size: 34px;
		line-height: 40px;
	}
	.why-box-text {
		font-size: 12px;
		line-height: 22px;
		margin: 0;
	}
	.why-background {
		margin-top: 15px;
	}
	.testimonials-wrap {
		padding: 32px 15px 40px 15px;
	}
	.testimonials-title-wrap {
		padding-bottom: 30px;
	}
	.testimonials-list_inner {
		flex-direction: column;
		gap: 20px;
	}
	.testimonial {
		width: 100%;
	}
	.testimonials-title {
		max-width: 90%;
	}
}