
.process-variant.process-variant-v12 .ns-header {
	padding: 75px 0 250px 0;
}
.process-variant.process-variant-v12 .ns-header .overlay {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.process-variant.process-variant-v12 .ns-v4-list {
	position: relative;
	margin-top: -150px;
}
.process-variant.process-variant-v12 .ns-v4-each {
	background: #fff;
	margin-bottom: 60px;
}
.process-variant.process-variant-v12 .ns-v4-each .ns-v4-each-img {
	background: #385744;	
	overflow: hidden;
}
.process-variant.process-variant-v12 .ns-v4-each .ns-v4-each-img img{
	transition: all 900ms ease;
	opacity: 1;
}
.process-variant.process-variant-v12 .ns-v4-each:hover .ns-v4-each-img img {
	moz-transform: scale(1.2) rotate(3deg);
	-o-transform: scale(1.2) rotate(3deg);
	-ms-transform: scale(1.2) rotate(3deg);
	-webkit-transform: scale(1.2) rotate(3deg);
	transform: scale(1.2) rotate(3deg);
	opacity: 0.7;
}
.process-variant.process-variant-v12 .ns-v4-each-text {
	padding: 10px 20px 40px;
}
.process-variant.process-variant-v12 .ns-v4-each .ns-v4-each-text .ns-v4-each-btn .btn{
	margin: 0;
}
.process-variant.process-variant-v12 .ns-v4-each .ns-v4-each-text:after {
	border-radius: 15px;
	position: absolute;
	background: #385744;
	height: 3px;
	width: 0;
	left: 0;
	bottom: 0;
	content: "";
	right: 0;
	margin: 0 auto;
	-moz-transition: all 400ms ease-out 0s;
	-webkit-transition: all 400ms ease-out 0s;
	-ms-transition: all 400ms ease-out 0s;
	-o-transition: all 400ms ease-out 0s;
	transition: all 400ms ease-out 0s;
	opacity: 0.6;
	z-index: 0;
}
.process-variant.process-variant-v12 .ns-v4-each:hover .ns-v4-each-text:after {
	width: 85%;
}

.process-variant.process-variant-v12 .ns-v4-each {
	position: relative;
}
.process-variant.process-variant-v12 .ns-v4-each .ns-v4-number div{
	position: absolute;
	top: 0%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #385744;
	width: 80px;
	height: 80px;
	border: 3px solid #fff;
	z-index: 2;
	color: #fff;
   transition: all ease-in-out 0.3s;
}

.process-variant.process-variant-v12 .ns-v4-each .ns-v4-number span{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 44px;
	font-weight: 600;
}
.process-variant.process-variant-v12.circular .ns-v4-each .ns-v4-number div {
	overflow: hidden;
}
.process-variant.process-variant-v12.circular .ns-v4-each:hover .ns-v4-number {
	position: relative;
	z-index: 2;
	animation: fa-bounce .7s;
}
.process-variant.process-variant-v12.circular .ns-v4-each:hover .ns-v4-number div {
   background: rgba(239, 231, 218, 1);
   color: #385744;
   transition: all ease-in-out 0.3s;
}
.process-variant.process-variant-v12.pv-v12a .ns-v4-each {
	border: 1px solid #385744;
}


@media (min-width: 992px) {
	.process-variant.process-variant-v12 .ns-v4-each-text .ns-v4-each-btn {
		position: absolute;
		left: 0;
		right: 0;
		bottom: -30px;
		z-index: 1;
	}
}

.flex-container {
	display: flex;
	gap: 20px; /* Spacing between boxes */
	
}

.flex-box {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.ns-v4-each-img, .ns-v4-each-text {
	align-self: flex-start !important;
	vertical-align: top !important;
	position: relative; top: 0; left: 0;
}

.button-container {
	justify-content: space-between;
	margin-top: auto; /* Pushes the button to the bottom */
}

/* Responsive layout */
@media (max-width: 1199px) {
	.flex-container {
		flex-direction: column;
	}
}

@media (min-width: 991px) and (max-width: 1999px) {
	.btn.btn-primary.btn-block {
		font-size: 14px !important;
	}
}