.main-container {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.sub-container {
	width: 100%;
	height: 100%;
	padding: 20px;
	margin: 0;
}

.section-1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 30px 16px;
	text-align: center;
	width: 100%;
}

/* Heading */
.section-1 span:first-child {
	font-size: 42px; /* Reduced size for smaller screens */
	line-height: 48px;
	font-weight: 700;
	color: #013e7b;
}

/* Description */
.section-1 span:nth-child(2) {
	font-weight: 400;
	font-size: 22px;
	line-height: 36px;
	color: #000000;
	max-width: 1000px;
	padding: 0 10px; /* Adds some padding on mobile */
}

/* Buttons */
.section-1 .buttons-container {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap; /* Wrap buttons on small screens */
	justify-content: center;
}

.section-1 .buttons-container button {
	padding: 10px 18px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 16px;
	line-height: 19.52px;
	white-space: nowrap; /* Prevents text wrapping */
}

.section-1 .buttons-container button:nth-child(1) {
	background: #013e7b;
	color: #ffffff;
	border: none;
}

.section-1 .buttons-container button:nth-child(1):hover,
.section-1 .buttons-container button:nth-child(2):hover {
	transform: scale(1.1);
	transition: transform 0.3s ease-in;
}

.section-1 .buttons-container button:nth-child(2) {
	background: #ffffff;
	border: 1px solid #b6bccd;
	color: #4b5162;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.section-1 {
		gap: 0.8rem;
		padding: 20px 12px;
	}

	.section-1 span:first-child {
		font-size: 32px;
		line-height: 38px;
	}

	.section-1 span:nth-child(2) {
		font-size: 18px;
		line-height: 30px;
		padding: 0 12px;
	}

	.section-1 .buttons-container {
		flex-direction: column; /* Stack buttons vertically */
		gap: 0.5rem;
	}

	.section-1 .buttons-container button {
		width: 100%; /* Make buttons full-width */
	}
}

.section-2 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; /* Ensures the container takes full width */
	padding-bottom: 5rem;
}

.section-2 img {
	max-width: 100%; /* Ensures the image scales down on smaller screens */
	height: auto; /* Maintains aspect ratio */
	width: 100%; /* Ensures it adjusts to its container */
	max-width: 1200px; /* Limits the image size on larger screens */
}

/* Ensure better spacing on smaller screens */
@media (max-width: 768px) {
	.section-2 {
		padding: 0 16px; /* Adds padding to prevent image from touching screen edges */
	}
}

.section-3 {
	display: flex;
	gap: 2rem;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap; /* Ensures flexibility */
	width: 100%;
	margin: auto;
	max-width: 1200px;
	padding-bottom: 5rem;
}

/* Content Section */
.section-3 .content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Adjust heading size for smaller screens */
.section-3 .content h3 {
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	color: #013e7b;
}

.section-3 .content span {
	display: block;
	max-width: 100%;
	font-size: 18px;
	line-height: 30px;
	color: #000000;
}

/* Action Button */
.section-3 .action-div {
	border: 1px solid #b6bccd;
	padding: 10px 20px;
	border-radius: 30px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	gap: 0.8rem;
	cursor: pointer;
}

.section-3 .action-div:hover {
	transform: scale(1.1);
	transition: transform 0.3s ease-in;
}

.section-3 .action-div img {
	width: 22px; /* Adjust icon size */
	height: 22px;
}

/* Button text */
.section-3 .action-div span {
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	color: #4b5162;
	text-align: center;
	white-space: nowrap;
}

/* Cards Container */
.section-3 .cards-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
}

/* Individual Cards */
.section-3 .cards-container .solutions-card {
	padding: 16px 24px;
	background: #ffffff;
	box-shadow: 0px 24px 15px 0 #387ff50d;
	max-width: 460px;
	width: 100%;
	border-radius: 10px;
}

/* Card Header */
.section-3 .solutions-card div {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
}

/* Card Title */
.section-3 .solutions-card div h4 {
	font-weight: 600;
	font-size: 20px;
	line-height: 30px;
	color: #000000;
	margin: 0;
}

/* Card Content */
.section-3 .solutions-card span {
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	color: #000000;
}

/* Center the second card */
.section-3 .cards-container .solutions-card:nth-child(2) {
	background: #104673;
	color: #ffffff;
}

.section-3 .cards-container .solutions-card:nth-child(2) h4,
.section-3 .cards-container .solutions-card:nth-child(2) span {
	color: #ffffff;
}

/* Positioning each card */
.section-3 .cards-container .solutions-card:nth-child(1) {
	align-self: flex-end;
}

.section-3 .cards-container .solutions-card:nth-child(2) {
	align-self: center;
	background: #104673;
}

.section-3 .cards-container .solutions-card:nth-child(3) {
	align-self: flex-start;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
	.section-3 {
		flex-direction: column;
		align-items: center;
		gap: 3rem;
	}

	.section-3 .content {
		max-width: 90%;
		align-items: center;
	}

	.section-3 .cards-container {
		max-width: 90%;
	}
}

