/* ═══════════════════════════════════════════════════════════
   WaterBird Elementor Widgets — shared stylesheet
   Each widget's rules live in their own namespaced block below.
   Add new widget styles under a new comment block, don't touch
   existing ones, so nothing here ever collides across widgets.
   ═══════════════════════════════════════════════════════════ */

/* ── Solutions Category (wbw-solutions-category) ───────────── */

.wbw-cat {
	font-family: 'Poppins', sans-serif;
	margin-bottom: 64px;
}
.wbw-cat:last-child {
	margin-bottom: 0;
}

.wbw-cat-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 24px;
	align-items: start;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 2px solid rgba(17, 76, 95, .08);
}

.wbw-cat-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--teal, #114c5f), var(--tl, #1e88a8));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}
.wbw-cat-icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}
.wbw-cat-icon svg {
	width: 26px;
	height: 26px;
	stroke: #fff;
	stroke-width: 1.8;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wbw-cat-text h3 {
	font-family: 'Inter', sans-serif;
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 700;
	letter-spacing: -.5px;
	color: var(--tx, #0f2027);
	margin: 0 0 8px;
}
.wbw-cat-text p {
	font-size: 15px;
	line-height: 1.72;
	color: var(--mu, #5a6b72);
	margin: 0;
}

/* Cards grid — 4 columns by default, overridden per-instance by the
   Layout > Columns control via inline selector on .wbw-cards */
.wbw-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.wbw-card {
	background: #fff;
	border: 1px solid var(--bd, rgba(17, 76, 95, .1));
	border-radius: 14px;
	padding: 22px 20px;
	position: relative;
	overflow: hidden;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .25s;
}
.wbw-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sh-md, 0 12px 28px rgba(17, 76, 95, .12));
	border-color: var(--bh, var(--tl, #1e88a8));
}
.wbw-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, var(--tl, #1e88a8), var(--teal, #114c5f));
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.wbw-card:hover::before {
	transform: scaleY(1);
}

.wbw-card-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	overflow: hidden;
	margin: -2px -1px 16px;
	width: calc(100% + 2px);
}
.wbw-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wbw-card h4 {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.25px;
	color: var(--tx, #0f2027);
	margin: 0 0 9px;
	transition: color .2s;
}
.wbw-card:hover h4 {
	color: var(--teal, #114c5f);
}
.wbw-card p {
	font-size: 13px;
	line-height: 1.62;
	color: var(--mu, #5a6b72);
	margin: 0;
}

@media (max-width: 1024px) {
	.wbw-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 960px) {
	.wbw-cat-head {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 580px) {
	.wbw-cards {
		grid-template-columns: 1fr;
	}
	.wbw-cat-icon {
		display: none;
	}
}
