:root {
	--bg: #f4f8fa;
	--surface: #ffffff;
	--surface-2: #eef4f7;
	--text: #0f172a;
	--muted: #42596a;
	--primary: #1f5a74;
	--primary-2: #5f8398;
	--accent: #4ec8b3;
	--line: #d4e0e8;
	--success: #2ea892;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1120px, 92%);
	margin: 0 auto;
}

.section {
	padding: 4.5rem 0;
}

.muted {
	background: var(--surface-2);
}

.eyebrow {
	margin: 0 0 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--primary-2);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.8rem;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2rem, 3.8vw, 3.2rem);
}

h2 {
	font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.lead {
	font-size: 1.06rem;
	color: var(--muted);
	max-width: 70ch;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 800;
}

.brand-logo {
	height: 54px;
	width: auto;
	object-fit: contain;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.3rem;
}

.site-nav a {
	position: relative;
	font-weight: 600;
	color: #1e293b;
	padding: 0.15rem 0;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.2rem;
	width: 0;
	height: 2px;
	border-radius: 100px;
	background: var(--primary-2);
	transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: #0f172a;
}

.hero {
	padding: 8rem 0;
	min-height: 92vh;
	display: flex;
	align-items: center;
	position: relative;
	color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-home {
	min-height: 92vh;
	padding: 8rem 0;
	display: flex;
	align-items: flex-end;
	background-image:
		linear-gradient(rgba(8, 22, 34, 0.72), rgba(8, 22, 34, 0.72)),
		url("../images/server%20engineer.jpg");
}

.hero-home::before,
.hero-home::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}

.hero-home::before {
	width: 300px;
	height: 300px;
	top: 9%;
	left: 7%;
	background: radial-gradient(circle, rgba(78, 200, 179, 0.28), transparent 65%);
}

.hero-home::after {
	width: 360px;
	height: 360px;
	right: 6%;
	bottom: 10%;
	background: radial-gradient(circle, rgba(95, 131, 152, 0.3), transparent 68%);
}

.hero-home .hero-grid {
	grid-template-columns: 1fr;
	max-width: 1120px;
	position: relative;
	z-index: 1;
	padding-bottom: 0.8rem;
}

.hero-home .hero-content {
	text-align: left;
	margin: 0;
	max-width: 760px;
	padding: 1rem 1.1rem 0.5rem 0;
	border-left: 4px solid rgba(78, 200, 179, 0.85);
	padding-left: 1.1rem;
}

.hero-home h1,
.hero-home .lead {
	margin-left: 0;
	margin-right: 0;
}

.hero-home h1 {
	font-size: clamp(1.3rem, 2.2vw, 2rem);
	max-width: 16ch;
}

.hero-home .lead {
	font-size: clamp(0.86rem, 0.9vw, 0.94rem);
	max-width: 64ch;
}

.hero h1,
.page-hero h1 {
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	font-size: clamp(2.5rem, 5.2vw, 4.6rem);
	line-height: 1.1;
	margin-bottom: 1rem;
}

.hero .eyebrow,
.page-hero .eyebrow {
	color: #d7efe8;
	font-size: 0.9rem;
}

.hero .lead,
.page-hero .lead {
	color: #e2edf3;
	font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero .lead {
	max-width: 62ch;
}

/* Home hero typography override (placed after generic hero rules) */
.hero.hero-home h1 {
	font-size: clamp(2.3rem, 4.8vw, 4.2rem);
	max-width: 20ch;
	margin-bottom: 0.75rem;
}

.hero-title-line {
	display: block;
	white-space: nowrap;
}

.hero.hero-home .lead {
	font-size: clamp(1.06rem, 1.3vw, 1.28rem);
	max-width: 50ch;
}

.hero.hero-home .eyebrow {
	font-size: 0.86rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0.65rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	gap: 2rem;
}

.hero-grid > div:first-child,
.page-hero .container {
	text-align: center;
}

.hero-actions {
	margin-top: 1.5rem;
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
	justify-content: center;
}

.hero-home .hero-actions {
	justify-content: flex-start;
}

.hero-bottom-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.35rem;
}

.hero-proof {
	display: inline-flex;
	align-items: baseline;
	gap: 0.55rem;
	padding: 0.58rem 0.78rem;
	border: 1px solid rgba(223, 236, 242, 0.65);
	border-radius: 10px;
	background: rgba(11, 31, 46, 0.38);
	backdrop-filter: blur(2px);
}

.hero-proof strong {
	font-size: 1.25rem;
	line-height: 1;
	color: #ffffff;
}

.hero-proof span {
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	color: #d7eaf2;
	text-transform: uppercase;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 700;
	padding: 0.78rem 1.2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	color: #fff;
	box-shadow: 0 10px 25px rgba(31, 90, 116, 0.3);
}

.btn-outline {
	border-color: #a9c2d0;
	background: #fff;
	color: var(--primary);
}

.hero-card,
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero-card {
	padding: 1.3rem;
	overflow: hidden;
}

.hero-card ul {
	margin: 1rem 0 0;
	padding-left: 1.2rem;
}

.hero-card li {
	margin-bottom: 0.5rem;
	color: #1e293b;
}

.partners-marquee-section {
	padding: 1rem 0 0.4rem;
	overflow: hidden;
}

.home-about-brief {
	padding-top: 2.2rem;
	padding-bottom: 2.2rem;
	background: #fff;
}

.about-brief-layout {
	padding: 0;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 2rem;
}

.about-brief-media {
	min-height: 320px;
	overflow: hidden;
}

.about-brief-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-brief-copy {
	padding: 0;
}

.about-brief-copy h2 {
	margin-bottom: 0.55rem;
	font-size: clamp(1.35rem, 2.1vw, 1.9rem);
	color: #19384a;
}

.about-brief-copy p {
	margin: 0 0 1rem;
	max-width: 54ch;
	color: #4a6070;
	line-height: 1.7;
}

.clients-showcase {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 10% 20%, rgba(78, 200, 179, 0.22), transparent 35%),
		radial-gradient(circle at 85% 22%, rgba(121, 164, 185, 0.2), transparent 36%),
		linear-gradient(130deg, #12384c, #1f5a74 45%, #2a6f8b);
	color: #fff;
}

.clients-showcase .section-head {
	text-align: center;
	margin-bottom: 2rem;
}

.clients-showcase .section-head .eyebrow {
	color: #cfe8ef;
	letter-spacing: 0.1em;
}

.clients-showcase .section-head h2 {
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.clients-intro {
	margin: 0 auto;
	max-width: 58ch;
	color: #dcedf4;
	font-size: 1rem;
}

.clients-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1rem;
}

.client-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 14px 30px rgba(6, 20, 31, 0.22);
	backdrop-filter: blur(3px);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.client-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(78, 200, 179, 0.75), rgba(95, 131, 152, 0.85));
	opacity: 0;
	filter: blur(0.5px);
	transition: opacity 0.28s ease;
	pointer-events: none;
	z-index: 0;
}

