.pyr-competency-section {
	position: relative;
	overflow: hidden;
	padding: 84px 0 92px;
	background:
		radial-gradient(circle at 8% 12%, rgba(0, 180, 216, 0.12), transparent 28%),
		linear-gradient(145deg, #0a2b5b 0%, #0c376f 100%);
}

.pyr-competency-section::after {
	position: absolute;
	right: -180px;
	bottom: -260px;
	width: 560px;
	height: 560px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
	box-shadow:
		0 0 0 70px rgba(255, 255, 255, 0.018),
		0 0 0 140px rgba(255, 255, 255, 0.012);
	content: "";
	pointer-events: none;
}

.pyr-competency-heading {
	position: relative;
	z-index: 1;
	max-width: 870px;
	margin: 0 auto 48px;
	text-align: center;
}

.pyr-competency-heading span {
	display: block;
	margin-bottom: 16px;
	color: #54d6cf;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.pyr-competency-heading h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4.2vw, 50px);
	font-weight: 800;
	letter-spacing: -1.25px;
	line-height: 1.16;
}

.pyr-competency-heading > p {
	max-width: 760px;
	margin: 20px auto 0;
	color: rgba(226, 237, 249, 0.78);
	font-size: 15px;
	line-height: 1.75;
}

.pyr-competency-grid {
	position: relative;
	z-index: 1;
	display: grid;
	max-width: 1140px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin: 0 auto;
}

.pyr-competency-card {
	display: grid;
	min-width: 0;
	min-height: 172px;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 26px;
	align-items: center;
	padding: 26px 28px;
	border: 1px solid rgba(191, 216, 242, 0.24);
	border-radius: 16px;
	background: rgba(13, 53, 108, 0.68);
	box-shadow: 0 18px 42px rgba(3, 17, 39, 0.08);
	transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.pyr-competency-card:hover,
.pyr-competency-card:focus-within {
	border-color: rgba(84, 214, 207, 0.58);
	background: rgba(15, 64, 129, 0.92);
	box-shadow: 0 24px 52px rgba(3, 17, 39, 0.2);
	transform: translateY(-5px);
}

.pyr-competency-icon {
	display: inline-flex;
	width: 100px;
	height: 100px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(1, 14, 35, 0.12);
	color: #1768d9;
	font-size: 34px;
}

.pyr-competency-content {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	justify-content: center;
}

.pyr-competency-card h3 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 750;
	line-height: 1.3;
}

.pyr-competency-card p {
	margin: 0 0 13px;
	color: rgba(226, 237, 249, 0.78);
	font-size: 13.5px;
	line-height: 1.65;
}

.pyr-competency-card a {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.pyr-competency-card a span {
	transition: transform 0.2s ease;
}

.pyr-competency-card a:hover,
.pyr-competency-card a:focus-visible {
	color: #54d6cf;
}

.pyr-competency-card a:hover span,
.pyr-competency-card a:focus-visible span {
	transform: translateX(4px);
}

@media (max-width: 991px) {
	.pyr-competency-section {
		padding: 72px 0 80px;
	}

	.pyr-competency-heading {
		margin-bottom: 40px;
	}

	.pyr-competency-card {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 20px;
		padding: 24px;
	}

	.pyr-competency-icon {
		width: 82px;
		height: 82px;
		font-size: 29px;
	}
}

@media (max-width: 840px) {
	.pyr-competency-grid {
		grid-template-columns: 1fr;
	}

	.pyr-competency-card {
		min-height: 154px;
	}
}

@media (max-width: 560px) {
	.pyr-competency-section {
		padding: 60px 0 68px;
	}

	.pyr-competency-heading {
		margin-bottom: 34px;
	}

	.pyr-competency-heading h2 {
		font-size: 32px;
	}

	.pyr-competency-heading > p {
		font-size: 14px;
	}

	.pyr-competency-card {
		min-height: 0;
		grid-template-columns: 70px minmax(0, 1fr);
		gap: 17px;
		padding: 21px 18px;
		border-radius: 14px;
	}

	.pyr-competency-icon {
		width: 68px;
		height: 68px;
		border-radius: 11px;
		font-size: 25px;
	}

	.pyr-competency-card h3 {
		font-size: 19px;
	}

	.pyr-competency-card p {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pyr-competency-card,
	.pyr-competency-card a span {
		transition: none;
	}
}
