/* ============================================
RESET & BASE
============================================ */
.timeline-section *, .timeline-section *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ============================================
TIMELINE SECTION
============================================ */
.timeline-section {
	margin: 0 auto;
	max-width: 100%;
	padding: 60px 20px;
    line-height: 1.6;
}

.timeline-track {
	position: relative;
}

/* --- Vertical line (background / unfilled) --- */
.timeline-track::before {
	background-color: #b0b0b0;
	bottom: 0;
	content: "";
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 4px;
	z-index: 1;
}

/* --- Vertical line (filled / scroll-progress) --- */
.timeline-progress-line {
	background-color: #d62828;
	height: 0;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	transition: height 0.05s linear;
	width: 4px;
	z-index: 2;
}

/* ============================================
TIMELINE ITEM (each step)
============================================ */
.timeline-item {
	padding: 10px 50px;
	position: relative;
	width: 50%;
}

.timeline-item--left {
	left: 0;
	text-align: left;
}

.timeline-item--right {
	left: 50%;
	text-align: left;
}

/* ============================================
TIMELINE DOT (center line marker)
============================================ */
.timeline-dot {
	background-color: #b0b0b0;
	border-radius: 50%;
	border: 3px solid #e8e4e0;
	height: 16px;
	position: absolute;
	top: 40px;
	transition: background-color 0.3s ease;
	width: 16px;
	z-index: 3;
}

.timeline-dot--active {
	background-color: #d62828;
}

.timeline-item--left .timeline-dot {
	right: -8px;
}

.timeline-item--right .timeline-dot {
	left: -8px;
}

/* ============================================
CONTENT CARD
============================================ */
.timeline-card {
	background-color: #1a1a1a;
	padding: 30px 28px;
	position: relative;
}

.timeline-card-title {
	color: #ffffff;
	font-size: 1.3rem;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1px;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.timeline-card-text {
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.7;
}

/* --- Arrow pointers on cards --- */
.timeline-card::after {
	border-style: solid;
	content: "";
	height: 0;
	position: absolute;
	top: 28px;
	width: 0;
}

.timeline-item--left .timeline-card::after {
	border-color: transparent transparent transparent #1a1a1a;
	border-width: 10px 0 10px 14px;
	right: -14px;
}

.timeline-item--right .timeline-card::after {
	border-color: transparent #1a1a1a transparent transparent;
	border-width: 10px 14px 10px 0;
	left: -14px;
}

/* ============================================
MOBILE: stacked right, line on left
============================================ */
@media (max-width: 768px) {
	.timeline-track::before {
		left: 20px;
		transform: none;
	}

	.timeline-progress-line {
		left: 20px;
		transform: none;
	}

	.timeline-item {
		left: 0 !important;
		padding: 15px 15px 40px 55px;
		width: 100%;
	}

	.timeline-item--left,
	.timeline-item--right {
		text-align: left;
	}

	.timeline-dot {
		left: 12px !important;
		right: auto !important;
	}

	.timeline-card::after {
		border-color: transparent #1a1a1a transparent transparent !important;
		border-width: 10px 14px 10px 0 !important;
		left: -14px !important;
		right: auto !important;
	}

	.timeline-card {
		padding: 24px 20px;
	}

	.timeline-card-title {
		font-size: 1.05rem;
	}

	.timeline-card-text {
		font-size: 0.9rem;
	}

	.page-header-title {
		font-size: 1.6rem;
		letter-spacing: 2px;
	}
}