.client-card > * {
	position: relative;
	z-index: 1;
}

.client-card:hover,
.client-card:focus-within {
	transform: translateY(-5px);
	border-color: rgba(156, 214, 228, 0.9);
	box-shadow: 0 18px 34px rgba(7, 24, 38, 0.3);
}

.client-card:hover::before,
.client-card:focus-within::before {
	opacity: 1;
}

.client-logo-wrap {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #d5e4ec;
	padding: 0.4rem 0.6rem;
}

.client-logo-wrap img {
	max-width: 100%;
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.client-logo-wrap.text-mark {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #ffffff;
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	border-color: rgba(255, 255, 255, 0.42);
}

.client-card h3 {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #173849;
}

.partners-marquee-label {
	margin: 0 0 0.7rem;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.partners-marquee {
	display: flex;
	gap: 1rem;
	overflow: hidden;
	padding: 0.7rem 0;
	mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.partners-track {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: max-content;
	animation: marqueeMove 28s linear infinite;
}

.partner-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.25rem;
	min-height: 66px;
	color: var(--primary);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.partner-pill img {
	width: auto;
	height: 42px;
	max-width: 150px;
	object-fit: contain;
	display: block;
	filter: saturate(1.08) contrast(1.08);
}

@media (max-width: 760px) {
	.partner-pill {
		padding: 0.65rem 0.95rem;
		min-height: 56px;
	}

	.partner-pill img {
		height: 34px;
		max-width: 118px;
	}
}

.section-head {
	margin-bottom: 1.4rem;
}

.cards {
	display: grid;
	gap: 1rem;
}

.cards.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	padding: 1.2rem;
}

/* Home: Core Competencies cards */
.core-competencies-section .cards {
	gap: 1.1rem;
}

.competency-card {
	position: relative;
	overflow: hidden;
	padding: 1.35rem 1.3rem 1.45rem;
	border: 1px solid #d7e4ec;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.92));
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.competency-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--accent), var(--primary-2));
}

