/*
Theme Name: Resolved Theme
Author: HC Solutions
Version: 1.0
*/


:root {
	--document-padding: 3em;
	--document-width: 90rem;
	--background-color: #FBF6EF;
	--primary-color: #1A4225;
	--secondary-color: #31AA56;
	--tertiary-color: #3A9656;
	--title-font: Georgia, "Times New Roman", Times, serif;
	--body-font: 'Helvetica', sans-serif;
}

html {
	background-color: var(--background-color);
	font-family: var(--body-font);
	color: var(--primary-color);
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--title-font);
}

p {
	line-height: 1.3rem;
}

h2 {
	font-size: 1.9em;
	line-height: 1.4em;
}
/* H2 with a p tag immediately after */
h2:has(+ p) {
	margin-bottom: 1rem;
}

:root :where(.is-layout-flow) > * {
	margin-block-start: 1rem;
}



/* Absolutely essential classes */

.max-width>*:not(.full-width) {
	max-width: var(--document-width);
	box-sizing: border-box;
}

.no-scroll {
	overflow: hidden;
	height: 100%;
}

.max-width .alignfull {
	max-width: 100%;
}

.center-aligned>* {
	margin-left: auto;
	margin-right: auto;
}

.mobile-only {
	display: block;
}

.desktop-only {
	display: none;
}

article {
	margin-top: 4.5em;
}

footer>*,
article>* {
	box-sizing: border-box;
	margin-inline: var(--document-padding);
	width: calc(100% - (var(--document-padding) * 2));
}

article>*.alignfull {
	margin-inline: 0;
	width: 100%;
}

body {
	margin: 0px;
}

/* HEADER CLASSES */

#site-header {
	position: fixed;
	z-index: 999;
	background-color: var(--background-color);
	top: 0;
	left: 0;
	right: 0;
	transition: all 0.3s ease;
	box-shadow: 0px 5px 10px #55555500;
}

.sizing-container {
	padding-left: var(--document-padding);
	padding-right: var(--document-padding);
}

.reset-list-style {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
	text-decoration: none;
	list-style: none;
}

@media (min-width: 782px) {
	.reset-list-style {
		flex-direction: row;
		justify-content: space-between;
		gap: 35px;
	}
}


.header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.25em;
}

.primary-menu-wrapper {
	position: relative;
	z-index: 100;
	font-family: var(--title-font);
}

#site-header a {
	transition: all 0.3s ease;
}

#site-header a,
#site-header a:visited {
	color: var(--primary-color);
	text-decoration: none;
}

#site-header a:hover {
	color: var(--secondary-color);
}

#site-header.header-hidden {
	transform: translateY(-120%);
}

#site-header.header-shadow {
	box-shadow: 0px 5px 10px #55555588;
}

.header-navigation-wrapper {
	max-width: 80%;
	min-width: 25%;
}

#site-header .custom-logo {
	width: 40vw;
	height: auto;
	max-width: 275px;
	transition: all 0.3s ease;
}

#site-header .custom-logo-link {
	display: inline-block;
	height: 0px;
}

.mobile-menu-hamburger {
	background: transparent;
	border: none;
	margin-bottom: 10px;

}

.mobile-menu-hamburger span {
	display: block;
	width: 25px;
	height: 1px;
	background: var(--primary-color);
	margin: 6px auto;
	transition: all 0.5s ease;
}

.mobile-menu-hamburger.open span:nth-child(1) {
	transform: rotate(225deg) translateY(-3px) translateX(-7px);
}

.mobile-menu-hamburger.open span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-hamburger.open span:nth-child(3) {
	transform: rotate(-225deg) translateY(3px) translateX(-7px);
}

.menu-modal {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	color: var(--primary-color);
	z-index: 80;
}

.menu-modal.open {
	display: block;
}

.menu-modal-inner {
	position: relative;
	background-color: var(--background-color);
	margin-top: 3em;
	box-shadow: 0px 5px 10px #55555588;
	padding-top: 1em;
}

.mobile-nav-menu {
	position: relative;
	padding: 1em;
}

.mobile-menu-list-wrapper {
	position: relative;
	list-style: none;
	padding-left: 0px;
}

