@import
	url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap')
	;

:root {
	--background: #f7f9fb;
	--foreground: #1f2a37;
	--card: #ffffff;
	--card-foreground: #1f2a37;
	--primary: #16365c;
	--primary-foreground: #f4f8fc;
	--secondary: #eef2f6;
	--secondary-foreground: #1f2a37;
	--muted: #f1f4f7;
	--muted-foreground: #6b7785;
	--accent: #309e8c;
	--accent-foreground: #ffffff;
	--border: #e1e6ec;
	--radius: 10px;
	--hero-gradient: linear-gradient(135deg, #16365c 0%, #2e5278 50%, #309e8c 100%);
	--cta-gradient: linear-gradient(135deg, #16365c 0%, #284d70 100%);
	--card-shadow: 0 4px 24px -4px rgba(22, 54, 92, 0.08);
	--card-shadow-hover: 0 8px 32px -4px rgba(22, 54, 92, 0.14);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', system-ui, sans-serif;
	background: var(--background);
	color: var(--foreground);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	line-height: 1.2;
}

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

ul {
	list-style: none;
}

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

.nav-inner img {
	height: 50px;
}

.brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-grid;
	place-items: center;
	color: white;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	font-size: 0.78rem;
	letter-spacing: -0.04em;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	padding: .65rem 1.1rem;
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}

.btn-lg {
	padding: .85rem 1.5rem;
	font-size: 1rem;
}

.btn-sm {
	padding: .4rem .75rem;
	font-size: .85rem;
}

.btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}

.btn-primary:hover {
	background: #1f4877;
}

.btn-cta {
	background: var(--accent);
	color: var(--accent-foreground);
}

.btn-cta:hover {
	background: #28897a;
}

.btn-outline {
	background: transparent;
	color: var(--foreground);
	border-color: var(--border);
}

.btn-outline:hover {
	background: var(--secondary);
}

.btn-hero {
	background: #ffffff;
	color: var(--primary);
}

.btn-hero:hover {
	background: #f0f4f9;
}

.btn-hero-outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .5);
}

.btn-hero-outline:hover {
	background: rgba(255, 255, 255, .1);
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-family: 'Montserrat';
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--primary);
}

.nav-links {
	display: none;
	align-items: center;
	gap: 2rem;
}

.nav-links a {
	font-size: .9rem;
	color: var(--muted-foreground);
	font-weight: 500;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-toggle {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--foreground);
	display: flex;
}

.mobile-menu {
	display: none;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem 1.5rem 1.5rem;
	background: var(--card);
	border-top: 1px solid var(--border);
}

.mobile-menu.open {
	display: flex;
}

.mobile-menu a {
	color: var(--muted-foreground);
	font-size: .9rem;
	font-weight: 500;
}

@media ( min-width : 768px) {
	.nav-links {
		display: flex;
	}
	.nav-toggle {
		display: none;
	}
}

/* Sections */
section {
	padding: 5rem 0;
}

.section-secondary {
	background: var(--secondary);
}

.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3rem;
}

.section-head h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: .75rem;
	color: var(--foreground);
}

.section-head p {
	color: var(--muted-foreground);
}

@media ( min-width : 768px) {
	.section-head h2 {
		font-size: 2.5rem;
	}
}

/* Hero */
.hero {
	background: var(--hero-gradient);
	padding: 5rem 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.hero h1 {
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.15;
	margin-bottom: 1rem;
}

.hero p {
	color: rgba(255, 255, 255, .85);
	font-size: 1.1rem;
	max-width: 32rem;
	margin-bottom: 1.5rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero-visual {
	display: none;
}

@media ( min-width : 768px) {
	.hero {
		padding: 7rem 0;
	}
	.hero-grid {
		grid-template-columns: 1fr 1fr;
	}
	.hero h1 {
		font-size: 3rem;
	}
	.hero-visual {
		display: flex;
		justify-content: center;
	}
	.hero-visual img {
		border-radius: 12px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
		max-width: 28rem;
	}
}

/* Credibility */
.cred {
	padding: 2.5rem 0;
	background: var(--secondary);
	text-align: center;
}

.cred-label {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin-bottom: 1.5rem;
}

.cred-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}

.cred-item {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--primary);
	font-weight: 500;
	font-size: .9rem;
}

@media ( min-width : 768px) {
	.cred-list {
		gap: 4rem;
	}
}

/* Grids */
.grid {
	display: grid;
	gap: 1.5rem;
}

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

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

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

