/*
Theme Name: Tuesday Group
Theme URI: https://tuesdaygroup.com
Author: Tuesday Group
Author URI: https://tuesdaygroup.com
Description: Custom theme for Tuesday Group
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: tuesday-group
*/

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-primary: #93c47d; /* Tuesday Group Green */
	--color-primary-dark: #7ab366;
	--color-primary-alt: #92c47c; /* Alternative green shade used in some contexts */
	--color-accent: #ff6b9d; /* Modern pink accent */
	--color-text: #1a1a1a;
	--color-text-light: #666666;
	--color-bg: #fafafa; /* Clean off-white */
	--color-bg-dark: #000000;
	--color-white: #ffffff;
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--spacing-xl: 6rem;
	--border-radius: 8px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--menu-width: 499px;
	/* Header height - dynamically set by JS, fallback for initial render */
	--header-height: 80px;
	--header-height-large: 130px; /* Header height when expanded (mobile menu, etc) */
	/* Popup and spacing variables */
	--popup-padding-mobile: 1rem;
	--popup-padding-desktop: clamp(1.5rem, 5vw, 5rem);
	--logo-wheel-gap: 60px;
	--logo-wheel-gap-mobile: 40px;
	/* Grid and layout variables */
	--grid-gap: var(--spacing-md);
	--grid-gap-mobile: var(--spacing-sm);
	--grid-min-width: 250px; /* Reduced from 300px for better mobile support */
	--grid-min-width-small: 200px;
	/* Card base styles */
	--card-padding: var(--spacing-md);
	--card-padding-mobile: var(--spacing-sm);
	--card-border-radius: var(--border-radius);
	--card-transition: var(--transition);
	/* Typography system */
	--font-size-base: 1rem;
	--font-size-small: 0.875rem;
	--font-size-large: 1.125rem;
	--line-height-base: 1.7;
	--line-height-tight: 1.5;
	--line-height-loose: 1.8;
	/* CTA and sticky offsets */
	--cta-split-left-top-offset: var(--header-height);
	/* Reusable squiggle SVG */
	--squiggle-svg: url("data:image/svg+xml,%3Csvg viewBox='98.1817 172.0601 647.5657 146.861' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2392c47c' d='M 728.884 302.367 L 194.219 318.911 C 174.67 319.524 170.173 292.072 189.559 288.825 C 234.807 281.227 280.079 273.629 325.328 266.031 C 285.787 268.073 246.247 270.116 206.707 272.158 C 187.135 273.179 182.662 244.809 202.047 242.072 C 239.98 236.7 277.912 231.349 315.821 225.977 C 248.881 230.062 181.939 234.127 114.975 238.212 C 92.491 239.58 92.677 208.922 114.975 207.574 C 309.157 195.748 503.316 183.922 697.475 172.096 C 717.071 170.911 721.474 199.465 702.135 202.202 C 651.225 209.392 600.291 216.602 549.38 223.812 C 563.291 223.077 577.201 222.362 591.111 221.647 C 610.753 220.626 614.993 248.506 595.747 251.733 C 537.031 261.578 478.339 271.443 419.623 281.308 C 522.702 278.102 625.804 274.916 728.884 271.729 C 751.415 271.035 751.322 301.672 728.884 302.367 L 728.884 302.367 Z' fill-rule='evenodd'/%3E%3C/svg%3E");
}

body {
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: var(--line-height-base);
	color: var(--color-text);
	padding-top: var(--header-height); /* Sync with JS variable updates */
	background-color: var(--color-bg);
	font-size: var(--font-size-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	position: relative;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: "Mona Sans", sans-serif;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 5.5rem);
	letter-spacing: clamp(-0.03em, -0.02em, -0.03em); /* Less cramped on small screens */
}

h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: clamp(-0.03em, -0.02em, -0.03em);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	letter-spacing: clamp(-0.02em, -0.01em, -0.02em);
}

/* Container */
.site-container {
	max-width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
	background-color: transparent;
}

/* Highlight utility for key phrases */
.highlight {
	display: inline-block;
	position: relative;
	color: var(--color-accent);
}

.highlight::after {
	content: '';
	position: absolute;
	bottom: 0.15em;
	left: 0;
	right: 0;
	height: 0.3em;
	background-color: var(--color-accent);
	opacity: 0.2;
	z-index: -1;
}

/* Base card styles - reusable for all card types */
.card-base {
	background: transparent;
	border: none;
	border-radius: var(--card-border-radius);
	padding: var(--card-padding);
	transition: var(--card-transition);
	box-shadow: none;
}

.card-base:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-base:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
	border-radius: var(--card-border-radius);
}


/* Screen reader only utility class */
.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.sr-only:focus,
.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	padding: inherit;
	margin: inherit;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