.mobile-menu-list-wrapper .sub-menu {
	list-style: none;
	padding-left: 0px;
	margin-top: 10px;
	margin-left: 15px;
	margin-bottom: 5px;
}

.mobile-menu-list-wrapper a,
.mobile-menu-list-wrapper a:visited {
	color: var(--primary-color);
	text-decoration: none;
}

.mobile-menu-list-wrapper li {
	margin-bottom: 10px;
}

.mobile-menu-list-wrapper li.button {
	margin-top: 20px;
}


/* FOOTER CLASSES */
.primary-background {
	padding-top: 1.75rem;
	padding-bottom: 1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	position: relative;
}

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

.footer-columns {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0px;
}


.footer-columns.between {
	justify-content: space-between;
}

.footer-columns.start {
	justify-content: flex-start;
}

.footer-columns.around {
	justify-content: space-around;
}

.primary-background-topper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 20px;
	background-image: linear-gradient(to right, var(--tertiary-color), var(--secondary-color));
}

.footer-callout.primary-background h3 {
	margin-bottom: 8px;
}

.footer-callout.primary-background p {
	margin-top: 8px;
}

.footer-column nav.reset-list-style {
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
}


.footer-nav ul {
	list-style: none;
	font-family: var(--title-font);
	padding-left: 0px;
	margin-top: 0px;
}

.footer-nav ul a:visited,
.footer-nav ul a {
	color: inherit;
	text-decoration: none;
}

.footer-nav ul li {
	margin-top: 6px;
	margin-bottom: 6px;
	text-align: left;
}

.main-footer-section {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#site-footer .legal-section {
	margin-top: 5px;
	border-top: 1px solid var(--primary-color);
	padding-top: 0.5rem;
	padding-bottom: 1.5rem;
}

#site-footer .legal-section .legal-item {
	font-size: 0.75rem;
	font-weight: 100;
	margin-bottom: 5px;

}

#site-footer .footer-column.logo-column {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	margin-bottom: 2rem;
}


.footer-logo-inner img {
	width: 100%;
	height: auto;
	max-width: 250px;
	display: block;
}








/* COVER HEADER CLASSES */


.cover-header,
.simple-cover-section {
	position: relative;
	z-index: 3;
	margin-bottom: 2.5rem;
}

.hero-header {
	height: 80vh;
}

.cover-header.front-page {
	height: 80vh;
}

.cover-header.static-image,
.simple-cover-section.static-image {
	position: relative;
	overflow-y: visible;
	z-index: 1;
}

.cover-header .cover-header-inner,
.simple-cover-section .cover-header-inner {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;

}

.cover-header .cover-overlay,
.simple-cover-section .cover-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #000;
	opacity: 0.0;
	z-index: 2;
}

.cover-header .text-container {
	position: relative;
	z-index: 12;
	text-align: center;
	width: 80%;
}

.cover-header .text-container .heading {
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 2.3rem;
	padding-top: 1rem;
	letter-spacing: 0.5px;
	text-shadow: 0px 0px 9px #ffffff56;
}

.heading-inner-containers {
	position: relative;
	z-index: 12;
}

.simple-cover-section {
	height: 60vh;
}

/* BUTTON CLASSES  */
.hcsolutions-button,
.button {
	padding: 0.5rem 1rem;
	background-color: var(--primary-color);
	color: var(--background-color);
	box-shadow: 0px 3px 3px #0000004A;
	border-top: 2px solid var(--secondary-color);
	transition: box-shadow 0.3s ease;
	font-family: var(--title-font);
}

.button:hover {
	box-shadow: 3px 5px 6px #0000006A;
}

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

.button a:visited {
	color: inherit;
}

.primary-menu-wrapper .button a {
	color: var(--background-color) !important;
}

.primary-background-color .button {
	border-top: 0px;
	background-color: var(--background-color);
	color: var(--primary-color);
	box-shadow: none;
}

.hcsolutions-button {
	font-size: 1.2rem;
}

/* HC SOLUTION BUTTON CLASSES */
/* Button */
.button-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	position: relative;
	z-index: 10;
	padding-top: 1em;
	padding-bottom: 1em;
}

.button-container.left {
	justify-content: flex-start;
}

.button-container.center {
	justify-content: center;
}

