/* Elementor Feature Cards — frontend styles */

.efc-wrapper {
	width: 100%;
}

.efc-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	column-gap: 24px;
	row-gap: 40px;
	align-items: start;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.efc-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 767px) {
	.efc-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Optional zig-zag vertical offset, alternating cards */
.efc-offset-yes .efc-card:nth-child(even) {
	transform: translateY(28px);
}

.efc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.efc-card:hover {
	transform: translateY(-6px);
}

.efc-badge {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 46px;
	padding: 8px 14px 8px 16px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: #fff;
	border-radius: 20px 0 16px 0;
	z-index: 2;
}

.efc-card-body {
	flex: 1 1 auto;
	padding: 35px 24px 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.efc-circle {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 22px;
	flex-shrink: 0;
}

.efc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.efc-icon i,
.efc-icon svg {
	font-size: 40px;
	width: 40px;
	height: 40px;
	display: block;
}

.efc-title {
	position: relative;
	margin: 0 0 16px 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	padding-bottom: 14px;
}

.efc-underline-bar {
	display: none;
}

.efc-underline-yes .efc-underline-bar {
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 46px;
	height: 3px;
	border-radius: 3px;
}

.efc-desc {
	color: #6b7280;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 24px;
}

.efc-desc p {
	margin: 0;
}

.efc-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	padding: 18px 20px;
	margin-top: auto;
}

.efc-footer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.efc-footer-icon i,
.efc-footer-icon svg {
	font-size: 18px;
	width: 18px;
	height: 18px;
	display: block;
}
