/*!
 * Static analytics-consultancy template
 * ---------------------------------------------------------------
 * Local assets only - no external requests.
 * Palette: deep indigo + violet (re-toned from the original
 * navy + sage-green reference palette).
 *
 *   1.  Design tokens
 *   2.  Base / reset
 *   3.  Layout helpers
 *   4.  Typography helpers
 *   5.  Buttons
 *   6.  Top bar
 *   7.  Header / navigation
 *   8.  Mobile drawer
 *   9.  Hero + page banners
 *   10. Sections & backgrounds
 *   11. Cards (services / stories / about / mission / dashboard / types)
 *   12. Testimonials slider
 *   13. Logo marquee
 *   14. Accordion
 *   15. Contact
 *   16. Call to action band
 *   17. Footer
 *   18. Back-to-top
 *   19. Responsive
 * ---------------------------------------------------------------
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--ink: #1d1836;
	--body: #5c586f;
	--muted: #8b87a0;

	--primary: #2e2a6e;
	--primary-dark: #221e52;
	--primary-light: #3d3880;

	--accent: #6c5ce7;
	--accent-dark: #5a49d6;
	--accent-soft: #b9aef7;
	--accent-pale: #efecfd;

	--surface: #f6f5fb;
	--surface-2: #f2f1fa;
	--line: #e7e5f3;

	--white: #fff;
	--footer-link: #c6c2e0;

	--radius: 30px;
	--radius-md: 20px;
	--radius-sm: 10px;
	--shadow: 0 0 30px 0 rgba(29, 24, 54, 0.1);
	--shadow-lg: 0 24px 60px -30px rgba(29, 24, 54, 0.35);

	--container: 1180px;
	--ease: 0.25s ease;
}

/* ==========================================================================
   2. Base / reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--body);
	background: var(--white);
	overflow-x: hidden;
}

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

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--ease);
}

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

strong {
	color: var(--ink);
}

ul {
	margin: 0 0 20px;
	padding-left: 20px;
}

li {
	line-height: 1.75;
}

figure,
blockquote {
	margin: 0;
}

blockquote {
	padding: 0;
	border: 0;
}

::selection {
	background: var(--accent);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	row-gap: 30px;
	margin: 0 -15px;
}

.row.tight {
	margin: 0;
}

.col {
	padding: 0 15px;
	min-width: 0;
}

.row.tight > .col {
	padding: 0;
}

.col-3 {
	width: 25%;
}

.col-4 {
	width: 33.3333%;
}

.col-6 {
	width: 50%;
}

.col-8 {
	width: 66.6667%;
}

.col-9 {
	width: 75%;
}

.col-12 {
	width: 100%;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.flex-middle {
	align-items: center;
}

.flex-equal > .col {
	display: flex;
}

.flex-equal > .col > * {
	width: 100%;
}

.full-width {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* reveal-on-scroll (only when JavaScript is available) -------------------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   4. Typography helpers
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}

h5 {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 400;
	color: var(--accent);
}

/* small diamond marker that replaces the original accent icon */
h5::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 10px;
	border-radius: 2px;
	background: var(--accent);
	transform: rotate(45deg) translateY(-1px);
	vertical-align: middle;
}

h5.no-marker::before {
	display: none;
}

p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--body);
}

.text-accent {
	color: var(--accent);
}

.text-primary {
	color: var(--primary);
}

.text-white {
	color: #fff !important;
}

.text-soft {
	color: var(--accent-soft);
}

.lead {
	font-size: 18px;
	line-height: 1.75;
}

.eyebrow {
	margin-bottom: 10px;
	font-family: "Raleway", "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--accent-soft);
}

.mb-0 {
	margin-bottom: 0 !important;
}

.mb-10 {
	margin-bottom: 10px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mb-30 {
	margin-bottom: 30px;
}

.mb-40 {
	margin-bottom: 40px;
}

.note-text {
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--body);
}

.note-text:last-child {
	margin-bottom: 0;
}