.button-container .hcsolutions-button {
	position: relative;
	display: block;
	padding: 0.75em 3em;
	text-decoration: none;
	border-top: 3px solid var(--secondary-color);
	z-index: 10;
	overflow: hidden;
}

.hcsolutions-button span {
	position: relative;
	z-index: 9;
	transition: color 0.5s ease;
}

.hcsolutions-button::before {
	display: block;
	position: absolute;
	z-index: 1;
	content: "";
	width: 50px;
	height: 50px;
	top: var(--cursor-y, -9999px);
	left: var(--cursor-x, -9999px);
	transition: all 0.15s ease;
	transition: transform 0.25s ease;
	background-color: var(--background-color);
	border-radius: 25px;
	transform: translate(-50%, -50%);
}

.hcsolutions-button:hover::before {
	transform: translate(-50%, -50%) scale(7);
	transition-delay: 250ms;
}

.hcsolutions-button:hover span {
	color: black;
}

.primary-background-color .hcsolutions-button {
	border-top: 0px;
	background-color: var(--background-color);
}

.primary-background-color .hcsolutions-button::before {
	background-color: var(--secondary-color);
}

.primary-background-color .hcsolutions-button:hover span {
	color: var(--background-color);
}

.primary-background-color .hcsolutions-button span {
	color: var(--primary-color);
}


.pen-icon {
	display: flex;
	justify-content: center;
	padding-top: 2rem;
}

.pen-icon img {
	max-width: 100px;
	height: auto;
}

.center-smaller-list {
	max-width: 480px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.dual-breakout-boxes div {
	flex-direction: column;
}


@media (min-width: 600px) {
	.footer-column nav.reset-list-style {
		align-items: flex-start; /* Left-aligned on desktop */
		gap: 35px;
	}


	article {
		margin-top: 6em;
	}
	.dual-breakout-box h2 {
		font-size: 1.7em;
	}
	.dual-breakout-box p {
		font-size: 0.9em;
	}
}


@media (min-width: 782px) {
	article {
		margin-top: 6.5em;
	}

	.mobile-only {
		display: none;
	}

	.desktop-only {
		display: block;
	}

	.menu-item-has-children {
		position: relative;
		padding-left: 10px;
		margin-right: 6px;
	}

	.menu-item-has-children::before {
		content: "";
		position: absolute;
		top: 2px;
		left: 108%;
		width: 13px;
		bottom: -2px;
		background-image: url('/wp-content/uploads/2026/02/down-icon.png');
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;

		transition: all 0.35s ease;
	}

	.menu-item-has-children:hover::before {
		transform: rotate(-180deg);
	}

	.menu-item-has-children>.sub-menu {
		list-style: none;
		padding-left: 0px;
		background-color: var(--background-color);
		box-shadow: 3px 3px 10px #00000055;
		z-index: 20;
		padding: 1rem;

		width: 200%;
		left: -0.5rem;
		position: absolute;

		opacity: 0;
		transition: opacity 0.35s ease;
		transition: transform 0.25s ease;
		pointer-events: none;
	}

	.menu-item-has-children:hover>.sub-menu {
		opacity: 1;
		transform: translateY(10px);
		pointer-events: auto;
	}

	.menu-item-has-children::after {
		content: "";
		position: absolute;
		right: 0;
		left: 0;
		top: 100%;
		width: 200%;
		height: 10px;
		background: transparent;
	}

	.menu-item-has-children .sub-menu li {
		margin-bottom: 0.6rem;
	}

	.menu-item-has-children .sub-menu li:last-child {
		margin-bottom: 0px;
	}

	.primary-background {
		padding-top: 2.25rem;
		padding-bottom: 1.75rem;
		padding-left: 3rem;
		padding-right: 3rem;
		position: relative;
	}

	.footer-callout.primary-background h3 {
		font-size: 1.4rem;
	}


	.footer-columns {
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}

	.footer-nav {
		margin-left: 1rem;
	}

	.main-footer-section {
		margin-top: 2rem;
		margin-bottom: 2rem;
	}

	#site-footer .footer-column.logo-column {
		display: block;
		width: auto;
		margin-left: 2rem;
	}

	.footer-logo-inner img {
		max-width: 200px;
	}


	.cover-header .text-container {
		position: relative;
		left: 35%;
		top: 25%;
		width: 55%;
		z-index: 12;
		text-align: right;
	}

	.cover-header .text-container .heading {
		font-weight: 600;
		font-size: 1.7rem;
		line-height: 2.3rem;
		padding-top: 1rem;
		letter-spacing: 0.5px;
	}

	.cover-header .cover-header-inner {
		display: block;
	}

	.pen-icon {
		display: block;
		padding-top: 0rem;
	}

	.pen-icon img {
		max-width: 75px;
		height: auto;
	}

	.services-header-paragraph {
		margin-left: auto;
		margin-right: auto;
		width: 75%;
	}

	/* services page breakout box */
	.dual-breakout-box h2 {
		font-size: 1.9em;
	}
	.dual-breakout-box p {
		font-size: 1em;
	}
}