/* Skip links */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--color-primary);
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 100000;
	border-radius: 0 0 4px 0;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
	outline: 2px solid var(--color-primary-dark);
	outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	html, body {
		overflow-x: hidden !important;
		max-width: 100vw !important;
	}
	
	.site-container {
		padding: 0;
		max-width: 100vw !important;
		overflow-x: hidden !important;
	}
	
	.site-header {
		max-width: 100vw !important;
		overflow-x: hidden !important;
	}
	
	.header-split {
		flex-direction: column;
		max-width: 100vw !important;
		overflow-x: hidden !important;
		box-sizing: border-box !important;
	}
	
	.header-left {
		display: none !important;
	}
	
	.header-right {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100vw !important;
		flex-shrink: 1 !important;
		box-shadow: none;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}
	
	.header-right-inner {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		gap: 1rem !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
		box-sizing: border-box !important;
	}

	.site-branding {
		padding-left: 20px !important;
	}

	.custom-logo {
		height: 42px !important;
	}

	
	.site-main::before {
		display: none;
	}
	
	.post {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	/* Homepage responsive */
	.homepage-banner {
		min-height: 80vh;
		padding: var(--spacing-lg) 0;
	}
	
	.banner-content {
		padding: var(--spacing-md) 0;
	}
	
	.banner-cta {
		flex-direction: column;
		align-items: stretch;
	}
	
	.banner-cta .btn {
		width: 100%;
		text-align: center;
	}
	
	.homepage-content {
		padding: var(--spacing-lg) 0;
	}
	
	.content-wrapper {
		font-size: 1rem;
	}
	
	.custom-page-content .page-title {
		font-size: clamp(2rem, 5vw, 2.5rem);
	}
	
	.features-grid {
		grid-template-columns: 1fr;
	}
	
	.numbered-list li {
		padding-left: 3.5rem;
	}
	
	.numbered-list li::before {
		font-size: 1.5rem;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
	
	
	/* Service pages responsive */
	.service-main-title {
		font-size: 2.5rem;
	}
	
	.service-subtitle {
		font-size: 1.2rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.options-grid,
	.tiers-grid,
	.infra-features-grid {
		grid-template-columns: 1fr;
	}
	
	.stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}
	
	.services-grid {
		grid-template-columns: 1fr !important;
		display: grid !important;
	}
	
	.service-box {
		width: 100% !important;
	}
	
	.footer-split {
		flex-direction: column !important;
	}
	
	.footer-left {
		display: none !important;
	}
	
	.footer-right {
		width: 100% !important;
	}
	
	.footer-menu-list li:hover {
		margin-right: calc(-50vw + 50% - var(--spacing-lg)) !important;
		padding-right: calc(50vw - 50% + var(--spacing-lg)) !important;
	}
	
	/* Service popup mobile adjustments - padding moved to content wrapper */
	
	.main-navigation.menu-overlay {
		width: 100% !important;
		right: 0 !important;
		top: var(--header-height) !important;
		height: calc(100vh - var(--header-height)) !important;
	}
	
	.menu-overlay-content {
		margin-top: 40px !important;
	}
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	margin: 0;
	padding: 0;
	overflow: visible;
	width: 100%;
}

/* When WordPress admin bar is present, header stays at top: 0 (admin bar overlays it) */
/* No adjustment needed - admin bar is on top with higher z-index */

/* Header Split Layout */
.header-split {
	display: flex;
	width: 100%;
	min-height: 50px;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.header-left {
	background-color: #fafafa;
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.header-right {
	background-color: #000000;
	width: 50%;
	flex-shrink: 0;
	position: relative;
	z-index: 10004;
	border: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	min-height: 80px;
}

.header-right-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(2rem, 5vw, 4rem);
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
	position: relative;
	z-index: 10005;
	background-color: #000000;
}

/* Site Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	flex: 0 0 auto;
	z-index: 10001;
	position: relative;
}

.custom-logo-link {
	position: relative;
	z-index: 10001;
}

.site-title {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	font-weight: 700;
	color: var(--color-white);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.custom-logo-link {
	display: inline-block;
	margin: 0;
	line-height: 0;
	transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
	opacity: 0.8;
}

.custom-logo {
	height: clamp(35px, 5vw, 50px);
	width: auto;
	max-width: 300px;
	display: block;
}

.site-title a {
	text-decoration: none;
	color: var(--color-white);
	transition: var(--transition);
}

.site-header .site-description {
	display: none;
}

/* Menu Toggle Button */
.menu-toggle {
	background: transparent;
	border: none;
	color: var(--color-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	padding: 1px 6px;
	transition: var(--transition);
	z-index: 10002;
	position: relative;
	flex-shrink: 0;
}

.menu-toggle:hover {
	opacity: 0.8;
}

.menu-toggle-icon {
	display: block;
	width: 60px;
	height: 1px;
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: var(--color-white);
	transform: translate(-30px, -0.5px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: '';
	display: block;
	width: 60px;
	height: 1px;
	background-color: var(--color-white);
	position: absolute;
	left: 50%;
	top: 50%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle-icon::before {
	transform: translate(-30px, -11px);
}

.menu-toggle-icon::after {
	transform: translate(-30px, 10px);
}

/* Transform burger to X when menu is open */
.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
	transform: translate(-30px, -0.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
	transform: translate(-30px, 0) rotate(-90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
	transform: translate(-30px, 0) rotate(-90deg);
}

/* Black Overlay Menu */
.main-navigation.menu-overlay {
	position: fixed;
	top: var(--header-height-large);
	right: 0;
	width: 50%;
	max-width: 100%;
	height: calc(100vh - var(--header-height-large));
	background-color: #000000;
	z-index: 9999;
	transform: translateY(-100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	pointer-events: auto;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: none;
}


.main-navigation.menu-overlay.is-open {
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.menu-overlay-header {
	display: none;
}

.menu-close {
	display: none;
}

.menu-overlay-content {
	flex: 1;
	padding-left: 30px;
	padding-right: clamp(2rem, 5vw, 4rem);
	padding-top: 0;
	padding-bottom: clamp(1rem, 2vw, 1.5rem);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	opacity: 0;
	transition: opacity 0.2s ease-in 0s;
	overflow-x: hidden;
}

.main-navigation.menu-overlay.is-open .menu-overlay-content {
	opacity: 1;
	transition: opacity 0.2s ease-in 0.2s;
}

.menu-overlay-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.menu-overlay-list li {
	margin: 0;
	padding: 0;
	position: relative;
}

.menu-overlay-list li::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -30px;
	right: -2rem;
	height: 1px;
	background-color: #ffffff;
}

@media (min-width: 768px) {
	.menu-overlay-list li::after {
		right: -4rem;
	}
}


.menu-overlay-list li:last-child::after {
	display: none;
}

.menu-overlay-list a {
	display: block;
	text-decoration: none;
	color: var(--color-white);
	font-weight: 600;
	font-size: 2.7rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
	padding: clamp(1rem, 2vw, 1.25rem) 0;
	transition: var(--transition);
	position: relative;
	white-space: nowrap;
}

.menu-overlay-list li:hover {
	background-color: #ffffff;
	margin-left: -30px;
	margin-right: -2rem;
	padding-left: 30px;
	padding-right: 2rem;
	position: relative;
}

.menu-overlay-list li:hover::before {
	content: '';
	position: absolute;
	left: -30px;
	top: 0;
	bottom: 0;
	width: 30px;
		background-color: var(--color-primary);
		z-index: 1;
}

@media (min-width: 768px) {
	.menu-overlay-list li:hover {
		margin-right: -4rem;
		padding-right: 4rem;
	}
}

.menu-overlay-list li:hover a,
.menu-overlay-list a:focus {
	color: #000000;
}

.menu-overlay-list li:active {
	background-color: #ffffff;
	margin-left: -30px;
	margin-right: -2rem;
	padding-left: 30px;
	padding-right: 2rem;
	position: relative;
}

.menu-overlay-list li:active::before {
	content: '';
	position: absolute;
	left: -30px;
	top: 0;
	bottom: 0;
	width: 30px;
	background-color: var(--color-primary);
	z-index: -1;
}

@media (min-width: 768px) {
	.menu-overlay-list li:active {
		margin-right: -4rem;
		padding-right: 4rem;
	}
}

.menu-overlay-list li:active a {
	color: #000000;
}

/* Menu Overlay Backdrop */
.menu-backdrop {
	display: none;
}

/* Prevent body scroll when menu is open */
body.menu-open {
	overflow: hidden;
}

/* Main Content */
.site-main {
	padding: 0;
	position: relative;
	background-color: transparent;
}

/* CTA Split Section - Same design as header */
.cta-split-section {
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

.cta-split {
	display: flex;
	width: 100%;
	min-height: 130px;
	height: 130px;
	position: relative;
	margin: 0;
	padding: 0;
}

/**
 * CTA Split Sticky Behavior
 * 
 * IMPORTANT: position: sticky requires that NO ancestor has:
 * - overflow: hidden
 * - overflow: auto
 * - overflow: scroll
 * 
 * If sticky fails, check parent containers for overflow properties.
 */
.cta-split-left {
	background-color: var(--color-primary);
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	position: sticky;
	top: var(--cta-split-left-top-offset);
	z-index: 10001;
	transition: transform 0.2s ease-out;
	will-change: transform; /* GPU acceleration hint */
}

/* Fixed state (when scrolled past header) */
.cta-split-left.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 50%;
}

/* Fallback for browsers without sticky support */
@supports not (position: sticky) {
	.cta-split-left.is-fixed {
		position: fixed;
	}
}

.cta-split-left-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-left: clamp(2rem, 5vw, 5rem);
	padding-right: clamp(1.5rem, 4vw, 4rem);
	padding-top: 0;
	padding-bottom: 0;
	width: 100%;
	height: 100%;
	min-height: var(--header-height-large);
	box-sizing: border-box;
}

.cta-split-heading {
	font-size: clamp(2rem, 4vw, 3.5rem);
	color: var(--color-bg-dark) !important;
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	text-decoration: none;
	display: inline-block;
	transition: opacity 0.3s ease;
}

.cta-split-heading:hover {
	opacity: 0.8;
	text-decoration: none;
}

.cta-split-right {
	background-color: #000000;
	width: 50%;
	flex-shrink: 0;
	position: relative;
	border: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	min-height: var(--header-height-large);
	height: var(--header-height-large);
}

.cta-split-right-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 30px;
	padding-right: 20px;
	padding-top: 0;
	padding-bottom: 0;
	width: 100%;
	min-height: 130px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
	background-color: #000000;
}

.cta-split-link {
	text-decoration: none;
	color: var(--color-bg-dark) !important;
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.02em;
	line-height: 1.3;
	transition: var(--transition);
	position: relative;
	display: inline-flex;
	align-items: center;
	transform: translateY(-5px);
}

.cta-split-link:hover {
	color: var(--color-bg-dark) !important;
}

/* Reusable arrow - applied via ::after pseudo-element */
.cta-split-link::after {
	content: '→';
	display: inline-block;
	transition: transform 0.3s ease;
	margin-left: 0.25em;
	font-size: 1.2em;
	line-height: 1;
}

.service-box-title::after {
	content: '→';
	display: inline-block;
	transition: transform 0.3s ease;
	margin-left: 1rem;
	font-size: 1.2em;
	line-height: 1;
	align-self: center;
}

.service-popup-button::after,
.newsletter-link-button::after,
.newsletter-submit-button::after {
	content: '→';
	display: inline-block;
	transition: transform 0.3s ease;
	margin-left: 0.25em;
	font-size: 1.2em;
	vertical-align: middle;
	transform: translateY(2px);
}

.cta-split-link:hover::after {
	transform: translateX(4px);
}


/* Responsive for CTA Split Section */
@media (max-width: 768px) {
	.cta-split-section {
		display: none;
	}
}

/* Hero Banner */
.hero-banner {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	display: flex;
	align-items: center;
	margin-top: 0;
	padding-top: 0;
}

.hero-banner::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 100%;
	background-color: var(--color-primary);
	z-index: 3;
	pointer-events: none;
}

.hero-video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 120px);
	height: 100%;
	z-index: 1;
}

.hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	/* Performance optimization */
	will-change: transform;
}

.hero-content {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	padding: 0 clamp(1.5rem, 5vw, 5rem);
	width: calc(100% - 120px);
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.hero-text {
	max-width: 800px;
	color: #fff;
	margin: 0;
	padding: 0;
}

.hero-headline {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: bold;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 20px;
	color: var(--color-white);
}

.hero-headline-word-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.hero-headline-word {
	position: relative;
	z-index: 2;
	display: inline-block;
}

/* Reusable squiggle underline - applied via ::after pseudo-element */
.hero-headline-word-wrapper::after,
.hero-btn-text-wrapper::after,
.services-heading-wrapper::after,
.service-box-text-wrapper::after,
.service-popup-button-text-wrapper::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 90%;
	height: 0.45em;
	background-image: var(--squiggle-svg);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1;
	pointer-events: none;
	transform: translateY(-50%);
	overflow: visible;
}

/* Size variations for different contexts */
.hero-headline-word-wrapper::after {
	min-height: 20px;
	max-height: 35px;
}

.hero-btn-text-wrapper::after {
	min-height: 20px;
	max-height: 35px;
}

.services-heading-wrapper::after,
.service-box-text-wrapper::after {
	min-height: 30px;
	max-height: 45px;
}

.service-popup-button-text-wrapper::after {
	min-height: 30px;
	max-height: 45px;
}


.hero-description {
	font-size: 1.8rem;
	line-height: 1.5;
	margin-bottom: 30px;
	color: var(--color-white);
}

.hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 400px;
}

.hero-btn {
	padding: 12px 24px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
	display: block;
	transition: all 0.3s ease;
}

.hero-btn-primary {
	background-color: var(--color-white);
	color: var(--color-bg-dark);
	border: none;
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.02em;
	line-height: 1.3;
	padding: 12px 24px;
}

.hero-btn-primary:hover {
	background-color: var(--color-white);
	color: var(--color-bg-dark);
}

.hero-btn-primary:hover .hero-btn-arrow {
	transform: translateX(4px);
}

.hero-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.hero-btn-text-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.hero-btn-text {
	position: relative;
	z-index: 2;
	display: inline-block;
}


.hero-btn-secondary {
	background-color: var(--color-white);
	color: var(--color-bg-dark);
	border: 2px solid var(--color-bg-dark);
}

.hero-btn-secondary:hover {
	background-color: #f0f0f0;
}


/* Responsive Hero Banner */
@media (max-width: 768px) {
	.hero-content {
		justify-content: center;
		align-items: center;
	}
	
	.hero-text {
		text-align: center;
		width: 100%;
		max-width: 100%;
	}

	.hero-headline {
		font-size: 3.5rem;
		text-align: center;
	}

	.hero-description {
		font-size: 1.5rem;
		text-align: center;
	}

	.hero-video-container,
	.hero-content {
		width: 100%;
	}

	.hero-buttons {
		align-items: center;
		max-width: 100%;
		width: 100%;
	}

	.hero-btn-primary {
		width: auto;
		margin: 0 auto;
	}

	.hero-banner::after {
		display: none;
	}

	.hero-banner {
		height: calc(100vh - 130px);
		min-height: calc(100vh - 130px);
	}
}

/* Services Section */
.services-section {
	background-color: var(--color-bg);
	color: var(--color-text);
	padding: 40px 0 0 0;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	position: relative;
	box-sizing: border-box;
}

.services-container {
	max-width: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}

.services-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: bold;
	margin-bottom: 0;
	padding-bottom: 40px;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	padding-left: calc(50vw - 50% + clamp(1.5rem, 5vw, 5rem));
	color: var(--color-text);
	position: relative;
	box-sizing: border-box;
	display: block;
}

.services-heading-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.services-heading-text {
	position: relative;
	z-index: 2;
	display: inline-block;
}


