.timeline-container {
	background-color: #000;
	margin: auto;
	max-width: 100vw;
	padding-bottom: 100px;
}

.timeline-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 100px; /* Adjusted gap to provide more space */
	padding: 100px 100px 0 100px;
	max-width: 100%;
}

.timeline-date {
	color: rgba(255, 255, 255, 0.30);
	font-family: Montserrat;
	font-size: 11vw;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1.897px;
	opacity: .20;
}

.content-left {
	width: 100%; /* Allowing the content to take full width */
	padding-right: 80px;
}

.content-left h2 {
	position: relative;
	font-family: Montserrat;
	font-size: 2.3vw;
	font-weight: 700;
	color: #fff;
}

.content-left h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -20%;
	width: 6%;
	border-bottom: 3px solid;
}

.content-left p {
	font-family: Montserrat;
	font-size: 1.1vw;
	font-weight: 300;
	color: #fff;
	text-align: justify;
	line-height: 1.5em;
	margin-block-start: 2.5em;

}

.image-right {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image-right img {
	max-width: 100%;
	height: auto;
	object-fit: contain; /* Ensures the image scales properly within its container */
}

.owl-dots {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 50px;
	margin-top: 50px;
} 

.owl-dot {
	position: relative;
	width: 5%;
	text-align: center;
	/*padding-bottom: 20px;*/
	cursor: pointer;
}


.marker-number {
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 1em;
	border-radius: 50%;
	background: #fff;
	display: inline-block;
	/*top: 3px;*/
	position: relative;
	z-index: 9;
}

.marker-inner {
	display: block;

}
.marker-line {
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #fff;
	top: 13px;
}

.owl-dot.active span.marker-text { 
	color: #fff;
}

.owl-dot.active span.marker-number span.marker-inner  {
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 0.1em;
	border-radius: 50%;
	background: #ffffff00;
	display: inline-block;
	top: -6.5px;
	position: relative;
	left: -6.5px;
}

.owl-dot.active span.marker-line {
	background: #999999;
}

.active ~ .owl-dot span.marker-number {
	background: #999999;
}

.active ~ .owl-dot span.marker-line {
	background: #999999;
	transition: all 0.5s;
}

span.marker-text {
	display: block;
	font-family: Montserrat;
	color: #999999;
	font-size: 15px;
	line-height: 15px;
	position: relative;
	left: 0;
	top: -50px;
}

.sliding-circle {
	position: relative;
	width: 30px;
	height: 30px;
	border: 2px solid #d9d9d9;
	border-radius: 50%;
	margin-top: -3em;
    margin-left: -0.16em;
	transform: translateX(0);
	transition: transform 0.6s ease;
	pointer-events: none;
	z-index: 10;
}


.image-right {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-left :where(h2,p,.timeline-date)  {
	--delay: .6s;
	opacity: 0;
	transition: opacity 0.6s ease;
	transition-delay: var(--delay);
}

/*.content-left p { 
	transition-delay: calc(var(--delay) * 2);
}

.content-left  .timeline-date   {
	transition-delay: calc(var(--delay) * 3);
}
*/
.image-right {
	transform: translateX(50px);
}

.content-left.active,
.image-right.active {
	opacity: 1;
	transform: translateX(0);
}

.content-left.active :where(h2,p,.timeline-date)  {
	--delay: .5s;
	opacity: 1;
	transition: opacity 1s ease; 
	transition-delay: var(--delay);
}

.content-left.active p { 
	transition-delay: calc(var(--delay) * 2);
}

.content-left.active .timeline-date   {
	transition-delay: calc(var(--delay) * 3);
}
 
.content-left.slide-out {
	opacity: 0;
	transform: translateX(-100px); /* Slide left for content-left */
}

.image-right.slide-out {
	opacity: 0;
	transform: translateX(100px); /* Slide right for image-right */
}

@media screen and (max-width: 749px) {
	.timeline-grid {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px;
		margin-bottom: -1em;
		gap: 40px;
	}
	
	.timeline-date {
		font-size: 30vw;
	}
	
	.marker-number {
		width: 10px;
		height: 10px;
	}
	
	.marker-line {
		top: 10px;
	}
	
	span.marker-text {
		font-size: 2.2vw;
		top: -44px;
	}

	.content-left {
		order: 3;
		padding-right: 0;
	}

	.image-right {
		order: 2;
	}

	.content-left h2 {
		font-size: 6vw;
		text-align: left;
	}
	.content-left p {
		font-size: 3.3vw;
		/*margin-block-end: auto;*/
	}
	
	
	.sliding-circle {
		width: 20px !important;
		height: 20px !important;
		margin-top: -32.5px;
        margin-left: 1.8px;
		bottom: 13px;
	}

	.owl-dots {
		margin-top: 0;
	} 
	.owl-dot {
		width: 11%;
	}
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
	
	.owl-dot {
		width: 10%;
	}
	
	.timeline-grid {
		gap: 50px;
		padding: 20px 20px 0 20px;
	}
	
	.content-left h2 {
		font-size: 2.1vw;
	}
	
	.owl-dots {
		margin-top: 20px;
	}
	
	span.marker-text {
		font-size: 12px;
	}
}