/*
	Kedros Analytics - custom theme layer
	Sits on top of the Phantom (HTML5 UP) base stylesheet.
	Keeps the existing brand color (#003B2B) and logo, but replaces the
	tile/hover-flip layout with a cleaner, responsive card-based design.
*/

:root {
	--brand: #003B2B;
	--brand-dark: #00251b;
	--brand-light: #0f6b4d;
	--brand-tint: #eef4f1;
	--border: #e2e8e5;
	--muted: #585858;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(0, 59, 43, 0.08);
	--maxw: 1160px;
}

/* Reset the parts of the stock theme we no longer use */

#header {
	padding: 0;
}

#main {
	padding: 0 0 2em 0;
}

	@media screen and (max-width: 736px) {
		#main {
			padding: 0 0 2em 0;
		}
	}

/* Container */

.k-container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 2.5em;
}

	@media screen and (max-width: 736px) {
		.k-container {
			padding: 0 1.25em;
		}
	}

/* Header / logo bar */

.k-header {
	background: var(--brand);
}

	.k-header .k-container {
		padding-top: 0;
		padding-bottom: 0;
	}

	.k-header .image {
		display: block;
		line-height: 0;
	}

	.k-header img {
		display: block;
		width: 100%;
		height: auto;
		max-width: 720px;
		margin: 0 auto;
	}

/* Hero */

.k-hero {
	background: var(--brand-tint);
	padding: 4.5em 0;
}

.k-hero-container {
	max-width: none;
	text-align: center;
}

.k-hero h1 {
	color: var(--brand);
	font-size: 1.7em;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 0.5em 0;
	white-space: nowrap;
}

.k-hero p {
	max-width: 44em;
	margin: 0 auto 1.75em auto;
	color: var(--muted);
	font-size: 1.1em;
	line-height: 1.6;
}

	@media screen and (max-width: 980px) {
		.k-hero h1 {
			font-size: 1.4em;
		}
	}

.k-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1em;
}

.k-btn--outline {
	background: #ffffff;
	border: 2px solid var(--brand);
	color: var(--brand) !important;
	box-shadow: none;
	padding: calc(0.95em - 2px) calc(2.1em - 2px);
}

	.k-btn--outline:hover {
		background: var(--brand);
		color: #ffffff !important;
		transform: translateY(-2px);
	}

	@media screen and (max-width: 736px) {
		.k-hero {
			padding: 3.5em 0;
		}

		.k-hero h1 {
			font-size: 1.3em;
			white-space: normal;
		}

		.k-hero p {
			font-size: 1em;
		}

		.k-hero-actions {
			flex-direction: column;
			align-items: stretch;
		}

		.k-hero-actions .k-btn {
			text-align: center;
		}
	}

/* Sections & spacing */

.k-section {
	padding: 4.5em 0;
}

.k-section--tint {
	background: var(--brand-tint);
}

.k-section-head {
	max-width: 46em;
	margin: 0 auto 2.75em auto;
	text-align: center;
}

.k-kicker {
	display: inline-block;
	color: var(--brand);
	font-weight: 700;
	font-size: 0.78em;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 0.75em;
}

.k-section-head h2 {
	color: var(--brand);
	font-size: 1.9em;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.k-section-head p {
	margin: 0.85em 0 0 0;
	color: var(--muted);
}

/* Divider */

.k-divider {
	border: 0;
	height: 1px;
	max-width: var(--maxw);
	margin: 0 auto;
	background: linear-gradient(to right, rgba(0,59,43,0) 0%, var(--border) 15%, var(--border) 85%, rgba(0,59,43,0) 100%);
}

/* Buttons */

.k-btn {
	display: inline-block;
	background: var(--brand);
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none !important;
	padding: 0.95em 2.1em;
	border-radius: 999px;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: var(--shadow);
}

	.k-btn:hover {
		background: var(--brand-light);
		transform: translateY(-2px);
	}

/* Intro strip (3 feature cards) */

.k-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75em;
}

	@media screen and (max-width: 980px) {
		.k-grid-3 {
			grid-template-columns: 1fr 1fr;
		}
	}

	@media screen and (max-width: 700px) {
		.k-grid-3 {
			grid-template-columns: 1fr;
		}
	}

