/* ==========================================================
   MEP Services Section ("What We Do") - custom design
   ========================================================== */

.mep-services-section {
	padding: 10px 0 100px;
	background: #ffffff;
}
.mep-services-section .auto-container {
	max-width: none;
	width: 90%;
	padding: 0;
}
@media (max-width: 767px) {
	.mep-services-section .auto-container {
		width: 92%;
	}
}

@media (max-width: 767px) {
	.mep-services-section {
		padding: 70px 0 60px;
	}
}

.mep-services-wrap {
	background: #fbfbfa;
	border: 1px solid #e9eced;
	border-radius: 28px;
	padding: 56px 56px 48px;
}
@media (max-width: 991px) {
	.mep-services-wrap {
		padding: 44px 30px 36px;
	}
}
@media (max-width: 575px) {
	.mep-services-wrap {
		padding: 34px 18px 28px;
		border-radius: 18px;
	}
}

/* Header */
.mep-services-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 44px;
	flex-wrap: wrap;
}
.mep-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--theme-color1, #C90F16);
	font-family: var(--text-font, sans-serif);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.mep-eyebrow .dash {
	display: inline-block;
	width: 22px;
	height: 2px;
	background: var(--theme-color1, #C90F16);
}
.mep-services-header-left h2 {
	font-family: var(--title-font, sans-serif);
	font-size: 44px;
	font-weight: 800;
	line-height: 1.18;
	color: #1B1815;
	margin: 0;
}
.mep-services-header-left h2 .text-red {
	color: var(--theme-color1, #C90F16);
}
.mep-services-header-right {
	max-width: 360px;
	padding-bottom: 6px;
}
.mep-services-header-right p {
	color: #6A6F78;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}
@media (max-width: 991px) {
	.mep-services-header-left h2 {
		font-size: 34px;
	}
	.mep-services-header-right {
		max-width: 100%;
	}
}
@media (max-width: 575px) {
	.mep-services-header-left h2 {
		font-size: 28px;
	}
}

/* Carousel */
.mep-services-carousel .owl-stage-outer {
	overflow: hidden;
}
.mep-services-carousel .owl-item {
	transition: opacity .4s ease;
}

/* Card */
.mep-service-card {
	padding: 4px;
}
.mep-card-link {
	position: relative;
	display: block;
	height: 520px;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(20, 18, 15, 0.12);
}
.mep-card-image {
	position: absolute;
	inset: 0;
}
.mep-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .7s ease;
}
.mep-card-link:hover .mep-card-image img {
	transform: scale(1.08);
}
.mep-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6,6,6,0) 0%, rgba(6,6,6,0) 40%, rgba(6,6,6,.55) 65%, rgba(4,4,4,.95) 100%);
}
.mep-card-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 22px 24px;
	z-index: 2;
}
.mep-card-number {
	position: relative;
	display: inline-block;
	color: #fff;
	font-family: var(--title-font, sans-serif);
	font-weight: 700;
	font-size: 22px;
	padding-bottom: 10px;
	text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.mep-card-number:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 22px;
	height: 2px;
	background: var(--theme-color1, #C90F16);
}
.mep-card-tag {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.92;
	white-space: nowrap;
	text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.mep-card-bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 88px 28px 24px;
	z-index: 2;
}
.mep-card-bottom h4 {
	color: #fff;
	font-family: var(--title-font, sans-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 10px;
}
.mep-card-bottom p {
	color: rgba(255,255,255,.75);
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}
.mep-card-arrow {
	position: absolute;
	right: 24px;
	bottom: 26px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255,255,255,.95);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #181614;
	font-size: 14px;
	z-index: 3;
	transition: all .3s ease;
}
.mep-card-link:hover .mep-card-arrow {
	background: var(--theme-color1, #C90F16);
	color: #fff;
	transform: rotate(45deg);
}

@media (max-width: 575px) {
	.mep-card-link {
		height: 440px;
	}
}

/* Footer row: View all + nav arrows */
.mep-services-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	flex-wrap: wrap;
}
.mep-view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: #181614;
	color: #fff;
	font-family: var(--text-font, sans-serif);
	font-size: 15px;
	font-weight: 600;
	padding: 6px 6px 6px 26px;
	border-radius: 50px;
	text-decoration: none;
	transition: background .3s ease;
}
.mep-view-all-btn:hover {
	background: var(--theme-color1, #C90F16);
	color: #fff;
}
.mep-view-all-btn .icon-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--theme-color1, #C90F16);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	flex-shrink: 0;
	transition: transform .3s ease;
}
.mep-view-all-btn:hover .icon-circle {
	transform: rotate(45deg);
	background: #181614;
}
.mep-carousel-nav {
	display: flex;
	gap: 14px;
}
.mep-carousel-nav button {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #E3E1DC;
	color: #181614;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .3s ease;
}
.mep-carousel-nav button:hover {
	background: var(--theme-color1, #C90F16);
	border-color: var(--theme-color1, #C90F16);
	color: #fff;
}
