/*!
Theme Name: Cartrack
Theme URI: https://underscores.me/
Author: Ashley Khosa + Grok
Author URI: https://underscores.me/
Description: A custom WordPress theme built on Underscores for Cartrack.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cartrack
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

cartrack is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */

.skip-link {
	background-color: #000;
	color: #fff;
	font-weight: 600;
	left: 6px;
	padding: 10px 16px;
	position: absolute;
	top: -100px;               /* Hidden by default */
	z-index: 999999;
	text-decoration: none;
	border-radius: 4px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 6px;                  /* Appears when focused with keyboard */
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Make sure screen-reader-text is properly hidden */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #000;
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 1em;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
	h1 { font-size: 2.1rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.4rem; }
	
	/* No top padding (2026-11-13): the first element (the breadcrumb bar or the banner) sits right under the nav bar, as
	   in the frames. The header is sticky, so it never covers the content. */
	.site-main {
		padding-bottom: 60px;
	}
}

/* Typography
--------------------------------------------- */

/* Elements
--------------------------------------------- */


/* Make sure embeds and iframes fit their containers. */


/* Links
--------------------------------------------- */


/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* ========================================
   BODY / GLOBAL STYLES
   ======================================== */

body {
	font-family: var(--font-primary, Inter, system-ui, sans-serif);
	font-size: var(--font-size-base, 16px);
	color: var(--color-text, #1a1a1a);
	line-height: 1.6;
	background-color: #ffffff;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading, Inter, system-ui, sans-serif);
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-text, #1a1a1a);
	margin-top: 0;
}

a {
	color: var(--color-link, #000000);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

/* Container */
.container {
	width: 100%;
	max-width: calc(var(--container-max) + 2 * var(--container-gutter));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-gutter);
	padding-right: var(--container-gutter);
}

/* Buttons (new design system; values from assets/css/tokens.css) */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	min-height: var(--button-min-height);
	padding: var(--button-padding-y) var(--button-padding-x);
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-heading);
	font-size: var(--button-font-size);
	font-weight: var(--font-weight-medium);
	line-height: var(--line-height-snug);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

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

.btn--primary:hover,
.btn--primary:focus-visible {
	background-color: var(--color-primary-hover);
	color: var(--color-text-inverse);
}

.btn--secondary {
	border-color: currentColor;
	background-color: transparent;
	color: inherit;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
	background-color: color-mix(in srgb, currentColor 12%, transparent);
	color: inherit;
}

.btn--light {
	background-color: var(--color-bg);
	color: var(--color-text);
}

/* TODO: verify hover state in Figma (no hover frame supplied). */
.btn--light:hover,
.btn--light:focus-visible {
	background-color: var(--color-primary);
	color: var(--color-text-inverse);
}

/* Light blue, e.g. header "Contact Us". */
.btn--accent {
	background-color: var(--color-secondary);
	color: var(--color-on-secondary);
}

.btn--accent:hover,
.btn--accent:focus-visible {
	background-color: var(--color-secondary-hover);
	color: var(--color-on-secondary);
}

/* Black, e.g. mega menu featured card. */
.btn--dark {
	background-color: var(--color-dark);
	color: var(--color-text-inverse);
}

.btn--dark:hover,
.btn--dark:focus-visible {
	background-color: var(--color-dark-soft);
	color: var(--color-text-inverse);
}

/* Text link with an icon, e.g. "Call us now!" (content frames). */
.btn--link-icon {
	min-height: 0;
	padding-inline: 0;
	gap: var(--space-2xs);
	background: none;
	color: var(--btn-link-icon-colour);
	font-family: var(--font-body);
	font-weight: var(--font-weight-regular);
}

.btn--link-icon > span {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.btn--link-icon .icon {
	flex: none;
	width: 1em;
	height: 1em;
}

/* TODO: verify hover state in Figma. */
.btn--link-icon:hover,
.btn--link-icon:focus-visible {
	color: var(--color-primary-hover);
}

/* A row of buttons from cartrack_buttons(). */
.btn-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm) var(--space-md);
}

.btn:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

/* Main content area */
.site-main {
	min-height: 50vh;
}

/* Entry content spacing */
.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-title {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
}

/* Remove sidebar on pages (cleaner look) */
.page .widget-area {
	display: none;
}