.competency-card::after {
	content: "";
	position: absolute;
	width: 160px;
	height: 160px;
	right: -68px;
	bottom: -76px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(95, 131, 152, 0.18), transparent 70%);
	pointer-events: none;
}

.competency-card h3 {
	position: relative;
	padding-left: 2.2rem;
	margin: 0 0 0.6rem;
	font-size: 1.1rem;
	color: #16384b;
}

.competency-card h3::before {
	content: "◆";
	position: absolute;
	left: 0;
	top: 0.03rem;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	border-radius: 8px;
	box-shadow: 0 6px 14px rgba(31, 90, 116, 0.25);
}

.competency-card p {
	margin: 0;
	color: #3f5566;
	line-height: 1.7;
	font-size: 0.95rem;
}

.competency-card:hover {
	transform: translateY(-7px);
	box-shadow: 0 16px 34px rgba(31, 90, 116, 0.15);
	border-color: #c6d9e4;
}

/* Service picture cards */
.card.service-card {
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.service-card-img {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.service-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.card.service-card:hover .service-card-img img {
	transform: scale(1.05);
}

.service-card-body {
	padding: 1.4rem 1.3rem 1.6rem;
	flex: 1;
}

.service-card-body h3 {
	margin-bottom: 0.55rem;
	font-size: 1.05rem;
	color: var(--primary);
}

.service-card-body p {
	font-size: 0.93rem;
	color: #475569;
	line-height: 1.65;
}

.stats {
	padding-top: 2.2rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
}

.stats-grid article {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 1rem;
	text-align: center;
}

.stats-grid h2 {
	margin-bottom: 0.2rem;
	color: var(--primary);
}

.stats-grid p {
	margin: 0;
	color: var(--muted);
}

.two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.7rem;
}

.check-list li {
	padding: 0.95rem 1rem 0.95rem 2.8rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	position: relative;
}

.check-list li::before {
	content: "✓";
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.3rem;
	height: 1.3rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--success);
	font-size: 0.85rem;
	font-weight: 700;
}

.page-hero {
	padding: 8rem 0;
	min-height: 92vh;
	display: flex;
	align-items: center;
	color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-hero-about {
	background-image:
		linear-gradient(rgba(8, 22, 34, 0.7), rgba(8, 22, 34, 0.7)),
		url("../images/meeting.jpg");
}

.page-hero-services {
	background-image:
		linear-gradient(rgba(8, 22, 34, 0.74), rgba(8, 22, 34, 0.74)),
		url("../images/server%20engineer%202.jpg");
}

.page-hero-contact {
	background-image:
		linear-gradient(rgba(8, 22, 34, 0.72), rgba(8, 22, 34, 0.72)),
		url("../images/customer%20support.jpg");
}

.breadcrumb {
	margin: 0;
	font-weight: 600;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	letter-spacing: 0.02em;
	color: #d7e6ee;
}

.page-intro-section {
	padding-top: 2.2rem;
	padding-bottom: 1.5rem;
}

.page-intro {
	padding: 1.4rem;
	border-left: 5px solid var(--accent);
	background: linear-gradient(180deg, #ffffff, #f6fbfd);
}

.page-intro h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.9rem);
	margin-bottom: 0.45rem;
	color: #19384a;
}

.page-intro .lead {
	margin: 0;
	max-width: 78ch;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.9rem;
}

.process-step {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 1rem;
}

.process-step span {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	background: var(--primary-2);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 1rem;
}

.contact-meta p,
.office-list p {
	margin: 0.3rem 0;
}

.contact-form {
	display: grid;
	gap: 0.68rem;
}

.contact-form label {
	font-weight: 600;
	color: #1e293b;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 1px solid #cdd9ea;
	border-radius: 10px;
	padding: 0.72rem 0.78rem;
	font: inherit;
	color: #0f172a;
	background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 2px solid rgba(78, 200, 179, 0.28);
	border-color: var(--primary-2);
}

