/* IMEA — Challenge & Outcomes */
.imea-co {
	position: relative;
	background: #000;
	color: var(--text-color, #fff);
}
.imea-co .container { max-width: 1258px; }

/* ================= The Challenge ================= */
.imea-co__challenge {
	position: relative;
	padding: 96px 0 80px;
	overflow: hidden;
	background: #000;
}
.imea-co__challenge.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--imea-co-bg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	z-index: 0;
}
.imea-co__challenge-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.54);
	z-index: 1;
}
.imea-co__challenge:not(.has-bg) .imea-co__challenge-overlay { display: none; }
.imea-co__challenge-inner { position: relative; z-index: 2; }

.imea-co__head { text-align: center; max-width: 760px; margin: 0 auto; }
.imea-co__head--left { text-align: left; margin: 0 0 40px; max-width: none; }
.imea-co__eyebrow {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--primary-color, #22b573);
}
.imea-co__title { margin: 0; font-size: 48px; line-height: 1.12; font-weight: 400; color: #fff; }
.imea-co__title--sm { font-size: clamp(26px, 2.6vw, 36px); }

/* Dashed connector */
.imea-co__connector {margin: 8px auto 0;max-width: 75%;line-height: 0;}
.imea-co__connector svg { width: 100%; height: auto; display: block; }

/* Challenge cards row */
.imea-co__cards { margin-top: 0; --bs-gutter-x: 0; }
.imea-co__card {
	padding: 30px clamp(18px, 2vw, 34px) 20px;
	text-align: center;
	border-left: 1px solid;
	border-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, #0D3F24 100%) 1;
	position: relative;
}
.imea-co__card:first-child,
.imea-co__card:nth-child(4n+1) { border-left: 0; }
.imea-co__card-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin-bottom: 18px;
}
.imea-co__card-icon .imea-co__icon-img { max-width: 100%; max-height: 100%; display: block; }
.imea-co__card-title {margin: 0 0 12px;font-size: 20p;font-weight: 400;line-height: 1.25;color: #fff;}
.imea-co__card-text {margin: 0;font-size: 16px;line-height: 1.5;color: var(--text-muted, rgba(255,255,255,.66));}
.imea-co__card::before {
    content: "";
    height: 10px;
    width: 10px;
    border-radius: 360px;
    background: var(--base-color);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0px auto;
    top: 0;
}
/* ================= Outcomes ================= */
.imea-co__outcomes { position: relative; padding: 84px 0 100px; }

/* Whole outcomes box — rounded, gradient green border on black */
.imea-co__box {
	position: relative;
	border-radius: 38px;
	/* padding: clamp(28px, 3vw, 56px); */
	border: 1px solid transparent;
	background:
		linear-gradient(#000, #000) padding-box,
		linear-gradient(180deg, #21A55E 0%, #0D3F24 100%) border-box;
	overflow: hidden;
}
.imea-co__box .row { align-items: stretch; }

/* Left column — icon list */
.imea-co__list {list-style: none;margin: 0;padding: 0;padding: 25px 25px;height: 100%;display: grid;}
.imea-co__item {padding: 15px 0 0;}
.imea-co__item:first-child { padding-top: 0; }
.imea-co__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* width: 54px; */
	/* height: 54px; */
	border-radius: 12px;
	/* border: 1px solid rgba(0, 171, 65, .35); */
	background: #0F3520;
	color: rgba(0, 171, 65, 1);
	margin-bottom: 20px;
}
.imea-co__icon-img { max-width: 26px; max-height: 26px; display: block; }
.imea-co__item-title {margin: 0 0 8px;font-size: 18px;font-weight: 400;line-height: 1.25;color: rgba(153,153,153,1);}
.imea-co__item-text {margin: 0;font-size: 16px;line-height: 1.5;color: rgba(211,211,211,1);}

/* Right column — green stat boxes with gradient border */
.imea-co__stats {display: flex;flex-direction: column;/* gap: 20px; */min-height: 100%;justify-content: space-between;background: linear-gradient(0deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.54) 100%), url('/wp-content/themes/gruveai/IMEA/assets/svg/bg-wrp.webp') lightgray 50% / cover no-repeat;border-radius: 30px;}
.imea-co__stat {
	position: relative;
	padding: 40px 40px;
	/* border-radius: 16px; */
	border: 1px solid transparent;
	/* background:
		linear-gradient(180deg, #0F3520 0%, #071a10 100%) padding-box,
		linear-gradient(140deg, #42DA88 0%, #CCFC00 50%, #0D3F24 100%) border-box; */
	overflow: hidden;
	/* border-bottom: 1px solid rgba(17, 119, 34, 0.25); */
}
.imea-co__stat-value {display: block;font-size: 44px;font-weight: 400;line-height: 1;color: var(--primary-color);}
.imea-co__stat-label {display: block;margin-top: 25px;font-size: 22px;line-height: 1.4;color: #c7c7c7;}

/* ================= Responsive ================= */
@media (max-width: 991px) {
	.imea-co__box .row > [class*="col-"] + [class*="col-"] { margin-top: 32px; }
	.imea-co__box { border-radius: 24px; }
}
@media (max-width: 767px) {
	.imea-co__connector { display: none; }
	.imea-co__card {
		border-left: 0;
		border-top: 1px solid;
		border-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, #0D3F24 100%) 1;
	}
	.imea-co__card:first-child { border-top: 0; }
	.imea-co__title {
	    font-size: 28px;
	    margin-bottom: 20px;
	}
}