.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	position: relative;
	z-index: 2;
}

.service-box {
	padding: 30px clamp(1.5rem, 3vw, 3rem);
	min-height: 150px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	position: relative;
	overflow: visible;
	background-color: #f5f5f0;
	color: #333;
	cursor: pointer;
}

/* Remove focus outline from service boxes - override global [role="button"] rule */
.service-box:focus,
.service-box:focus-visible,
.service-box[role="button"]:focus,
.service-box[role="button"]:focus-visible {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

.service-box-image {
	width: auto;
	height: 100px;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
	display: block;
}

.service-box-1 {
	background-color: #d8dbca;
	color: #333;
}

.service-box-2 {
	background-color: var(--color-primary-alt);
	color: #333;
}

.service-box-3 {
	background-color: #d8dbca;
	color: #333;
}

.infrastructure-services-grid .service-box-3 .service-box-title {
	text-align: center;
	justify-content: center;
}

.service-box-4 {
	background-color: var(--color-primary-alt);
	color: #333;
}

.service-box-5 {
	background-color: #d8dbca;
	color: #333;
}

.service-box-6 {
	background-color: #e0f25f;
	color: #333;
}

.service-box-title {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: #000000;
	text-decoration: none;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	transition: var(--transition);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	margin: 0;
	text-align: left;
	width: 100%;
	vertical-align: middle;
}

.service-box-text-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: auto;
}

.service-box-text {
	position: relative;
	z-index: 2;
	display: inline-block;
	line-height: inherit;
}


.service-box:hover .service-box-title::after {
	transform: translateX(4px);
}

.service-box.is-active .service-box-title::after,
.service-box.is-active:hover .service-box-title::after {
	transform: rotate(90deg);
}

.service-box.is-active {
	border-bottom: none !important;
}

.service-box-description {
	display: none;
}

/* ========================================
   SERVICE POPUP
   ======================================== */

/* Base popup - full width, hidden by default */
.service-popup {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	background-color: #fff;
	padding: 0;
	display: grid;
	grid-template-rows: 0fr; /* collapsed */
	overflow: hidden;
	min-height: 0; /* Required for grid to fully collapse */
	box-sizing: border-box;
	z-index: 10002;
	position: relative;
	margin-top: 0;
	/* Ensure no child positioning escapes bounds */
	contain: layout style;
	/* Simple slide animation - no fade, no delays */
	transition: 
		grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	/* Hint to browser for smooth animation */
	will-change: grid-template-rows;
	/* Span all columns when inside services-grid */
	grid-column: 1 / -1;
}

/* Popup when open - grid expands to fit content */
.service-popup.is-open {
	grid-template-rows: 1fr; /* expanded */
	overflow: visible;
	/* Same transition for smooth slide in both directions */
	transition: 
		grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service-specific background colors - data-service is primary selector */
.service-popup[data-service="connectivity"].is-open,
.service-popup.service-box-1.is-open {
	background-color: #d8dbca;
}

.service-popup[data-service="infrastructure"].is-open,
.service-popup.service-box-2.is-open,
.service-popup.service-box-infrastructure.is-open {
	background-color: var(--color-primary-alt);
}

.service-popup[data-service="network"].is-open,
.service-popup.service-box-3.is-open {
	background-color: #d8dbca;
}

.service-popup[data-service="mobile"].is-open,
.service-popup.service-box-4.is-open {
	background-color: var(--color-primary-alt);
}

.service-popup[data-service="satellite"].is-open,
.service-popup.service-box-5.is-open {
	background-color: #d8dbca;
}

.service-popup.service-box-6.is-open {
	background-color: #e0f25f;
}

/* Content wrapper */
.service-popup-content {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
	max-width: 1200px;
	padding: 0; /* Start with no padding - will be set when open */
	background: transparent;
	position: relative;
	min-height: 0; /* Required for grid to fully collapse - fixes layout push */
	overflow: hidden; /* REQUIRED for grid animation */
	/* No opacity or transform - just slide with grid */
	transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content visible state */
.service-popup.is-open .service-popup-content {
	padding: 40px var(--popup-padding-desktop) 40px; /* Add padding when open */
	transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Description text */
.service-popup-description {
	font-size: 1.25rem;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	color: #333;
	text-align: center;
	width: 100%;
	max-width: 800px;
	display: block;
	visibility: visible;
	opacity: 1;
}

/* Button */
.service-popup-button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: #000000;
	margin: 0;
	padding: 0;
	text-decoration: none;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	transition: var(--transition);
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	position: relative;
	z-index: 1;
}

.service-popup-button:hover {
	color: rgba(0, 0, 0, 0.8);
}


.service-popup-button-text-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.service-popup-button-text {
	position: relative;
	z-index: 2;
	display: inline-block;
}




/* Logo Wheel Section */
.logo-wheel-section {
	background-color: #fafafa;
	color: #000;
	padding: 80px 0;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.logo-wheel-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.logo-wheel-content {
	display: flex;
	gap: 60px;
	animation: scroll-logos linear var(--animation-duration, 72s) infinite;
	will-change: transform;
}

.logo-wheel-content:hover {
	animation-play-state: paused;
}

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

.logo-wheel-list {
	display: flex;
	gap: 60px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	align-items: center;
}

.logo-wheel-list li {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-wheel-logo {
	display: block;
	width: 120px;
	height: 60px;
	object-fit: contain;
	object-position: center;
	filter: grayscale(100%) brightness(0.5);
	transition: filter 0.3s ease;
}

.logo-wheel-logo:hover {
	filter: grayscale(0%) brightness(1);
}

@media (max-width: 768px) {
	.logo-wheel-section {
		padding: 60px 0;
	}
	
	.logo-wheel-content {
		gap: 40px;
	}
	
	.logo-wheel-list {
		gap: 40px;
	}
	
	.logo-wheel-logo {
		width: 100px;
		height: 50px;
	}
}

/* How We Work Section */
.how-we-work-section {
	background-color: var(--color-primary-alt);
	color: var(--color-bg-dark);
	padding: 40px 0 5px 0;
	width: 100%;
	position: relative;
	margin-bottom: 30px;
}

.how-we-work-container {
	max-width: none;
	margin: 0;
	padding: 0;
	padding-left: clamp(1.5rem, 5vw, 5rem);
	padding-right: clamp(1.5rem, 5vw, 5rem);
	width: 100%;
}

.how-we-work-intro {
	padding: 0 0 28px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.how-we-work-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--color-bg-dark);
}

.how-we-work-lead {
	font-size: 18px;
	line-height: 1.45;
	margin: 0;
	max-width: 520px;
	color: var(--color-bg-dark);
	opacity: 0.95;
}

/* Accordion */
.how-we-work-accordion {
	padding: 0;
	border-bottom-left-radius: 28px;
	border-bottom-right-radius: 28px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}

.how-we-work-step {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.how-we-work-step-title {
	padding: 18px clamp(1.5rem, 5vw, 5rem) 22px clamp(1.5rem, 5vw, 5rem);
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 3.6vw, 64px);
	letter-spacing: -0.02em;
	color: var(--color-bg-dark);
	display: block;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	width: 100%;
	transition: opacity 0.2s ease;
	margin: 0;
	position: relative;
}

.how-we-work-step-body-wrap {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
	opacity: 0;
	padding: 0;
	margin: 0;
	order: 2;
	/* Height will be set dynamically by JS for smooth animation */
}

.how-we-work-step.is-active .how-we-work-step-body-wrap {
	opacity: 1;
}

.how-we-work-step-body {
	font-size: 18px;
	line-height: 1.55;
	width: 100%;
	opacity: 0.95;
	color: var(--color-bg-dark);
	padding: 0 clamp(1.5rem, 5vw, 5rem) 30px clamp(1.5rem, 5vw, 5rem);
	margin: 0;
}


/* Homepage Banner - Modern Hero Section */
.homepage-banner {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg);
	overflow: hidden;
	padding: var(--spacing-xl) 0;
}

.homepage-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(147, 196, 125, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.banner-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: var(--spacing-lg) 0;
	max-width: 1200px;
	margin: 0 auto;
}

.banner-hero {
	max-width: 1000px;
	margin: 0 auto;
}

.banner-hero > p:first-of-type {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-primary);
	margin-bottom: var(--spacing-md);
	font-weight: 600;
}

.banner-title {
	font-size: clamp(3rem, 8vw, 6.5rem);
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 var(--spacing-md);
	line-height: 1.1;
	letter-spacing: -0.04em;
	text-align: center;
}

.banner-title .highlight {
	color: var(--color-accent);
}

.banner-title strong {
	color: var(--color-accent);
	position: relative;
}

.banner-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: var(--color-text-light);
	margin: 0 0 var(--spacing-lg);
	line-height: 1.7;
	font-weight: 400;
	text-align: center;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero CTA Buttons */
.banner-cta {
	display: flex;
	gap: var(--spacing-md);
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: var(--spacing-lg);
}

.btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--border-radius);
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: 0.02em;
}

.btn-primary {
	background-color: var(--color-accent);
	color: var(--color-white);
	box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
	background-color: #ff5590;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
	background-color: transparent;
	color: var(--color-text);
	border: 2px solid var(--color-text);
}

.btn-secondary:hover {
	background-color: var(--color-text);
	color: var(--color-white);
	transform: translateY(-2px);
}

/* Homepage Content Section */
.homepage-content {
	padding: var(--spacing-xl) 0;
	background-color: transparent;
}

.homepage-content-section {
	margin: 0;
	padding: 0;
	border: none;
}

.content-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
}

.content-wrapper p {
	margin-bottom: var(--spacing-md);
}

.content-wrapper h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: var(--color-white);
	margin: var(--spacing-xl) 0 var(--spacing-md);
	letter-spacing: -0.02em;
}

.content-wrapper h2 .highlight,
.content-wrapper h2 strong {
	color: var(--color-accent);
}

.content-wrapper h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	color: var(--color-white);
	margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.content-wrapper a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition);
	border-bottom: 1px solid transparent;
}

.content-wrapper a:hover {
	color: var(--color-white);
	border-bottom-color: var(--color-primary);
}

/* Modern Section Headers */
.section-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-primary);
	font-weight: 600;
	margin-bottom: var(--spacing-sm);
	display: block;
}