/* Footer styles: assets/css/components/footer.css */

/* ========================================
   HERO SPLIT
   ======================================== */

.hero-split {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	max-height: 900px;
	overflow: hidden;
}

.hero-split__wrapper {
	display: flex;
	height: 100%;
}

.hero-split__side {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	overflow: hidden;
	color: #fff;
}

.hero-split__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-split__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	transition: background 0.4s ease;
}

.hero-split__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 40px;
	max-width: 520px;
}

.hero-split__title {
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	text-transform: uppercase;
	line-height: 1.1;
	color: #fff;
}

.hero-split__subtitle {
	font-size: 1.125rem;
	line-height: 1.5;
	margin: 0 0 28px;
	opacity: 0;
	transform: translateY(12px);
	transition: all 0.4s ease 0.05s;
	color: #fff;
}

.hero-split__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: #111;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: 50px;
	opacity: 0;
	transform: translateY(12px);
	transition: all 0.4s ease 0.1s;
}

.hero-split__btn svg {
	transition: transform 0.3s ease;
}

/* ===== HOVER EFFECTS ===== */
.hero-split__side:hover .hero-split__bg {
	transform: scale(1.05);
}

.hero-split__side:hover .hero-split__overlay {
	background: rgba(0, 0, 0, 0.55);
}

.hero-split__side:hover .hero-split__subtitle,
.hero-split__side:hover .hero-split__btn {
	opacity: 1;
	transform: translateY(0);
}

.hero-split__side:hover .hero-split__btn svg {
	transform: translateX(4px);
}

/* When one side is hovered, slightly dim the other */
.hero-split__wrapper:hover .hero-split__side:not(:hover) .hero-split__overlay {
	background: rgba(0, 0, 0, 0.45);
}

/* Trust Badge */
.hero-split__badge {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	color: #111;
	padding: 18px 40px 22px;
	border-radius: 24px 24px 0 0;
	font-size: 0.95rem;
	text-align: center;
	box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
	z-index: 10;
	line-height: 1.4;
}

.hero-split__badge strong {
	color: #f97316; /* orange accent */
	font-size: 1.25rem;
	display: block;
	margin: 2px 0;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
	.hero-split {
		height: auto;
		max-height: none;
	}

	.hero-split__wrapper {
		flex-direction: column;
	}

	.hero-split__side {
		min-height: 55vh;
	}

	.hero-split__title {
		font-size: 2.4rem;
	}

	/* Always show subtitle + button on mobile */
	.hero-split__subtitle,
	.hero-split__btn {
		opacity: 1;
		transform: none;
	}

	.hero-split__overlay {
		background: rgba(0, 0, 0, 0.45);
	}

	.hero-split__badge {
		position: relative;
		left: 0;
		transform: none;
		border-radius: 0;
		width: 100%;
		box-shadow: none;
		padding: 20px;
	}
}

.about-us {
	padding: 6rem 0 4rem;
	background: #fff;
}

.about-us__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-us__heading {
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
}

.about-us__text {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #444;
}

.about-us__text p {
	margin: 0 0 1rem;
}

.about-us__img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 900px) {
	.about-us__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.about-us {
		padding: 4rem 0;
	}
}

/* ===== Smart Fleet Features ===== */
.smart-fleet {
	padding: 6rem 0;
	background: #fff;
}

.smart-fleet__header {
	max-width: 720px;
	margin: 0 auto 4.5rem;
	text-align: center;
}

.smart-fleet__heading {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.smart-fleet__subheading {
	font-size: 1.125rem;
	line-height: 1.65;
	color: #555;
	margin: 0;
}

/* Feature blocks */
.smart-fleet__features {
	display: flex;
	flex-direction: column;
	gap: 5rem;
}

.smart-fleet__feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

/* Swap columns when position = right */
.smart-fleet__feature--right .smart-fleet__feature-content {
	order: 2;
}
.smart-fleet__feature--right .smart-fleet__feature-media {
	order: 1;
}

.smart-fleet__feature-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
	padding: 0.35rem 0.75rem;
	border-radius: 4px;
}

/* Orange style */
.smart-fleet__feature--orange .smart-fleet__feature-label {
	background: #f36c00;
	color: #fff;
}
.smart-fleet__feature--orange .smart-fleet__feature-title {
	color: #1a1a1a;
}