@media (min-width: 1000px) {
	h2 {
		font-size: 2em;
	}
	.footer-nav {
		margin-left: 8rem;
		font-size: 1rem;
	}

	.footer-column nav.reset-list-style {
		gap: 4rem;
	}

	#site-footer .legal-section {
		margin-top: 10px;
		padding-top: 1rem;
		padding-bottom: 1.5rem;
	}

	#site-footer .legal-section .legal-item {
		font-size: 0.9rem;
		margin-bottom: 0px;
	}

	.cover-header .text-container {
		position: relative;
		left: 43%;
		top: 20%;
		width: 48%;
		z-index: 12;
		text-align: right;
	}

	.cover-header .text-container .heading {
		font-weight: 600;
		font-size: 2.3rem;
		line-height: 3.2rem;
		padding-top: 1rem;
		letter-spacing: 0.5px;
	}

	.pen-icon img {
		max-width: 100px;
		height: auto;
	}

	.services-header-paragraph {
		margin-left: auto;
		margin-right: auto;
		width: 50%;
	}
	.dual-breakout-boxes div {
		flex-direction: row;
	}
	.dual-breakout-box h2 {
		font-size: 1.6em;
		line-height: 1.2em;
	}
	.dual-breakout-box p {
		font-size: 0.8em;
		line-height: 1.2em;
	}
}

@media (min-width: 1200px) {
	.footer-nav {
		margin-left: 15rem;
	}

	.footer-column nav.reset-list-style {
		gap: 6rem;
	}

	#site-footer .footer-column.logo-column {
		margin-left: 4rem;
	}

	.footer-logo-inner img {
		max-width: 250px;
	}
	.dual-breakout-box h2 {
		font-size: 1.9em;
		line-height: 1.4em;
	}
	.dual-breakout-box p {
		font-size: 1em;
		line-height: 1.3em;
	}

}

/* SINGLE SERVICE TEMPLATE STYLES */

.single-service-hero {
	width: 100%;
	height: 60vh;
	overflow: hidden;
	margin-bottom: 3rem;
	position: relative;
}

.hero-image-wrapper {
	width: 100%;
	height: 100%;
}

.hero-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-service-intro-container {
	text-align: center;
	margin-bottom: 4rem;
}

.single-service-title {
	font-size: 3rem;
	color: #1A4225;
	margin-bottom: 1rem;
}

.single-service-excerpt p {
	font-size: 1.2rem;
	line-height: 1.6;
	max-width: 800px;
	margin: 0 auto;
	color: #444;
}

.single-service-contact-cta {}

.single-service-contact-cta .cta-heading {
	margin-bottom: 2rem;
}

.single-service-contact-cta .contact-info p {
	margin: 0.25rem 0;
	font-weight: 500;
}

@media (max-width: 782px) {
	.single-service-title {
		font-size: 2.2rem;
	}

	.single-service-hero {
		height: 40vh;
	}
}


/* ABOUT HEADER BLOCK STYLES */
.about-header-block {
	position: relative;
	margin-bottom: 4rem;
	overflow: hidden;
	width: 100%;
}

.about-header-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.about-header-design-grid {
	display: grid;
	grid-template-areas:
		"hero"
		"portrait"
		"content";
	align-items: flex-start;
}

.about-header-main-image {
	grid-area: portrait;
}

.about-header-hero-image {
	grid-area: hero;
}

.about-header-text-area {
	grid-area: content;
}

/* Desktop View (> 1650px) */
@media (min-width: 1651px) {
	.about-header-design-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"portrait hero"
			"portrait content";
	}
}