/* check list ------------------------------------------------------------- */
.check-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	margin-bottom: 20px;
	padding-left: 30px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--body);
}

.check-list li:last-child {
	margin-bottom: 0;
}

.check-list li::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 2px;
	width: 8px;
	height: 4px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}

.check-list.is-light li {
	color: #fff;
}

.check-list.is-light li::before {
	border-color: var(--accent-soft);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	max-width: 100%;
	padding: 15px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: "Raleway", "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn-accent {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff !important;
}

.btn-accent:hover {
	background: var(--primary);
	border-color: var(--primary);
}

.btn-outline-light {
	background: transparent;
	border-color: #fff;
	color: #fff !important;
}

.btn-outline-light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--primary) !important;
}

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

.btn-primary:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.btn-white {
	background: #fff;
	border-color: #fff;
	color: var(--primary) !important;
}

.btn-white:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: #fff !important;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.btn-row.is-start {
	justify-content: flex-start;
}

.btn-row.is-end {
	justify-content: flex-end;
}

/* ==========================================================================
   6. Top bar
   ========================================================================== */
.top-bar {
	background: var(--primary);
	color: #fff;
	font-size: 14px;
}

.top-bar .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	min-height: 44px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.top-bar__tagline {
	font-family: "Raleway", "Poppins", sans-serif;
	letter-spacing: 0.02em;
}

.top-bar a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.top-bar a img {
	width: 18px;
}

.top-bar a:hover {
	color: var(--accent-soft);
}

/* ==========================================================================
   7. Header / navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: #fff;
	box-shadow: 0 1px 0 rgba(29, 24, 54, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 94px;
	padding-top: 10px;
	padding-bottom: 10px;
	transition: min-height var(--ease);
}

.site-logo img {
	width: 151px;
	max-height: 60px;
	transition: max-height var(--ease);
}

.site-header.is-stuck .site-header__inner {
	min-height: 72px;
}

.site-header.is-stuck .site-logo img {
	max-height: 48px;
}

.main-nav > ul {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav li {
	position: relative;
	line-height: normal;
}

.main-nav a {
	display: block;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-current > a {
	color: var(--accent);
}

/* pill call-to-action inside the menu */
.main-nav .nav-cta > a {
	padding: 12px 26px;
	border-radius: var(--radius);
	background: var(--primary);
	color: #fff;
	transition: background-color var(--ease), color var(--ease);
}

.main-nav .nav-cta > a:hover {
	background: var(--accent);
	color: #fff;
}

/* dropdown (kept for future menu items) */
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 260px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	border-top: 3px solid var(--primary);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.main-nav .has-dropdown:hover > .sub-menu,
.main-nav .has-dropdown:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu a {
	padding: 14px 20px;
	font-weight: 500;
}

.main-nav .sub-menu a:hover {
	color: var(--accent);
	background: var(--surface);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: background-color var(--ease), transform var(--ease);
	margin: 0 auto;
}

.nav-toggle span {
	position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle span::before {
	top: -8px;
}

.nav-toggle span::after {
	top: 8px;
}

.nav-toggle:hover span,
.nav-toggle:hover span::before,
.nav-toggle:hover span::after {
	background: var(--accent);
}

/* ==========================================================================
   8. Mobile drawer
   ========================================================================== */
.drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(29, 24, 54, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ease), visibility var(--ease);
}

.drawer-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 210;
	width: 320px;
	max-width: 88vw;
	height: 100%;
	padding: 30px 30px 40px;
	background: #fff;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.is-open {
	transform: translateX(0);
}

.mobile-drawer__close {
	display: block;
	margin: 0 0 24px auto;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.mobile-drawer__close:hover {
	background: var(--surface);
	color: var(--accent);
}

.mobile-drawer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-drawer li {
	border-bottom: 1px solid var(--line);
}

.mobile-drawer a {
	display: block;
	padding: 16px 0;
	color: var(--ink);
	font-weight: 600;
}

.mobile-drawer a:hover,
.mobile-drawer a.is-current {
	color: var(--accent);
}

.mobile-drawer .sub-menu a {
	padding-left: 16px;
	font-size: 15px;
	font-weight: 500;
}

.mobile-drawer .drawer-cta {
	margin-top: 28px;
}

.mobile-drawer .drawer-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 20px;
	border-radius: var(--radius);
	background: var(--primary);
	color: #fff;
	text-align: center;
}