/* Modern Sections */
.modern-section {
	margin: var(--spacing-xl) 0;
	padding: var(--spacing-lg) 0;
}

.modern-section h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: var(--color-text);
	margin: var(--spacing-sm) 0 var(--spacing-md);
	letter-spacing: -0.02em;
}

.modern-section h2 strong {
	color: var(--color-accent);
}

.modern-section > p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: var(--spacing-lg);
	max-width: 800px;
}

.modern-section-alt {
	background: transparent;
	border-radius: 0;
	padding: var(--spacing-xl);
	margin: var(--spacing-xl) 0;
}

.cta-section {
	text-align: center;
	margin: var(--spacing-xl) 0;
}

/* Feature Cards Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width), 1fr));
	gap: var(--grid-gap);
	margin: var(--spacing-lg) 0;
}

.feature-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: var(--spacing-md);
	transition: var(--card-transition);
	box-shadow: none;
}

.feature-card:hover {
	background: transparent;
	border: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

/**
 * Decorative icons and pseudo-elements
 * 
 * NOTE: These are decorative elements. In HTML, ensure parent elements
 * have aria-hidden="true" so screen readers skip them.
 * 
 * Example:
 * <div class="feature-card-icon" aria-hidden="true"></div>
 * <ul class="option-features" aria-label="Features list">
 *   <li>...</li> <!-- ::before pseudo-element is decorative -->
 * </ul>
 */

.feature-card-icon {
	width: 60px;
	height: 60px;
	background: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--spacing-md);
	font-size: 1.5rem;
}

.feature-card h3 {
	font-size: 1.5rem;
	margin: 0 0 var(--spacing-sm);
	color: var(--color-text);
}

.feature-card p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-light);
	margin: 0;
}

/* Numbered List Items */
.numbered-list {
	list-style: none;
	padding: 0;
	margin: var(--spacing-lg) 0;
	counter-reset: item;
}

.numbered-list li {
	counter-increment: item;
	padding-left: 5rem;
	position: relative;
	margin-bottom: var(--spacing-lg);
	/* Use min-height for consistent spacing, but allow content to expand */
	min-height: 4rem;
	/* Ensure proper vertical alignment for multi-line content */
	display: flex;
	align-items: flex-start;
}

.numbered-list li::before {
	content: counter(item, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1;
}

.numbered-list li h3 {
	margin-top: 0;
	font-size: 1.5rem;
	color: var(--color-text);
}

.numbered-list li p {
	font-size: 1rem;
	color: var(--color-text-light);
}

/* Custom Page Template */

.custom-page-content {
	margin: 0;
	padding: 60px 0;
}

.custom-page-content .page-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 2rem;
	text-align: center;
	letter-spacing: -0.02em;
}

.custom-page-content .entry-content {
	font-size: var(--font-size-large);
	line-height: var(--line-height-loose);
	color: #333;
	max-width: 900px;
	width: 90%; /* Prevent overflow on mobile */
	padding: 0 var(--spacing-sm);
	box-sizing: border-box;
	margin: 0 auto;
}

/* Service Pages Styling */
.services-page {
	padding: 80px 0;
	background-color: transparent;
}

.service-page {
	margin: 0;
	padding: 0;
}

/* Service content area - editable in WordPress admin */
.service-content {
	max-width: 900px;
	width: 90%; /* Prevent overflow on mobile */
	padding: 0 var(--spacing-sm);
	box-sizing: border-box;
	margin: 0 auto;
}

.service-content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin: 3rem 0 1.5rem;
	letter-spacing: -0.02em;
}

.service-content h3 {
	font-size: 1.8rem;
	font-weight: 600;
	color: #333;
	margin: 2rem 0 1rem;
}

.service-content h4 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin: 1.5rem 0 1rem;
}

.service-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
	margin-bottom: 1.5rem;
}

.service-content ul,
.service-content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.service-content li {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
	margin-bottom: 0.75rem;
}

.service-content strong {
	font-weight: 600;
	color: #333;
}

.service-content a {
	color: var(--color-primary);
	text-decoration: none;
}

.service-content a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

.service-header {
	margin-bottom: 60px;
	text-align: center;
}

.service-main-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.service-subtitle {
	font-size: 1.5rem;
	color: #666;
	font-weight: 400;
	margin: 0;
}

.service-intro {
	max-width: 900px;
	margin: 0 auto 60px;
	width: 90%; /* Prevent overflow on mobile */
	padding: 0 var(--spacing-sm);
	box-sizing: border-box;
}

.lead-text {
	font-size: 1.3rem;
	line-height: 1.8;
	color: #333;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.service-intro p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
	margin-bottom: 1.5rem;
}

/* Section Titles */
.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 2rem;
	letter-spacing: -0.02em;
}

/* Feature Sections */
.service-features {
	margin-bottom: 60px;
}

.feature-section {
	margin-bottom: 40px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.feature-title {
	font-size: 1.8rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1rem;
}

.feature-section p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
}

/* Options Grid (DIA Access Options) */
.options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width), 1fr));
	gap: var(--grid-gap);
	margin-bottom: 40px;
}

.option-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 30px;
	transition: var(--card-transition);
}

.option-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: none;
}

.option-card:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

.option-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1rem;
}

.option-description {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 1.5rem;
}

.option-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.option-features li {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #555;
	padding-left: 25px;
	position: relative;
	margin-bottom: 0.5rem;
}

.option-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: bold;
}

.resilience-note {
	font-size: 1rem;
	line-height: 1.8;
	color: #666;
	text-align: center;
	font-style: italic;
	margin-top: 30px;
}

/* Process Steps */
.process-steps {
	list-style: none;
	padding: 0;
	margin: 0 0 60px;
	counter-reset: step-counter;
}

.process-steps li {
	counter-increment: step-counter;
	padding-left: 60px;
	position: relative;
	/* Ensure proper vertical alignment for multi-line content */
	min-height: 40px; /* Match counter height */
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
}

.process-steps li::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	/* Ensure consistent vertical alignment for multi-line items */
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 0.25em;
	background: var(--color-primary);
	color: var(--color-bg-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem;
}

/* Tiers Grid (WiFi Services) */
.tiers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width), 1fr));
	gap: var(--grid-gap);
	margin-bottom: 60px;
}

.tier-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 30px;
	transition: var(--card-transition);
}

.tier-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tier-card:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

.tier-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.5rem;
}

.tier-included {
	font-size: 0.9rem;
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tier-description {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Stats Grid */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width-small), 1fr));
	gap: var(--grid-gap);
	margin: 40px 0;
}

.stat-item {
	text-align: center;
	padding: 20px;
	background: transparent;
	border: none;
	border-radius: 0;
}

.stat-number {
	display: block;
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}

.stat-label {
	display: block;
	font-size: 0.95rem;
	color: #666;
	line-height: 1.4;
}

/* Use Cases */
.use-cases {
	margin-top: 60px;
}

.use-case-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 30px;
	margin-bottom: 30px;
}

.use-case-title {
	font-size: 1.8rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1.5rem;
}

.use-case-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.use-case-features li {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
	padding-left: 25px;
	position: relative;
	margin-bottom: 1rem;
}

.use-case-features li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 1;
}

/* Solution Features */
.solution-intro {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
	margin-bottom: 1.5rem;
}

.solution-features {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
}

.solution-features li {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
	padding-left: 25px;
	position: relative;
	margin-bottom: 0.75rem;
}

.solution-features li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: bold;
}

/* Infrastructure Features Grid */
.infrastructure-services {
	margin-top: 60px;
}

.infra-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width), 1fr));
	gap: var(--grid-gap);
}

.infra-feature {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 30px;
	transition: var(--card-transition);
}

.infra-feature:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.infra-feature:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

.infra-feature-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 1rem;
}

.infra-feature p {
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Decorative Elements - Presentation Template Style (#f4f4ef) */
.decorative-squiggle {
	position: absolute;
	width: 100%;
	height: auto;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
	object-fit: cover;
}

/* Squiggles on cream background */
.site-main .decorative-squiggle {
	opacity: 1;
}

/* Squiggles on black background (homepage) */
/* Decorative squiggle uses default opacity */

.decorative-squiggle-top {
	top: -80px;
	left: 0;
	height: 200px;
}

.decorative-squiggle-bottom {
	bottom: -80px;
	right: 0;
	height: 200px;
	transform: rotate(180deg);
}

/* Center line removed */
.site-main {
	position: relative;
}

.site-main::before {
	display: none; /* Center green line removed */
}

/* Posts */
.post {
	margin-bottom: 80px;
	padding-bottom: 60px;
	border-bottom: 1px solid #e0e0d0; /* Lighter border for cream background */
	position: relative;
	padding-left: 40px;
	padding-right: 40px;
}

/* Layout styling - Presentation template inspired */
.post-content-wrapper {
	position: relative;
}

.post:last-child {
	border-bottom: none;
}

.entry-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.entry-title a {
	text-decoration: none;
	color: #333;
}

.entry-title a:hover {
	color: var(--color-primary); /* Green accent on hover */
}

.entry-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.entry-content {
	margin-top: 1.5rem;
	font-size: var(--font-size-large);
	line-height: var(--line-height-loose);
	max-width: 900px;
	width: 90%; /* Prevent overflow on mobile */
	padding: 0 var(--spacing-sm);
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #000000;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	overflow-x: hidden;
}

.footer-split {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
}

.footer-left {
	width: 50%;
	background-color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	overflow: hidden;
}

.footer-logo {
	padding: var(--spacing-lg);
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-tc-logo {
	width: 100%;
	height: auto;
	max-width: none;
	display: block;
	transform: scale(1.7);
}

.footer-right {
	width: 50%;
	background-color: #000000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0 var(--spacing-lg) var(--spacing-lg) 0;
	min-height: 100%;
	overflow-x: hidden;
}

.footer-navigation {
	flex: 1;
	margin-bottom: var(--spacing-md);
	padding-left: 30px;
}

.footer-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-menu-list li {
	margin: 0;
	padding: 0;
	position: relative;
}

.footer-menu-list li::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -30px;
	right: calc(-50vw + 50% - var(--spacing-lg));
	height: 1px;
	background-color: #ffffff;
}

.footer-menu-list li:last-child::after {
	display: none;
}

.footer-menu-list a {
	display: block;
	text-decoration: none;
	color: var(--color-white);
	font-weight: 600;
	font-size: 2.7rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
	padding: clamp(1rem, 2vw, 1.25rem) 0;
	transition: var(--transition);
	position: relative;
	white-space: nowrap;
}

.footer-menu-list li:hover {
	background-color: #ffffff;
	margin-left: -30px;
	margin-right: calc(-50vw + 50% - var(--spacing-lg));
	padding-left: 30px;
	padding-right: calc(50vw - 50% + var(--spacing-lg));
}

.footer-menu-list li:hover::after {
	display: none;
}

.footer-menu-list li:hover a,
.footer-menu-list a:focus {
	color: #000000;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: auto;
	padding-top: 1rem;
	padding-left: 30px;
	line-height: 1.6;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-white);
}

.footer-copyright,
.footer-company-reg,
.footer-address {
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}

.footer-address {
	width: 100%;
	flex-basis: 100%;
	line-height: 1.6;
	margin-top: 0.5rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
	color: var(--color-white);
	font-size: 1.1rem;
	margin-bottom: var(--spacing-md);
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 0.75rem;
}

.footer-section a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: var(--transition);
}

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