@media ( min-width : 640px) {
	.grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( min-width : 1024px) {
	.grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Service cards */
.card {
	background: var(--card);
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: var(--card-shadow);
	transition: box-shadow .3s;
}

.card:hover {
	box-shadow: var(--card-shadow-hover);
}

.card-icon {
	margin-bottom: 1rem;
}

.card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: .5rem;
}

.card p {
	font-size: .9rem;
	color: var(--muted-foreground);
}

.icon-blue {
	color: #2563eb;
}

.icon-emerald {
	color: #059669;
}

.icon-amber {
	color: #d97706;
}

.icon-violet {
	color: #7c3aed;
}

.icon-rose {
	color: #e11d48;
}

/* Value prop */
.vp-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.vp-grid div p{ 
	padding-bottom: 42px;
}

@media ( min-width : 768px) {
	.vp-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.vp-list li {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	margin-bottom: 1rem;
	color: var(--foreground);
}

.vp-list .ico {
	color: var(--accent);
	margin-top: 2px;
	flex-shrink: 0;
}

.vp-stack {
	background: var(--card);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
	max-width: 24rem;
	margin: 0 auto;
}

.vp-stack>div {
	background: var(--secondary);
	padding: .75rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--border);
	font-weight: 500;
	font-size: .9rem;
	margin-top: 1rem;
}

.vp-stack>div:first-child {
	margin-top: 0;
}

/* Process steps */
.process-step {
	text-align: center;
}

.process-icon {
	margin: 0 auto 1rem;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(48, 158, 140, .1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
}

.process-step .step-num {
	font-size: .75rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: .25rem;
}

.process-step h3 {
	font-weight: 600;
	margin-bottom: .25rem;
}

.process-step p {
	font-size: .85rem;
	color: var(--muted-foreground);
}

/* Outcomes */
.outcome {
	background: var(--card);
	border-radius: 8px;
	padding: 1.25rem;
	box-shadow: var(--card-shadow);
	display: flex;
	gap: .75rem;
	align-items: flex-start;
}

.outcome .ico {
	color: var(--accent);
	flex-shrink: 0;
	margin-top: 2px;
}

.outcome span {
	font-size: .9rem;
	font-weight: 500;
}

/* Engagement */
.engagement-card {
	background: var(--card);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
	text-align: center;
	transition: box-shadow .3s;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* Ensures all cards in the grid row match the tallest card */
}

.engagement-card:hover {
	box-shadow: var(--card-shadow-hover);
}

.engagement-card .ico {
	color: var(--accent);
	margin: 0 auto 1rem;
}

.engagement-card h3 {
	font-size: 1.1rem;
	margin-bottom: .5rem;
}

.engagement-card p {
	font-size: .9rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}

/* Step 2: Push the button to the absolute bottom */
.engagement-card .btn {
	margin-top: auto;
	align-self: flex-start;
	/* Keeps the button from stretching horizontally */
	align-self: center;      /* Centers the button horizontally */
    text-align: center;
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

@media ( min-width : 768px) {
	.about-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.about-img {
	width: 16rem;
	height: 16rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat';
	font-weight: 700;
	font-size: 5rem;
	letter-spacing: -0.04em;
	color: white;
	margin: 0 auto;
}

.about p {
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}

.about h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

/* Insights */
.insight-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	box-shadow: var(--card-shadow);
	transition: border-color .2s;
}

.insight-card:hover {
	border-color: var(--accent);
}

.insight-type {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--accent);
	margin-bottom: .75rem;
}

.insight-card h3 {
	font-size: 1.05rem;
	color: var(--primary);
	margin-bottom: .5rem;
	line-height: 1.3;
}

.insight-sub {
	font-size: .85rem;
	color: var(--muted-foreground);
	margin-bottom: .75rem;
}

.insight-summary {
	font-size: .85rem;
	color: var(--foreground);
	margin-bottom: 1rem;
	flex: 1;
}

/* .insight-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: 1rem;
}

.insight-tags span {
	font-size: .7rem;
	background: var(--secondary);
	padding: .25rem .5rem;
	border-radius: 4px;
} */

.insight-tags {
    display: grid;
    /* Defines a flexible grid layout */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .35rem;
    margin-bottom: 1rem;
}

.insight-tags span {
	display : block;
	font-size: .7rem;
	background: var(--secondary);
	padding: .25rem .5rem;
	border-radius: 4px;
    text-align: center; /* Centers the shorter text inside the uniform spans */
}


.insight-card .btn {
	width: 100%;
}

.insight-card:hover .btn-outline {
	background: var(--accent);
	color: var(--accent-foreground);
	border-color: var(--accent);
}

/* CTA */
.cta-band {
	background: var(--cta-gradient);
	padding: 5rem 0;
	text-align: center;
	color: #fff;
}

.cta-band h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.cta-band p {
	color: rgba(255, 255, 255, .8);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.cta-band .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

@media ( min-width : 768px) {
	.cta-band h2 {
		font-size: 2.5rem;
	}
}

/* Footer */
footer {
	border-top: 1px solid var(--border);
	padding: 2.5rem 0;
}

.foot {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

.foot img {
	height: 50px;
}

.foot-icons {
	display: flex;
	gap: 1.5rem;
}

.foot-icons a {
	color: var(--muted-foreground);
	transition: color .2s;
}

.foot-icons a:hover {
	color: var(--primary);
}

footer p {
	font-size: .75rem;
	color: var(--muted-foreground);
}

@media ( min-width : 768px) {
	.foot {
		flex-direction: row;
	}
}

/* Modal */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-backdrop.open {
	display: flex;
}

.modal {
	background: var(--card);
	border-radius: 12px;
	padding: 1.5rem;
	max-width: 28rem;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
}

.modal h2 {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 1.1rem;
	margin-bottom: .25rem;
}

.modal .desc {
	font-size: .85rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}


.modal input, .modal select, .modal textarea {
	width: 100%;
	padding: .65rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-family: inherit;
	font-size: .9rem;
	margin-bottom: 1rem;
	background: #fff;
}

.modal label {
	display: block;
	font-size: .85rem;
	font-weight: 500;
	margin-bottom: .35rem;
}

.modal .check {
	text-align: center;
	padding: 1rem 0;
}

.modal .check-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(48, 158, 140, .1);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}

.modal .info-box {
	background: var(--muted);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 1rem;
	margin: 1rem 0;
}

.modal .info-box p {
	font-size: .85rem;
}

.modal .info-box p:first-child {
	font-weight: 500;
	color: var(--foreground);
}

.modal .info-box p:last-child {
	color: var(--muted-foreground);
}

/* Article page */
.article-page {
	padding: 4rem 0;
}

.article-page .back {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--accent);
	font-size: .9rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.article-page .back:hover {
	text-decoration: underline;
}

.article-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.article-header .type {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .75rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: .75rem;
}

.article-header h1 {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: .5rem;
	line-height: 1.2;
}

.article-header .sub {
	color: var(--muted-foreground);
}

.article-body {
	max-width: 48rem;
	margin: 0 auto;
}

.article-body section {
	padding: 0;
	margin-bottom: 2rem;
}

.article-body h3 {
	font-size: 1.25rem;
	color: var(--primary);
	margin-bottom: .75rem;
}

.article-body h4 {
	font-weight: 600;
	margin: .75rem 0 .35rem;
}

.article-body p {
	margin-bottom: .75rem;
}

.article-body ul.disc {
	list-style: disc;
	padding-left: 1.5rem;
	color: var(--muted-foreground);
	margin-bottom: .75rem;
}

.article-body ul.disc li {
	margin-bottom: .25rem;
}

.article-body table {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 8px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	margin-bottom: 1rem;
	font-size: .9rem;
}

.article-body th {
	background: var(--secondary);
	padding: .75rem;
	text-align: left;
	font-weight: 600;
}

.article-body td {
	padding: .75rem;
	border-top: 1px solid var(--border);
}

.article-body td:first-child {
	font-weight: 500;
}

.article-body td:nth-child(2) {
	color: var(--muted-foreground);
}

.article-body .step-box {
	border-left: 4px solid var(--accent);
	padding: .75rem 1rem;
	background: rgba(238, 242, 246, .4);
	border-radius: 0 8px 8px 0;
	margin-bottom: 1rem;
}

.article-body .step-box h4 {
	color: var(--primary);
	margin-top: 0;
}

.article-body .step-box p {
	font-size: .9rem;
	margin-bottom: .35rem;
}

.article-body .domain-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
	margin-bottom: 1rem;
}

@media ( min-width : 768px) {
	.article-body .domain-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.article-body .domain-grid.cols-2 {
	grid-template-columns: 1fr;
}

@media ( min-width : 768px) {
	.article-body .domain-grid.cols-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.article-body .domain {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 1rem;
}

.article-body .domain h4 {
	color: var(--primary);
	margin: 0 0 .5rem;
}

.article-body .domain ul {
	list-style: disc;
	padding-left: 1.25rem;
	font-size: .85rem;
	color: var(--muted-foreground);
}

.article-body .italic {
	font-style: italic;
}

.article-body .refs {
	border-top: 1px solid var(--border);
	padding-top: 1rem;
	margin-top: 2rem;
}

.article-body .refs h3 {
	font-size: 1rem;
}

.article-cta {
	background: var(--secondary);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 2rem;
}

.article-cta h3 {
	font-size: 1.1rem;
	margin-bottom: .5rem;
	color: var(--primary);
}

.article-cta p {
	color: var(--muted-foreground);
	margin-bottom: 1rem;
	font-size: .9rem;
}

@media ( min-width : 768px) {
	.article-header h1 {
		font-size: 2.5rem;
	}
}

.animate-fade-up {
	animation: fadeUp .6s ease-out both;
}

@keyframes fadeUp {from { opacity:0;
	transform: translateY(20px);
}

to {
	opacity: 1;
	transform: none;
}
}