.mobile-drawer .drawer-cta a:hover {
	background: var(--accent);
}

body.is-locked {
	overflow: hidden;
}

/* ==========================================================================
   9. Hero + page banners
   ========================================================================== */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 640px;
	padding: 90px 20px;
	text-align: center;
	background-color: var(--primary);
	/* layer 1 = depth, layer 2 = hue shift (color blend), layer 3 = photo */
	background-image: linear-gradient(rgba(34, 30, 82, 0.55), rgba(29, 24, 54, 0.82)),
		linear-gradient(var(--primary), var(--primary)), url("../images/home-banner.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: normal, color, normal;
}

.hero__inner {
	max-width: 900px;
	margin: 0 auto;
}

.hero h1 {
	margin-bottom: 30px;
	font-size: 60px;
	color: #fff;
}

.hero__sub {
	margin-bottom: 40px;
	font-size: 16px;
	color: #fff;
}

.page-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 50px 20px;
	text-align: center;
	background-color: var(--primary-dark);
	background-image: linear-gradient(rgba(34, 30, 82, 0.45), rgba(29, 24, 54, 0.75)),
		linear-gradient(var(--primary), var(--primary)), url("../images/git-banner.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: normal, color, normal;
}

.page-banner h1 {
	margin-bottom: 12px;
	font-size: 42px;
	line-height: 1.5;
	color: #fff;
}

/* the reference uses a different banner image on the About page */
.page-banner--about {
	background-image: linear-gradient(rgba(34, 30, 82, 0.45), rgba(29, 24, 54, 0.75)),
		linear-gradient(var(--primary), var(--primary)), url("../images/project-result-banner.png");
}

.breadcrumb {
	font-size: 16px;
	color: #fff;
}

.breadcrumb a {
	color: var(--accent-soft);
}

.breadcrumb a:hover {
	color: #fff;
}

/* ==========================================================================
   10. Sections & backgrounds
   ========================================================================== */
.section {
	padding: 60px 0;
}

.section--lg {
	padding: 100px 0;
}

.section--top {
	padding-top: 100px;
	padding-bottom: 60px;
}

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