.site-info {
	text-align: center;
	padding-top: var(--spacing-md);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.875rem;
}

/* Links */
a {
	color: var(--color-primary);
	transition: var(--transition);
}

a:hover {
	color: var(--color-primary-dark);
	text-decoration: none;
}

/* Homepage links use default styling */

/* Read more links */
.read-more {
	color: var(--color-primary);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.read-more::after {
	content: '→';
	transition: var(--transition);
}

.read-more:hover::after {
	transform: translateX(4px);
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

/* Selection styles */
::selection {
	background-color: var(--color-primary);
	color: var(--color-white);
}

::-moz-selection {
	background-color: var(--color-primary);
	color: var(--color-white);
}

/* Prevent Chrome scroll anchoring shifting the page when the accordion expands */
.how-we-work-section,
.how-we-work-container,
.how-we-work-accordion,
.how-we-work-step {
	overflow-anchor: none;
}

/* Remove the blue focus ring on mouse click */
.how-we-work-step-title:focus {
	outline: none;
}

/* Newsletter Section */
.newsletter-section {
	position: relative;
	background-color: transparent;
	color: #000000;
	padding: 0;
	width: 100%;
	overflow: hidden;
	overflow-anchor: none;
	min-height: 200px;
}

@media (min-width: 768px) {
	.newsletter-section {
		min-height: 350px;
	}
}

.newsletter-section.theme {
	padding-top: 30px;
	position: relative;
	overflow: hidden;
}

@media (min-width: 768px) {
	.newsletter-section.theme {
		min-height: 280px;
	}
}

.newsletter-section.theme .newsletter-squiggle-bg {
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	height: 100%;
	min-height: 100%;
	width: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	clip-path: inset(0);
}
.newsletter-squiggle {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	object-position: center top;
	overflow: hidden;
}

/* Newsletter section in about page wrapper */
.about-page-wrapper .newsletter-section.theme {
	margin-top: 0;
	width: 100%;
}



.newsletter-container {
	max-width: 100%;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
	position: relative;
	z-index: 1;
	background-color: transparent;
}

.newsletter-header {
	margin-bottom: 2rem;
	overflow: hidden;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 0;
	z-index: 1;
}

.newsletter-scroll-content {
	display: flex;
	gap: 4rem;
	animation: scroll-newsletter linear var(--animation-duration, 30s) infinite;
	will-change: transform;
	width: 100%;
	position: relative;
	z-index: 1;
}

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

.newsletter-scroll-list {
	display: flex;
	gap: 4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	align-items: center;
}

.newsletter-scroll-list li {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.newsletter-scroll-text {
	display: block;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	color: #000000;
	line-height: 1.2;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.newsletter-scroll-word-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.newsletter-scroll-word {
	position: relative;
	z-index: 2;
	display: inline-block;
}

.newsletter-scroll-squiggle {
	position: absolute;
	top: 50%;
	left: 0;
	width: 90%;
	height: 0.45em;
	min-height: 30px;
	max-height: 45px;
	z-index: 1;
	pointer-events: none;
	transform: translateY(-50%);
	overflow: visible;
}

.newsletter-signup {
	padding-top: 2rem;
	text-align: center;
	background-color: transparent;
	position: relative;
	z-index: 2;
}

.newsletter-link-button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: #000000;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	transition: var(--transition);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
}

@media (max-width: 767px) {
	.newsletter-link-button {
		font-size: clamp(1.8rem, 3vw, 1.8rem);
	}

	.newsletter-signup {
		padding-top: 10px;
	}
}

@media (min-width: 768px) {
	.newsletter-link-button {
		font-size: 2.5rem;
	}
}

.newsletter-link-text-wrapper {
	position: relative;
	display: inline-block;
	width: auto;
}

.newsletter-link-text {
	position: relative;
	z-index: 2;
	display: inline-block;
}

.newsletter-link-squiggle {
	position: absolute;
	top: 50%;
	left: 0;
	width: 90%;
	height: 0.45em;
	min-height: 20px;
	max-height: 35px;
	z-index: 1;
	pointer-events: none;
	transform: translateY(-50%);
	overflow: visible;
}

.newsletter-link-button:hover {
	color: rgba(0, 0, 0, 0.8);
}

.newsletter-link-button:hover::after {
	transform: translateX(4px);
}

.newsletter-link-button[aria-expanded="true"]::after {
	transform: rotate(90deg);
}

.newsletter-form-wrap {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 2rem;
	margin-bottom: 32px;
}

.newsletter-form-wrap.newsletter-form-open {
	max-height: 1000px;
	visibility: visible;
	opacity: 1;
	overflow: visible;
}

.newsletter-form {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	padding: 16px 0 1rem;
	max-width: 600px;
	margin: 0 auto;
	align-items: stretch;
}

.newsletter-form-field {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
}

.newsletter-form-field label {
	color: #000000;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.newsletter-form-field input {
	background-color: #ffffff;
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
	color: #000000;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
	padding: 12px 24px;
	font-family: inherit;
	transition: all 0.3s ease;
	width: 100%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	text-align: center;
	height: 100%;
	box-sizing: border-box;
}

.newsletter-form-field input:focus {
	outline: none;
	border-color: rgba(0, 0, 0, 0.3);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form-field input::placeholder {
	color: rgba(0, 0, 0, 0.5);
	text-align: center;
}

.newsletter-submit-button {
	background-color: var(--color-primary-alt);
	color: var(--color-bg-dark);
	border: none;
	padding: 12px 24px;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	height: 100%;
	box-sizing: border-box;
}

.newsletter-submit-button:hover {
	background-color: var(--color-primary-alt);
	color: var(--color-bg-dark);
}

.newsletter-submit-button:hover::after {
	transform: translateX(4px);
}

.newsletter-submit-text {
	display: inline-block;
}

.newsletter-success-message {
	display: none;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 0 1rem;
	max-width: 600px;
	margin: 0 auto;
	animation: fadeIn 0.3s ease-in;
}

.newsletter-success-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--color-primary-alt);
}

.newsletter-success-text {
	color: #000000;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.newsletter-container {
		padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
	}
	
	.newsletter-scroll-content {
		gap: 2rem;
	}
	
	.newsletter-scroll-list {
		gap: 2rem;
	}
	
	.newsletter-scroll-text {
		font-size: clamp(1.8rem, 4vw, 2.5rem);
	}
	
	.newsletter-link-button {
		font-size: clamp(1.8rem, 3vw, 1.8rem);
	}
	
	.newsletter-form {
		flex-direction: column;
		gap: 1.25rem;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.newsletter-form-field input {
		font-size: clamp(1.2rem, 3vw, 1.8rem);
	}
	
	.newsletter-submit-button {
		width: 100%;
		font-size: clamp(1.2rem, 3vw, 1.8rem);
		justify-content: center;
	}
	
	.newsletter-success-message {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.newsletter-success-text {
		font-size: clamp(1.2rem, 3vw, 1.8rem);
	}
}

/* Optional: show a focus ring only for keyboard users */
.how-we-work-step-title:focus-visible {
	outline: 2px solid rgba(0, 0, 0, 0.5);
	outline-offset: 6px;
}

/* Connectivity Page Styles */
/* Make header-left transparent on connectivity page */
body.connectivity-page .header-left,
body.page-connectivity .header-left,
body.page-template-services-php.page-id-6 .header-left,
body.page-template-services-php .header-left:has(+ .header-right ~ main .connectivity-hero) {
	background-color: transparent !important;
}

/* Alternative: Target by connectivity-hero presence */
body:has(.connectivity-hero) .header-left {
	background-color: transparent !important;
}

/* Connectivity Hero Section - 50/50 Split */
.connectivity-hero {
	width: 100vw;
	max-width: 100%;
	min-height: 80vh;
	position: relative;
	margin-top: 0;
	padding-top: 0;
	margin-left: calc(-50vw + 50%); /* Break out of container to full width */
	margin-right: calc(-50vw + 50%); /* Break out of container to full width */
}

.connectivity-hero-split {
	display: flex;
	width: 100%;
	min-height: 80vh;
	/* Ensure 50/50 split matches header */
	margin: 0;
	padding: 0;
}

.connectivity-hero-left {
	width: 50%;
	flex-shrink: 0;
	background-color: var(--color-primary); /* Yellow box for TuesdayGroup */
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 20px;
	position: relative;
}

.connectivity-hero-content {
	max-width: 600px;
	width: 100%;
}

.connectivity-title {
	font-size: 4.5rem;
	font-weight: 700;
	color: var(--color-bg-dark);
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin: 0 0 var(--spacing-md) 0;
}

.connectivity-subtitle {
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	color: var(--color-bg-dark);
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
	opacity: 0.95;
}

.connectivity-hero-right {
	width: 50%;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.connectivity-hero-image {
	width: 100%;
	height: 100%;
	position: relative;
}

.connectivity-hero-image img,
.connectivity-image {
	width: 100%;
	flex: 1;
	object-fit: cover;
	display: block;
}

.connectivity-video {
	width: 100%;
	flex: 1;
	object-fit: cover;
	display: block;
}

.connectivity-image-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.connectivity-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 80vh;
}

.connectivity-image-top {
	flex: 1;
	background-color: #e0e0e0;
	background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
	                  linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
	                  linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
	                  linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
	background-size: 20px 20px;
	background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

	.connectivity-image-bottom-bar {
		width: 100%;
		height: var(--header-height-large);
		background-color: #000000;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.connectivity-image-bottom-bar-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-left: clamp(2rem, 5vw, 5rem);
	padding-right: clamp(1.5rem, 4vw, 4rem);
	padding-top: 0;
	padding-bottom: 0;
	width: 100%;
	height: 100%;
}

/* Connectivity Services Section - 5 boxes */
.connectivity-services-section {
	background-color: #fafafa;
	color: #000;
	padding: 40px 0 0 0;
	width: 100%;
	position: relative;
}

.connectivity-services-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	position: relative;
}

/* Infrastructure page - 3 columns full width */
.infrastructure-services-grid {
	grid-template-columns: repeat(3, 1fr) !important;
}

.connectivity-services-grid .service-box {
	padding: 20px clamp(1rem, 2vw, 2rem);
	min-height: auto;
	font-size: clamp(0.875rem, 1.2vw, 1rem);
	align-items: center;
	text-align: center;
}

.connectivity-services-grid .service-box-title {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	gap: 0.5rem;
	justify-content: center;
}

.connectivity-services-grid .service-box-5 {
	background-color: #d8dbca;
	color: #333;
}

/* Connectivity page content spacing */
.connectivity-page .site-container {
	margin-top: 0;
	padding-top: 0;
}

/* Adjust main element for connectivity page - account for 130px header */
/* Body has padding-top: 80px (for default header), but header is 130px, so override and set main margin */
body.connectivity-page,
body:has(.connectivity-hero) {
	padding-top: 0 !important; /* Remove default 80px padding */
}

	.connectivity-page .site-main,
	body:has(.connectivity-hero) .site-main {
		padding: 0 !important;
		margin-top: var(--header-height-large) !important; /* Account for fixed header */
	}

/* When WordPress admin bar is present, WordPress may add padding to html/body */
/* Override any WordPress default admin bar padding for connectivity page */
html.admin-bar body.connectivity-page,
html.admin-bar body:has(.connectivity-hero) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Override any WordPress admin bar padding for connectivity page */
/* WordPress adds padding-top to html when admin-bar is present - override it */
html.admin-bar body.connectivity-page,
html.admin-bar body:has(.connectivity-hero) {
	/* WordPress may add padding via inline styles - we handle spacing in main element */
}

/* Ensure html doesn't have padding that would affect positioning */
html.admin-bar.connectivity-page,
html.admin-bar:has(body:has(.connectivity-hero)) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Ensure main still starts at 130px even with admin bar */
body.admin-bar.connectivity-page .site-main,
body.admin-bar:has(.connectivity-hero) .site-main {
	margin-top: 130px !important; /* Header is 130px, admin bar overlays it at top */
}

/* Remove any pseudo-elements that might add spacing */
.connectivity-page .site-main::before,
body:has(.connectivity-hero) .site-main::before {
	display: none !important;
	content: none !important;
}

/* Ensure connectivity hero starts right after header */
.connectivity-page .connectivity-hero,
body:has(.connectivity-hero) .connectivity-hero {
	margin-top: 0;
	padding-top: 0;
}

/* Responsive styles for connectivity hero */
@media (max-width: 768px) {
	body.connectivity-page,
	body:has(.connectivity-hero) {
		padding-top: 0 !important;
	}
	
	.connectivity-page .site-main,
	body:has(.connectivity-hero) .site-main {
		margin-top: 0 !important; /* No space between header and green content */
	}
	
	/* When WordPress admin bar is present, header is still 130px (admin bar overlays it) */
	body.admin-bar.connectivity-page .site-main,
	body.admin-bar:has(.connectivity-hero) .site-main {
		margin-top: 0 !important; /* No space between header and green content */
	}
	
	.connectivity-hero {
		margin-top: 0;
		padding-top: 0;
		min-height: auto;
		position: relative;
		overflow: hidden;
	}
	
	.connectivity-hero-split {
		flex-direction: column;
		min-height: auto;
		margin-top: var(--header-height-large); /* Account for fixed header */
		position: relative;
		height: calc(100vh - var(--header-height-large)); /* Full viewport height minus header */
		min-height: calc(100vh - var(--header-height-large));
		max-height: calc(100vh - var(--header-height-large));
	}
	
	.connectivity-hero-left {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: transparent; /* Remove green background on mobile */
		z-index: 2;
		display: flex;
		align-items: center; /* Vertically center the text */
		justify-content: flex-start;
		padding: 0 clamp(1.5rem, 5vw, 5rem);
		min-height: auto;
	}
	
	.connectivity-hero-right {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		min-height: 100%;
		max-height: 100%;
	}
	
	.connectivity-hero-image {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		min-height: 100%;
		max-height: 100%;
	}
	
	.connectivity-image-wrapper {
		width: 100%;
		height: 100%;
		position: relative;
		min-height: 100%;
		max-height: 100%;
	}
	
	.connectivity-video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		min-height: 100%;
		max-height: 100%;
	}
	
	.connectivity-image-bottom-bar {
		display: none; /* Hide bottom bar on mobile */
	}
	
	.connectivity-title {
		font-size: 3.5rem;
		margin: 0; /* Remove any margins that might push text down */
	}
	
	.connectivity-hero-content {
		margin: 0; /* Ensure no margins on content wrapper */
	}
	
	.connectivity-image-placeholder {
		min-height: 50vh;
	}
	
	.connectivity-image-bottom-bar-inner {
		padding-left: clamp(1.5rem, 4vw, 2rem);
		padding-right: clamp(1.5rem, 4vw, 2rem);
	}
	
	/* Connectivity services grid - responsive */
	.connectivity-services-grid {
		grid-template-columns: 1fr !important;
	}
	
	.connectivity-services-grid .service-box {
		width: 100% !important;
	}
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	
	.service-popup,
	.service-popup-content,
	.how-we-work-step-body-wrap {
		transition: none !important;
		transform: none !important;
	}
	
	.hero-video {
		animation: none !important;
	}
	
	.logo-wheel-content {
		animation: none !important;
	}
}

/* Focus visible styles for all interactive elements */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Remove focus outlines from buttons on homepage and connectivity page */
body.home button:focus,
body.home button:focus-visible,
body.home a:focus,
body.home a:focus-visible,
body.home [role="button"]:focus,
body.home [role="button"]:focus-visible,
body.connectivity-page button:focus,
body.connectivity-page button:focus-visible,
body.connectivity-page a:focus,
body.connectivity-page a:focus-visible,
body.connectivity-page [role="button"]:focus,
body.connectivity-page [role="button"]:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

/* Specific button classes on homepage and connectivity page */
body.home .hero-btn:focus,
body.home .hero-btn:focus-visible,
body.home .cta-split-link:focus,
body.home .cta-split-link:focus-visible,
body.home .service-popup-button:focus,
body.home .service-popup-button:focus-visible,
body.home .how-we-work-step-title:focus,
body.home .how-we-work-step-title:focus-visible,
body.home .newsletter-link-button:focus,
body.home .newsletter-link-button:focus-visible,
body.home .newsletter-submit-button:focus,
body.home .newsletter-submit-button:focus-visible,
body.connectivity-page .cta-split-link:focus,
body.connectivity-page .cta-split-link:focus-visible,
body.connectivity-page .service-popup-button:focus,
body.connectivity-page .service-popup-button:focus-visible,
body.connectivity-page .how-we-work-step-title:focus,
body.connectivity-page .how-we-work-step-title:focus-visible,
body.connectivity-page .newsletter-link-button:focus,
body.connectivity-page .newsletter-link-button:focus-visible,
body.connectivity-page .newsletter-submit-button:focus,
body.connectivity-page .newsletter-submit-button:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

/* Connectivity / Network / Infrastructure "What we do" section – force black text and accordion dividers */
body.connectivity-page .how-we-work-section .how-we-work-heading,
body.connectivity-page .how-we-work-section .how-we-work-lead,
body.connectivity-page .how-we-work-section .how-we-work-step-title,
body.connectivity-page .how-we-work-section .how-we-work-step-body,
body.page-infrastructure .how-we-work-section .how-we-work-heading,
body.page-infrastructure .how-we-work-section .how-we-work-lead,
body.page-infrastructure .how-we-work-section .how-we-work-step-title,
body.page-infrastructure .how-we-work-section .how-we-work-step-body {
	color: var(--color-bg-dark) !important;
}
body.connectivity-page .how-we-work-section .how-we-work-step,
body.page-infrastructure .how-we-work-section .how-we-work-step {
	border-top-color: rgba(0, 0, 0, 0.2) !important;
}
body.connectivity-page .how-we-work-section .how-we-work-step:first-child,
body.page-infrastructure .how-we-work-section .how-we-work-step:first-child {
	border-top: none;
}

/* Extreme viewport width handling */
/* Mobile grid adjustments */
@media (max-width: 768px) {
	.features-grid,
	.infra-features-grid,
	.tiers-grid {
		grid-template-columns: 1fr;
		gap: var(--grid-gap-mobile);
	}
	
	.card-base {
		padding: var(--card-padding-mobile);
	}
	
	/* Service popup mobile adjustments */
	.service-popup.is-open .service-popup-content {
		padding: 10px var(--popup-padding-mobile) 20px;
		margin-top: 0 !important;
	}
	
	.service-popup-description {
		font-size: 1.1rem;
		margin-bottom: 0;
	}

	.service-box {
		min-height: 130px;
	}

	.service-box-text {
		font-size: clamp(34px, 3.6vw, 64px);
		font-weight: 800;
	}

	.service-box.is-active {
		border: none !important;
		border-bottom: none !important;
		border-top: none !important;
		box-shadow: none !important;
		outline: none !important;
	}

	.service-box {
		border: none !important;
		border-bottom: none !important;
		border-top: none !important;
	}

	.service-box-1 {
		padding-top: 30px !important;
		padding-bottom: 30px !important;
	}

	.service-popup {
		border: none !important;
		border-top: none !important;
		border-bottom: none !important;
	}

	.service-popup.is-open {
		border: none !important;
		border-top: none !important;
		border-bottom: none !important;
		margin-top: -1px !important; /* Move up 1px to cover white line */
	}

	/* Ensure service-specific background colors show on mobile */
	.service-popup[data-service="connectivity"].is-open,
	.service-popup.service-box-1.is-open {
		background-color: #d8dbca !important;
	}

	.service-popup[data-service="infrastructure"].is-open,
	.service-popup.service-box-2.is-open,
	.service-popup.service-box-infrastructure.is-open {
		background-color: var(--color-primary-alt) !important;
	}

	.service-popup[data-service="network"].is-open,
	.service-popup.service-box-3.is-open {
		background-color: #d8dbca !important;
	}

	.service-popup[data-service="mobile"].is-open,
	.service-popup.service-box-4.is-open {
		background-color: var(--color-primary-alt) !important;
	}

	.service-popup[data-service="satellite"].is-open,
	.service-popup.service-box-5.is-open {
		background-color: #d8dbca !important;
	}

	.service-popup-content {
		background: transparent !important;
	}

	.service-box-title {
		border: none !important;
		border-bottom: none !important;
		border-top: none !important;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	.service-box.is-active .service-box-title {
		border: none !important;
		border-bottom: none !important;
		border-top: none !important;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
		box-shadow: none !important;
	}

	.service-box.is-active .service-box-title::before {
		display: none !important;
		content: none !important;
	}

	.service-popup-description {
		border: none !important;
		border-top: none !important;
		border-bottom: none !important;
	}

	.service-popup-content {
		border: none !important;
		border-top: none !important;
		border-bottom: none !important;
	}

	.service-box.is-active + .service-popup,
	.service-popup.is-open {
		border: none !important;
		border-top: none !important;
		border-bottom: none !important;
		margin-top: -1px !important; /* Move up 1px to cover white line */
	}

	.services-grid {
		gap: 0 !important;
	}

	.service-box.is-active {
		margin-bottom: 0 !important;
		padding-bottom: 30px !important;
		box-shadow: none !important;
		outline: none !important;
		border: none !important;
		border-bottom: none !important;
		border-top: none !important;
	}

	/* Ensure arrow rotates correctly */
	.service-box.is-active .service-box-title::after {
		display: inline-block !important;
		transform: rotate(90deg) !important;
	}
	
	.service-box:not(.is-active) .service-box-title::after {
		transform: rotate(0deg) !important;
	}

	/* Remove any line/separator - target all possible sources */
	.service-box.is-active,
	.service-box.is-active * {
		border-bottom: none !important;
	}

	.service-popup,
	.service-popup * {
		border-top: none !important;
	}

	/* Remove line between service-box and popup - make them appear as one block */
	.service-box.is-active {
		border-bottom: none !important;
		margin-bottom: 0 !important;
		padding-bottom: 30px !important;
	}

	.service-box.is-active + .service-popup {
		border-top: none !important;
		margin-top: -1px !important; /* Move up 1px to cover white line */
		padding-top: 0 !important;
	}

	/* Ensure the popup content starts immediately with no gap */
	.service-box.is-active + .service-popup.is-open .service-popup-content {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	.service-popup.is-open {
		border-top: 0 !important;
	}

	.service-popup.is-open .service-popup-content {
		border-top: 0 !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	.service-popup::before,
	.service-popup::after {
		display: none !important;
		content: none !important;
	}

	.service-popup.is-open::before,
	.service-popup.is-open::after {
		display: none !important;
		content: none !important;
	}

	/* Remove any visual separator between service-box and popup */
	.service-box.is-active {
		border-bottom: none !important;
	}

	.service-box.is-active + .service-popup {
		border-top: none !important;
		margin-top: -1px !important; /* Move up 1px to cover white line */
		padding-top: 0 !important;
	}

	/* Ensure no gap or line between box and popup content */
	.services-grid .service-box.is-active + .service-popup {
		margin-top: -1px !important; /* Move up 1px to cover white line */
	}

	.service-popup.is-open .service-popup-content {
		border-top: none !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
}

@media (max-width: 320px) {
	.service-popup.is-open .service-popup-content {
		padding-left: var(--popup-padding-mobile);
		padding-right: var(--popup-padding-mobile);
	}
	
	.cta-split-left-inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	/* Ensure grids don't overflow on very small screens */
	.features-grid,
	.infra-features-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 2560px) {
	.service-popup.is-open .service-popup-content {
		padding-left: 5rem;
		padding-right: 5rem;
	}
}

/* About Page Wrapper */
.about-page-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Contact Page Styles */
.contact-main-section {
	background-color: #fafafa;
	padding: 0 0 40px 0;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	position: relative;
	box-sizing: border-box;
}

.contact-main-container {
	padding: 0;
	max-width: 100%;
}

.contact-main-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-form-wrapper {
	text-align: left;
	padding-top: 18px;
	padding-left: 0;
	padding-right: 100px;
	margin-top: 0;
	margin-left: 73.500px;
	width: 100%;
	box-sizing: border-box;
}

.contact-form {
	/* Ensure no background, padding, border-radius, or box-shadow */
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.contact-info-wrapper {
	padding: 37px 0 0 0;
	margin-top: 0;
	margin-bottom: 0;
	position: static;
	overflow: visible;
}

.contact-form-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	padding: 19px 0 22px 0;
	color: #333;
	text-align: left;
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.contact-info-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 28px 0;
	color: #333;
	text-align: left;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	max-width: 500px;
	margin: 0 auto;
	margin-left: 0px;
}

.contact-info-item {
	display: flex;
	gap: 15px;
}

.contact-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--color-primary);
	margin-top: 2px;
}

.contact-details h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
}

.contact-details p {
	margin: 0;
	line-height: 1.5;
	color: #666;
}

.contact-details a {
	color: var(--color-primary);
	text-decoration: none;
}

.contact-details a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

/* Form Styles */
.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact-form .form-group {
	margin-bottom: 0;
}

.contact-form .form-group:last-child {
	margin-bottom: 0;
}

.contact-form .form-group:has(.btn-submit) {
	padding-top: 20px;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
	text-align: left;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e1e1e1;
	border-radius: 4px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #0066cc;
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.btn-submit {
	background-color: var(--color-primary);
	color: var(--color-bg-dark);
	border: none;
	padding: 14px 30px;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.btn-submit:hover {
	background-color: var(--color-primary-dark);
	color: var(--color-bg-dark);
}

.required {
	color: #dc3545;
}

.form-message {
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: 4px;
	font-weight: 500;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
	.contact-main-section {
		overflow: visible;
		padding-bottom: 0px;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.about-page-wrapper .newsletter-section.theme {
		margin-top: 0;
	}

	.contact-main-wrapper {
		display: flex;
		flex-direction: column;
		gap: 40px;
		overflow: visible;
		margin: 0;
		padding: 0;
	}

	body.page-about .contact-main-wrapper {
		gap: 0px;
	}

	body.page-about .contact-info-wrapper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.page-about .about-intro {
		margin-bottom: 0 !important;
	}

	body.page-about .contact-form-heading {
		font-size: 3.5rem !important;
	}

	.contact-form-wrapper {
		width: 100%;
		order: 1;
		padding-left: 27.540px;
		padding-right: 27.540px;
		margin-left: 0;
	}

	.contact-main-container {
		padding: 0;
		overflow: visible;
		max-width: 100%;
		margin: 0;
	}

	.contact-info-wrapper {
		width: 100%;
		order: 2;
		position: relative;
		overflow: visible;
		margin: 0;
		padding-left: 27.540px !important;
		padding-right: 27.540px !important;
	}

	.why-choose-us-accordion {
		position: relative;
		width: calc(100vw - 55.08px);
		margin-left: calc(-50vw + 50% + 27.540px);
		margin-right: calc(-50vw + 50% + 27.540px);
		right: auto;
		top: auto;
		left: auto;
		transform: none;
		max-width: none;
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	body.contact-page .contact-info-item:last-child,
	body:has(.contact-hero-section) .contact-info-item:last-child {
		margin-bottom: 20px;
	}

	.contact-form-wrapper {
		text-align: left;
	}

	.contact-form .form-group {
		margin-bottom: 20px;
	}

	.contact-form .form-group:last-child {
		margin-bottom: 0;
	}

	.contact-form .form-group:has(.btn-submit) {
		padding-top: 0;
		margin-top: 20px;
	}

	.contact-info-wrapper {
		padding-left: 27.540px !important;
		padding-right: 27.540px !important;
		padding-top: 0 !important;
		padding-bottom: 30px !important;
	}
}

/* About Page Styles */
.about-content {
	line-height: 1.6;
}

/* Privacy Policy Page Styles */
.privacy-policy-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
}

.privacy-policy-content .entry-header {
	margin-bottom: 40px;
}

.privacy-policy-content .entry-title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
}

.privacy-policy-content .entry-content {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
}

.privacy-policy-content .privacy-section {
	margin-bottom: 40px;
}

.privacy-policy-content .privacy-section h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #333;
	margin-top: 0;
	margin-bottom: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.privacy-policy-content .privacy-section:first-child h2 {
	border-top: none;
	padding-top: 0;
}

.privacy-policy-content .privacy-section h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #333;
	margin-top: 25px;
	margin-bottom: 15px;
}

.privacy-policy-content .privacy-section p {
	margin-bottom: 15px;
}

.privacy-policy-content .privacy-section ul {
	margin: 15px 0 15px 30px;
	padding: 0;
}

.privacy-policy-content .privacy-section ul li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.privacy-policy-content .privacy-section a {
	color: var(--color-primary-alt);
	text-decoration: underline;
}

.privacy-policy-content .privacy-section a:hover {
	color: #7aa865;
}

@media (max-width: 768px) {
	.privacy-policy-content {
		padding: 20px 15px;
	}

	.privacy-policy-content .privacy-section {
		margin-bottom: 30px;
	}

	.privacy-policy-content .privacy-section h2 {
		font-size: 1.5rem;
	}

	.privacy-policy-content .privacy-section h3 {
		font-size: 1.1rem;
	}
}

/* Terms and Conditions Page Styles */
.terms-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
}

.terms-content .entry-header {
	margin-bottom: 40px;
}

.terms-content .entry-title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
}

.terms-content .entry-content {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
}

.terms-content .terms-section {
	margin-bottom: 40px;
}

.terms-content .terms-section h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #333;
	margin-top: 0;
	margin-bottom: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.terms-content .terms-section:first-child h2 {
	border-top: none;
	padding-top: 0;
}

.terms-content .terms-section h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #333;
	margin-top: 25px;
	margin-bottom: 15px;
}

.terms-content .terms-section p {
	margin-bottom: 15px;
}

.terms-content .terms-section ul {
	margin: 15px 0 15px 30px;
	padding: 0;
}

.terms-content .terms-section ul li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.terms-content .terms-section a {
	color: var(--color-primary-alt);
	text-decoration: underline;
}

.terms-content .terms-section a:hover {
	color: #7aa865;
}

@media (max-width: 768px) {
	.terms-content {
		padding: 20px 15px;
	}

	.terms-content .terms-section {
		margin-bottom: 30px;
	}

	.terms-content .terms-section h2 {
		font-size: 1.5rem;
	}

	.terms-content .terms-section h3 {
		font-size: 1.1rem;
	}
}

.about-intro {
	margin-bottom: 40px;
}

.about-lead {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.6;
	color: #000000;
	margin-bottom: 1.5rem;
}

.about-intro p:not(.about-lead) {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.6;
	color: #000000;
	margin-bottom: 0;
}

.about-section {
	margin-bottom: 40px;
}

.about-section h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 20px 0;
	color: #333;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 10px;
}

