/* ==========================================================
   Our Journey Timeline
   Heading font: Roboto | Paragraph font: Lato
   ========================================================== */

.ojt-wrapper {
	margin: 0 auto;
	box-sizing: border-box;
}

.ojt-wrapper * {
	box-sizing: border-box;
}

.ojt-heading {
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 34px;
	color: #102a5c;
	margin: 0 0 50px;
}

/* ---------- Timeline row ---------- */
.ojt-timeline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.ojt-item {
	flex: 1 1 0;
	text-align: center;
	padding: 0 8px;
}

/* ---------- Dot + connector line ---------- */
.ojt-line-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin-bottom: 18px;
}

.ojt-dot {
	position: relative;
	z-index: 2;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #1857e6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ojt-dot-inner {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1857e6;
}

.ojt-connector {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 2px;
	width: 50%;
	background-image: linear-gradient(to right, #1857e6 50%, transparent 50%);
	background-size: 10px 2px;
	background-repeat: repeat-x;
	opacity: 0.55;
	z-index: 1;
}

.ojt-connector-left {
	left: 0;
}

.ojt-connector-right {
	right: 0;
}

/* ---------- Text content ---------- */
.ojt-year {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #102A5C;
	margin-bottom: 10px;
}

.ojt-title {
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #1857e6;
	margin-bottom: 8px;
}

.ojt-text {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	color: #4B5875;
	max-width: 190px;
	margin: 0 auto;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 992px) {
	.ojt-timeline {
		flex-wrap: wrap;
		row-gap: 40px;
	}

	.ojt-item {
		flex: 1 1 45%;
	}

	.ojt-connector {
		display: none;
	}
}

@media (max-width: 600px) {
	.ojt-heading {
		font-size: 26px;
	}

	.ojt-timeline {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ojt-item {
		display: flex;
		align-items: flex-start;
		text-align: left;
		gap: 16px;
		padding: 0 0 30px;
		position: relative;
	}

	.ojt-line-wrap {
		flex-direction: column;
		height: auto;
		margin-bottom: 0;
		width: 26px;
		flex-shrink: 0;
	}

	.ojt-connector {
		display: none;
	}

	.ojt-item:not(:last-child)::before {
		content: '';
		position: absolute;
		left: 12px;
		top: 26px;
		bottom: 0;
		width: 2px;
		background-image: linear-gradient(to bottom, #1857e6 50%, transparent 50%);
		background-size: 2px 10px;
		background-repeat: repeat-y;
		opacity: 0.55;
	}

	.ojt-text {
		max-width: 100%;
		margin: 0;
	}
}
