/* =============================================================================
   Green SM BDH — Service Showcase Widget
   ============================================================================= */

/* ── Elementor Overflow Fix ──────────────────────────────────────────────── */
.elementor-widget-green_sm_bdh_service_showcase,
.elementor-widget-green_sm_bdh_service_showcase > .elementor-widget-container {
	overflow: visible !important;
}

/* ── Main Container ──────────────────────────────────────────────────────── */
.green-sm-bdh-ss {
	position: relative;
	overflow: visible;
}

/* ── Content Column ──────────────────────────────────────────────────────── */
.green-sm-bdh-ss__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 50%;
	box-sizing: border-box;
}

/* ── Subtitle ────────────────────────────────────────────────────────────── */
.green-sm-bdh-ss__subtitle {
	display: block;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	color: #28BDBF;
	margin-bottom: 8px;
}

/* ── Heading ─────────────────────────────────────────────────────────────── */
.green-sm-bdh-ss__heading {
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	color: #111827;
	margin: 0 0 8px 0;
	padding: 0;
}

/* ── Description ─────────────────────────────────────────────────────────── */
.green-sm-bdh-ss__description {
	font-size: 18px;
	line-height: 28px;
	color: #6B7280;
	margin: 0;
}

/* ── Tab Buttons ─────────────────────────────────────────────────────────── */
.green-sm-bdh-ss__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 32px 0;
}

.green-sm-bdh-ss__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	border-radius: 16px;
	border: 1px solid #E5E7EB;
	background: #fff;
	color: #9CA3AF;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	white-space: nowrap;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.green-sm-bdh-ss__tab:hover {
	background: #F3F4F6;
	color: #6B7280;
}

.green-sm-bdh-ss__tab--active,
.green-sm-bdh-ss__tab--active:hover {
	background: #28BDBF;
	color: #fff;
	border-color: #28BDBF;
}

/* ── Services Panels ─────────────────────────────────────────────────────── */
.green-sm-bdh-ss__services-wrapper {
	position: relative;
}

.green-sm-bdh-ss__services {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.green-sm-bdh-ss__services--active {
	display: grid;
}

.green-sm-bdh-ss__service {
	display: flex;
	flex-direction: column;
}

.green-sm-bdh-ss__service-icon {
	display: inline-block;
	width: 87px;
	height: auto;
}

.green-sm-bdh-ss__service-icon img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	object-fit: contain;
}

.green-sm-bdh-ss__service-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
	color: #111827;
	margin: 24px 0 12px 0;
}

.green-sm-bdh-ss__service-desc {
	font-size: 18px;
	line-height: 28px;
	color: #6B7280;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 56px;
}

.green-sm-bdh-ss__service-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	font-size: 16px;
	font-weight: 600;
	color: #28BDBF;
	text-decoration: none;
	transition: all 0.3s ease;
}

.green-sm-bdh-ss__service-link:hover {
	text-decoration: underline;
}

.green-sm-bdh-ss__service-link svg {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.green-sm-bdh-ss__service-link:hover svg {
	transform: translateX(4px);
}

/* ── Navigation Arrows ───────────────────────────────────────────────────── */
.green-sm-bdh-ss__nav {
	display: flex;
	align-items: center;
	margin: 0;
	margin-top: 32px;
	gap: 8px;
}

.green-sm-bdh-ss__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 1px solid #E5E7EB;
	background: #fff;
	color: #374151;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	line-height: 1;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.green-sm-bdh-ss__nav-btn:hover {
	background: #F3F4F6;
	border-color: #D1D5DB;
}

.green-sm-bdh-ss__nav-btn.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.green-sm-bdh-ss__nav-btn svg {
	width: 20px;
	height: 20px;
}

/* ── Slider Column ───────────────────────────────────────────────────────── */
.green-sm-bdh-ss__slider-wrapper {
	position: absolute;
	left: 50%;
	top: 0;
	width: 50vw;
	height: 100%;
	z-index: 1;
}

.green-sm-bdh-ss__slider {
	display: none;
	width: 100%;
	height: 100%;
}

.green-sm-bdh-ss__slider--active {
	display: block;
}

.green-sm-bdh-ss__slider-inner {
	padding-left: 72px;
	height: 100%;
	box-sizing: border-box;
}

.green-sm-bdh-ss__swiper {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.green-sm-bdh-ss__swiper .swiper-slide {
	width: 405px !important;
	height: auto;
	flex-shrink: 0;
}

.green-sm-bdh-ss__slide-img {
	width: 100%;
	max-width: 100%;
	height: 720px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.green-sm-bdh-ss__content {
		width: 100%;
	}

	.green-sm-bdh-ss__slider-wrapper {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
		height: auto;
		margin-top: 32px;
	}

	.green-sm-bdh-ss__slider {
		display: none;
		width: 100%;
	}

	.green-sm-bdh-ss__slider--active {
		display: block;
	}

	.green-sm-bdh-ss__slider-inner {
		padding-left: 0;
	}

	.green-sm-bdh-ss__swiper .swiper-slide {
		width: 405px !important;
	}

	.green-sm-bdh-ss__slide-img {
		height: 480px;
	}

	.green-sm-bdh-ss__nav {
		display: none;
	}
}

@media (max-width: 767px) {
	.green-sm-bdh-ss__swiper .swiper-slide {
		width: 300px !important;
	}

	.green-sm-bdh-ss__heading {
		font-size: 24px;
		line-height: 32px;
	}

	.green-sm-bdh-ss__description {
		font-size: 16px;
		line-height: 24px;
	}

	.green-sm-bdh-ss__services {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.green-sm-bdh-ss__service-desc {
		font-size: 16px;
		line-height: 24px;
	}

	.green-sm-bdh-ss__slide-img {
		height: 320px;
	}

	.green-sm-bdh-ss__tabs {
		margin: 24px 0;
	}
}