.section--decor {
	background-image: linear-gradient(var(--white), var(--white)), url("../images/project-bg-1.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-blend-mode: normal, normal;
}

.section--decor-2 {
	background-image: linear-gradient(var(--white), var(--white)), url("../images/git-bg-2.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-blend-mode: normal, normal;
}

/* flat colour fills from the reference, re-tinted through a colour blend */
.section--fill-primary,
.section--fill-deep {
	color: #fff;
	background-color: var(--primary);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: linear-gradient(rgba(46, 42, 110, 0.82), rgba(34, 30, 82, 0.88)),
		linear-gradient(var(--primary), var(--primary)), url("../images/data-stories-bg.png");
	background-blend-mode: normal, color, normal;
}

.section--fill-deep {
	background-image: linear-gradient(rgba(34, 30, 82, 0.82), rgba(29, 24, 54, 0.88)),
		linear-gradient(var(--primary-dark), var(--primary-dark)), url("../images/about-bg-2.png");
}

.section--fill-primary h1,
.section--fill-primary h2,
.section--fill-primary h3,
.section--fill-primary h4,
.section--fill-deep h1,
.section--fill-deep h2,
.section--fill-deep h3,
.section--fill-deep h4 {
	color: #fff;
}

.section--fill-primary p,
.section--fill-deep p {
	color: #fff;
}

.section--fill-primary h5,
.section--fill-deep h5 {
	color: var(--accent-soft);
}

.section--fill-primary h5::before,
.section--fill-deep h5::before {
	background: var(--accent-soft);
}

.section--fill-primary .text-accent,
.section--fill-deep .text-accent {
	color: var(--accent-soft);
}

.section-head {
	margin-bottom: 30px;
	text-align: center;
}

.section-head h2,
.section-head h3 {
	margin-bottom: 0;
}

/* centred pull-quote used on the About page */
.said-text {
	margin-bottom: 20px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
	text-align: center;
}

.said-wrap {
	max-width: 1000px;
	margin: 0 auto;
}

/* ==========================================================================
   11. Cards
   ========================================================================== */

/* services --------------------------------------------------------------- */
.services-box {
	position: relative;
	height: 100%;
	min-height: 437px;
	padding: 40px 30px 60px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.services-box__top {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.services-box__top img {
	width: 75px;
	filter: hue-rotate(100deg) saturate(1.05);
}

.text-outline {
	position: relative;
	top: 0;
	margin-right: 16px;
	font-size: 50px;
	font-weight: 600;
	color: transparent;
	-webkit-text-stroke: 1px var(--accent);
	transition: top var(--ease);
}

.services-box:hover .text-outline {
	top: -30px;
}

.services-box h4 {
	margin-top: 10px;
	font-weight: 700;
}

.services-box.is-dark {
	background: var(--primary);
}

.services-box.is-dark h4 {
	color: #fff;
}

.services-box.is-dark .text-outline {
	-webkit-text-stroke-color: var(--accent-soft);
}

/* stories ---------------------------------------------------------------- */
.stories-box {
	margin-bottom: 40px;
}

.stories-box:last-child {
	margin-bottom: 0;
}

.stories-box a {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 20px 56px 20px 20px;
	border: 1px solid var(--accent);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	transition: background-color 0.45s ease-out, border-color 0.45s ease-out;
}

.stories-box a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 26px;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--accent-soft);
	border-right: 2px solid var(--accent-soft);
	transform: translate(-6px, -50%) rotate(45deg);
	opacity: 0;
	transition: opacity var(--ease), transform var(--ease);
}

.stories-box a:hover {
	border-color: var(--accent-soft);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.stories-box a:hover::after {
	opacity: 1;
	transform: translate(0, -50%) rotate(45deg);
}

.stories-box img {
	flex: 0 0 64px;
	width: 64px;
	height: 53px;
	margin-right: 16px;
	object-fit: contain;
	filter: hue-rotate(100deg) saturate(1.05);
}

/* about / mission / types / dashboard ------------------------------------ */
.about-box,
.types-box {
	height: 100%;
	min-height: 234px;
	padding: 30px;
	border: 1px solid var(--surface);
	border-radius: var(--radius-sm);
	background: var(--surface);
	text-align: center;
	transition: border-color var(--ease), background-color var(--ease);
}

.types-box {
	min-height: 262px;
}

.about-box:hover,
.types-box:hover {
	border-color: var(--accent);
	background: #fff;
}

.about-box img,
.types-box img {
	margin: 0 auto;
	filter: hue-rotate(100deg) saturate(1.05);
}

.about-box img {
	height: 64px;
	width: auto;
}

.types-box img {
	height: 76px;
	width: auto;
}

.about-box h4,
.types-box h4 {
	margin-top: 20px;
	margin-bottom: 7.5px;
	color: var(--accent);
}

.mission-box {
	height: 100%;
	min-height: 220px;
	padding: 30px;
	border: 1px solid var(--primary);
	border-radius: var(--radius-sm);
}

.mission-box__head {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.mission-box__head img {
	margin-right: 16px;
	filter: hue-rotate(100deg) saturate(1.05);
}

.mission-box__head h4 {
	margin: 0;
}

.dashboard-box {
	height: 100%;
	min-height: 355px;
	padding: 10px 30px 30px;
	border-radius: var(--radius);
	background: #fff;
	font-size: 14px;
	transition: box-shadow var(--ease);
}

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

.dashboard-box .text-outline {
	font-size: 72px;
	transition: color var(--ease), -webkit-text-fill-color var(--ease), top var(--ease);
}

.dashboard-box:hover .text-outline {
	color: var(--accent);
	-webkit-text-fill-color: var(--accent);
}

.dashboard-box h4 {
	margin-top: 10px;
	font-weight: 700;
}

.dashboard-box.is-dark {
	background: var(--primary);
}

.dashboard-box.is-dark h4,
.dashboard-box.is-dark p {
	color: #fff;
}

.dashboard-box.is-dark .text-outline {
	-webkit-text-stroke-color: var(--accent-soft);
}

.choose-box {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.choose-box:last-child {
	margin-bottom: 0;
}

.choose-box img {
	flex: 0 0 auto;
	margin-right: 16px;
	filter: hue-rotate(100deg) saturate(1.05);
}

.choose-box h4 {
	margin: 0 0 4px;
	font-size: 16px;
	color: var(--accent);
}

.choose-box p {
	margin: 0;
}

/* story cards on the data stories listing page --------------------------- */
.story-card {
	min-height: 0;
	padding: 36px 30px 40px;
}

.story-card__icon {
	width: 56px;
	height: 46px;
	margin-bottom: 20px;
	object-fit: contain;
	filter: hue-rotate(100deg) saturate(1.05);
}

.story-card p {
	font-size: 15px;
}

/* media + text split ------------------------------------------------------ */
.split-media img {
	width: 100%;
	border-radius: var(--radius-md);
}

.gallery {
	overflow: hidden;
	padding: 0;
}

.gallery img {
	width: 100%;
	border-radius: var(--radius-md);
	transition: transform 0.5s ease;
}

.gallery a:hover img {
	transform: scale(1.04);
}

/* ==========================================================================
   12. Testimonials slider
   ========================================================================== */
.testimonials {
	padding: 100px 0;
}

.slider {
	position: relative;
}

.slider__viewport {
	overflow: hidden;
}

.slider__track {
	display: flex;
	transition: transform 0.5s ease;
}

.slider__slide {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 5px;
}

.testimonial-card {
	display: flex;
	align-items: center;
	gap: 50px;
	padding: 50px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.testimonial-card__logo {
	flex: 0 0 200px;
	text-align: center;
}

.testimonial-card__logo img {
	max-height: 120px;
	width: auto;
	margin: 0 auto;
}

.testimonial-card__quote p {
	margin-bottom: 30px;
}

.testimonial-card__name {
	margin-bottom: 7.5px !important;
	font-size: 20px;
}

.testimonial-card__meta {
	margin-bottom: 7.5px;
	font-size: 16px;
}

.testimonial-card__meta:last-child {
	margin-bottom: 0;
}

.slider__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}

.slider__nav button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--line);
	cursor: pointer;
	transition: background-color var(--ease), width var(--ease), border-radius var(--ease);
}

.slider__nav button.is-active {
	width: 26px;
	border-radius: 6px;
	background: var(--accent);
}

/* ==========================================================================
   13. Logo marquee
   ========================================================================== */
.marquee {
	overflow: hidden;
	padding: 20px 0 80px;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 70px;
	width: max-content;
	padding-right: 70px;
	animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee img {
	max-height: 62px;
	width: auto;
	opacity: 0.7;
	filter: grayscale(1);
	transition: opacity var(--ease), filter var(--ease);
}

.marquee img:hover {
	opacity: 1;
	filter: none;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}
}

/* ==========================================================================
   14. Accordion
   ========================================================================== */
.accordion {
	border-bottom: 1px solid var(--line);
}

.accordion details {
	border-top: 1px solid var(--line);
}

.accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.accordion summary::-webkit-details-marker {
	display: none;
}

.accordion summary::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(45deg);
	transition: transform var(--ease);
}

.accordion details[open] summary::after {
	transform: rotate(-135deg);
}

.accordion summary:hover {
	color: var(--accent);
}

.accordion__body {
	padding: 0 0 22px;
}

/* ==========================================================================
   15. Contact
   ========================================================================== */
.contact-media {
	overflow: hidden;
	margin-bottom: 20px;
	border-radius: var(--radius-md);
}

.contact-card {
	padding: 30px;
	border-radius: var(--radius-md);
	background: var(--surface);
}

.contact-card p {
	margin-bottom: 30px;
}

.contact-card p:last-child {
	margin-bottom: 0;
}

.contact-card a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.contact-card a img {
	filter: hue-rotate(100deg) saturate(1.05);
}

.form-field {
	width: 100%;
	margin-bottom: 20px;
	padding: 14px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: #f4f3fa;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color var(--ease), background-color var(--ease);
}

.form-field::placeholder {
	color: var(--muted);
}

.form-field:focus {
	outline: none;
	border-color: var(--accent);
	background: #fff;
}

textarea.form-field {
	resize: vertical;
	min-height: 170px;
}

.form-row {
	display: flex;
	gap: 20px;
}

.form-row > * {
	flex: 1 1 0;
	min-width: 0;
}

.btn-submit {
	width: auto;
	padding: 12px 44px;
	border: 0;
	border-radius: var(--radius-md);
}

.form-note {
	margin-top: 16px;
	font-size: 13px;
	color: var(--muted);
}

.form-note.is-success {
	color: #1f7a45;
}

.form-note.is-error {
	color: #c0392b;
}

.form-field.is-invalid {
	border-color: #c0392b;
	background: #fff6f5;
}

/* long-form legal copy ---------------------------------------------------- */
.legal {
	max-width: 880px;
}

.legal__updated {
	margin-bottom: 30px;
	font-size: 14px;
	color: var(--muted);
}

.legal h5 {
	margin-top: 46px;
}

.legal h3 {
	margin-top: 40px;
	margin-bottom: 16px;
	font-size: 24px;
}

.legal h4 {
	margin-top: 26px;
}

.legal p {
	margin-bottom: 16px;
	line-height: 1.75;
}

.legal-list {
	margin: 0 0 16px;
	padding-left: 22px;
	font-size: 15px;
	color: var(--body);
}

.legal-list li {
	margin-bottom: 12px;
	line-height: 1.75;
}

/* ==========================================================================
   16. Call to action band
   ========================================================================== */
.cta-band {
	padding: 70px 0;
	background-color: var(--accent);
	background-image: linear-gradient(rgba(108, 92, 231, 0.9), rgba(90, 73, 214, 0.96)),
		linear-gradient(var(--accent), var(--accent)), url("../images/cta.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: normal, color, normal;
}

.cta-band h2,
.cta-band h3 {
	margin: 0;
	color: #fff;
}

.cta-band h2 span,
.cta-band h3 span {
	color: var(--accent-pale);
}

.cta-band .col {
	display: flex;
	align-items: center;
}

.cta-band .col:last-child {
	justify-content: flex-end;
}

.cta-band .btn {
	width: auto;
	min-width: 220px;
}

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer {
	padding: 60px 0;
	color: #fff;
	background-color: var(--primary-dark);
	background-image: linear-gradient(rgba(34, 30, 82, 0.9), rgba(29, 24, 54, 0.94)),
		linear-gradient(var(--primary), var(--primary)), url("../images/footer.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: normal, color, normal;
}

.site-footer h4 {
	margin-bottom: 30px;
	color: #fff;
	font-size: 20px;
}

.site-footer p {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.75;
	color: #fff;
}

.footer-logo {
	margin-bottom: 20px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
}

.footer-links a {
	width: 50%;
	margin-bottom: 20px;
	font-size: 14px;
	color: var(--footer-link);
}

.footer-links a:hover {
	color: #fff;
}

.footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: #fff;
}

.footer-contact a:hover {
	color: var(--accent-soft);
}

.footer-contact img {
	flex: 0 0 auto;
}

.footer-bottom {
	padding: 18px 0;
	background: var(--accent);
	color: #fff;
	text-align: center;
}

.footer-bottom p,
.footer-bottom span {
	font-size: 14px;
	color: #fff;
}

/* ==========================================================================
   18. Back to top
   ========================================================================== */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity var(--ease), visibility var(--ease), transform var(--ease),
		background-color var(--ease);
}

.back-to-top::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(45deg) translate(2px, 2px);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--accent);
	color: #fff;
}

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.main-nav > ul {
		gap: 22px;
	}

	.main-nav a {
		font-size: 15px;
	}

	.hero h1 {
		font-size: 48px;
	}

	.testimonial-card {
		gap: 30px;
		padding: 40px;
	}
}

