/*
 * Services Section — Static Grid Layout
 * Scoped to #transport_company_services_section
 */

#transport_company_services_section.cm-services-section {
	position: relative;
	padding: 64px 0 74px;
	background: #424248;
	overflow: hidden;
}

#transport_company_services_section .asterthemes-wrapper {
	position: relative;
	z-index: 1;
}

#transport_company_services_section .cm-services__header {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 46px;
	align-items: start;
	margin-bottom: 36px;
}

#transport_company_services_section .cm-services__header-main {
	max-width: 520px;
}

#transport_company_services_section .cm-services__badge {
	display: inline-block;
	margin-bottom: 8px;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--primary-color);
}

#transport_company_services_section .cm-services__badge i {
    margin-right: 5px;
    font-weight: 500;
}

#transport_company_services_section .cm-services__title {
	margin: 0;
	font-family: var(--font-second);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.04;
	color: #ffffff;
	max-width: 350px;
	text-transform: capitalize;
}

#transport_company_services_section .cm-services__desc {
    margin: 0;
    font-family: var(--font-second);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    max-width: 660px;
}

#transport_company_services_section .cm-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 90%;
    margin: 0 auto;
}

#transport_company_services_section .cm-services__slide {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
}

#transport_company_services_section .cm-services__slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: -75%;
	width: 48%;
	height: 100%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-22deg);
	transition: left 0.7s ease;
	z-index: 2;
	pointer-events: none;
}

#transport_company_services_section .cm-services__slide:hover::before {
	left: 125%;
}

#transport_company_services_section .cm-services__card {
	background: transparent;
	border-radius: 14px;
	overflow: hidden;
}

#transport_company_services_section .cm-services__card-bg {
	position: relative;
	height: 350px;
	background: #c9c9c9;
}

#transport_company_services_section .cm-services__card-bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

#transport_company_services_section .cm-services__slide:hover .cm-services__card-bg-img {
	transform: scale(1.06);
}

#transport_company_services_section .cm-services__card-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px;
	background: #eeeeef;
	border-top: 1px solid #ececec;
}

#transport_company_services_section .cm-services__card-title {
	margin: 0;
	font-family: var(--font-second);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--secondary-color);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: capitalize;
}

#transport_company_services_section .cm-services__card-title a {
	color: var(--secondary-color);
	text-decoration: none;
}

#transport_company_services_section .cm-services__card-title a:hover,
#transport_company_services_section .cm-services__card-title a:focus {
	color: var(--primary-color);
}

#transport_company_services_section .cm-services__card-arrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-second);
	font-size: 17px;
	font-weight: 700;
	text-transform: none;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s ease;
}

#transport_company_services_section .cm-services__card-arrow:hover,
#transport_company_services_section .cm-services__card-arrow:focus {
	color: #2f3135;
}

#transport_company_services_section .cm-services__card-arrow svg {
	flex-shrink: 0;
}

@media only screen and (max-width: 1366px) {
	#transport_company_services_section .cm-services__card-bg {
		height: 348px;
	}
}

@media only screen and (max-width: 1024px) {
	#transport_company_services_section.cm-services-section {
		padding: 64px 0 72px;
	}

	#transport_company_services_section .cm-services__header {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	#transport_company_services_section .cm-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	#transport_company_services_section .cm-services__desc,#transport_company_services_section .cm-services__title,#transport_company_services_section .cm-services__header-main{
		max-width: 100%;
	}

	#transport_company_services_section .cm-services__desc {
		font-size: 16px;
		line-height: 1.65;
	}

	#transport_company_services_section .cm-services__card-bg {
		height: 290px;
	}

	#transport_company_services_section .cm-services__card-title {
		font-size: 18px;
	}

	#transport_company_services_section .cm-services__card-arrow {
		font-size: 14px;
	}
}

@media only screen and (max-width: 767px) {
	#transport_company_services_section.cm-services-section {
		padding: 56px 0 64px;
	}

	#transport_company_services_section .cm-services__header {
        text-align: center;
    }

	#transport_company_services_section .cm-services__grid {
		grid-template-columns: 1fr;
		width: 100%;
	}

	#transport_company_services_section .cm-services__card-bg {
		height: 260px;
	}

	#transport_company_services_section .cm-services__card-title {
		font-size: 17px;
	}

	#transport_company_services_section .cm-services__card-arrow {
		font-size: 14px;
	}
}

@media only screen and (max-width: 480px) {
	#transport_company_services_section .cm-services__card-info {
		padding: 14px 14px;
		gap: 12px;
	}

	#transport_company_services_section .cm-services__card-title {
		font-size: 16px;
	}

	#transport_company_services_section .cm-services__card-arrow {
		font-size: 13px;
	}
}