/* ===========================
   U Care Timeline — style.css
   Snippet ID: 953
   =========================== */

.tl953-wrap {
	position: relative;
	width: 100%;
	padding: 20px 0 40px;
}

/* ---- Center vertical line ---- */
.tl953-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background-color: #042D62;
	z-index: 0;
}

/* ---- Each timeline row ---- */
.tl953-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	margin-bottom: 60px;
	z-index: 1;
}

/* ---- Panel (left or right content) ---- */
.tl953-panel {
	width: calc(50% - 60px);
	padding: 0 20px;
}

.tl953-panel-left {
	text-align: right;
	margin-right: auto;
}

.tl953-panel-right {
	text-align: left;
	margin-left: auto;
}

/* ---- For left-side items: push center to middle ---- */
.tl953-side-left .tl953-panel-left {
	order: 1;
}
.tl953-side-left .tl953-center {
	order: 2;
}
/* right panel placeholder for left items */
.tl953-side-left::after {
	content: '';
	width: calc(50% - 60px);
	order: 3;
}

/* ---- For right-side items ---- */
.tl953-side-right::before {
	content: '';
	width: calc(50% - 60px);
	order: 1;
}
.tl953-side-right .tl953-center {
	order: 2;
}
.tl953-side-right .tl953-panel-right {
	order: 3;
}

/* ---- Center column (dot + image) ---- */
.tl953-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 120px;
	flex-shrink: 0;
	position: relative;
}

/* ---- Dot on the line ---- */
.tl953-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #042D62;
	border: 3px solid #042D62;
	margin-bottom: 12px;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

/* ---- Circle image ---- */
.tl953-img-wrap {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #042D62;
	position: relative;
	flex-shrink: 0;
}

.tl953-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---- Icon overlay on image ---- */
.tl953-icon-overlay {
	position: absolute;
	bottom: 4px;
	right: 4px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #1a73e8;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 13px;
	z-index: 3;
}

.tl953-icon-overlay svg {
	width: 14px;
	height: 14px;
	fill: #ffffff;
}

/* ---- Badge ---- */
.tl953-badge-wrap {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.tl953-panel-left .tl953-badge-wrap {
	justify-content: flex-end;
}

.tl953-panel-right .tl953-badge-wrap {
	justify-content: flex-start;
}

.tl953-badge {
	display: inline-block;
	background-color: #5a7a9a;
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 10px 24px;
	border-radius: 30px;
	white-space: nowrap;
}

/* ---- Arrow connector ---- */
.tl953-arrow {
	display: inline-block;
	width: 0;
	height: 0;
	flex-shrink: 0;
}

.tl953-arrow-right {
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid #5a7a9a;
	margin-left: 6px;
}

.tl953-arrow-left {
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 12px solid #5a7a9a;
	margin-right: 6px;
}

/* ---- Title ---- */
.tl953-title {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #042D62;
	margin: 0 0 8px;
}

/* ---- Content ---- */
.tl953-content {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #333333;
}

.tl953-content p {
	margin: 0 0 8px;
}

.tl953-content strong {
	font-weight: 700;
}

/* ============================
   Entrance animation
   ============================ */
.tl953-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl953-item.tl953-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================
   RESPONSIVE — Tablet
   ============================ */
@media (max-width: 1024px) {
	.tl953-panel {
		width: calc(50% - 40px);
	}
	.tl953-center {
		width: 80px;
	}
	.tl953-badge {
		font-size: 11px;
		padding: 8px 16px;
	}
}

/* ============================
   RESPONSIVE — Mobile
   ============================ */
@media (max-width: 767px) {
	.tl953-line {
		left: 20px;
	}

	.tl953-item,
	.tl953-side-left,
	.tl953-side-right {
		flex-direction: column;
		align-items: flex-start;
		padding-left: 50px;
	}

	.tl953-side-left::after,
	.tl953-side-right::before {
		display: none;
	}

	.tl953-center {
		position: absolute;
		left: 0;
		top: 0;
		width: 40px;
		flex-direction: column;
		align-items: center;
	}

	.tl953-img-wrap {
		width: 70px;
		height: 70px;
		margin-top: 8px;
	}

	.tl953-panel,
	.tl953-panel-left,
	.tl953-panel-right {
		width: 100%;
		text-align: left;
		padding: 0;
		order: 2 !important;
	}

	.tl953-panel-left .tl953-badge-wrap,
	.tl953-panel-right .tl953-badge-wrap {
		justify-content: flex-start;
	}

	.tl953-arrow-right,
	.tl953-arrow-left {
		display: none;
	}

	.tl953-side-left .tl953-panel-left,
	.tl953-side-right .tl953-panel-right {
		order: 2 !important;
	}

	.tl953-side-left .tl953-center,
	.tl953-side-right .tl953-center {
		order: 1 !important;
	}
}
