/* VTI Services Tab Styles */

.sc-container {
	display: flex;
	gap: 0;
	font-family: Arial, sans-serif;
	max-width: 100%;
	margin: auto;
}

/* ── SIDEBAR TABS ── */

.sc-sidebar {
	width: 260px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

.sc-tab {
	padding: 14px 18px;
	border: none;
	background: #e6e6e6;
	border-radius: 30px 0 0 30px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	text-align: left;
	color: #000 !important;
	transition: background 0.3s, color 0.3s;
}

.sc-tab:hover,
.sc-tab.active {
	background: linear-gradient(90deg, #6c6ff5, #7f86ff) !important;
	color: #fff !important;
}

/* ── CONTENT PANELS ── */

.sc-content {
	flex: 1;
	border-radius: 20px;
	overflow: hidden;
	min-height: 550px;
	position: relative;
}

.sc-panel {
	display: none;
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px;
}

.sc-panel.active {
	display: block;
}

/* Gradient overlay: black at bottom → transparent at top */
.sc-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.9) 0%,
            rgba(0,0,0,0.4) 45%,
            rgba(0,0,0,0) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0,87,255,0.45) 0%,
            rgba(255,0,0,0.45) 100%
        );
	z-index: 1;
	border-radius: 20px;
}

/* Fallback background when no featured image */
.sc-panel:not([style*="background-image"]) {
	background-color: #3a3f6b;
}

/* ── PANEL CONTENT (vertical-align bottom) ── */

.sc-panel-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 50px 50px 40px;
	z-index: 2;
	color: #fff;
}

.sc-panel-content h2 {
	font-size: 32px;
	font-weight: 900;
	margin-bottom: 12px;
	color: #fff;
}

.sc-panel-content p {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 20px;
	max-width: 650px;
}

/* ── LOAD MORE BUTTON ── */

.sc-btn {
	display: inline-block;
	padding: 12px 28px;
	background: #5b6cff;
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: background 0.3s;
}

.sc-btn:hover {
	background: #4453e6;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {

	.sc-container {
		flex-direction: column;
	}

	.sc-sidebar {
		flex-direction: row;
		overflow-x: auto;
		width: 100%;
		margin-bottom: 16px;
	}

	.sc-tab {
		border-radius: 30px;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.sc-content {
		min-height: 400px;
	}

	.sc-panel-content {
		padding: 30px 24px 24px;
	}

	.sc-panel-content h2 {
		font-size: 24px;
	}

	.sc-panel-content p {
		font-size: 14px;
	}
}