.k-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 2em;
}

.k-card h3 {
	color: var(--brand);
	font-size: 1.2em;
	font-weight: 700;
	margin: 0 0 0.6em 0;
}

.k-card p {
	color: var(--muted);
	margin: 0;
	text-align: justify;
}

/* About / founder */

.k-about {
	display: flex;
	gap: 2.5em;
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 2.5em;
}

	.k-about img.k-avatar {
		flex: 0 0 auto;
		width: 140px;
		height: 140px;
		border-radius: 50%;
		object-fit: cover;
		border: 4px solid var(--brand-tint);
	}

	.k-about p {
		margin: 0;
		text-align: justify;
		color: var(--muted);
	}

	.k-about a {
		color: var(--brand);
		font-weight: 700;
		border-bottom-color: rgba(0, 59, 43, 0.3);
	}

	@media screen and (max-width: 700px) {
		.k-about {
			flex-direction: column;
			text-align: center;
			padding: 2em 1.5em;
		}

		.k-about p {
			text-align: justify;
		}
	}

/* CTA banner */

.k-cta {
	text-align: center;
	padding-top: 1.5em;
}

	.k-cta a.k-btn {
		font-size: 1.05em;
	}

/* Two-column layout: Corporate Insights / Free Tools */

.k-two-col {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3em;
	align-items: start;
}

	@media screen and (max-width: 900px) {
		.k-two-col {
			grid-template-columns: 1fr;
			gap: 3.5em;
		}
	}

.k-col-head {
	margin-bottom: 1.25em;
}

	.k-col-head h2 {
		color: var(--brand);
		font-size: 1.5em;
		font-weight: 700;
		margin: 0 0 0.5em 0;
	}

	.k-col-head p {
		color: var(--muted);
		margin: 0 0 0.5em 0;
		text-align: justify;
	}

/* Tool cards (right column) */

.k-tool-list {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
}

.k-tool-card {
	display: flex;
	gap: 1.25em;
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.25em;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

	.k-tool-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 34px rgba(0, 59, 43, 0.14);
	}

	.k-tool-card img {
		flex: 0 0 auto;
		width: 64px;
		height: 64px;
		border-radius: 10px;
		object-fit: cover;
	}

	.k-tool-card h3 {
		color: var(--brand);
		font-size: 1.05em;
		font-weight: 700;
		margin: 0 0 0.3em 0;
	}

	.k-tool-card p {
		color: var(--muted);
		margin: 0;
		font-size: 0.92em;
	}

	@media screen and (max-width: 480px) {
		.k-tool-card {
			flex-direction: column;
			text-align: center;
		}
	}

/* Recent projects */

.k-project-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.75em 2em;
	height: 100%;
}

	.k-project-card p.k-project-title {
		margin: 0 0 0.6em 0;
	}

	.k-project-card p.k-project-title a {
		color: var(--brand);
		font-weight: 700;
		font-size: 1.05em;
	}

	.k-project-card p {
		color: var(--muted);
		text-align: justify;
		margin: 0;
	}

/* Testimonials */

.k-testimonial-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 2em 2em 1.75em 2em;
	height: 100%;
}

	.k-testimonial-card .k-quote-mark {
		font-family: Georgia, serif;
		font-size: 3em;
		line-height: 1;
		color: var(--brand-tint);
		font-weight: 700;
		display: block;
		margin-bottom: -0.2em;
	}

	.k-testimonial-card p.k-quote {
		color: var(--muted);
		text-align: justify;
		margin: 0 0 1.25em 0;
	}

	.k-testimonial-card p.k-person {
		margin: 0;
		font-weight: 700;
		color: var(--brand);
	}

	.k-testimonial-card p.k-role {
		margin: 0.15em 0 0 0;
		font-size: 0.88em;
		color: var(--muted);
		font-style: italic;
	}

/* Generic section paragraph (intro copy) */

.k-lede {
	max-width: 52em;
	margin: 0 auto;
	text-align: justify;
	color: var(--muted);
}