.about-section p {
	margin-bottom: 20px;
	color: #555;
}

.mission-statement {
	font-size: 1.1rem;
	font-weight: 500;
	font-style: italic;
	color: #0066cc;
	background: rgba(0, 102, 204, 0.05);
	padding: 20px;
	border-left: 4px solid #0066cc;
	margin-bottom: 20px;
}

.about-cta {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	margin-top: 40px;
}

.about-cta p {
	font-size: 1.1rem;
	margin-bottom: 0;
	color: #333;
}

.about-cta a {
	color: #0066cc;
	font-weight: 600;
	text-decoration: none;
}

.about-cta a:hover {
	text-decoration: underline;
}

.about-values {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.value-item {
	padding: 25px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border-left: 4px solid #0066cc;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.value-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.value-content {
	flex: 1;
}

.value-item h4 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.value-item p {
	margin: 0;
	line-height: 1.5;
	color: #666;
}

/* Why Choose Us Accordion - Same layout as How we work, 50% width aligned with Case Studies */
.why-choose-us-accordion {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 50vw;
	position: absolute;
	right: 0;
	top: 0;
	margin: 0;
	box-sizing: border-box;
}

.why-choose-us-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--color-white);
	padding: 18px clamp(1.5rem, 5vw, 5rem) 22px 27.540px;
	background-color: var(--color-primary-alt);
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.why-choose-us-step {
	border-top: 1px solid rgba(255, 255, 255, 0.55);
	display: flex;
	flex-direction: column;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
	background-color: var(--color-primary-alt);
}