/* Blue style */
.smart-fleet__feature--blue .smart-fleet__feature-label {
	background: #0d6efd; /* adjust to exact brand blue */
	color: #fff;
}

.smart-fleet__feature-title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
}

.smart-fleet__feature-text {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #444;
	margin: 0 0 1.5rem;
}

.smart-fleet__feature-link {
	font-weight: 600;
	color: #f36c00;
	text-decoration: none;
}
.smart-fleet__feature-link:hover {
	text-decoration: underline;
}

.smart-fleet__feature-media {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.smart-fleet__feature-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Mobile */
@media (max-width: 900px) {
	.smart-fleet__feature {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.smart-fleet__feature--right .smart-fleet__feature-content,
	.smart-fleet__feature--right .smart-fleet__feature-media {
		order: initial;
	}
	.smart-fleet {
		padding: 4rem 0;
	}
	.smart-fleet__features {
		gap: 3.5rem;
	}
}

/* ===== Mid Page CTA ===== */
.mid-cta {
	padding: 5.5rem 0;
}

.mid-cta--light {
	background: #f8f9fb;
}

.mid-cta--dark {
	background: #0f172a;
	color: #fff;
}

.mid-cta--orange {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.mid-cta__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.mid-cta__heading {
	font-size: clamp(1.9rem, 3.5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.mid-cta--dark .mid-cta__heading {
	color: #fff;
}

.mid-cta__text {
	font-size: 1.125rem;
	line-height: 1.65;
	margin: 0 0 2rem;
	max-width: 480px;
	opacity: 0.9;
}

.mid-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.mid-cta__media {
	display: flex;
	justify-content: center;
}

.mid-cta__img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Mobile */
@media (max-width: 900px) {
	.mid-cta__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		text-align: center;
	}

	.mid-cta__text {
		margin-left: auto;
		margin-right: auto;
	}

	.mid-cta__actions {
		justify-content: center;
	}

	.mid-cta {
		padding: 4rem 0;
	}
}

/* ===== Industry Solutions ===== */
.industry-solutions {
	padding: 6rem 0;
	background: #0f172a; /* dark navy/black */
	color: #fff;
}

.industry-solutions__header {
	max-width: 800px;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.industry-solutions__heading {
	font-size: clamp(1.9rem, 3.5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
        color: #fff;
}

.industry-solutions__subheading {
	font-size: 1.125rem;
	line-height: 1.65;
	opacity: 0.85;
	margin: 0;
}

/* Grid of cards */
.industry-solutions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

/* Individual card */
.industry-card {
	display: block;
	background: #1e293b;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

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

.industry-card:hover .industry-card__img {
	transform: scale(1.05);
}

.industry-card__content {
	padding: 1.25rem 1.5rem 1.5rem;
}

.industry-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: #fff;
}

.industry-card__subtitle {
	font-size: 0.9rem;
	opacity: 0.75;
	margin: 0;
}

/* Mobile */
@media (max-width: 600px) {
	.industry-solutions {
		padding: 4rem 0;
	}

	.industry-solutions__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}



.stats {
	padding: 3.5rem 0 5rem;
	background: #fff;
	border-top: 1px solid #e5e7eb;
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

.stats__number {
	display: block;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.5rem;
	color: #111;
}

.stats__label {
	font-size: 1rem;
	color: #666;
}

@media (max-width: 700px) {
	.stats__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

.trusted-logos {
	padding: 5rem 0 6rem;
	background: #f8fafc;
	text-align: center;
}

.trusted-logos__heading {
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 3rem;
}

.trusted-logos__track {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trusted-logos__list {
	display: flex;
	gap: 4rem;
	width: max-content;
	animation: marquee 35s linear infinite;
}

.trusted-logos__item {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
}

.trusted-logos__img {
	max-height: 120px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: filter 0.3s, opacity 0.3s;
}

.trusted-logos__item:hover .trusted-logos__img {
	filter: grayscale(0%);
	opacity: 1;
}

.trusted-logos__cta {
	margin-top: 3rem;
}

.btn--outline {
	display: inline-flex;
	padding: 0.75rem 1.75rem;
	border: 2px solid #f36c00;
	color: #f36c00;
	font-weight: 600;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.2s;
}

.btn--outline:hover {
	background: #f36c00;
	color: #fff;
}

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

/* Pause on hover */
.trusted-logos__track:hover .trusted-logos__list {
	animation-play-state: paused;
}

/* ===== BASE PAGE HERO ===== */
.page-hero {
    background-color: #f1f5f9; /* Soft grey default */
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* ===== BACKGROUND IMAGE MODE ===== */
.page-hero--has-image {
    background-color: #0f172a; /* Dark fallback while image loads */
    color: #ffffff;
    
    /* ADDED: Screen height sizing for image hero */
    min-height: 70vh; /* Adjust this (e.g., 60vh, 80vh, 100vh) to suit your design */
    display: flex;
    align-items: center; /* Vertically centers the .container */
}

/* Adjust padding when flexing so it doesn't break the vertical centering */
.page-hero--has-image {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    pointer-events: none;
}

/* Ensure content sits above the image and overlay */
.page-hero--has-image .container {
    position: relative;
    z-index: 2;
    width: 100%; /* Ensure container spans full width for alignment */
}

/* ===== TYPOGRAPHY & COLORS ===== */
.page-hero__eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #3b82f6; /* Primary accent color */
}

.page-hero__heading {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.page-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 1.5rem 0;
}

.page-hero__content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
}

/* Text colors when image is present */
.page-hero--has-image .page-hero__heading,
.page-hero--has-image .page-hero__subtitle,
.page-hero--has-image .page-hero__content {
    color: #ffffff;
}

.page-hero--has-image .page-hero__eyebrow {
    color: #f8fafc; /* Lighter accent for dark backgrounds */
}

/* ===== LAYOUT MODES ===== */

/* Mode 1: No Image (Two Columns) */
.page-hero:not(.page-hero--has-image) .page-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Mode 2: Has Image (Single Column, Left Aligned) */
.page-hero--has-image .page-hero__inner {
    display: flex;
    flex-direction: column;
    max-width: 800px; /* Prevents text from stretching too far across the image */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .page-hero:not(.page-hero--has-image) .page-hero__inner {
        gap: 2rem;
    }
    .page-hero__heading {
        font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    }
}

@media (max-width: 768px) {
    /* Adjust min-height for mobile so it doesn't take up the whole screen */
    .page-hero--has-image {
        min-height: 50vh; 
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .page-hero:not(.page-hero--has-image) {
        padding: 3rem 0 4rem;
    }

    /* Force single column on mobile regardless of image presence */
    .page-hero__inner {
        display: flex !important; 
        flex-direction: column;
        gap: 1.5rem;
    }

    .page-hero__heading {
        font-size: 2rem;
    }

    .page-hero__cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility focus */
/* ===== SOLUTION CARDS GRID ===== */
    .solution-cards {
      padding-top: 60px;
      padding-bottom: 80px;
   }

    /* Use the .container inside .solution-cards as grid container */
    .solution-cards .container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      align-items: stretch;
      padding: 0; /* remove extra padding, we handle it globally */
    }

    /* Card base */
    .solution-card {
      display: flex;
      flex-direction: column;
      background: #ffffff;
      border-radius: .4rem;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.3s ease;
      height: 100%;
      border: 1px solid rgba(226, 232, 240, 0.8);
    }

    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1), 0 8px 14px -8px rgba(0, 0, 0, 0.05);
    }

    /* Media area */
    .solution-card__media {
      width: 100%;
      aspect-ratio: 687 / 381; /* preserves original ratio, responsive */
      background: #eef2f6;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .solution-card__media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover; /* cover keeps it neat, but no distortion */
      transition: transform 0.4s ease;
    }

    .solution-card:hover .solution-card__media img {
      transform: scale(1.02);
    }

    /* Content area */
    .solution-card__content {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 1.75rem 1.75rem 2rem;
      gap: 0.75rem;
    }

    /* Title */
    .solution-card__title {
      font-size: 1.35rem;
      font-weight: 600;
      line-height: 1.3;
      letter-spacing: -0.01em;
      color: #0f172a;
      margin: 0;
    }

    /* Text */
    .solution-card__text {
      font-size: 0.975rem;
      color: #475569;
      line-height: 1.6;
      flex: 1; /* pushes button to bottom if content varies */
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 4; /* optional: limit lines to keep cards even */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Button */
    .solution-cards .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      align-self: flex-start;
      padding: 0.65rem 1.5rem;
      border-radius: 2rem;
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
      transition: all 0.2s ease;
      border: 1.5px solid #cbd5e1;
      background: transparent;
      color: #0f172a;
      letter-spacing: 0.01em;
      margin-top: 0.5rem;
      cursor: pointer;
      white-space: nowrap;
    }

    .solution-cards .btn--outline {
      background: #ffffff;
      border: 1.5px solid #cbd5e1;
      color: #1e293b;
    }

    .solution-cards .btn--outline:hover {
      background: #0f172a;
      border-color: #0f172a;
      color: #ffffff;
      box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
    }

    /* Remove the "reverse" class visual effect – we use a consistent layout.
       If you want zig-zag, we could change order, but the request was modern 3 columns.
       We'll keep the class for compatibility but not apply order changes. */
    .solution-card--reverse {
      /* intentionally no extra styles; cards remain uniform */
    }

    /* ===== RESPONSIVE ===== */
    /* Tablet: 2 columns */
    @media (max-width: 1024px) {
      .solution-cards .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
      }
    }

    /* Mobile: 1 column */
    @media (max-width: 640px) {
      .solution-cards .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .solution-card__content {
        padding: 1.5rem 1.25rem 1.75rem;
      }

      .solution-card__title {
        font-size: 1.25rem;
      }

      .solution-card__text {
        font-size: 0.95rem;
        -webkit-line-clamp: unset; /* let it breathe on mobile */
        display: block;
        overflow: visible;
      }

      .solution-cards .btn {
        align-self: stretch;
        text-align: center;
        justify-content: center;
        padding: 0.7rem 1.25rem;
      }
    }

    /* Very small devices */
    @media (max-width: 380px) {
      .solution-card__media {
        aspect-ratio: 4 / 3; /* a bit taller on tiny screens? actually keep original */
      }
    }

    /* Optional: smooth focus for accessibility */
    .solution-cards .btn:focus-visible {
      outline: 2px solid #3b82f6;
      outline-offset: 2px;
    }

    .solution-card:focus-within {
      outline: none;
}

/* ===== CTA FORM SECTION ===== */
    .cta-form {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      padding: 5rem 0;
      color: #f1f5f9;
    }

    /* Two‑column layout: heading left, form right */
    .cta-form__inner {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 4rem;
      align-items: start;
    }

    /* ––– Heading column ––– */
    .cta-form__heading {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.02em;
      color: #ffffff;
      margin: 0;
      /* optional: subtle gradient text if you like
      background: linear-gradient(to right, #ffffff, #cbd5e1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent; */
    }

    /* ––– Form column ––– */
    .cta-form__form {
      width: 100%;
    }

    /* Gravity Forms overrides – we style the wrapper and fields */
    .cta-form__form .gform_wrapper {
      margin: 0;
    }

    /* form body */
    .gform_body {
      margin: 0;
    }

    /* field container */
    .gform_fields {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* individual field */
    .gfield {
      margin: 0;
    }

    /* labels */
    .gfield_label {
      display: block;
      font-size: 0.9rem;
      font-weight: 500;
      color: #cbd5e1;
      margin-bottom: 0.4rem;
      letter-spacing: 0.01em;
    }

    .gfield_required {
      color: #f87171;
      font-weight: 400;
      margin-left: 0.25rem;
    }

    /* input containers */
    .ginput_container {
      margin: 0;
    }

    /* text / email / tel inputs */
    .ginput_container input[type="text"],
    .ginput_container input[type="email"],
    .ginput_container input[type="tel"] {
      width: 100%;
      padding: 0.9rem 1.2rem;
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      border: 1.5px solid rgba(203, 213, 225, 0.25);
      border-radius: 0.9rem;
      outline: none;
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

    .ginput_container input::placeholder {
      color: #94a3b8;
      opacity: 0.7;
    }

    .ginput_container input:focus {
      border-color: #60a5fa;
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }

    /* remove default gravity forms extra spacing */
    .gform_footer {
      margin: 2rem 0 0;
      padding: 0;
    }

    /* submit button */
    .gform_button.button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 1rem 2.5rem;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 1rem;
      color: #0f172a;
      background: #ffffff;
      border: none;
      border-radius: 3rem;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
      letter-spacing: 0.01em;
      width: 100%;               /* full width on mobile, but we override in media query */
      max-width: 280px;          /* limit width on desktop */
      box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
    }

    .gform_button.button:hover {
      background: #e2e8f0;
      transform: translateY(-2px);
      box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.4);
    }

    .gform_button.button:active {
      transform: translateY(0);
      box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.3);
    }

    /* hide the spinner (optional, but keep clean) */
    .gform_spinner {
      display: none;
    }

    /* validation errors – subtle */
    .gfield_validation_message {
      color: #fca5a5;
      font-size: 0.85rem;
      margin-top: 0.35rem;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .cta-form__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .cta-form {
        padding: 4rem 0;
      }

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

      .gform_button.button {
        max-width: 100%;        /* full width on mobile */
      }
    }

    @media (max-width: 600px) {
      .cta-form {
        padding: 3rem 0;
      }

      .gform_fields {
        gap: 1.25rem;
      }

      .ginput_container input[type="text"],
      .ginput_container input[type="email"],
      .ginput_container input[type="tel"] {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
      }

      .cta-form__heading {
        font-size: 1.9rem;
      }
    }

    /* Focus visible for accessibility */
    .gform_button.button:focus-visible {
      outline: 3px solid #60a5fa;
      outline-offset: 3px;
    }

    /* Remove default iframe borders */
    iframe {
      border: 0;
    }

    /* Keep the existing Gravity Forms structure intact */
    .gform_anchor {
      display: none; /* hide the anchor visual */
}

/* ===== Sticky Nav ===== */

.sticky-sub-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sticky-sub-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.75rem 0;
}

.sticky-sub-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sticky-sub-nav__link {
	display: inline-block;
	padding: 0.4rem 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.sticky-sub-nav__link:hover,
.sticky-sub-nav__link.is-active {
	color: var(--color-primary, #e65c00);
	border-bottom-color: var(--color-primary, #e65c00);
}

.sticky-sub-nav__cta {
	flex-shrink: 0;
}

.sticky-sub-nav__btn {
	white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 767px) {
	.sticky-sub-nav__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.sticky-sub-nav__list {
		justify-content: center;
		gap: 0.5rem 1rem;
	}

	.sticky-sub-nav__cta {
		text-align: center;
	}
}

/* ===== SPLIT CONTENT SECTION ===== */
.split-content {
    background-color: #ffffff; 
    /* Added default padding so it doesn't touch other sections */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* If you are using the ACF shared settings, this ensures they override the default */
.split-content.section--padding-sm { padding-top: 3rem; padding-bottom: 3rem; }
.split-content.section--padding-md { padding-top: 5rem; padding-bottom: 5rem; }
.split-content.section--padding-lg { padding-top: 8rem; padding-bottom: 8rem; }

.split-content__inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center; /* Vertically center the text and image */
}

/* Image Column */
.split-content__image-col {
    width: 100%;
    flex: 1;
}

.split-content__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Text Column */
.split-content__text-col {
    width: 100%;
    flex: 1;
    max-width: 600px; /* Prevents text from getting too wide on large screens */
}

.split-content__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a; /* Dark heading color */
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.split-content__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569; /* Slate text color */
    margin-bottom: 2rem;
}

/* Remove margin from the last paragraph in the wysiwyg */
.split-content__body p:last-child {
    margin-bottom: 0;
}

/* CTA Button (Outline Style matching screenshot) */
.btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #f97316; /* Orange text */
    background-color: transparent;
    border: 2px solid #f97316; /* Orange border */
    border-radius: 9999px; /* Pill shape */
    transition: all 0.2s ease-in-out;
}

.btn--outline:hover {
    background-color: #f97316;
    color: #ffffff;
}

/* ===== DESKTOP LAYOUT ===== */
@media (min-width: 768px) {
    .split-content__inner {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Default: Text Left, Image Right */
    .split-content__text-col {
        padding-right: 3rem; /* Increased spacing between text and image */
    }

    /* Modifier: Image Left, Text Right (based on ACF setting) */
    .split-content--img-left .split-content__inner {
        flex-direction: row-reverse;
    }
    
    .split-content--img-left .split-content__text-col {
        padding-right: 0;
        padding-left: 3rem; /* Increased spacing */
    }
}