/**
 * About Ecosystem Section
 * Modern B2B 2-column layout with feature cards
 * Background image with overlay, glass-effect cards
 *
 * @package Hello_Elementor_Child
 */

.about-ecosystem {
	position: relative;
	z-index: 2;
	padding: 48px 0 80px;
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

@media (min-width: 768px) {
	.about-ecosystem {
		padding: 64px 0 100px;
	}
}

/* Background image with overlay */
.about-ecosystem__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--about-bg-url) center center / cover no-repeat;
	z-index: 0;
}

.about-ecosystem__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.about-ecosystem__container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.about-ecosystem__grid {
	display: grid;
	gap: 48px;
	align-items: start;
}
.about-ecosystem__cards
{
    padding-bottom: 50px;
}
@media (min-width: 992px) {
	.about-ecosystem__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
		align-items: center;
	}
}

.about-ecosystem__content {
	max-width: 560px;
}

.about-ecosystem__title {
	margin: 0 0 16px;
	color: #1e3a5f;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.25;
}

.about-ecosystem--has-bg .about-ecosystem__title {
	color: #fff;
}

.about-ecosystem__subtitle {
	margin: 0 0 20px;
	color: #4a5568;
	font-size: 1.125rem;
	line-height: 1.6;
}

.about-ecosystem--has-bg .about-ecosystem__subtitle {
	color:#9bcd2c;
}

.about-ecosystem__description {
	margin: 0;
	color: #4a5568;
	font-size: 1rem;
	line-height: 1.7;
}

.about-ecosystem--has-bg .about-ecosystem__description {
	color: rgba(255, 255, 255, 0.9);
}

.about-ecosystem--has-bg .about-ecosystem__description p {
	color: inherit;
}

.about-ecosystem__description p {
	margin: 0 0 1em;
}

.about-ecosystem__description p:last-child {
	margin-bottom: 0;
}

/* Buttons row under description */
.about-ecosystem__buttons {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.about-ecosystem__btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-ecosystem__btn--primary {
	background: #9bcd2c;
	color: #1e3a5f;
}

.about-ecosystem__btn--primary:hover {
	background: #254740;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.about-ecosystem__btn--secondary {
	background: #ffffff;
	color: #09352C;
	border: 1px solid rgba(30, 58, 95, 0.2);
}

.about-ecosystem__btn--secondary:hover {
	background: #ffffff;
	border-color: #9bcd2c;
	color: #9bcd2c;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Feature Cards */
.about-ecosystem__cards {
	display: grid;
	gap: 20px;
}

@media (min-width: 768px) {
	.about-ecosystem__cards {
		gap: 24px;
	}
}

/* Glass-effect cards */
.about-ecosystem__card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.about-ecosystem__card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Fallback when no bg - solid cards */
.about-ecosystem:not(.about-ecosystem--has-bg) .about-ecosystem__card {
	background: #fff;
	border-color: rgba(30, 58, 95, 0.08);
	box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
}

.about-ecosystem:not(.about-ecosystem--has-bg) .about-ecosystem__card:hover {
	background: #fff;
	box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
}

.about-ecosystem__card-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: rgba(201, 162, 39, 0.25);
	border-radius: 50%;
	color: #c9a227;
	font-size: 1.25rem;
}

.about-ecosystem--has-bg .about-ecosystem__card-icon {
	background: rgba(255, 255, 255, 0.2);
	color: #9bcd2c;
}

.about-ecosystem__icon-img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.about-ecosystem__icon-class {
	display: block;
	font-size: 1.5rem;
	line-height: 1;
}

.about-ecosystem__icon-placeholder {
	font-size: 1.25rem;
	font-weight: 700;
}

.about-ecosystem__card-body {
	flex: 1;
	min-width: 0;
}

.about-ecosystem__card-title {
	margin: 0 0 8px;
	color: #1e3a5f;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

.about-ecosystem--has-bg .about-ecosystem__card-title {
	color: #9bcd2c;
}

.about-ecosystem__card-desc {
	margin: 0;
	color: #4a5568;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.about-ecosystem--has-bg .about-ecosystem__card-desc {
	color: rgba(255, 255, 255, 0.9);
}

/* Section Image (fallback when no features) */
.about-ecosystem__image {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.about-ecosystem__image img {
	display: block;
	width: 100%;
	height: auto;
}