.why-choose-us-step:first-child {
	border-top: none;
}

.why-choose-us-step-title {
	padding: 18px clamp(1rem, 3vw, 2.5rem) 22px 27.540px;
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 3.6vw, 64px);
	letter-spacing: -0.02em;
	color: var(--color-white);
	display: block;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	width: 100%;
	transition: opacity 0.2s ease;
	margin: 0;
	position: relative;
}

.why-choose-us-step-body-wrap {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
	opacity: 0;
	padding: 0;
	margin: 0;
	order: 2;
	/* Height will be set dynamically by JS for smooth animation */
}

.why-choose-us-step.is-active .why-choose-us-step-body-wrap {
	opacity: 1;
}

.why-choose-us-step-body {
	font-size: 18px;
	line-height: 1.55;
	width: 100%;
	opacity: 0.95;
	color: var(--color-white);
	padding: 0 clamp(1rem, 3vw, 2.5rem) 30px 27.540px;
	margin: 0;
}

/* Remove focus outline on mouse click */
.why-choose-us-step-title:focus {
	outline: none;
}

.why-choose-us-step-title:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.65);
	outline-offset: 6px;
}

/* Mobile: Full width accordion */
@media (max-width: 768px) {
	.why-choose-us-accordion {
		position: relative !important;
		width: 100vw !important;
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
		right: auto !important;
		top: auto !important;
		left: auto !important;
		transform: none !important;
		max-width: none !important;
	}
}