/* Intermediate View (782px - 1650px) */
@media (min-width: 782px) and (max-width: 1650px) {
	.about-header-design-grid {
		grid-template-columns: 0.95fr 1.05fr;
		grid-template-areas:
			"portrait hero"
			"portrait content";
	}

	.about-header-hero-image img {
		height: 32vw;
		/* Proportional to screen width, ensuring it scales correctly at ~1300px */
		min-height: 100px;
		max-height: 550px;
	}

	.about-header-text-area {
		padding: clamp(2rem, 4vw, 4rem);
	}
}

/* Universal Styles */
.about-header-main-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-header-hero-image img {
	width: 100%;
	height: 35vh;
	object-fit: cover;
	display: block;
}

@media (min-width: 782px) {
	.about-header-hero-image img {
		height: clamp(100px, 23vw, 550px);
		/* Reduced min-height to 280px as requested */
	}

	.about-header-text-area {
		padding: clamp(2rem, 5vw, 6rem);
	}
}



/* Mobile Specifics (< 782px) */
@media (max-width: 781px) {
	.about-header-hero-image img {
		height: 40vh;
		/* Balloons take top 40% height approx */
	}

	.about-header-main-image {
		width: 80%;
		margin: -80px auto 0;
		/* Overlap the balloons */
		z-index: 10;
		position: relative;
	}

	.about-header-main-image img {
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	}

	.about-header-text-area {
		padding: 3rem 1.5rem;
		text-align: center;
	}

	.about-header-title {
		font-size: 2.2rem;
		margin-bottom: 1rem;
	}

	.about-header-desc {
		margin: 0 auto;
	}
}

/* Typography */
.about-header-title {
	color: #1A4225;
	font-size: 3.5rem;
	line-height: 1.1;
	margin: 0 0 1.5rem 0;
	display: block;
}

.about-header-desc {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #1A4225;
	max-width: 500px;
}



/* SIDE BY SIDE LAYOUT (GLOBAL) */




.side-by-side-section {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
	margin: 4rem 0;
}

@media (min-width: 782px) {
	.side-by-side-section {
		grid-template-columns: 1.2fr 1fr;
	}

	.side-by-side-section.image-left {
		grid-template-columns: 1fr 1.2fr;
	}

	.side-by-side-section.image-right .side-by-side-content {
		order: 1;
	}

	.side-by-side-section.image-right .side-by-side-image {
		order: 2;
	}

	.side-by-side-section.image-left .side-by-side-content {
		order: 2;
	}

	.side-by-side-section.image-left .side-by-side-image {
		order: 1;
	}
}

.side-by-side-content {
	display: flex;
	flex-direction: column;
}

.side-by-side-section.image-right .side-by-side-content {
	text-align: right;
	align-items: flex-end;
}

.side-by-side-section.image-right .side-by-side-image {
	display: flex;
	justify-content: flex-start;
}

.side-by-side-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
}

.side-by-side-content h2 {
	font-size: 2.2rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.side-by-side-content h2 u,
.side-by-side-content h2 span[style*="underline"] {
	text-decoration: none;
	border-bottom: 3px solid var(--secondary-color);
	display: inline-block;
	padding-bottom: 2px;
}

.side-by-side-content p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* SINGLE SERVICE LAYOUT REFINEMENTS */

.single-service-content {
	padding-bottom: 4rem;
	min-height: 100px;
}

.single-service-contact-cta {
	border-top: 1px solid #eee;

}

.single-service-contact-cta .side-by-side-image {
	max-width: 500px;
	margin-left: auto;
}

.single-service-contact-cta .side-by-side-section {
	gap: 5rem;
}


/* styles for custom styling on service details and other pages */
.img-border-top img {
	border-top: 20px solid var(--secondary-color);
}

.green-money-full-width {
	width: calc(100% + (var(--document-padding) * 2));
	height: auto;
	margin-left: calc(var(--document-padding) * -1);
	margin-right: calc(var(--document-padding) * -1);
}

.about-media-text {
	position: relative;
	z-index: 999;
}

.about-media-text img {
	margin-top: -67vh;
}


.right-img figure img {
	width: 60%;
}

@media (max-width: 781px) {
	.right-img figure img {
		width: 100%;
	}
}