/* ========== Modes of Training ========== */
.elementor-element.asmorix-modes-section-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.asmorix-modes {
	--am-blue: #0c5adb;
	--am-navy: #041424;
	--am-muted: #5f6f82;
	--am-yellow: #ffd200;
	--am-font: "Nunito", "Poppins", sans-serif;
	--am-display: "Rajdhani", "Nunito", sans-serif;
	position: relative;
	padding: 36px 0 56px;
	background: #ffffff;
	font-family: var(--am-font);
	color: var(--am-navy);
	overflow: hidden;
}

.asmorix-modes__inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.asmorix-modes__header {
	max-width: 100%;
	margin: 0 auto 36px;
	text-align: center;
}

.asmorix-modes__eyebrow {
	margin: 0 0 8px;
	font-family: var(--am-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--am-blue);
}

.asmorix-modes__title {
	margin: 0 0 12px;
	font-family: var(--am-display);
	font-size: clamp(26px, 2.8vw, 38px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--am-navy);
	white-space: nowrap;
}

.asmorix-modes__lead {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--am-muted);
}

.asmorix-modes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.asmorix-modes__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0 0 22px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #e2eaf4;
	border-radius: 22px;
	box-shadow: 0 14px 34px rgba(4, 20, 36, 0.07);
	backdrop-filter: blur(8px);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.asmorix-modes__card:hover {
	transform: translateY(-6px);
	border-color: rgba(12, 90, 219, 0.28);
	box-shadow: 0 22px 44px rgba(12, 90, 219, 0.14);
}

.asmorix-modes__accent {
	height: 5px;
	width: 100%;
	background: linear-gradient(90deg, var(--am-blue), #4f8ef0);
}

.asmorix-modes__card--online .asmorix-modes__accent {
	background: linear-gradient(90deg, var(--am-yellow), #ffe566);
}

.asmorix-modes__card--corporate .asmorix-modes__accent {
	background: linear-gradient(90deg, var(--am-navy), var(--am-blue));
}

.asmorix-modes__card--featured {
	border-color: rgba(255, 210, 0, 0.55);
	box-shadow: 0 18px 40px rgba(255, 210, 0, 0.16);
}

.asmorix-modes__top {
	padding: 20px 22px 8px;
	text-align: left;
}

.asmorix-modes__badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(12, 90, 219, 0.08);
	border: 1px solid rgba(12, 90, 219, 0.16);
	color: var(--am-blue);
	font-family: var(--am-display);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.asmorix-modes__badge--yellow {
	background: rgba(255, 210, 0, 0.28);
	border-color: rgba(255, 210, 0, 0.55);
	color: var(--am-navy);
}

.asmorix-modes__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 108px;
	margin: 0 0 14px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 30% 30%, rgba(12, 90, 219, 0.08), transparent 55%),
		linear-gradient(165deg, #f7f9fc 0%, #eef3f9 100%);
	border: 1px solid #e8eef6;
}

.asmorix-modes__card--online .asmorix-modes__visual {
	background:
		radial-gradient(circle at 70% 30%, rgba(255, 210, 0, 0.22), transparent 55%),
		linear-gradient(165deg, #fffdf3 0%, #f7f9fc 100%);
}

.asmorix-modes__visual svg {
	width: min(140px, 78%);
	height: auto;
	display: block;
}

.asmorix-modes__name {
	margin: 0 0 8px;
	font-family: var(--am-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--am-navy);
}

.asmorix-modes__tagline {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--am-muted);
}

.asmorix-modes__list {
	margin: 16px 22px 18px;
	padding: 0;
	list-style: none;
	flex: 1;
}

.asmorix-modes__list li {
	position: relative;
	margin: 0 0 10px;
	padding: 0 0 0 28px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: #3d4b5c;
}

.asmorix-modes__list li:last-child {
	margin-bottom: 0;
}

.asmorix-modes__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--am-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.asmorix-modes__card--online .asmorix-modes__list li::before {
	background: var(--am-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.4' stroke='%23041424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.asmorix-modes__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 22px;
	padding: 13px 18px;
	border-radius: 12px;
	font-family: var(--am-display);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.asmorix-modes__cta--blue {
	background: var(--am-blue);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(12, 90, 219, 0.28);
}

.asmorix-modes__cta--blue:hover {
	background: #0948b8;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 26px rgba(12, 90, 219, 0.34);
}

.asmorix-modes__cta--yellow {
	background: var(--am-yellow);
	color: var(--am-navy) !important;
	box-shadow: 0 10px 22px rgba(255, 210, 0, 0.35);
}

.asmorix-modes__cta--yellow:hover {
	background: #ffe34d;
	color: var(--am-navy) !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 26px rgba(255, 210, 0, 0.42);
}

@media (max-width: 991px) {
	.asmorix-modes__grid {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	.asmorix-modes {
		padding: 28px 0 44px;
	}
	.asmorix-modes__inner {
		width: min(100% - 28px, 1180px);
	}
	.asmorix-modes__header {
		margin-bottom: 26px;
	}
	.asmorix-modes__title {
		font-size: 22px;
		white-space: normal;
	}
	.asmorix-modes__top,
	.asmorix-modes__list {
		padding-left: 18px;
		padding-right: 18px;
	}
	.asmorix-modes__list {
		margin-left: 18px;
		margin-right: 18px;
	}
	.asmorix-modes__cta {
		margin-left: 18px;
		margin-right: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmorix-modes__card,
	.asmorix-modes__cta {
		transition: none;
	}
	.asmorix-modes__card:hover,
	.asmorix-modes__cta:hover {
		transform: none;
	}
}
