.esmer-timeline {
	position: relative;
	max-width: 900px;
	margin: 50px auto;
	padding: 20px 0;
}

.esmer-timeline::after {
	content: "";
	position: absolute;
	width: 4px;
	background-color: #eee;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -2px;
	border-radius: 2px;
}

.esmer-timeline .timeline-item {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
	box-sizing: border-box;
}

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

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

.esmer-timeline .timeline-item::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: #fff;
	border: 4px solid #ffba00;
	top: 25px;
	border-radius: 50%;
	z-index: 1;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.esmer-timeline .timeline-item.right::after {
	left: -10px;
}

.esmer-timeline .timeline-content {
	padding: 20px;
	background-color: #fff;
	position: relative;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	border: 1px solid #f5f5f5;
	transition: transform 0.3s ease;
}

.esmer-timeline .timeline-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.esmer-timeline .timeline-year {
	display: inline-block;
	background: #111;
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-weight: 800;
	font-size: 12px;
	margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
	.esmer-timeline::after {
		left: 31px;
	}

	.esmer-timeline .timeline-item {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
		text-align: left !important;
	}

	.esmer-timeline .timeline-item.left,
	.esmer-timeline .timeline-item.right {
		left: 0;
	}

	.esmer-timeline .timeline-item::after,
	.esmer-timeline .timeline-item.right::after {
		left: 21px;
	}
}