@media (max-width: 960px) {
	.nav-toggle {
		display: block;
	}

	.main-nav {
		display: none;
	}

	.col-3,
	.col-4 {
		width: 50%;
	}

	.stack-960 .col {
		width: 100%;
	}

	.section,
	.section--lg,
	.section--top {
		padding: 70px 0;
	}

	.testimonials {
		padding: 70px 0;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}

	h1,
	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 22px;
	}

	h4 {
		font-size: 18px;
	}

	.eyebrow {
		font-size: 15px;
	}

	.hero {
		min-height: 460px;
		padding: 60px 20px;
	}

	.hero h1 {
		font-size: 24px;
		line-height: 1.35;
		margin-bottom: 20px;
	}

	.hero__sub {
		font-size: 13px;
		margin-bottom: 30px;
	}

	.page-banner {
		min-height: 220px;
	}

	.page-banner h1 {
		font-size: 24px;
		line-height: 1.25;
		margin-bottom: 16px;
	}

	.breadcrumb {
		font-size: 12px;
		line-height: 1.25;
	}

	.top-bar {
		font-size: 10px;
	}

	.top-bar .container {
		min-height: 34px;
	}

	.site-header__inner {
		min-height: 72px;
	}

	.site-logo img {
		width: 120px;
	}

	.col-3,
	.col-4,
	.col-6,
	.col-8,
	.col-9 {
		width: 100%;
	}

	/* keep the photo gallery two-up on small screens */
	.col.gallery {
		width: 50%;
	}

	.section,
	.section--lg,
	.section--top {
		padding: 50px 0;
	}

	.services-box,
	.about-box,
	.types-box,
	.mission-box,
	.dashboard-box {
		min-height: 0;
	}

	.services-box {
		padding: 30px 24px 40px;
	}

	.stories-box a {
		font-size: 16px;
		padding: 16px 48px 16px 16px;
	}

	.stories-box img {
		flex: 0 0 48px;
		width: 48px;
		height: 40px;
	}

	.said-text {
		font-size: 24px;
	}

	.testimonial-card {
		flex-direction: column;
		gap: 24px;
		padding: 30px 24px;
		text-align: center;
	}

	.testimonial-card__logo {
		flex: 0 0 auto;
	}

	.testimonial-card__logo img {
		max-height: 80px;
	}

	.cta-band {
		padding: 50px 0;
		text-align: center;
	}

	.cta-band .col,
	.cta-band .col:last-child {
		justify-content: center;
	}

	.cta-band .btn {
		width: 100%;
		min-width: 0;
	}

	.cta-band .col:first-child {
		margin-bottom: 26px;
	}

	.form-row {
		display: block;
	}

	.btn {
		width: 100%;
	}

	.btn-row .btn {
		width: 100%;
	}

	.btn-submit {
		width: auto;
	}

	.footer-links a {
		width: 50%;
	}

	.site-footer {
		padding: 50px 0 30px;
	}

	.back-to-top {
		right: 16px;
		bottom: 16px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 16px;
	}

	.row {
		margin: 0 -10px;
	}

	.col {
		padding: 0 10px;
	}

	.hero {
		min-height: 400px;
	}
}

/* print ------------------------------------------------------------------ */
@media print {
	.top-bar,
	.site-header,
	.back-to-top,
	.cta-band,
	.marquee {
		display: none;
	}
}
.mb-5{margin-bottom: 5px;}
.mt-15{margin-top: 15px;}