@media (max-width: 768px) {
	.section-3 {
		gap: 2rem;
	}

	/* Center align text for small screens */
	.section-3 .content {
		text-align: center;
		gap: 1rem;
	}

	/* Reduce heading size */
	.section-3 .content h3 {
		font-size: 28px;
		line-height: 36px;
	}

	/* Reduce font size */
	.section-3 .content span {
		font-size: 16px;
		line-height: 26px;
	}

	/* Adjust button width */
	.section-3 .action-div {
		width: 100%;
		max-width: 280px;
		padding: 12px;
	}

	/* Adjust button text size */
	.section-3 .action-div span {
		font-size: 16px;
		line-height: 24px;
	}

	/* Stack cards properly */
	.section-3 .cards-container {
		width: 100%;
		align-items: center;
	}

	/* .section-3 .cards-container .solutions-card {
        max-width: 90%;
    } */

	/* Ensure all cards are centered */
	.section-3 .cards-container .solutions-card:nth-child(1),
	.section-3 .cards-container .solutions-card:nth-child(2),
	.section-3 .cards-container .solutions-card:nth-child(3) {
		align-self: center;
	}
}

.section-4 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2rem; /* Reduce gap for mobile */
	padding: 30px 16px; /* Add horizontal padding for small screens */
	background: #013e7b;
	text-align: center;
}

/* Heading */
.section-4 span:first-child {
	font-size: 36px; /* Reduce size for smaller screens */
	line-height: 42px;
	font-weight: 700;
	color: #ffffff;
}

/* Subheading */
.section-4 span:nth-child(2) {
	font-weight: 400;
	font-size: 22px;
	line-height: 36px;
	color: #ffffff;
	max-width: 600px;
	padding: 0 10px;
}

/* Action Button */
.section-4 .action-div {
	border: 1px solid #b6bccd;
	padding: 10px 20px;
	border-radius: 20px;
	height: auto; /* Remove fixed height */
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content; /* Adjust based on content */
	gap: 0.5rem;
	cursor: pointer;
}

.section-4 .action-div:hover {
	transform: scale(1.1);
	transition: transform 0.3s ease-in;
}

/* Text inside the button */
.section-4 .action-div span {
	font-size: 20px;
	font-weight: 500;
	line-height: 32px;
	color: #4b5162;
	text-align: center;
	white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.section-4 {
		gap: 1rem;
		padding: 20px 12px;
	}

	.section-4 span:first-child {
		font-size: 28px;
		line-height: 34px;
	}

	.section-4 span:nth-child(2) {
		font-size: 18px;
		line-height: 28px;
		padding: 0 12px;
	}

	.section-4 .action-div {
		width: 100%; /* Make button full width on small screens */
		max-width: 300px;
		padding: 12px;
	}

	.section-4 .action-div span {
		font-size: 18px;
		line-height: 28px;
	}
}

.section-5 {
	padding: 2rem 1rem 5rem 1rem; /* Add side padding for smaller screens */
	margin: auto;
	max-width: 1200px;
}

/* Flexbox for card container */
.section-5 .card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	align-items: stretch;
}

/* Individual Card Styling */
.section-5 .card-container .insights-card {
	background: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: flex-start;
	align-items: center;
	flex: 1 1 calc(33.33% - 16px);
	max-width: calc(33.33% - 16px);
	box-shadow: 0px 4px 7px 2px #dae4ff;
	padding: 25px;
	border-radius: 10px;
	cursor: pointer;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

/* Title inside each card */
.section-5 .card-container .insights-card span:nth-child(2) {
	font-size: 23px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
	color: #000000;
	margin-top: 10%;
}

/* Description inside each card */
.section-5 .card-container .insights-card span:nth-child(3) {
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	text-align: center;
	color: #000000;
}

.section-5 .insights-card:hover {
	transform: scale(1.1); /* Highlight effect */
	z-index: 10; /* Bring to front */
}

/* Lower opacity or scale for non-hovered cards */
.section-5:hover .insights-card:not(:hover) {
	opacity: 0.5; /* Makes other cards fade */
	transform: scale(0.95); /* Slightly shrink other cards */
}

/* Responsive Design */
@media (max-width: 1024px) {
	.section-5 .card-container .insights-card {
		flex: 1 1 calc(50% - 16px); /* 2 columns on tablets */
		max-width: calc(50% - 16px);
	}
}

@media (max-width: 768px) {
	.section-5 {
		padding: 2rem 1rem;
	}

	.section-5 .card-container {
		gap: 1rem;
	}

	.section-5 .card-container .insights-card {
		flex: 1 1 100%; /* Full width on mobile */
		max-width: 100%;
		padding: 20px;
	}

	.section-5 .card-container .insights-card span:nth-child(2) {
		font-size: 20px;
		line-height: 24px;
	}

	.section-5 .card-container .insights-card span:nth-child(3) {
		font-size: 16px;
		line-height: 24px;
	}
}