/* ========================================
   Cookie Notice & Consent Banner
   ======================================== */

.cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background-color: var(--color-white);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	max-height: 90vh;
	overflow-y: auto;
}

.cookie-notice-visible {
	transform: translateY(0);
}

.cookie-notice-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--spacing-sm) var(--spacing-md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

.cookie-notice-text {
	margin: 0;
	flex: 1;
	min-width: 250px;
	color: var(--color-text);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

.cookie-notice-text a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-notice-text a:hover,
.cookie-notice-text a:focus {
	color: var(--color-primary-dark);
	text-decoration-thickness: 2px;
}

.cookie-notice-actions {
	display: flex;
	gap: var(--spacing-xs);
	flex-wrap: wrap;
	align-items: center;
}

.cookie-notice-btn {
	padding: 0.625rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--border-radius);
	font-family: "Mona Sans", sans-serif;
	font-size: var(--font-size-base);
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	line-height: 1.4;
	white-space: nowrap;
}

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

.cookie-notice-btn:focus:not(:focus-visible) {
	outline: none;
}

.cookie-notice-accept {
	background-color: var(--color-primary);
	color: var(--color-bg-dark);
	border-color: var(--color-primary);
}

.cookie-notice-accept:hover,
.cookie-notice-accept:focus-visible {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

.cookie-notice-reject,
.cookie-notice-customize {
	background-color: transparent;
	color: var(--color-text);
	border-color: var(--color-text-light);
}

.cookie-notice-reject:hover,
.cookie-notice-reject:focus-visible,
.cookie-notice-customize:hover,
.cookie-notice-customize:focus-visible {
	background-color: var(--color-bg);
	border-color: var(--color-text);
}

/* Cookie Customize Panel */
.cookie-customize {
	background-color: var(--color-bg);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
	opacity: 0;
}

.cookie-customize-visible {
	max-height: 600px;
	opacity: 1;
}

.cookie-customize-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--spacing-md);
}

.cookie-customize-title {
	margin: 0 0 var(--spacing-xs) 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text);
}

.cookie-customize-description {
	margin: 0 0 var(--spacing-md) 0;
	color: var(--color-text-light);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

.cookie-customize-categories {
	margin-bottom: var(--spacing-md);
}

.cookie-category {
	margin-bottom: var(--spacing-sm);
	padding: var(--spacing-sm);
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.cookie-category-label {
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
	cursor: pointer;
	width: 100%;
	font-weight: 500;
	color: var(--color-text);
}

.cookie-category-checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--color-primary);
}

.cookie-category-name {
	flex: 1;
}

.cookie-category-status {
	font-size: var(--font-size-small);
	color: var(--color-text-light);
	font-weight: 400;
}

.cookie-category-description {
	margin: 0;
	font-size: var(--font-size-small);
	color: var(--color-text-light);
	line-height: var(--line-height-base);
}

.cookie-customize-actions {
	display: flex;
	justify-content: flex-end;
	gap: var(--spacing-xs);
}

.cookie-customize-save {
	background-color: var(--color-primary);
	color: var(--color-bg-dark);
	border-color: var(--color-primary);
}

.cookie-customize-save:hover,
.cookie-customize-save:focus-visible {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.cookie-notice-content {
		padding: var(--spacing-sm);
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-notice-text {
		margin-bottom: var(--spacing-xs);
		min-width: auto;
		font-size: var(--font-size-small);
	}

	.cookie-notice-actions {
		width: 100%;
		flex-direction: column;
	}

	.cookie-notice-btn {
		width: 100%;
		justify-content: center;
	}

	.cookie-customize-content {
		padding: var(--spacing-sm);
	}

	.cookie-category-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.cookie-customize-actions {
		flex-direction: column;
	}

	.cookie-customize-save {
		width: 100%;
	}
}

/* ==========================================================================
   ABOUT PAGE - 50/50 Split Layout
   ========================================================================== */

.about-split-section {
	width: 100%;
	overflow: hidden;
}

.about-split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 0;
}

/* Left Column - About Content */
.about-split-left {
	background-color: #fafafa;
	padding: 0 100px 40px 73.5px;
}

.about-split-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	padding: 36px 0 22px 0;
	color: #333;
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.about-split-text {
	line-height: 1.6;
}

.about-split-text p {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.6;
	color: #000000;
	margin-bottom: 1.5rem;
}

/* Right Column - Accordion */
.about-split-right {
	background-color: var(--color-primary-alt, #92c47c);
}

.about-split-accordion {
	display: flex;
	flex-direction: column;
}

.about-split-accordion-heading {
	font-size: clamp(44px, 5vw, 86px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--color-bg-dark);
	padding: 18px clamp(1.5rem, 5vw, 5rem) 22px 27.540px;
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.about-split-accordion-item {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
}

.about-split-accordion-item:first-of-type {
	border-top: none;
}

.about-split-accordion-title {
	padding: 18px clamp(1rem, 3vw, 2.5rem) 22px 27.540px;
	font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 3.6vw, 64px);
	letter-spacing: -0.02em;
	color: var(--color-bg-dark);
	display: block;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	width: 100%;
}

.about-split-accordion-title:hover {
	opacity: 0.9;
}

.about-split-accordion-title:focus {
	outline: none;
}

.about-split-accordion-title:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.65);
	outline-offset: 6px;
}

.about-split-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
	opacity: 0;
}

.about-split-accordion-item.is-active .about-split-accordion-content {
	opacity: 1;
}

.about-split-accordion-body {
	font-size: 18px;
	line-height: 1.55;
	color: var(--color-bg-dark);
	padding: 0 clamp(1rem, 3vw, 2.5rem) 30px 27.540px;
	opacity: 0.95;
}

/* Mobile - Stack vertically */
@media (max-width: 768px) {
	.about-split-grid {
		grid-template-columns: 1fr;
	}

	.about-split-left {
		padding: 20px 27.540px 30px;
	}

	.about-split-heading {
		font-size: 2.5rem;
	}

	.about-split-text p {
		font-size: 1.2rem;
	}

	.about-split-accordion-heading {
		font-size: 2.5rem;
		padding: 15px 20px;
	}

	.about-split-accordion-title {
		font-size: 1.8rem;
		padding: 15px 20px;
	}

	.about-split-accordion-body {
		padding: 0 20px 20px;
		font-size: 16px;
	}
}

/* Screen reader only text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

