.ict-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 2.5rem;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1.5px solid #111;
	color: #111;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	letter-spacing: 0.05em;
	
	/* The core effect: slants the button and the text inside it */
	transform: skewX(-30deg);
	transition: background-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}

.ict-btn:hover,
.ict-btn:focus-visible {
	background-color: #111;
	color: #fff;
}

.corner-top-right,
.corner-bottom-left {
	position: absolute;
    z-index: 10;
}

.corner-top-right img, .corner-bottom-left img {
	width: 100%;
	height: 100%;
}

.corner-top-right {
	top: 20px;
	right: 20px;
}

@media (max-width: 768px) {
	.corner-top-right, 
	.corner-bottom-left {
		display: none;
	}
}

.corner-bottom-left {
	bottom: 20px;
	left: 20px;
}

@media (max-width: 768px) {
	.corner-bottom-left {
		bottom: 10px;
		left: 10px;
	}
}

.text-gradient {
	background: linear-gradient(90deg, #1AA871 , #354D54);
	background-size: 100% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.text-gradient-underline {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: inherit;
}

.text-gradient-underline::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, #A4BCF1 , #DF97C7 , #A4BCF1);
	background-size: 100% auto;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gradient-underline:hover::after,
.text-gradient-underline.active::after {
	transform: scaleX(1);
	transform-origin: left;
}

.text-gradient-stroke {
	position: relative;
	display: inline-block;
	font-family: var(--font-condensed);
	color: transparent;
	transform-origin: left bottom;
}

.text-gradient-stroke-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.text-gradient-stroke-svg text {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

@media (max-width: 767px) {
	.text-gradient-stroke-svg text {
		stroke: #1AA871 !important; /* Mobile: override with solid green for performance */
	}
}

.site-main {
	background: #DEE8E8;
}

.site-main::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
	opacity: 0.15;
	pointer-events: none;
}


.site-footer {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	overflow: clip;
}

@supports (height: 100dvh) {
	.site-footer {
		height: 100dvh;
	}
}

.site-footer__logo-band {
	position: relative;
}

.site-footer__wrapper {
	align-content: stretch;
	background-color: #05090A;
	column-gap: clamp(2rem, 6vw, 7rem);
	display: grid;
	flex: 1 0 auto;
	grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
	grid-template-rows: auto minmax(16rem, 1fr) auto;
	justify-content: stretch;
	min-height: 0;
	overflow: visible;
	padding: clamp(1.5rem, 4vh, 4rem) clamp(2rem, 4.5vw, 4rem) clamp(1rem, 2.5vh, 2rem);
	position: relative;
	row-gap: clamp(1.25rem, 3vh, 2.5rem);
}

.site-footer__tagline {
	grid-column: 1 / -1;
	grid-row: 1;
	justify-self: end;
	margin: 0;
	position: relative;
	right: auto;
	top: auto;
}

.site-footer__tagline p {
	font-size: clamp(1rem, 1.5vw, 1.5rem);
	line-height: 1.6;
	margin: 0;
}

.site-footer__ornament {
	opacity: 0.72;
	pointer-events: none;
	z-index: 1;
}

.site-footer__illustration {
	justify-self: center;
	left: auto;
	width: 100%;
	left: 50%;
	z-index: 1;
}

.site-footer__illustration img {
	max-height: min(52vh, 38rem);
	object-fit: contain;
	width: min(64vw, 58rem);
}

.site-footer__nav-social {
	align-self: end;
	grid-column: 1;
	grid-row: 2;
	justify-self: start;
	margin: 0;
	position: relative;
	z-index: 3;
}

.site-footer__menu {
	margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.site-footer__social {
	justify-content: flex-start;
	padding-left: 0;
	padding-right: 0;
}

.site-footer__bottom {
	align-self: end;
	grid-column: 1 / -1;
	grid-row: 3;
	margin-top: 0;
	padding-bottom: 0;
	position: relative;
	z-index: 3;
}

@media (max-width: 767px) {
	.site-footer {
		height: auto;
		min-height: 100vh;
		min-height: 100svh;
		overflow: visible;
	}

	@supports (min-height: 100dvh) {
		.site-footer {
			min-height: 100dvh;
		}
	}

	.site-footer__wrapper {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(8rem, 1fr) auto auto;
		padding: clamp(0.5rem, 1.6svh, 0.85rem) clamp(1.25rem, 6vw, 2rem) clamp(0.65rem, 2svh, 1rem);
		row-gap: clamp(0.5rem, 1.6svh, 1rem);
	}

	.site-footer__tagline {
		grid-column: 1;
		grid-row: 1;
		justify-self: center;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
		width: 100%;
	}

	.site-footer__tagline p {
		font-size: clamp(0.75rem, 3.2vw, 0.95rem);
		line-height: 1.55;
		margin-top: 0;
	}

	.site-footer__ornament {
		opacity: 0.45;
		right: clamp(0.75rem, 4vw, 1.25rem);
		top: clamp(0.5rem, 2svh, 1.25rem);
	}

	.site-footer__ornament img {
		width: clamp(5.5rem, 26vw, 8.75rem);
	}

	.site-footer__illustration {
		grid-column: 1;
		grid-row: 2;
		align-self: center;
		justify-self: center;
	}

	.site-footer__illustration img {
		max-height: clamp(9rem, 29svh, 18rem);
		width: min(78vw, 26rem);
	}

	.site-footer__nav-social {
		grid-column: 1;
		grid-row: 3;
		justify-self: center;
		margin-bottom: 0;
		width: min(100%, 22rem);
	}

	.site-footer__nav-social > div {
		width: 100%;
	}

	.site-footer__menu {
		margin-bottom: clamp(0.75rem, 2svh, 1.25rem);
		width: 100%;
	}

	.site-footer__menu li {
		padding-bottom: clamp(0.2rem, 0.8svh, 0.5rem);
		padding-top: clamp(0.2rem, 0.8svh, 0.5rem);
	}

	.site-footer__menu a {
		font-size: clamp(1.05rem, 5.2vw, 1.55rem);
		line-height: 1.1;
	}

	.site-footer__social {
		gap: clamp(0.75rem, 4vw, 1rem);
		justify-content: center;
		padding-left: 0;
		padding-right: 0;
	}

	.site-footer__social a {
		height: clamp(2.75rem, 13vw, 3.75rem);
		width: clamp(2.75rem, 13vw, 3.75rem);
	}

	.site-footer__bottom {
		grid-column: 1;
		grid-row: 4;
		margin-top: 0;
		padding-bottom: 0;
		padding-top: clamp(0.85rem, 2svh, 1.25rem);
		text-align: center;
		width: 100%;
	}

	.site-footer__bottom p,
	.site-footer__bottom nav {
		font-size: clamp(0.75rem, 3.8vw, 1rem);
		line-height: 1.35;
	}
}

@media (max-width: 767px) and (max-height: 720px) {

	.site-footer__wrapper {
		row-gap: 0.45rem;
	}

	.site-footer__ornament {
		display: none;
	}

	.site-footer__illustration img {
		max-height: clamp(7rem, 24svh, 13rem);
	}

	.site-footer__menu {
		margin-bottom: 0.65rem;
	}

	.site-footer__bottom {
		padding-top: 0.75rem;
	}
}

.sticky-vertical-label {
	position: absolute;
	z-index: 10;
	color: var(--color-aim-dark);
	right: 0;
	top: 80px;
	transform: rotate(90deg);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	min-width: 100px;
}

@media (max-width: 768px) {
	.sticky-vertical-label {
		display: none;
	}
}

.line-gradient {
	background: linear-gradient(to right, #1AA871, #354D54);
}

/* Dynamic contrast text/graphic blending based on the background color underneath */
/* Default (Mobile): Use solid white fallback to avoid expensive blend compositing on iOS. */
.blend-contrast {
	background: none;
	-webkit-background-clip: initial;
	-webkit-text-fill-color: initial;
	background-clip: initial;
	color: #ffffff !important;
	mix-blend-mode: difference !important;
}

/* Force child graphics or icons (like SVGs/images) that are dark to invert to white. */
.blend-contrast img,
.blend-contrast svg {
	filter: invert(1) !important;
	mix-blend-mode: normal !important;
}

.footer-logo {
	display: block;
	aspect-ratio: 339 / 92;
	-webkit-mask-image: url('../images/organization-text.svg');
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-image: url('../images/organization-text.svg');	
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

/* Desktop: Apply the advanced contrast blending effect */
@media (min-width: 768px) {
	.blend-contrast {
		/* Dynamic viewport-fixed gradient contrast matching the global bg */
		background: linear-gradient(45deg, #0E191E 48%, #DFEAE8 52%) fixed;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		color: transparent !important;
		mix-blend-mode: normal !important; /* Revert difference blend mode on desktop */
	}

	.blend-contrast img,
	.blend-contrast svg {
		filter: invert(1) !important;
		mix-blend-mode: difference;
	}
}

.ict-gradient-button-outline {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 2rem;
	color: var(--color-aim-dark, #111);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	letter-spacing: 0.05em;
	cursor: pointer;
	
	/* Parallelogram effect: slants the button border container */
	transform: skewX(-30deg);
	transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	background: transparent;
	border: none;
}

/* Gradient border using mask composition */
.ict-gradient-button-outline::before {
	content: '';
	position: absolute;
	inset: 0;
	padding: 1.5px; /* Border thickness */
	background: linear-gradient(90deg, #1AA871, #354D54);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Premium gradient fill on hover */
.ict-gradient-button-outline::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #1AA871, #354D54);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.3s ease;
}

/* Counter-skew direct children so text/icons remain upright */
.ict-gradient-button-outline > * {
	transform: skewX(30deg);
}

/* Arrow styling */
.ict-gradient-button-outline .arrow {
	display: inline-block;
	margin-left: 0.6rem;
	transition: transform 0.3s ease;
}

/* Hover & focus states */
.ict-gradient-button-outline:hover,
.ict-gradient-button-outline:focus-visible {
	color: #fff;
	transform: skewX(-30deg) translateY(-2px);
	box-shadow: 0 8px 20px rgba(26, 168, 113, 0.2);
}

.ict-gradient-button-outline:hover::after,
.ict-gradient-button-outline:focus-visible::after {
	opacity: 1;
}

/* Micro-animations on hover */
.ict-gradient-button-outline:hover > .arrow {
	transform: skewX(30deg) translateX(4px);
}

.ict-gradient-button-outline:hover * .arrow {
	transform: translateX(4px);
}

/* Media query for larger devices */
@media (min-width: 768px) {
	.ict-gradient-button-outline {
		padding: 0.8rem 2.8rem;
		font-size: 1.1rem;
	}
}

/* Hide global header when zoom animation is active in Services section */
body.is-zoom-active .lp-nav {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.scroll-to-top {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	z-index: 999;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* Unified Section Header Style */
.site-section-header {
	text-align: center;
	user-select: none;
	pointer-events: none;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

/* Margin controls */
.site-section-header.is-absolute {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

/* The stroke text container */
.site-section-header__stroke {
	margin-bottom: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
}

/* Override stroke gradient typography to be unified */
.site-section-header__stroke .text-gradient-stroke {
	font-family: var(--font-condensed), sans-serif;
	font-weight: 900;
	font-style: italic;
	line-height: 0.92;
	letter-spacing: 0.15rem;
	color: transparent;
	text-transform: uppercase;
}

/* Subtitle style */
.site-section-header__subtitle {
	font-family: var(--font-primary), sans-serif;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--color-aim-dark, #000);
	margin: 0;
	line-height: 1.4;
}

/* Mobile font-sizes (default) */
.site-section-header__stroke .text-gradient-stroke {
	font-size: 2.5rem;
}
.site-section-header__subtitle {
	font-size: 1.125rem;
}

/* Desktop font-sizes */
@media (min-width: 768px) {
	.site-section-header__stroke .text-gradient-stroke {
		font-size: 5rem;
	}
	.site-section-header__subtitle {
		font-size: 1.5rem;
		color: var(--color-aim-white, #fff);
	}
}

@media (min-width: 1024px) {
	.site-section-header__stroke .text-gradient-stroke {
		font-size: 6.5rem;
	}
	.site-section-header__subtitle {
		font-size: 1.875rem;
	}
}

/* Premium Gradient Border Focus State */
.focus-gradient-border {
	transition: background-image 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.focus-gradient-border:focus {
	outline: none !important;
	border-color: transparent !important;
	background-image: linear-gradient(var(--input-bg, #fff), var(--input-bg, #fff)), linear-gradient(90deg, #1AA871, #354D54) !important;
	background-origin: border-box !important;
	background-clip: padding-box, border-box !important;
	box-shadow: 0 0 0 3px rgba(26, 168, 113, 0.15) !important;
}

.text-brand-green {
	color: #1AA871 !important;
}


