/* External stylesheet for Elementor Flow Widget
   The per-instance variables are injected inline at render time */

.efw-wrap
{
	max-width: 100%;
	margin: auto;
	padding: 0px;
}

/* container that holds the 4 steps horizontally */
.efw-wrap .topprocess, .efw-wrap .bottomprocess
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--gap);
	position: relative;
	padding: var(--gap) 12px;
	margin-left: calc(-0px - var(--gap));
}

/* Each step is a circle */
.efw-wrap .step
{
	width: var(--size);
	height: var(--size);
	min-width: var(--size);
	min-height: var(--size);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	position: relative;
	flex-shrink: 0;
	font-size: 22px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    text-transform: capitalize;
    line-height: 1.3;
	box-shadow: 4px 4px 10px 7px rgba(0, 0, 0, 0.3);
}

/* alternating colors: odd = dark, even = light */
.efw-wrap .step:nth-child(odd)
{
	background: var(--navy);
	color: var(--light);
}

.efw-wrap .step:nth-child(even)
{
	background: var(--light);
	color: var(--navy);
}

/* connector line between steps using ::after on each step except last */
.efw-wrap .topprocess .step::after
{
	content: "";
	position: absolute;
	right: calc(-1 * (var(--gap)));
	top: 50%;
	transform: translateY(-50%);
	width: calc(var(--gap));
	height: var(--loop-border);
	background: var(--line);
	z-index: 0;
	border-radius: 0px;
}
.efw-wrap .topprocess::before
{
	content: "";
    position: absolute;
    left: calc((var(--size) * 2.5) + (var(--gap) / 2));
    top: 50%;
    transform: none;
    width: 50%;
    height: calc((var(--size)) - (var(--gap) - 4px));
    background: transparent;
    z-index: 0;
    border-radius: 0px;
    border: var(--loop-border) solid var(--line);
    border-top: 0px;
    border-left: 0px;
}

.efw-wrap .bottomprocess .step::before
{
	content: "";
	position: absolute;
	left: calc(-1 * (var(--gap)));
	top: 50%;
	transform: translateY(-50%);
	width: calc(var(--gap));
	height: var(--loop-border);
	background: var(--line);
	z-index: 0;
	border-radius: 0px;
}

.efw-wrap .bottomprocess::before
{
	content: "";
    position: absolute;
    right: calc((var(--size) * 2));
    top: 0px;
    transform: none;
    width: 50%;
    height: calc((var(--size)) - (var(--gap)));
    background: transparent;
    z-index: 0;
    border-radius: 0px;
    border: var(--loop-border) solid var(--line);
    border-bottom: 0px;
    border-right: 0px;
}

/* Put steps text above the connector (so text not overlapped) */
.efw-wrap .step>span
{
	position: relative;
	z-index: 2;
	padding: 6px;
}

/* Optional: small rounded shadow ring behind circles like screenshot (light gray offset) */
.efw-wrap .step::after
{
	/* keep both pseudo selectors reserved above */
	pointer-events: none;
}

/* Make long step labels wrap nicely like "New Product\nDevelopment" */
.efw-wrap .label
{
	display: block;
    white-space: normal;
    font-size: 22px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    text-transform: capitalize;
    line-height: 1.3;
}

/* Center the whole block on small screens, allow wrapping */
@media (max-width:768px)
{
	.efw-wrap .topprocess, .efw-wrap .bottomprocess
	{
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--gap);
		position: relative;
		padding: 0px 0px;
		flex-flow: column;
		margin:0px;
	}
	.efw-wrap .topprocess .step::after
	{
		content: "";
		position: absolute;
		left: 50%;
		top: 100%;
		transform: translateX(-50%);
		width: var(--loop-border);
		height: calc(var(--gap));
		background: var(--line);
		z-index: 0;
		border-radius: 0px;
	}
	.efw-wrap .bottomprocess .step::after
	{
		content: "";
		position: absolute;
		left: 50%;
		top: 100%;
		transform: translateX(-50%);
		width: var(--loop-border);
		height: calc(var(--gap));
		background: var(--line);
		z-index: 0;
		border-radius: 0px;
	}
	.efw-wrap .bottomprocess
	{
		margin-top: calc(var(--gap));
	}
	.efw-wrap .topprocess::before, .efw-wrap .bottomprocess::before, .efw-wrap .bottomprocess .step::before, .efw-wrap .bottomprocess .step:last-child::after
	{
		display:none;
	}
	
}