/* Custom styles for industries page */
.hero-bg {
	background: linear-gradient(
			135deg,
			rgba(26, 13, 58, 0.95) 0%,
			rgba(45, 27, 105, 0.95) 30%,
			rgba(74, 44, 122, 0.95) 70%,
			rgba(107, 57, 255, 0.95) 100%
		),
		url("/assets/saas_portal/images/hero_stack_main.jpg") center/cover no-repeat;
	position: relative;
}

.industries-bg {
	background: linear-gradient(135deg, #2d1b69 0%, #4a2c7a 50%, #6b39ff 100%);
}

.cta-bg {
	background: linear-gradient(135deg, #1a0d3a 0%, #2d1b69 30%, #4a2c7a 70%, #6b39ff 100%);
}

.footer-bg {
	background: linear-gradient(135deg, #1a0d3a 0%, #2d1b69 50%, #4a2c7a 100%);
}
/* --- HERO SECTION --- */
.hero-bg {
	background: linear-gradient(
			135deg,
			rgba(26, 13, 58, 0.95) 0%,
			rgba(45, 27, 105, 0.95) 30%,
			rgba(74, 44, 122, 0.95) 70%,
			rgba(107, 57, 255, 0.95) 100%
		),
		url("/assets/saas_portal/images/hero_stack_main.jpg") center/cover no-repeat;
	position: relative;
}
/* --- SIDEBAR --- */
/* Sidebar Container */
.industries-sidebar {
	background: #16213e;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: 24px;
	width: 286px;
	height: 800px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

/* Sidebar Title */
.industries-sidebar h2 {
	font-size: 2.4rem;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

/* Hover State */
.industry-item:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(4px);
}

/* Active State */
.industry-item.active {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: linear-gradient(
		90deg,
		rgba(118, 18, 249, 1) 0%,
		rgba(151, 71, 255, 1) 50%,
		rgba(219, 74, 224, 1) 100%
	);
	box-shadow: 0 4px 16px rgba(118, 18, 249, 0.3);
	transform: scale(1.02);
}

/* Optional Active Bar at Bottom */
.industry-item.active::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 0;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		rgba(118, 18, 249, 1) 0%,
		rgba(151, 71, 255, 1) 50%,
		rgba(219, 74, 224, 1) 100%
	);
	z-index: 1;
}

.industry-item span:first-child {
	font-size: 1rem;
}
/* --- MAIN PANEL --- */
/* .industry-details {
	padding: 0 0 0 0;
	width: 895px;
} */
.industry-header {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 10px 32px;
	margin-bottom: 24px;
	width: 895px;
	min-height: 110px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.industry-details h3 {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px 0;
}
.industry-details p {
	color: #e0e0e0;
	font-size: 1.1rem;
	margin: 0;
}
.metrics-row {
	display: flex;
	gap: 24px;
	margin-bottom: 32px;
}

.metric-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.metric-card .metric-icon {
	font-size: 2rem;
	margin-bottom: 8px;
	color: #6b57e9;
}
.metric-card .metric-label {
	font-size: 1rem;
	color: #e0e0e0;
	margin-bottom: 8px;
	font-weight: 500;
}
.metric-card .metric-value {
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
}
/* --- TABS --- */
.tabs-container {
	margin-bottom: 24px;
	display: flex;
	gap: 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 4px;
	width: 895px;
	height: 59px;
}
.tab-button {
	flex: 1;
	padding: 12px 24px;
	border-radius: 12px;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.tab-button:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.tab-button.active {
	background: rgba(107, 87, 233, 0.8);
	color: #fff;
	font-weight: 700;
}

/* Tab content containers */
.tab-content {
	width: 895px;
	max-width: 895px;
	box-sizing: border-box;
	overflow: hidden;
}

/* Modules tab specific styling */
#modules {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 32px;
	width: 895px;
	box-sizing: border-box;
	overflow: hidden;
}

#modules > div {
	max-width: 100%;
	overflow: hidden;
}

/* Workflows and Benefits tabs styling */
#workflows,
#benefits {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 32px;
	width: 895px;
	box-sizing: border-box;
	overflow: hidden;
}

/* Overview tab styling */
.workflows-compliance {
	display: flex;
	gap: 48px;
	grid-template-columns: 1fr 1fr;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 32px;
	width: 895px;
	min-height: 307px;
	box-sizing: border-box;
	overflow: hidden;
	width: 100%;
}

.workflows-col,
.compliance-col {
	flex: 1;
}
.workflows-col h4,
.compliance-col h4 {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
}
.workflows-col ul,
.compliance-col ul {
	list-style: none;
	padding: 0;
	border: none;
	box-shadow: none;
	margin: 0;
}
.workflows-col li,
.compliance-col li {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	/* padding: 4px 0; */
}
.workflows-col li .check {
	color: #898bfa;
	margin-right: 12px;
	font-size: 1.2rem;
	font-weight: bold;
}
.compliance-col li .check {
	color: #ec4899;
	margin-right: 12px;
	font-size: 1.2rem;
	font-weight: bold;
}

#workflows {
	display: none;
}

