* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Lato", sans-serif;
}




.stacking-animation-row {
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.left-text-content {
	flex: 0 0 350px;
	padding-right: 0px;
}

.left-text-content h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	color: #1e293b;
	margin-bottom: 24px;
}

.left-text-content p {
	font-size: 18px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
}

.stacking-animation-row .right-part {
	flex: 1;
	width: auto;
	max-width: 786px;
}

.stack-layer-row {
	max-width: 786px;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	left: 0;
	transform: translateX(0);
	margin: 0;
}

.stack-layer-block {
	display: flex;
	align-items: center;
	top: 0;
	position: absolute;
	opacity: 0;
	transform: translateY(0);
	will-change: transform;
}

.stack-layer-block p {
	font-size: 12px;
	margin: 0 0 10px 0;
}

.stack-layer-block p:last-child {
	margin-bottom: 0;
}

.stack-layer-image {
	max-width: 413px;
}

.stack-layer-content {
	max-width: 355px;
	display: flex;
	align-items: center;
}

.stack-layer-content img,
.arrow-spacer {
	width: 197px;
	flex: 0 0 197px;
}

.start-frame .stack-layer-content,
.end-frame .stack-layer-content {
	display: none;
	/* no content */
}
.stack-left-content {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: #1a1a1a;
	padding-right: 2rem;
}

.stack-left-content h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.3;
}

.stack-left-content h2 span {
	color: #00c280; /* Matches GAP3 green or similar accent */
}

.stack-left-content p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #444;
}

.stack-left-content ul {
	list-style-type: disc;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
}

.stack-left-content ul li {
	margin-bottom: 8px;
}
.layer-2 .stack-layer-content{
	margin-top: 0px;
}
.layer-3 .stack-layer-content {
	margin-top: 0px;
}
.layer-4 .stack-layer-content {
	margin-top: 0px;
}
.last-frame .stack-layer-content {
	margin-top: -15px;
}
.mobile-card{
	margin-bottom: 50px;
	text-align: center;
}
.mobile-card img{
	width: 80%;
	margin-top: 24px;
	margin-bottom: 24px;
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.mobile-card h3{
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	color: #1e293b;
	text-align: center;
	margin-bottom: 24px;

}
.mobile-card p {
	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
	text-align: center;
}
.mobile-lawft-section{
	padding: 100px 10px;
}
.mobile-lawft-text h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	color: #1e293b;
	margin-bottom: 24px;
	text-align: center;

}
.mobile-lawft-text p {
	font-size: 18px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
	text-align: center;

}
@media screen and (max-width: 1350px){
	.stack-layer-content img,
	.arrow-spacer {
		width: 100px;
		flex: 0 0 100px;
	}
	.layer-2 .stack-layer-content{
		margin-top: 0px;
	}
	.stack-layer-block.start-frame{
		margin-top: -5px;
		
	}
}


@media screen and (max-width: 1300px){
	.stack-layer-image,
	.stack-layer-image img{
		width: 350px;
	}
	.stack-layer-content img,
	.arrow-spacer {
		width: 50px;
		flex: 0 0 50px;
	}
	.layer-2 .stack-layer-content{
		margin-top: -40px;
	}
}

@media screen and (min-width: 768px){
	.stacking-layer-animation-div {
		height: 100vh;
	}
}
/* Desktop default visible */
.mobile-only { display: none; }

/* Mobile breakpoint */
@media screen and (max-width: 1024px) {
	.mobile-only { display: block; }
	.desktop-only { display: none; }
	
	/* Ensure mobile cards are visible */
	.mobile-lawft-cards {
		display: block;
		width: 100%;
	}
	
	/* Fix image loading on mobile */
	.mobile-card {
		display: block;
		visibility: visible;
		opacity: 1;
		margin-bottom: 50px;
	}
	
	.mobile-card img {
		width: 80%;
		max-width: 500px;
		height: auto;
		display: block;
		margin: 24px auto;
		loading: eager;
	}
	
	/* Adjust text sizing for smaller screens */
	.mobile-lawft-text h2 {
		font-size: 36px;
	}
	
	.mobile-lawft-section {
		padding: 60px 20px;
	}
}