.section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 8rem 2rem;
	position: relative;
	overflow: hidden;
}

body {
	background-image: none;
}

.navbar {
	background-color: rgb(15, 23, 42);
}

.section:nth-child(odd) {
	background-color: #fff;
}

.section h2 {
	font-weight: 700;
	font-size: 56px;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 8rem;
	text-align: center;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 1200px;
	width: 100%;
}

.feature {
	position: relative;
}

.feature h3 {
	color: #fff;
	margin-bottom: 1rem;
	letter-spacing: -.025em;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.1;
}

.feature img {
	width: 100%;
}

.section {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.firstsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/crm-workflow-bg1-e1673601232873-1.webp);

}

.secondsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/CRM-workflow-bg2-e1673614906165.webp);
}

/* Smooth blurred transition between sections */
.section::after {
	content: "";
	position: absolute;
	bottom: -30px;
	/* Slight overlap */
	left: 0;
	width: 100%;
	height: 150px;
	/* Increased height for better blending */
	background: linear-gradient(to bottom, rgba(35, 37, 45, 0) 0%, rgba(35, 37, 45, 8) 65%, rgba(35, 37, 45, 3) 100%);
	filter: blur(15px);
	/* Smooth transition */
	pointer-events: none;
	z-index: 1;
}

.section::before {
	content: "";
	position: absolute;
	top: -30px;
	/* Slight overlap */
	left: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(to top, rgba(35, 37, 45, 0) 0%, rgba(35, 37, 45, 8) 65%, rgba(35, 37, 45, 3) 100%);
	filter: blur(15px);
	pointer-events: none;
	z-index: 1;
}

.featureimages {
	display: flex;
	width: 90%;
	flex-direction: column;
	gap: 9rem;
}

.g4 {
	gap: 3rem;
}

.firstsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/bg-workflow-client-checks-in-1-e1674133412101-2.webp);
}

.secondsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/bg-workflow-mechanic-e1674133615240-1.webp);
}

.thirdsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/bg-workflow3-scaled-e1672739285673.webp);
}

.fourthsec {
	background-image: linear-gradient(to bottom, rgba(35, 37, 45, 0.6), rgba(35, 37, 45, 0.8)),
		url(https://cdn.erply.com/images/541886/bg-workflow-4-e1672742832505.webp);
}

.feature-right-down {
	padding-left: 8rem;
	margin-top: 3rem;

}

.mt-5 {
	margin-top: 6rem;
}

.cent {
	text-align: center;
}

.feature-right-down img {
	width: 15rem;
}

.absleft,
absleft2 {
	top: 69%;
	right: 5%;
	position: absolute;
}

.absleft2 {
	top: 46%;
	left: 24%;
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

	.section h2 {
		font-size: 2rem;
		padding: 0 1rem;
	}
}


.black {
	color: #16181d;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.featureimages {
		width: 100%;
		gap: 5rem;
	}

	.feature-right-down {
		padding-left: 0;
		margin-top: 2rem;
	}

	.feature-right-down img {
		width: 12rem;
	}

	.absleft,
	.absleft2 {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		margin-top: 2rem;
	}

	.features-grid {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}

	.feature img {
		width: 100%;
		max-width: 18rem;
	}
}

/* Mobile (Phones) */
@media (max-width: 768px) {
	.featureimages {
		width: 100%;
		gap: 1rem;

	}

	.cent {
		text-align: left;
	}

	.feature-right-down {
		padding-left: 0;
		margin-top: 0;
	}

	.featureimages {
		gap: 3rem;
	}

	.features-grid {
		gap: 1.5rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	h3 {
		font-size: 1.2rem;
	}

	.feature img {
		width: 100%;
		max-width: 14rem;
	}
}