.workflow-container {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.workflow-number {
	background: #a78bfa;
	color: #18103a;
	font-weight: 700;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

/* Remove stray Y icon */
.compliance-col .y-icon {
	display: none !important;
}

.slider-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.slider-inner {
	display: flex;
	transition: transform 0.6s ease-in-out;
	width: 100%;
}

.slider-inner > section {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
}

.slide-btn {
	position: absolute;
	top: 20%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
}

.slide-btn.prev {
	left: 10px;
	display: none;
}

.slide-btn.next {
	right: 10px;
	border-radius: 20px;
	background: linear-gradient(90deg, #7612f9 0%, #9747ff 50%, #db4ae0 100%);
}

/* Main Container */
.industries-container {
	display: flex;
	gap: 24px;
	background: #1a1a2e;
	padding: 40px;
	min-height: 100vh;
	color: #fff;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Left Sidebar */
.industries-sidebar {
	width: 320px;
	flex-shrink: 0;
}

.industries-sidebar h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 24px;
	padding: 0 12px;
}

.industry-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.industry-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 15px 20px;
	background: #2a2d3a;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	font-weight: 500;
	border: 2px solid transparent;
	margin-bottom: 10px;
}

.industry-item:hover {
	background: #353848;
	border-color: #6d4fc3;
}

.industry-item.active {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	border-color: #a855f7;
	font-weight: 600;
}

.industry-item span:first-child {
	font-size: 1.4rem;
}

/* Right Panel */
.right-panel {
	/* flex: 1; */
	background: #16213e;
	border-radius: 24px;
	padding: 40px;
	border: 1px solid #2a2d3a;
}

.industry-details {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.industries-inner {
	display: flex;
	gap: 32px;
	/* align-items: anchor-center; */
	justify-content: center;
}

/* Industry Header */
.industry-header {
	margin-bottom: 8px;
	width: 100%;
}

.industry-header h3 {
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.industry-header p {
	color: #9ca3af;
	font-size: 1.15rem;
	margin-top: 8px;
	line-height: 1.6;
}

/* Metrics Row */
.metrics-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 12px;
}

.metric-card {
	background: #1e293b;
	border: 2px solid #7c3aed;
	border-radius: 16px;
	padding: 5px 24px;
	text-align: center;
	transition: all 0.3s ease;
}

.metric-card:hover {
	transform: translateY(-4px);
	border-color: #a855f7;
	box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.metric-icon {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.metric-label {
	color: #9ca3af;
	font-size: 0.95rem;
	margin-bottom: 8px;
	text-transform: capitalize;
}

.metric-value {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
}

/* Tabs Container */
.tabs-container {
	margin-bottom: 24px;
	display: flex;
	gap: 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 4px;
	width: 100%;
	height: 100%;
}

.tab-button {
	flex: 1;
	padding: 14px 24px;
	background: transparent;
	color: #9ca3af;
	border: none;
	border-radius: 12px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tab-button:hover {
	background: #2a2d3a;
	color: #e5e7eb;
}

.tab-button.active {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	color: #fff;
}

/* Tab Content */
.tab-content {
	display: none;
	animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Workflows and Compliance Grid */
#overview {
	display: block;
	width: 100%;
}

#modules {
	display: block;
	width: 100%;
}

#workflows {
	display: block;
	width: 100%;
}

#benefits {
	display: block;
	width: 100%;
}
.workflows-compliance {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	width: 100%;
}

.workflows-col h4,
.compliance-col h4 {
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
}

.workflows-col ul,
.compliance-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.check {
	color: #a855f7;
	font-size: 1.3rem;
	font-weight: 700;
}
.container {
	width: 100%;
}
/* Modules Container (from previous code) */
.modules-container {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.module-card {
	/* background: #18103a; */
	border-radius: 18px;
	padding: 28px 32px 24px 32px;
	margin-bottom: 0;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.module-info {
	flex: 1;
}

.module-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.module-description {
	color: #bdbdbd;
	font-size: 1rem;
	margin-top: 2px;
}

.module-badge {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 12px;
	padding: 6px 18px;
}

.badge-red-orange {
	background: linear-gradient(90deg, #ff5c5c 0%, #ffb347 100%);
}

.badge-orange {
	background: linear-gradient(90deg, #ff9800 0%, #ffb347 100%);
}

.badge-red-pink {
	background: linear-gradient(90deg, #ff5c5c 0%, #ff4fcf 100%);
}

.module-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.tag {
	background: #a78bfa;
	color: #18103a;
	font-weight: 600;
	border-radius: 18px;
	padding: 5px 10px;
	font-size: 13px;
}

/* Workflows Container (from previous code) */
.workflow-container {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.workflow-card {
	background: transparent;
	border-radius: 16px;
	border: 2px solid rgba(255, 255, 255, 0.05);
	padding: 15px 20px;
	color: #fff;
	font-size: 1.13rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 18px;
}

.workflow-number {
	background: #a78bfa;
	color: #18103a;
	font-weight: 700;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

/* Benefits Grid (from previous code) */
.benefits-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.benefit-card {
	/* background: #18103a; */
	border-radius: 16px;
	border: 2px solid rgba(255, 255, 255, 0.05);
	padding: 15px 24px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 16px;
}

.benefit-icon {
	color: #a78bfa;
	font-size: 1.5rem;
	margin-right: 8px;
}

.industries-cta {
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
	border-radius: 12px;
	margin: 80px auto 64px auto;
	max-width: 1200px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 48px;
}

.cta-text {
	flex: 1;
}

.dynamic-cta-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.dynamic-cta-description {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.dynamic-cta-button {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	color: #fff;
	font-weight: 600;
	font-size: 1.05rem;
	border-radius: 8px;
	padding: 14px 32px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.dynamic-cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(124, 58, 237, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
	.industries-container {
		flex-direction: column;
	}

	.industries-sidebar {
		width: 100%;
	}

	.industry-details {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}
	.industries-inner {
		flex-direction: column;
	}

	.metrics-row {
		grid-template-columns: 1fr;
	}

	.workflows-compliance {
		grid-template-columns: 1fr;
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}
	.tabs-container {
		flex-direction: column;
		width: 100%;
	}
	#overview {
		width: 100%;
	}
	#modules {
		width: 100%;
	}
	#workflows {
		width: 100%;
	}
	#benefits {
		width: 100%;
	}
}

@media (max-width: 992px) {
	.industries-container {
		flex-direction: column;
	}
	.industries-inner {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.industries-sidebar {
		width: 100%;
		margin-bottom: 20px;
	}
	.industry-header {
		margin-bottom: 8px;
		width: 100%;
	}
	.industry-details {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}
	.tabs-container {
		width: 100%;
		flex-direction: column;
	}
	.industries-inner {
		flex-direction: column;
	}
	#overview {
		width: 100%;
	}
	#modules {
		width: 100%;
	}
	#workflows {
		width: 100%;
	}
	#benefits {
		width: 100%;
	}
	.cta-container {
		flex-direction: column;
		text-align: center;
		gap: 20px;
		padding: 24px 32px;
	}

	.dynamic-cta-title {
		font-size: 1.5rem;
	}

	.dynamic-cta-button {
		font-size: 1rem;
		padding: 12px 28px;
	}
}

@media (max-width: 425px) {
	.industry-header h3 {
		font-size: 20px;
	}
}
