.leaders-section-wrapper {
	font-family: sans-serif;
	padding: 40px 0;
	position: relative;
}

/* Header */
.leaders-main-title {
	font-size: 32px;
	text-transform: uppercase;
	margin-bottom: 60px;
	font-weight: 700;
	letter-spacing: 1px;
}

/* Container */
.leaders-content-container {
	display: flex;
	gap: 60px;
	position: relative;
	align-items: flex-start; /* Ensure sticky works */
}

/* Navigation (Left) - Acts as the Scroll Track in Scroll Mode */
.leaders-nav {
	width: 25%;
	min-width: 200px;
	display: flex;
	flex-direction: column;
	padding-top: 20px;
}

.leaders-nav-item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: all 0.3s ease;
	margin-bottom: 0; /* Removed margin, handled by padding/height */
	box-sizing: border-box;
}

/* Scroll Nav Mode: Nav Items need height to create scroll distance */
.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-nav-item {
	min-height: 80vh; /* Create significant scroll space per item */
	align-items: flex-start; /* Align content to top */
	padding-top: 20vh; /* Center visually in the viewport window */
}

/* Visual Styling for Nav Item */
.leaders-nav-item:hover {
	opacity: 0.8;
}

.leaders-nav-item.active {
	border-left-color: #800000;
}

/* Nav Item Content */
.leaders-nav-icon {
	font-size: 24px;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 5px; /* Align with text top */
}

.leaders-nav-content {
	display: flex;
	flex-direction: column;
}

.leaders-nav-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.leaders-nav-subtitle {
	font-size: 14px;
	margin-top: 4px;
	line-height: 1.2;
}

/* Panels (Right) - Sticky Container */
.leaders-panels {
	width: 75%;
	position: relative;
	/* Default: static */
}

/* Scroll Nav Mode: Sticky Panels Container */
.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panels {
	position: -webkit-sticky;
	position: sticky;
	top: 100px; /* Center in viewport approx */
	height: 600px; /* Fixed height for the stage */
	overflow: hidden; /* Hide non-active panels */
}

.leaders-panel {
	/* Default Tabs Mode */
	display: none;
	animation: fadeIn 0.5s ease;
}

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

/* Scroll Nav Mode: Absolute Positioning for Stack */
.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panel {
	display: block; /* Always block, controlled by opacity */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s;
	z-index: 1;
	background: #fff; /* Ensure no transparency bleed */
	animation: none;
}

.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panel.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

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

.leaders-panel-inner {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	height: 100%;
}

/* Image Column */
.leaders-image-col {
	flex: 2;
	height: 100%;
}

.leaders-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	max-height: 500px;
}

/* Text Column */
.leaders-text-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 0;
}

.leaders-desc {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 30px;
}

.leaders-btn {
	display: inline-block;
	padding: 12px 24px;
	border: 1px solid #000;
	text-decoration: none;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s;
	text-align: center;
	align-self: flex-start;
}

.leaders-btn:hover {
	background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 1024px) {
	.leaders-panel-inner {
		flex-direction: column;
	}
	/* Reset heights for tablet */
	.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panels {
		height: auto;
		position: static;
	}
	.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panel {
		position: relative;
		opacity: 1;
		visibility: visible;
		display: none;
	}
	.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-panel.active {
		display: block;
	}
	/* Reset Nav Items */
	.leaders-section-wrapper[data-scroll-nav="yes"] .leaders-nav-item {
		min-height: auto;
		padding-top: 15px;
	}
}

@media (max-width: 767px) {
	.leaders-content-container {
		flex-direction: column;
		gap: 30px;
	}
	
	.leaders-nav {
		width: 100%;
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 10px;
		border-bottom: 1px solid #eee;
	}
	
	.leaders-nav-item {
		margin-bottom: 0;
		margin-right: 20px;
		padding: 10px;
		border-left: none;
		border-bottom: 3px solid transparent;
		white-space: nowrap;
		min-height: auto !important; /* Force reset */
		padding-top: 10px !important;
	}
	
	.leaders-nav-item.active {
		border-left: none;
		border-bottom-color: #800000;
	}
	
	.leaders-panels {
		width: 100%;
	}
}
