.howItWorks {
	text-align: center;
	font-size: 2.4rem;
	font-weight: 800;
	margin-bottom: 60px;
	color: #ffffff;
	background: linear-gradient(rgba(187, 200, 0, 0.6), rgba(0, 0, 0, 0.7)),
		url("./uploads/img/headbanner1.jpg")
			no-repeat center/cover;
	padding: 10%;
}

/* ====== TIMELINE WRAPPER ====== */
.timeline {
	position: relative;
	max-width: 1100px;
	margin: auto;
	padding-left: 20px; /* space for the vertical line */
}
.timeline::before {
	/* vertical line */
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	width: 4px;
	background: #d3d9e4;
}

/* ====== STEP CARD ====== */
.step-HowItWorks {
	position: relative;
	width: calc(50% - 40px);
	padding: 30px 25px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
	margin-bottom: 50px;
	opacity: 0;
	transform: translateY(40px);
	transition: 0.6s ease;
	margin-left: 20px;
}
.step-HowItWorks.is-visible {
	opacity: 1;
	transform: none;
}

/* Alternate left / right */
.step-HowItWorks:nth-child(even) {
	margin-left: auto;
}

/* CONNECTOR CIRCLE */
.step-HowItWorks::before {
	content: attr(data-step);
	position: absolute;
	top: 30px;
	left: -46px; 
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, hsl(23, 95%, 45%),#7928ca);
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* flip circle to the right on even cards */
.step-HowItWorks:nth-child(even)::before {
	left: auto;
	right: -46px;
}

/* CONTENT */
.step-HowItWorks h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 10px;
}
.step-HowItWorks p {
	font-size: 0.95rem;
	color: #555;
}
.step-HowItWorks i {
	font-size: 32px;
	color: #ff0080;
	margin-bottom: 12px;
	display: inline-block;
}

/* ====== MOBILE (single‑column) ====== */
@media (max-width: 780px) {
	.timeline {
		padding-left: 0;
	}
	.timeline::before {
		left: 0;
	}
	.step-HowItWorks {
		width: 90%;
		margin-left: 20px !important;
		padding-left: 60px;
	}
	.step-HowItWorks::before {
		left: -18px !important;
		right: auto;
	}
}
.nav-item.active,
.nav-item.active i,
.nav-item.active span {
	color: #f16727 !important;
}
