/**
 * Stats Metrics Block Styles
 */

.stats-metrics-block {
	position: relative;
	background-image: url("../../../assets/images/stat-bg.png");
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 8px;
	padding: 88px 0px 0 115px;
	margin: 0 40px 144px;
}

.stats-metrics-container {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.stats-metrics-graphic--wave {
	position: absolute;
	top: 0;
	right: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.3;
}

.stats-metrics-circle-one {
	position: absolute;
	top: 0;
	left: 40%;
}

.stats-metrics-circle-two {
	position: absolute;
	top: 0;
	left: 50%;
	mix-blend-mode: overlay;
}

/* Stats Grid Layout */
.stats-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: end;
}

.featured-stat {
	padding-bottom: 80px;
}

.featured-stat-number {
	font-size: 164px;
	font-weight: 700;
	line-height: 0.9;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 16px;
	letter-spacing: -5px;
}

.featured-stat-description {
	color: #fff;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.12px;
	opacity: 0.4;
	max-width: 300px;
}

/* Stats Columns */
.stats-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
}

.stat-item {
	padding: 0 24px;
	min-height: 179px;
	position: relative;
	display: flex;
}

.stat-item::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1px;
	top: 0;
	background: white;
	z-index: 2;
}

.stat-item::after {
	content: "";
	position: absolute;
	bottom: -90px;
	left: 0;
	width: 1px;
	top: 100%;
	background: #7d2d3f;
	z-index: 2;
}

.stat-number {
	color: #fff;
	font-feature-settings:
		"liga" off,
		"clig" off;
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	line-height: 98%; /* 67px */
	letter-spacing: -0.48px;
	text-transform: capitalize;
	margin-bottom: 8px;
}

.stat-label {
	color: #fff;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 135%;
	letter-spacing: 0.42px;
}

/* Bottom Accent */
.bottom-accent {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100px;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(255, 220, 210, 0.3) 100%
	);
	pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.stats-grid {
		gap: 60px;
	}

	.featured-stat-number {
		font-size: 140px;
	}

	.stat-number {
		font-size: 48px;
	}
}

@media (max-width: 1200px) {
	.stats-metrics-circle-one,
	.stats-metrics-circle-two {
		width: 200px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.featured-stat-number {
		font-size: 120px;
	}

	.stats-columns {
		grid-template-columns: repeat(2, 1fr);
		max-height: 100%;
	}
}

@media (max-width: 768px) {
	.stats-metrics-circle-one {
		width: 20%;
		top: -50px;
		left: 5%;
	}

	.stats-metrics-circle-two {
		width: 20%;
		top: -50px;
		left: 20%;
	}

	.stats-metrics-graphic--wave {
		left: 0;
		right: auto;
	}

	.featured-stat {
		padding-bottom: 0;
	}

	.stats-metrics-block {
		margin: 0 20px;
	}

	.stat-item {
		min-height: auto;
		padding: 32px 0;
	}

	.stat-item::before {
		content: "";
		bottom: auto;
		left: 0;
		width: 100%;
		top: 0;
		height: 1px;
		background: white;
		z-index: 2;
	}

	.stat-item::after {
		height: 0;
		width: 0;
	}

	.stats-columns {
		max-height: none;
	}

	.stats-metrics-block {
		padding: 100px 20px;
	}

	.featured-stat-number {
		font-size: 129px;
		text-align: center;
		letter-spacing: -3px;
	}

	.featured-stat-description {
		font-size: 22px;
		margin: 0 auto;
		max-width: 280px;
		font-weight: 700;
		text-align: center;
	}

	.stats-columns {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.stat-number {
		font-size: 43px;
	}

	.stat-label {
		font-size: 13px;
		font-weight: 700;
		margin-top: 8px;
	}
}

/* Full width alignment */
.stats-metrics-block.alignfull {
	padding-left: 0;
	padding-right: 0;
}

.stats-metrics-block.alignfull .stats-metrics-container {
	max-width: 100%;
	padding: 0 60px;
}

/* Wide alignment */
.stats-metrics-block.alignwide .stats-metrics-container {
	max-width: 1600px;
}

/* Animation on scroll (optional - requires JS) */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stat-item {
	animation: fadeInUp 0.6s ease forwards;
	opacity: 0;
}

.stat-item:nth-child(1) {
	animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
	animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
	animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
	animation-delay: 0.4s;
}

.stat-item:nth-child(5) {
	animation-delay: 0.5s;
}