.form-note {
	margin: 0.2rem 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.cta {
	background: linear-gradient(130deg, #1f5a74, #5f8398);
	color: #fff;
}

.cta .eyebrow {
	color: #cbe5de;
}

.cta-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
}

.site-footer {
	background: #ffffff;
	color: var(--text);
	margin-top: 2rem;
	border-top: 1px solid var(--line);
}

.footer-grid {
	padding: 2.5rem 0 1.5rem;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.9fr;
	gap: 1rem;
}

.site-footer .brand {
	padding: 0;
}

.site-footer h4 {
	color: var(--text);
	margin-bottom: 0.4rem;
}

.site-footer a,
.site-footer p {
	display: block;
	margin: 0.38rem 0;
	color: var(--muted);
}

.footer-bottom {
	border-top: 1px solid var(--line);
	padding: 1rem 0 1.4rem;
}

.footer-bottom p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	text-align: center;
}

@media (max-width: 760px) {
	.brand-logo {
		height: 46px;
	}
}

@media (max-width: 1024px) {
	.hero-grid,
	.about-brief-layout,
	.contact-grid,
	.two-col {
		grid-template-columns: 1fr;
	}

	.cards.three,
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.menu-toggle {
		display: inline-block;
	}

	.hero h1,
	.page-hero h1 {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.hero.hero-home h1 {
		font-size: clamp(2rem, 7.4vw, 2.9rem);
	}

	.hero .lead,
	.page-hero .lead {
		font-size: 1.03rem;
	}

	.hero.hero-home .lead {
		font-size: 1.08rem;
	}

	.hero {
		min-height: 82vh;
		padding: 6rem 0;
	}

	.hero-home {
		min-height: 82vh;
		padding: 6rem 0;
	}

	.hero-home .hero-content {
		max-width: 100%;
		padding-left: 0.9rem;
		border-left-width: 3px;
	}

	.about-brief-media {
		min-height: 240px;
	}

	.about-brief-copy {
		padding: 1.2rem 1.1rem 1.3rem;
	}

	.hero-bottom-row {
		gap: 0.8rem;
	}

	.hero-proof {
		padding: 0.48rem 0.62rem;
	}

	.hero-proof strong {
		font-size: 1.05rem;
	}

	.hero-proof span {
		font-size: 0.74rem;
	}

	.page-hero {
		min-height: 82vh;
		padding: 6rem 0;
	}

	.site-nav {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: min(1120px, 92%);
		background: #fff;
		border: 1px solid var(--line);
		border-radius: 12px;
		box-shadow: var(--shadow);
		padding: 0.8rem;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.8rem;
	}

	.site-nav.open {
		display: flex;
	}

	.cards.three,
	.stats-grid,
	.process-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.cta-wrap {
		flex-direction: column;
		align-items: flex-start;
	}

	.section {
		padding: 3.5rem 0;
	}
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* --- Keyframes --- */
@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(38px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeSlideIn {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeSlideRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes bounceDot {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-7px); }
}

@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(78, 200, 179, 0); }
	50%       { box-shadow: 0 0 0 8px rgba(78, 200, 179, 0.18); }
}

@keyframes marqueeMove {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-100% - 0.75rem)); }
}

/* --- Hero entrance (fires immediately on page load) --- */
.anim-fade-up {
	opacity: 0;
	animation: fadeSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--delay, 0ms);
}

.anim-fade-right {
	opacity: 0;
	animation: fadeSlideRight 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--delay, 0ms);
}

/* --- Scroll-reveal (JS adds .visible) --- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--delay, 0ms)),
	            transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--delay, 0ms));
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Stat numbers bounce when they land --- */
.stats-grid article.visible h2 {
	animation: bounceDot 0.5s ease 0.4s both;
}

/* --- Button pulse on hover (hero + CTA) --- */
.btn-primary {
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 8px 24px rgba(31, 90, 116, 0.28);
}

/* --- Card lift on hover --- */
.card {
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(31, 90, 116, 0.13);
}

/* --- Eyebrow dot pulse --- */
.eyebrow::before {
	display: inline-block;
	animation: bounceDot 2s ease-in-out infinite;
}

/* --- Reduce motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
	.anim-fade-up,
	.anim-fade-right,
	.reveal {
		animation: none;
		transition: none;
		opacity: 1;
		transform: none;
	}

	.partners-track {
		animation: none;
	}
}
