/* New Vision Care Services - main stylesheet (merged Nov 2026 from style, page, media and modern CSS). */

/* ==================================================================== */
/* 1. BASE (was style.css)                                            */
/* ==================================================================== */

/* FONTS: now loaded via <link> in each page <head> */

/* ROOT */
:root {
	/*? -----colors */
	--primary: #006eb0;
	--secondary: #507819;
	--tertiary: #017571;
	--quaternary: #bb0a69;

	--primary-btn: #3993cb;
	--primary-btn-hover: #5598c2;
	--primary-btn-outline: #87bcdd;
	--focus: #bb0a69;

	--offWhite: #f5f5f5;
	--offWhiteTrans: #f5f5f554;
	--greyWhite: #f5f5f5e5;
	--dirtyWhite: #dddbdbd9;

	--grey: #767676;
	--dark-title: #080838;
	--offBlack: #111111;

	--rgba-black: rgba(0, 0, 0, 0.502);

	/*? ----- social */
	--fb: #4267b2;
	--fb-trans: #4267b21a;
	--fb-text: "Roboto Flex", sans-serif;

	/*? ----- fonts */
	--rejected: "Roboto", sans-serif;
	--productions: "Roboto", sans-serif;
	--NVCS-Text: "Roboto", sans-serif;
	--toolbar: "Roboto Condensed", sans-serif;
	--text: "Roboto", sans-serif;
	--counter: "Roboto Flex", sans-serif;

	/*? ----- other */
	--trans: all 0.3s ease;
	--trans-co: all 0.3s ease;
	--padding: 1rem;
	--stickyHeader: var(--offWhiteTrans);

	/*? ----- Hollywood Jack */
	--hj: #ff0f7b;
	--hj-accent: #b34d77;
	--hj-text: "Limelight", cursive;
}

/* ?--- 01 TYPOGRAPHY SYSTEM
    
    - Font Sizes(px)
        10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

    - Line Heights:
        Default: 1
        Small: 1.05
        Medium: 1.2
        Paragraph: 1.6
        Large 1.8

/* ------------------ */
/*     00. RESET      */
/* ------------------ */

* {
	margin: 0;
	padding: 0;
}

*,
::before,
::after {
	box-sizing: border-box;
}

ul[role="list"],
ol[role="list"] {
	list-style: none;
}

html {
	font-size: 10px;
	/* font-size: calc(10px + 0.025vw); */
	scroll-behavior: smooth;
	scroll-padding-top: 140px;
}

body {
	background-color: var(--offWhite);
	color: var(--offBlack);
	font-family: var(--text);
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.2;
}

a {
	text-decoration: none;
	color: var(--offBlack);
	-webkit-tap-highlight-color: transparent;
}

img {
	max-width: 100%;
	vertical-align: middle;
}
ul {
	list-style: none;
}
strong {
	font-weight: 600;
}
h1,
h2,
h3,
h4 {
	font-weight: 500;
	line-height: normal;
}
h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2.5rem;
}
h3 {
	font-size: 2rem;
}
h4 {
	font-size: 1.5rem;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
option:focus,
select:focus {
	outline: 5px solid var(--focus);
	outline-offset: 3px;
	border-radius: 5px;
}

/* --------------------- */
/*     00B . LOADER       */
/* --------------------- */

.loader {
	align-items: center;
	background-color: var(--offWhite);
	display: flex;
	height: 100vh;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	transition:
		opacity 0.75s,
		visibility 0.75s;
	width: 100vw;
	z-index: 9999;
}

.loader--hidden {
	opacity: 0;
	visibility: hidden;
}

.loader img {
	width: 150px;
	height: 150px;
	animation: loading 0.75s ease infinite;
}

@keyframes loading {
	from {
		transform: rotate(0turn);
	}
	to {
		transform: rotate(1turn);
	}
}

/* --------------------- */
/* 00C . SCROLL BAR       */
/* --------------------- */

body::-webkit-scrollbar {
	width: 0.75em;
}

body::-webkit-scrollbar-track {
	background: var(--offWhite);
}

body::-webkit-scrollbar-thumb {
	background: var(--primary);
}

/* --------------- */
/*  00D. REUSABLE   */
/* --------------- */

.container {
	max-width: 1210px;
	padding: 0 2em;
	margin: 0 auto;
}

/* ----------------- */
/*   01. TOOLBAR     */
/* ----------------- */

.toolbar {
	position: fixed;
	height: 50px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 10px;
	background-color: var(--primary);
	color: var(--offWhite);
	font-family: var(--toolbar);
	font-weight: 300;
	z-index: 1;
}

.toolbar a {
	color: var(--offWhite);
}

.toolbar-left img {
	height: 24px;
	width: 24px;
}

.toolbar-right p {
	margin: 0;
}

.toolbar i {
	margin: 0 3px;
}

.social-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.social-text {
	margin-left: 10px;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	font-family: var(--fb-text);
	font-weight: 700;
}

.social-link:hover .social-text {
	opacity: 1;
}

.toolbar-item {
	display: inline-block;
	margin-right: 10px;
}

/* --------------- */
/*   02. HEADER    */
/* --------------- */

header {
	position: fixed;
	top: 49px;
	left: 0;
	right: 0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	background-color: var(--offWhite);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 2;
}

header.scrolled {
	background-color: var(--stickyHeader);
	color: var(--offBlack);
	backdrop-filter: blur(2px);
}

/* NAV */

.logo {
	border-top: 5px solid transparent;
}

.logo-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.logo-img {
	height: 3.5em;
}

.logo-txt {
	color: var(--primary);
	transition: all 0.3s ease-in-out;
	font-size: 2.2rem;
}

.logo-txt-gap {
	margin-left: 5px;
}

.logo-txt-responsive {
	display: flex;
	flex-direction: row;
}

.logo-link:hover:hover .logo-txt {
	color: var(--primary-btn-hover);
}

header .navbar .active {
	font-weight: 600;
	text-transform: uppercase;
	color: var(--dark-title);
}

header .navbar ul li {
	position: relative;
	float: left;
}

header .navbar ul li a,
header .navbar ul li .dropdown-button {
	padding: 20px;
	display: block;
	border-top: 5px solid transparent;
}

header .navbar ul li .dropdown-button {
	background: none;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
	color: var(--offBlack);
	cursor: pointer;
	font: inherit;
	text-align: left;
}

header .navbar ul li a:hover,
header .navbar ul li .dropdown-button:hover {
	background-color: var(--primary);
	color: var(--offWhite);
	border-top: 5px solid var(--primary-btn-hover);
}

header .navbar ul li ul {
	position: absolute;
	left: 0;
	background-color: var(--primary);
	width: 140px;
	display: none;
	border: 1px solid var(--primary-btn-hover);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

header .navbar ul li ul li {
	border-top: 1px solid rgba(253, 253, 253, 0.1);
	width: 100%;
}

header .navbar ul li ul li a {
	color: var(--offWhite);
	padding: 10px;
}

header .navbar ul li ul li a:hover {
	background-color: var(--primary-btn-hover);
	color: var(--offBlack);
	border-top: 5px solid transparent;
}

/* If deeper than 1 dropdown */
header .navbar ul li ul li ul {
	left: 140px;
	top: 0;
}

.dropdown-icon {
	font-size: 50%; /* adjust this value as needed */
}

header .menu-toggle {
	font-size: 2rem;
	color: var(--offBlack);
	cursor: pointer;
	display: none;
}

/* ----------------- */
/*    07. FOOTER     */
/* ----------------- */

footer {
	background-color: var(--primary);
	color: var(--offWhite);
	padding: 2em 0;
}

footer .wrapper {
	display: grid;
	gap: 3em;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	justify-content: center;
}

footer h3 {
	font-size: 1.5em;
	margin-bottom: 1em;
}

footer .logo a {
	color: var(--offWhite);
	font-size: 1.5em;
	font-weight: 600;
	text-transform: uppercase;
}

footer p {
	color: var(--offWhite);
	margin-bottom: 1em;
}

footer ul li a {
	transition: var(--trans-co);
}

footer .footer-menu {
	line-height: 1.6;
}

footer ul:not(.socials) li a:hover {
	color: var(--offBlack);
}

footer .footer-social-text {
	margin-left: 1rem;
}

.footer-social-text,
footer .phone-text,
footer .email-text {
	margin-bottom: 2rem;
	color: var(--offWhite);
}

footer .fb-icon {
	margin-bottom: 1rem;
}

footer .fb-icon,
footer .tel-icon,
footer .mail-icon,
footer .locale-icon {
	font-size: 2.4rem;
	color: var(--offWhite);
	margin-bottom: 2rem;
}

footer .social-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

footer .footer-social-text {
	font-family: var(--fb-text);
	font-weight: 700;
}

footer .phone-text,
footer .email-text,
footer .locale-text {
	font-family: var(--NVCS-Text);
	font-weight: 700;
}

footer .social-link:hover .footer-social-text {
	color: var(--offBlack);
}

.footer-registered {
	color: var(--dirtyWhite);
}

footer h3.footer-reviews-title {
	margin-top: 1.5em;
}
.co-number:hover {
	color: var(--offWhite);
}

.footer-location {
	color: var(--dirtyWhite);
}

.footer-address {
	color: var(--offWhite);
}

.footer-active {
	text-decoration: underline;
}

footer .footer-menu a,
footer .footer-registered a.co-number {
	color: var(--offWhite);
}

footer .footer-menu a:hover,
footer .footer-registered a.co-number:hover {
	color: var(--offBlack);
}

/* Keep underline for the active page link */
footer .footer-menu a.footer-active {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Optional: make focus match hover without changing layout */
footer .footer-menu a:focus-visible,
footer .footer-registered a.co-number:focus-visible {
	outline: 4px solid var(--focus);
	outline-offset: 4px;
	border-radius: 6px;
}

/* CQC footer column */
.widget-footer--cqc {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cqc-footer__logo img {
	display: block;
	max-width: 240px;
	height: auto;
}

/* Rating line */
.cqc-footer__rating {
	margin: 0;
	color: var(--offWhite);
	line-height: 1.6;
}

/* Badge style (simple and clear) */
.cqc-footer__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 10px;
	border-radius: 6px;
	background: #0b6a0b;
	color: #fff;
	font-weight: 700;
}

/* Dates */
.cqc-footer__dates {
	margin: 0;
	color: var(--dirtyWhite);
	line-height: 1.6;
}

/* “View our report” link should look like a link */
.cqc-footer__link {
	color: var(--offWhite);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Make focus visible without layout jump */
.cqc-footer__link:focus-visible,
.cqc-footer__logo:focus-visible {
	outline: 4px solid var(--focus);
	outline-offset: 4px;
	border-radius: 6px;
}

/* --------------------- */
/*    08. END FOOTER     */
/* --------------------- */

.copyright {
	margin-left: 1rem;
}

.developed-by {
	background-color: var(--offBlack);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.developed-by .copyright {
	color: var(--offWhite);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	font-size: 1.2rem;
	font-weight: 300;
	padding: 1px;
	transition: var(--trans);
}

.developed-by .hollywoodjack,
.developed-by a,
.developed-by .hj-text {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	color: var(--offWhite);
	font-size: 1.2rem;
	font-weight: 300;
	padding: 1px;
	transition: var(--trans);
}

.hj-text-span {
	margin-left: 3px;
	font-family: var(--hj-text);
}

.heart {
	margin: 0 3px;
	color: var(--hj);
}

.hj-text {
	padding-right: 2rem;
	font-size: 1.6rem;
	color: whitesmoke;
}

.hj-link:hover {
	color: var(--hj);
}

.hj-link:active {
	color: var(--hj-accent);
}

/* RECAPTCHA */

.grecaptcha-badge {
	margin-bottom: 7rem;
}


/* ==================================================================== */
/* 2. HOME PAGE (was index.css)                                       */
/* ==================================================================== */

:root:where(.page-home) {
	--toolbar-height: 50px;
	--header-height: 80px; /* adjust if needed */
	--fixed-offset: calc(var(--toolbar-height) + var(--header-height));
}

:where(.page-home) main {
	padding-top: var(--fixed-offset);
}


/* --------------- */
/*    00. CQC      */
/* --------------- */

:where(.page-home) .cqc-banner {
	background: #6D276A; /* Pantone 519C (RGB 109,39,106) */
	color: #fff;
	border-bottom: none;
	
	/* background: #fff; 
	color: #6D276A; */
}

:where(.page-home) .cqc-banner__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	gap: 16px 24px;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

:where(.page-home) .cqc-banner__title,
:where(.page-home) .cqc-banner__dates {
	margin: 0;
}

:where(.page-home) .cqc-banner__title {
	font-size: 1.6rem;
}

:where(.page-home) .cqc-banner__dates {
	font-size: 1.4rem;
	opacity: 0.9;
	margin-top: 20px;
}

:where(.page-home) .cqc-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	line-height: 1.6;
}

:where(.page-home) .cqc-badge--good {
	background: #0b6a0b;
	color: #fff;
}

:where(.page-home) .cqc-banner__breakdown {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 6px 16px;
	margin: 10px 0 0;
}

:where(.page-home) .cqc-banner__breakdown > div {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

:where(.page-home) .cqc-banner__breakdown dt {
	font-weight: 600;
}

:where(.page-home) .cqc-banner__breakdown dd {
	margin: 0;
}

:where(.page-home) .cqc-banner__links {
	display: flex;
	gap: 12px;
	align-items: center;
}

:where(.page-home) .cqc-banner__link {
	font-size: 1.4rem;
	text-decoration: underline;
	white-space: nowrap;
	color: #ffffff;
	/* color: #6D276A; */
}

:where(.page-home) .cqc-banner__logo img {
	display: block;
	min-width: 135px;
	height: auto;
}

/* Focus visibility */
:where(.page-home) .cqc-banner a:focus-visible {
	outline: 3px solid #000;
	outline-offset: 3px;
}

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

/* Mobile tidy-up */
@media (max-width: 600px) {
	:where(.page-home) .cqc-banner__links {
		width: 100%;
		justify-content: space-between;
	}
}

/* --------------- */
/*    01. HERO     */
/* --------------- */

:where(.page-home) .hero {
	background:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("../imgs/care.webp") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	gap: 5rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	
}

:where(.page-home) .container-hero {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: minmax(300px, 55fr) minmax(150px, 45fr);
	gap: 5rem;
	align-items: center;
	justify-content: center;
}

:where(.page-home) .hero-intro h1 {
	font-size: 3.2rem;
	line-height: 1.8;
	color: var(--secondary);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

:where(.page-home) .hero-intro p,
:where(.page-home) .hero-quotes p {
	font-size: 1.8rem;
	color: var(--offWhite);
	margin-bottom: 3rem;
	line-height: 1.6;
}

:where(.page-home) .hero-intro .button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-home) .hero-intro .button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}

:where(.page-home) .hero-quotes p {
	border-left: 4px solid var(--quaternary);
	padding-left: 20px;
	margin: 40px 0;
}

/* ---------------- */
/*    02. STATS     */
/* ---------------- */

:where(.page-home) .statistics {
	background-color: #f5f5f5;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006eb0' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

:where(.page-home) .stat-container {
	display: flex;
	margin-top: 60px;
}

:where(.page-home) .stat-citation:hover {
	text-decoration: underline;
	color: var(--primary);
}

:where(.page-home) .left-stats p:last-of-type {
	margin-bottom: 3rem;
}

:where(.page-home) .left-stats,
:where(.page-home) .right-stats {
	flex: 1;
	text-align: center;
	font-size: 2rem;
	padding: 40px 20px;
}

:where(.page-home) .left-stats p,
:where(.page-home) .right-stats p {
	font-size: 1.8rem;
	font-weight: 300;
}

:where(.page-home) .left-stats h1,
:where(.page-home) #counter {
	font-family: var(--counter);
	font-size: 10rem;
}

:where(.page-home) .right-stats {
	display: flex;
	flex-direction: column;
	align-items: center; /* Aligns the child elements to center */
}

:where(.page-home) .right-care,
:where(.page-home) .contact-care {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1em;
	text-align: left;
	margin: 0 auto;
	margin-top: 3rem;
}

:where(.page-home) .right-stats .stat-icon {
	color: var(--offBlack);
	font-size: 3rem;
}

:where(.page-home) .stat-icon + .stat-icon {
	padding-top: 5rem;
}

:where(.page-home) .stat-container .button {
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(90deg, var(--quaternary) 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-home) .stat-container .button:hover {
	background-position: left bottom;
	color: var(--offWhite);
}

/* ------------------ */
/*    03. SERVICES    */
/* ------------------ */

:where(.page-home) .services-container {
	display: flex;
	flex-direction: column;
	margin: 5rem auto;
	align-items: center;
	justify-content: center;
}

:where(.page-home) .services-container h1,
:where(.page-home) .services-container h2,
:where(.page-home) .services-container :where(.card) h3 {
	margin: 3rem 0;
	color: var(--primary);
	font-size: 3.2rem;
	line-height: 1.8;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 3rem;
}

[hidden] {
	display: none !important;
}

:where(.page-home) .services .cards-section {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 3rem; /* adjust as needed */
}

:where(.page-home) .services .card {
	text-decoration: none;
	color: inherit;
	background-color: var(--primary);
	border: 1px solid var(--dirtyWhite);
	border-radius: 10px;
	transition: box-shadow 0.3s ease-in-out;
	overflow: hidden;
}

:where(.page-home) .services .card:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

:where(.page-home) .services img {
	transition: transform 0.3s ease-in-out;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
}

:where(.page-home) .services .card:hover img {
	transform: scale(1.05);
}

:where(.page-home) .services .card h3 {
	margin: 0;
	padding: 10px;
	background-color: var(--primary);
	color: var(--dark-title);
	align-items: center;
	justify-content: center;
}

:where(.page-home) .services .card p {
	padding: 20px;
	color: var(--offWhite);
	line-height: 1.6;
}

:where(.page-home) .services .card p span {
	color: var(--dark-title);
}

/* ------------------ */
/*    04. PASSION     */
/* ------------------ */

:where(.page-home) .passion {
	display: flex; /* establishes flex context */
	flex-wrap: wrap; /* allows for wrapping */
	gap: 3rem;
}

:where(.page-home) .passion-text,
:where(.page-home) .passion-img {
	flex: 1 1 40%; /* shorthand for flex-grow, flex-shrink, flex-basis */
	padding: 1em;
	box-sizing: border-box; /* include padding and border in element's total width and height */
}

:where(.page-home) .passion-img img {
	max-width: 100%; /* ensure the image doesn't overflow its container */
	height: auto;
}

:where(.page-home) .passion-container h1,
:where(.page-home) .passion-container h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 3rem 0;
	color: var(--primary);
	font-size: 3.2rem;
	line-height: 1.8;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 3rem;
}

:where(.page-home) .passion-text,
:where(.page-home) .passion-img {
	align-self: center; /* centers the content vertically */
	margin-bottom: 3rem;
}

:where(.page-home) .passion-text .button {
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(90deg, var(--quaternary) 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-home) .passion-text .button:hover {
	background-position: left bottom;
	color: var(--offWhite);
}

:where(.page-home) .passion-text .button-para {
	margin-top: 1.5rem;
}

/* ---------------------- */
/*    05. TESTIMONIAL     */
/* ---------------------- */

:where(.page-home) .testimonial-container {
	background-color: var(--tertiary);
	border-bottom: 5rem solid var(--offWhite);
	padding: 3rem 0;
}

:where(.page-home) .testimonial-header {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--offBlack);
	font-size: 3.2rem;
	line-height: 1.8;
	font-weight: 600;
	text-transform: uppercase;
	margin: 3rem 0;
	margin-bottom: 3rem;
}

:where(.page-home) .testimonial-header > h1,
:where(.page-home) .testimonial-header > h2 {
	margin: 3rem 0;
	color: var(--offWhite);
}

:where(.page-home) .testimonial-wrapper {
	max-width: 1200px;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	margin: 0 auto;
}

:where(.page-home) .reviews-cta {
	max-width: 1200px;
	margin: 3rem auto 0;
	padding: 0 20px;
	color: var(--offWhite);
	font-size: 1.8rem;
	line-height: 1.6;
	text-align: center;
	overflow-wrap: anywhere;
}

:where(.page-home) .reviews-cta a {
	color: var(--offWhite);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

:where(.page-home) .reviews-cta a:hover {
	text-decoration-thickness: 2px;
}

:where(.page-home) .testimonial-wrapper .testimonial-box {
	background-color: var(--offWhite);
	border-radius: 3px;
	padding: 25px;
	width: calc(33% - 10px);
	display: flex;
	flex-direction: column;
}

:where(.page-home) .testimonial-wrapper .testimonial-box i {
	color: var(--tertiary);
	font-size: 2rem;
}

:where(.page-home) .testimonial-text::before {
	content: "\201C"; /* Unicode character for the left double quotation mark */
	font-family: "Font Awesome 5 Free"; /* Update this to the font-family of your icon library */
	font-weight: 900; /* Update this according to your icon library */
	margin-right: 10px;
	color: var(--tertiary);
}

:where(.page-home) .testimonial-text::after {
	content: "\201D";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-left: 10px;
	color: var(--tertiary);
}

:where(.page-home) .testimonial-wrapper .testimonial-box p {
	color: var(--offBlack);
	flex-grow: 1;
}

:where(.page-home) .testimonial-wrapper .testimonial-box .testimonial-content {
	padding-top: 10px;
	display: flex;
	justify-content: space-between;
}

:where(.page-home) .testimonial-wrapper .testimonial-box .testimonial-content .testimonial-info {
	margin-top: auto; /* Pushes the container to the bottom */
}

:where(.page-home) .testimonial-wrapper .testimonial-box .testimonial-content .testimonial-image {
	height: 75px;
	width: 75px;
	padding: 3px;
	border-radius: 50%;
	background: var(--tertiary);
	flex-shrink: 0;
	transition: var(--trans);
}

:where(.page-home) .testimonial-wrapper
	.testimonial-box
	.testimonial-content
	.testimonial-image:hover
	> img {
	transform: scale(1.06);
	transition: var(--trans);
}

:where(.page-home) .testimonial-wrapper
	.testimonial-box
	.testimonial-content
	.testimonial-image
	img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--offWhite);
}

:where(.page-home) .testimonial-wrapper
	.testimonial-box
	.testimonial-content
	.testimonial-info
	.testimonial-name {
	font-size: 1.7rem;
	font-weight: 600;
}

:where(.page-home) .testimonial-wrapper
	.testimonial-box
	.testimonial-content
	.testimonial-info
	.testimonial-job {
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--tertiary);
}

:where(.page-home) .testimonial-wrapper
	.testimonial-box
	.testimonial-content
	.testimonial-info
	.testimonial-stars {
	margin-top: 2px;
}

/* .testimonial-wrapper .testimonial-box .testimonial-content .testimonial-info .testimonial-stars i {
	color: var(--offBlack);
} */


/* ==================================================================== */
/* 3. ABOUT PAGE (was about.css)                                      */
/* ==================================================================== */

/* --------------------- */
/*    01. HERO/ABOUT     */
/* --------------------- */

:where(.page-about) .hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("../imgs/Newcastle-01.webp") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	gap: 5rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	top: 60px;
}

:where(.page-about) .container-hero {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: minmax(225px, 50fr) minmax(225px, 50fr);
	gap: 5rem;
	align-items: center;
	justify-content: center;
}

:where(.page-about) .hero-intro h1 {
	font-size: 32px;
	line-height: 1.8;
	color: var(--secondary);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

:where(.page-about) .hero-intro p,
:where(.page-about) .hero-quotes p {
	font-size: 1.8rem;
	color: var(--offWhite);
	margin-bottom: 3rem;
	line-height: 1.6;
}

:where(.page-about) .hero-intro .button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-about) .hero-intro .button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}

:where(.page-about) .hero-quotes p {
	border-left: 4px solid var(--quaternary);
	padding-left: 20px;
	margin: 40px 0;
}

/* ------------------ */
/*    02. MISSION     */
/* ------------------ */

:where(.page-about) .container-mission {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
	gap: 5rem;
	align-items: center;
	justify-content: center;
	margin-top: 3rem;
}

:where(.page-about) .mission-text,
:where(.page-about) .mission-img {
	flex: 1 1 40%; /* shorthand for flex-grow, flex-shrink, flex-basis */
	box-sizing: border-box; /* include padding and border in element's total width and height */
}

:where(.page-about) .mission-img img {
	max-width: 100%; /* ensure the image doesn't overflow its container */
	height: auto;
}

:where(.page-about) .mission h1,
:where(.page-about) .mission h2,
:where(.page-about) .values h1,
:where(.page-about) .values h2,
:where(.page-about) .values :where(.card) h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 3rem 0;
	color: var(--primary);
	font-size: 32px;
	line-height: 1.8;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 10rem;
}

:where(.page-about) .mission-text,
:where(.page-about) .mission-img {
	align-self: center; /* centers the content vertically */
	margin-bottom: 3rem;
}

:where(.page-about) .mission-text .button {
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(90deg, var(--quaternary) 50%, transparent 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-about) .mission-text .button:hover {
	background-position: left bottom;
	color: var(--offWhite);
}

:where(.page-about) .mission .button-para {
	margin-top: 3rem;
}

/* ----------------- */
/*    03. VALUES     */
/* ----------------- */

:where(.page-about) .values-container {
	display: flex;
	flex-direction: column;
	margin: 5rem auto;
	align-items: center;
	justify-content: center;

	background-color: var(--greyWhite);
}

:where(.page-about) .values-container h1,
:where(.page-about) .values-container h2,
:where(.page-about) .values-container :where(.card) h3 {
	margin: 3rem 0;
	color: var(--primary);
	font-size: 32px;
	line-height: 1.8;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 3rem;
}

:where(.page-about) .values .cards-section {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 3rem; /* adjust as needed */
}

:where(.page-about) .values .card {
	height: 250px;
	padding: 20px;
	margin: 0 10px;
	text-align: center;
	border-radius: 10px;
	transition: box-shadow 0.3s ease-in-out;
	transition: 0.5s;
	background-color: #006eb0;
	background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z' fill='%2387bcdd' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

:where(.page-about) .values .card:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

:where(.page-about) .cards-section .card i {
	width: 60px;
	height: 60px;
	border: 1px solid var(--offBlack);
	border-radius: 50px;
	padding: 15px;
	line-height: 60px;
	margin: auto;
	background: var(--offWhite);
	font-size: 25px;
	color: (--offBlack);
	position: relative;
	top: 80px;
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:hover i {
	top: -50px;
}

:where(.page-about) .cards-section .card h3 {
	font-size: 30px;
	color: var(--offWhite);
	font-weight: 600;
	letter-spacing: 1px;
	position: relative;
	top: 100px;
	transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
	text-transform: uppercase;
}

:where(.page-about) .cards-section .card:hover h3 {
	top: -20px;
}

:where(.page-about) .cards-section .card p {
	font-size: 16px;
	color: var(--offWhite);
	line-height: 26px;
	font-weight: 300;
	letter-spacing: 1px;
	opacity: 0;
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:hover p {
	opacity: 1;
}

:where(.page-about) .cards-section .card:hover:nth-child(1) {
	background: var(--primary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}
:where(.page-about) .cards-section .card:nth-child(1):hover i {
	border: 1px solid var(--primary);
}

:where(.page-about) .cards-section .card:hover:nth-child(2) {
	background: var(--secondary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:nth-child(2):hover i {
	border: 1px solid var(--secondary);
}

:where(.page-about) .cards-section .card:hover:nth-child(3) {
	background: var(--tertiary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:nth-child(3):hover i {
	border: 1px solid var(--tertiary);
}

:where(.page-about) .cards-section .card:hover:nth-child(4) {
	background: var(--quaternary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:nth-child(4):hover i {
	border: 1px solid var(--quaternary);
}

:where(.page-about) .cards-section .card:hover:nth-child(5) {
	background: var(--primary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:nth-child(5):hover i {
	border: 1px solid var(--primary);
}

:where(.page-about) .cards-section .card:hover:nth-child(6) {
	background: var(--secondary);
	box-shadow: 0px 0px 5px 0px var(--grey);
	transition: 0.5s;
}

:where(.page-about) .cards-section .card:nth-child(6):hover i {
	border: 1px solid var(--secondary);
}


/* ==================================================================== */
/* 4. CONTACT PAGE (was contact.css)                                  */
/* ==================================================================== */

/* --------------------- */
/*    01. HERO/ABOUT     */
/* --------------------- */

:where(.page-contact) .hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("../imgs/contact.webp") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	gap: 5rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	top: 60px;
}

:where(.page-contact) .container-hero {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: minmax(225px, 50fr) minmax(225px, 50fr);
	gap: 5rem;
	align-items: center;
	justify-content: center;
}

:where(.page-contact) .hero-intro h1 {
	font-size: 3.2rem;
	line-height: 1.8;
	color: var(--secondary);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

:where(.page-contact) .hero-intro p,
:where(.page-contact) .hero-quotes p {
	font-size: 1.8rem;
	color: var(--offWhite);
	margin-bottom: 3rem;
	line-height: 1.6;
}

:where(.page-contact) .hero-intro .button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-contact) .hero-intro .button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}

:where(.page-contact) .hero-quotes p {
	border-left: 4px solid var(--quaternary);
	padding-left: 20px;
	margin: 40px 0;
}

/* ------------------ */
/*    02. CONTACT    */
/* ------------------ */

:where(.page-contact) .container-contact {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

:where(.page-contact) .contact-grid1 {
	background-color: var(--offWhite);
	padding: 10rem;
}

:where(.page-contact) .contact-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

:where(.page-contact) .contact-form form {
	width: 80%; /* adjust as needed */
	max-width: 500px; /* adjust as needed */
}

:where(.page-contact) .contact-form .form-group {
	margin-bottom: 15px;
}

:where(.page-contact) .contact-form label {
	display: block;
	margin-bottom: 5px;
}

:where(.page-contact) .contact-form input,
:where(.page-contact) .contact-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

:where(.page-contact) .contact-form textarea {
	height: 100px;
}

:where(.page-contact) .contact-form button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
	width: 100%;
	font-size: 1.6rem;
	cursor: pointer;
}

:where(.page-contact) .contact-form button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}

:where(.page-contact) .contact-grid2 {
	background-color: var(--offWhite);
	padding: 10rem;
	display: flex;
	flex-direction: column;
	align-items: left;
	justify-content: center;
}

:where(.page-contact) .contact-grid2 table {
	width: 100%; /* Use the full width of the parent container */
	border-collapse: separate; /* This allows space between cells */
	border-spacing: 10px 0; /* This adds space between cells. The first value is horizontal spacing, the second is vertical */
	display: flex;
	flex-direction: column;
	align-items: center;
}

:where(.page-contact) .contact-grid2 th,
:where(.page-contact) .contact-grid2 td {
	text-align: left; /* Align text to the left */
	padding: 10px; /* Add some padding to all sides of the cells */
}

:where(.page-contact) .contact-grid2 th {
	font-weight: bold; /* Make the header cells bold */
}

:where(.page-contact) .contact-grid2 td {
	vertical-align: middle; /* Center the content vertically */
}

:where(.page-contact) .contact-grid3 {
	background-color: var(--quaternary);
	padding: 10rem;
	color: var(--offWhite);
	display: flex;
	flex-direction: column;
	align-items: left;
	line-height: 1.8;
}


:where(.page-contact) .center-grid3 {
	margin: auto;
}

:where(.page-contact) .contact-title {
	margin-bottom: 3rem;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
}

:where(.page-contact) .contact-grid3 .contact-details,
:where(.page-contact) .contact-grid3 .contact-details h1,
:where(.page-contact) .contact-grid3 .contact-details a,
:where(.page-contact) .contact-grid3 .contact-details i {
	color: var(--offWhite);
}

:where(.page-contact) .contact-grid3 a {
	color: var(--offWhite);
	transition: color 0.3s ease-in-out;
}

:where(.page-contact) .contact-grid3 a:hover {
	color: var(--dark-title);
	font-weight: 600;
}

:where(.page-contact) .contact-details {
	margin-bottom: 1rem;
}

:where(.page-contact) .contact-grid3 .oppo-link {
	margin-top: 2rem;
}

:where(.page-contact) .contact-email {
	margin-bottom: 5rem;
}

:where(.page-contact) .center-grid3 .download-box {
	margin: 3rem 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

:where(.page-contact) .center-grid3 .download-btn {
	display: flex;
	color: var(--offWhite);
	background-color: var(--dark-title);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background-size: 200% 100%;
	transition: all 0.5s ease-in-out;
	align-items: center;
	justify-content: flex-start;

}

:where(.page-contact) .center-grid3 .download-btn:hover {
	color: var(--dark-title);
	border: 1px solid var(--dark-title);
	background-color: var(--offWhite);
}

:where(.page-contact) .center-grid3 .download-btn i {
	margin-right: 1rem;
	font-size: 2rem;
}


/* ==================================================================== */
/* 5. THANK-YOU + PRIVACY PAGES (was thank-you.css)                   */
/* ==================================================================== */

/* --------------------- */
/*    01. HERO/THANKS    */
/* --------------------- */

:where(.page-plain) .hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("../imgs/regus-house.webp") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	gap: 5rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	top: 60px;
	margin-bottom: 6rem;
}

:where(.page-plain) .container-hero {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: minmax(225px, 1fr);
	gap: 5rem;
	align-items: center;
	justify-content: center;
}

:where(.page-plain) .hero-intro h1 {
	font-size: 3.2rem;
	line-height: 1.8;
	color: var(--secondary);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

:where(.page-plain) .hero-intro p,
:where(.page-plain) .hero-quotes p {
	font-size: 1.8rem;
	color: var(--offWhite);
	margin-bottom: 3rem;
	line-height: 1.6;
}

:where(.page-plain) .hero-intro .button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-plain) .hero-intro .button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}


/* ==================================================================== */
/* 6. SERVICE PAGES (was 7 near-identical files)                      */
/* ==================================================================== */

/* ------------------ */
/*    01. HERO/PC     */
/* ------------------ */

:where(.page-service) .hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		var(--hero-img) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	gap: 5rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	top: 60px;
	margin-bottom: 6rem;
}

:where(.page-service) .container-hero {
	padding: 0 20rem;
	display: grid;
	grid-template-columns: minmax(225px, 50fr) minmax(225px, 50fr);
	gap: 5rem;
	align-items: center;
	justify-content: center;
}

:where(.page-service) .hero-intro h1 {
	font-size: 3.2rem;
	line-height: 1.8;
	color: var(--secondary);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

:where(.page-service) .hero-intro p,
:where(.page-service) .hero-quotes p {
	font-size: 1.8rem;
	color: var(--offWhite);
	margin-bottom: 3rem;
	line-height: 1.6;
}

:where(.page-service) .hero-intro .button {
	color: var(--offWhite);
	border: 1px solid var(--offWhite);
	border-radius: 5px;
	padding: 10px 20px;
	background: linear-gradient(
		90deg,
		var(--offWhite) 50%,
		var(--quaternary) 50%
	);
	background-size: 200% 100%;
	background-position: right bottom;
	transition: all 0.3s ease-in-out;
}

:where(.page-service) .hero-intro .button:hover {
	background-position: left bottom;
	color: var(--quaternary);
	border: 1px solid var(--quaternary);
}

:where(.page-service) .hero-quotes p {
	border-left: 4px solid var(--quaternary);
	padding-left: 20px;
	margin: 40px 0;
}

:where(.page-service) .mini-container,
:where(.page-service) .mini-container p {
	background-color: var(--offWhiteTrans);
	color: var(--offBlack);
	border-radius: 5px;
}

:where(.page-service) .col-text {
	color: var(--tertiary);
	background-color: var(--offWhite);
	padding: 2px;
	margin: 0 2px;
}

:root:where(.page-personal-care) {
	--hero-img: url("../imgs/personal-care.webp");
}
:root:where(.page-companion-care) {
	--hero-img: url("../imgs/companion-care.webp");
}
:root:where(.page-live-in-care) {
	--hero-img: url("../imgs/live-in-care.webp");
}
:root:where(.page-palliative-care) {
	--hero-img: url("../imgs/palliative-care.webp");
}
:root:where(.page-dementia-care) {
	--hero-img: url("../imgs/dementia-care.webp");
}
:root:where(.page-extra-care) {
	--hero-img: url("../imgs/extra-care.webp");
}
:root:where(.page-manchester) {
	--hero-img: url("../imgs/manchester.webp");
}

/* ==================================================================== */
/* 7. RESPONSIVE (was media.css)                                      */
/* ==================================================================== */

@media (max-width: 1272px) {
	.container-contact {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1045px) {
	.testimonial-wrapper .testimonial-box {
		width: calc(50% - 10px);
		margin: 10px 0;
	}
}

@media (max-width: 972px) {
	.container-hero {
		grid-template-columns: none; /* remove the column layout */
		grid-template-rows: auto auto; /* add a row layout */
		padding: 0 15rem;
	}

	footer .wrapper,
	footer .widget-footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center; /* to center the text within the children */
	}
}

@media (max-width: 850px) {
	header {
		top: 0;
		left: 0;
		right: 0;
	}

	header .menu-toggle {
		display: initial;
	}

	header .navbar {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--primary);
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		display: none;
	}

	header .navbar ul li a:hover,
	header .navbar ul li .dropdown-button:hover {
		background-color: var(--primary-btn);
		color: var(--offWhite);
		border-top: none;
	}

	header .navbar ul li {
		width: 100%;
	}

	header .navbar ul li a,
	header .navbar ul li .dropdown-button {
		color: var(--offWhite);
		padding: 15px;
		width: 100%;
	}

	header .navbar ul li ul {
		position: relative;
		width: 100%;
		align-items: center;
		border-bottom-left-radius: 0px;
		border-bottom-right-radius: 0px;
	}

	header .navbar ul li ul li {
		background: var(--primary-btn);
	}

	header .navbar ul li ul li a {
		padding: 10px;
	}

	header .navbar ul li ul li ul {
		width: 100%;
		left: 0;
	}

	header .navbar ul li ul li ul li {
		background-color: var(--primary-btn-hover);
	}
	header .navbar ul li ul li ul li a:hover:hover {
		background-color: var(--primary-btn-outline);
		color: var(--offBlack);
	}

	.toolbar {
		display: none;
	}

	header .navbar.is-open {
		display: initial;
	}

	.container-hero {
		padding: 0 12rem;
	}

	.passion {
		flex-direction: column;
	}

	.container-contact {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 702px) {
	.testimonial-wrapper .testimonial-box {
		width: 100%;
	}
}

@media (max-width: 670px) {
	.stat-container {
		flex-direction: column;
	}
	.right-stats {
		order: -1; /* This will make .right-stats appear first */
		padding: 0;
		padding-bottom: 40px;
		display: flex;
		flex-direction: column;
		align-items: center; /* Aligns the child elements to center */
	}
	.right-care,
	.contact-care {
		flex-direction: column;
		align-items: center;
	}
	.right-stats .stat-icon {
		font-size: 7rem;
	}
	.left-stats {
		order: 1; /* This will make .left-stats appear second */
		padding-top: 40px;
	}
	.left-stats p,
	.right-stats p {
		font-size: 2.4rem;
		font-weight: 300;
	}
	.left-stats h1,
	#counter {
		font-family: var(--counter);
		font-size: 14rem;
	}
}

@media (max-width: 500px) {
	.logo-txt {
		font-size: 1.6rem;
	}
	.container-hero {
		grid-template-columns: none; /* remove the column layout */
		grid-template-rows: auto auto; /* add a row layout */
		padding: 0 7rem;
	}

	.developed-by {
		background-color: var(--offBlack);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
	}
	.contact-grid1,
	.contact-grid2,
	.contact-grid3 {
		padding: 3rem;
	}
}

@media (max-width: 380px) {
	header {
		padding: 0 15px;
	}
	.logo-txt {
		font-size: 1.4rem;
	}
	.container-hero {
		grid-template-columns: none; /* remove the column layout */
		grid-template-rows: auto auto; /* add a row layout */
		padding: 0 1rem;
	}

	.logo-txt-responsive {
		display: flex;
		flex-direction: column;
	}
	.logo-txt-gap {
		margin-left: 0px;
	}
}

@media (max-width: 300px) {
	.logo-txt-responsive {
		display: none;
		padding: 0;
	}
}


/* ==================================================================== */
/* 8. MODERN VISUAL LAYER (was modern.css)                            */
/* ==================================================================== */

/* Modern trust-led visual layer */

:root {
	--ink: #102433;
	--ink-soft: #3b5668;
	--surface: #ffffff;
	--surface-soft: #f4f8f7;
	--surface-blue: #eef7fb;
	--line: #d9e7e6;
	--shadow: 0 20px 55px rgba(16, 36, 51, 0.12);
	--shadow-soft: 0 12px 35px rgba(16, 36, 51, 0.08);
	--radius: 8px;
	--radius-sm: 6px;
}

html {
	scroll-padding-top: 128px;
}

body {
	background: var(--surface-soft);
	color: var(--ink);
	font-family:
		"Roboto",
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	line-height: 1.55;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	letter-spacing: 0;
}

p {
	color: var(--ink-soft);
}

.container {
	max-width: 1180px;
}

.button,
button,
.download-btn {
	border-radius: var(--radius-sm) !important;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font-weight: 700;
}

.toolbar {
	background: #0b5f8f;
	padding: 0 28px;
	align-items: center;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.toolbar,
.toolbar a,
.toolbar p {
	font-size: 1.45rem;
}

header {
	min-height: 82px;
	padding: 0 42px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	box-shadow: 0 12px 34px rgba(16, 36, 51, 0.1);
}

.logo-img {
	height: 4.4em;
}

.logo-txt {
	color: var(--ink);
	font-weight: 700;
	font-size: 2rem;
}

header .navbar ul li a,
header .navbar ul li .dropdown-button {
	border-top: 0;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-weight: 600;
	padding: 14px 15px;
}

header .navbar .active {
	color: var(--primary);
}

header .navbar ul li a:hover,
header .navbar ul li .dropdown-button:hover {
	background: var(--surface-blue);
	border-top: 0;
	color: var(--primary);
}

header .navbar ul li ul {
	width: 235px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px;
}

header .navbar ul li ul li {
	border-top: 0;
}

header .navbar ul li ul li a {
	color: var(--ink);
	padding: 11px 12px;
}

header .navbar ul li ul li a:hover {
	background: var(--surface-blue);
	color: var(--primary);
	border-top: 0;
}

main {
	padding-top: 132px;
}

.hero {
	top: 0 !important;
	min-height: calc(100vh - 132px);
	background-attachment: scroll !important;
	isolation: isolate;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(6, 34, 50, 0.9),
			rgba(6, 34, 50, 0.62) 48%,
			rgba(6, 34, 50, 0.28)
		),
		radial-gradient(
			circle at 15% 20%,
			rgba(255, 255, 255, 0.16),
			transparent 28%
		);
	z-index: -1;
}

.container-hero {
	width: min(1180px, calc(100% - 48px));
	padding: 72px 0 !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr) !important;
	gap: 48px !important;
}

.hero-intro {
	max-width: 680px;
}

.hero-intro h1 {
	color: #ffffff;
	font-size: clamp(4rem, 6vw, 7.8rem);
	line-height: 1.02;
	text-transform: none;
	font-weight: 800;
	margin-bottom: 22px;
}

.hero-intro p,
.hero-quotes p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 2rem;
	line-height: 1.65;
}

.hero-intro .button,
.hero-actions .button,
.stat-container .button,
.passion-text .button,
.contact-form button {
	background: var(--quaternary) !important;
	border: 1px solid var(--quaternary) !important;
	color: #ffffff !important;
	box-shadow: 0 12px 28px rgba(187, 10, 105, 0.22);
}

.hero-intro .button:hover,
.hero-actions .button:hover,
.stat-container .button:hover,
.passion-text .button:hover,
.contact-form button:hover {
	background: #9d0758 !important;
	border-color: #9d0758 !important;
	color: #ffffff !important;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.hero-actions .button--secondary {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.55) !important;
	box-shadow: none;
	color: #ffffff !important;
}

.hero-actions .button--secondary:hover {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: var(--ink) !important;
}

.hero-eyebrow,
.section-eyebrow {
	color: var(--tertiary);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-eyebrow {
	color: #bfe8e5;
	margin-bottom: 12px;
}

.hero-quotes {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
}

.hero-quotes p {
	border-left: 0;
	color: var(--ink-soft);
	margin: 0 0 18px;
	padding: 0;
}

.hero-quotes p:last-child {
	margin-bottom: 0;
}

.hero-trust-list {
	display: grid;
	gap: 14px;
	margin: 0;
}

.hero-trust-item {
	border-left: 4px solid var(--tertiary);
	padding-left: 14px;
}

.hero-trust-item strong {
	color: var(--ink);
	display: block;
	font-size: 1.7rem;
	margin-bottom: 2px;
}

.cqc-banner {
	background: #6d276a;
}

.cqc-banner__inner {
	padding: 14px 28px;
	align-items: center;
}

.cqc-banner__dates,
.cqc-banner__title {
	color: #ffffff;
}

.trust-strip,
.care-pathway,
.home-cta {
	padding: 72px 24px;
}

.trust-strip {
	background: var(--surface);
}

.trust-grid,
.pathway-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.trust-item,
.pathway-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 24px;
}

.trust-item strong {
	color: var(--primary);
	display: block;
	font-size: 2.8rem;
	line-height: 1;
	margin-bottom: 10px;
}

.trust-item p,
.pathway-card p {
	margin: 0;
}

.section-header {
	width: min(760px, 100%);
	margin: 0 auto 36px;
	text-align: center;
}

.section-header h1,
.section-header h2 {
	font-size: clamp(3rem, 4vw, 4.8rem);
	font-weight: 800;
	margin: 10px 0 12px;
	text-transform: none;
}

.section-header p {
	font-size: 1.8rem;
}

.services-container,
.passion-container,
.values-container,
.mission,
.contact {
	background: var(--surface-soft);
	padding: 76px 0;
	margin: 0 auto;
}

.services-container h1,
.services-container h2,
.services-container :where(.card) h3,
.passion-container h1,
.passion-container h2,
.mission h1,
.mission h2,
.values h1,
.values h2,
.values :where(.card) h3,
.contact > h1,
.contact > h2 {
	color: var(--ink);
	font-size: clamp(3rem, 4vw, 4.8rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 34px;
	text-transform: none;
}

.services .cards-section,
.values .cards-section {
	gap: 22px;
	width: 100%;
}

.services .card,
.values .card,
.testimonial-wrapper .testimonial-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.services .card:hover,
.values .card:hover,
.testimonial-wrapper .testimonial-box:hover {
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.services .card h3 {
	background: var(--surface);
	color: var(--ink);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.25;
	padding: 20px 20px 4px;
	text-transform: none;
}

.services .card p {
	color: var(--ink-soft);
	padding: 12px 20px 24px;
}

.services .card p span {
	color: var(--primary);
	font-weight: 800;
}

.statistics {
	background: var(--surface-blue);
	padding: 70px 0;
}

.stat-container {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	margin-top: 0;
	overflow: hidden;
}

.left-stats,
.right-stats {
	padding: 48px 34px;
}

.left-stats h1,
#counter {
	color: var(--primary);
	font-size: clamp(7rem, 12vw, 12rem);
	font-weight: 800;
}

.left-stats p,
.right-stats p {
	color: var(--ink-soft);
	font-size: 1.9rem;
}

.right-care,
.contact-care {
	background: var(--surface-soft);
	border-radius: var(--radius);
	margin-top: 18px;
	padding: 20px;
	width: 100%;
}

.right-stats .stat-icon {
	color: var(--tertiary);
}

.care-pathway {
	background: var(--surface);
}

.pathway-card {
	position: relative;
}

.pathway-card span {
	align-items: center;
	background: var(--primary);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	margin-bottom: 18px;
	width: 34px;
}

.pathway-card h3 {
	font-size: 2.1rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.passion {
	align-items: center;
	width: min(1180px, calc(100% - 48px));
}

.passion-text {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 34px;
}

.passion-img img,
.mission-img img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.testimonial-container {
	background: #0b5f8f;
	border-bottom: 0;
	padding: 80px 0;
}

.testimonial-header {
	margin: 0 auto 28px;
	text-transform: none;
}

.testimonial-header > h1,
.testimonial-header > h2 {
	color: #ffffff;
	font-size: clamp(3rem, 4vw, 4.8rem);
	font-weight: 800;
	margin: 0;
	text-transform: none;
}

.testimonial-text {
	line-height: 1.65;
}

.home-cta {
	background:
		linear-gradient(90deg, rgba(16, 36, 51, 0.88), rgba(16, 36, 51, 0.72)),
		url("../imgs/regus-nvcs.webp") center / cover no-repeat;
	color: #ffffff;
	text-align: center;
}

.home-cta__inner {
	margin: 0 auto;
	max-width: 780px;
}

.home-cta h2 {
	color: #ffffff;
	font-size: clamp(3rem, 4vw, 5rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 16px;
}

.home-cta p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 2rem;
	margin-bottom: 28px;
}

.home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.home-cta .button {
	background: #ffffff;
	border: 1px solid #ffffff;
	color: var(--ink);
	padding: 10px 20px;
}

.home-cta .button--primary {
	background: var(--quaternary);
	border-color: var(--quaternary);
	color: #ffffff;
}

.service-detail,
.service-cta {
	padding: 72px 24px;
}

.service-detail {
	background: var(--surface-soft);
}

.service-detail__inner,
.service-cta__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.service-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 26px;
	align-items: start;
}

.service-detail__intro,
.service-detail__list,
.service-cta__inner {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 32px;
}

.service-detail h2,
.service-cta h2 {
	font-size: clamp(2.8rem, 4vw, 4.4rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 16px;
}

.service-detail ul {
	display: grid;
	gap: 14px;
	margin: 0;
}

.service-detail li {
	color: var(--ink-soft);
	font-size: 1.7rem;
	line-height: 1.55;
	padding-left: 28px;
	position: relative;
}

.service-detail li::before {
	background: var(--tertiary);
	border-radius: 999px;
	content: "";
	height: 9px;
	left: 4px;
	position: absolute;
	top: 0.78em;
	width: 9px;
}

.service-cta {
	background: var(--surface);
	padding-top: 0;
}

.service-cta__inner {
	align-items: center;
	background: var(--surface-blue);
	display: flex;
	gap: 24px;
	justify-content: space-between;
}

.service-cta__inner p {
	font-size: 1.8rem;
	margin: 0;
}

.service-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.service-cta .button {
	background: var(--primary);
	border: 1px solid var(--primary);
	color: #ffffff;
	padding: 10px 18px;
}

.service-cta .button--secondary {
	background: transparent;
	color: var(--primary);
}

.container-mission,
.container-contact {
	width: min(1180px, calc(100% - 48px));
}

.mission h1,
.mission h2,
.values h1,
.values h2,
.values :where(.card) h3 {
	margin-top: 0;
}

.values-container {
	background: var(--surface-soft);
}

.values .card {
	background: var(--surface);
	color: var(--ink);
	height: auto;
	min-height: 260px;
	padding: 30px;
}

.values .card i,
.cards-section .card i {
	background: var(--surface-blue);
	border: 0;
	color: var(--primary);
	position: static;
}

.values .card h3,
.cards-section .card h3 {
	color: var(--ink);
	position: static;
	text-transform: none;
	letter-spacing: 0;
}

.values .card p,
.cards-section .card p {
	color: var(--ink-soft);
	opacity: 1;
}

.values .card:hover h3,
.values .card:hover p,
.values .card:hover i {
	color: #ffffff;
}

.values .card:hover i {
	background: rgba(255, 255, 255, 0.18);
}

.contact {
	padding-top: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container-contact {
	grid-template-columns: 1fr 0.85fr 0.9fr;
	gap: 18px;
	align-items: stretch;
	justify-items: center;
	margin-inline: auto;
	max-width: 1180px;
}

.contact-grid1,
.contact-grid2,
.contact-grid3 {
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 42px;
	text-align: center;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.contact-grid1,
.contact-grid2,
.contact-grid3 {
	display: flex;
	flex-direction: column;
}

.contact-grid1,
.contact-grid2 {
	background: var(--surface);
}

.contact-grid3 {
	background: var(--surface-blue);
	color: var(--ink);
}

.contact-grid1 .content-grid1,
.contact-form,
.contact-form form,
.center-grid3 {
	width: 100%;
}

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

.contact-grid2 table {
	border-collapse: separate;
	border-spacing: 0 10px;
	display: table;
	margin-inline: auto;
	width: min(100%, 360px);
}

.contact-grid2 th,
.contact-grid2 td {
	padding: 13px 16px;
	text-align: left;
}

.contact-grid2 th {
	background: var(--ink);
	color: #ffffff;
	font-size: 1.35rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.contact-grid2 th:first-child {
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.contact-grid2 th:last-child {
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-grid2 td {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--line);
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-weight: 600;
}

.contact-grid2 td:first-child {
	border-left: 1px solid var(--line);
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.contact-grid2 td:last-child {
	border-right: 1px solid var(--line);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-grid2 tr:last-child td {
	background: var(--surface-blue);
	border-color: #b9dde8;
	color: var(--primary);
	font-weight: 800;
}

.contact-grid3 h1,
.contact-grid3 h2,
.contact-grid3 p,
.contact-grid3 a,
.contact-grid3 .contact-details,
.contact-grid3 .contact-details a,
.contact-grid3 .contact-details i {
	color: var(--ink);
}

.contact-grid3 .download-box {
	justify-content: center;
}

.contact-grid3 .download-btn {
	color: #ffffff;
}

.contact-grid3 .download-btn:hover {
	color: var(--ink);
}

.contact-form form {
	max-width: none;
	width: 100%;
}

.contact-form input,
.contact-form textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	min-height: 44px;
}

.contact-form textarea {
	min-height: 140px;
}

footer {
	background: #102433;
	padding: 56px 0;
}

footer .wrapper {
	gap: 32px;
}

footer h3,
footer .logo a {
	color: #ffffff;
	text-transform: none;
}

footer p,
footer a,
footer .footer-social-text,
footer .phone-text,
footer .email-text,
footer .locale-text {
	color: rgba(255, 255, 255, 0.82);
}

footer .footer-menu a.footer-active {
	color: #ffffff;
	font-weight: 800;
}

.developed-by {
	background: var(--surface);
	border-top: 1px solid var(--line);
	padding: 9px 12px;
}

.developed-by .copyright,
.developed-by .copyright p,
.developed-by .hollywoodjack,
.developed-by .hj-text,
.developed-by .hj-link,
.developed-by .hj-text-span {
	color: var(--ink);
}

.developed-by .hj-link:hover,
.developed-by .hj-link:hover .hj-text-span {
	color: #7b124b;
}

@media (max-width: 1080px) {
	header {
		padding: 0 24px;
	}

	.container-hero,
	.container-contact,
	.trust-grid,
	.pathway-grid,
	.service-detail__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hero {
		min-height: auto;
	}
}

@media (max-width: 850px) {
	main {
		padding-top: 82px;
	}

	header {
		min-height: 82px;
	}

	header .navbar {
		background: var(--surface);
		box-shadow: var(--shadow);
		padding: 10px;
	}

	header .navbar ul li a,
	header .navbar ul li .dropdown-button {
		color: var(--ink);
	}

	header .navbar ul li ul li {
		background: var(--surface-blue);
	}

	.container-hero,
	.container-contact,
	.trust-grid,
	.pathway-grid,
	.service-detail__grid {
		grid-template-columns: 1fr !important;
		width: min(100% - 32px, 680px);
	}

	.service-cta__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-intro h1 {
		font-size: 4.2rem;
	}

	.hero-quotes {
		padding: 24px;
	}

	.trust-strip,
	.care-pathway,
	.home-cta,
	.services-container,
	.passion-container,
	.values-container,
	.mission,
	.contact,
	.testimonial-container {
		padding: 52px 0;
	}
}

@media (max-width: 560px) {
	header {
		padding: 0 16px;
	}

	.logo-img {
		height: 3.8em;
	}

	.hero-intro h1 {
		font-size: 3.6rem;
	}

	.hero-intro p,
	.hero-quotes p,
	.home-cta p {
		font-size: 1.7rem;
	}

	.hero-actions,
	.home-cta__actions,
	.service-cta__actions {
		flex-direction: column;
	}

	.hero-actions .button,
	.home-cta .button,
	.service-cta .button {
		width: 100%;
	}

	.left-stats,
	.right-stats,
	.contact-grid1,
	.contact-grid2,
	.contact-grid3 {
		padding: 28px;
	}
}


/* ==================================================================== */
/* 9. ACCESSIBILITY + FIXES (Nov 2026)                                */
/* ==================================================================== */

/* Root size: 62.5% = 10px at the browser default, but now follows the
   visitor's own browser text-size setting (was a fixed 10px). */
html {
	font-size: 62.5%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

img {
	height: auto;
}

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

/* ---------- Skip link (hidden until keyboard focus) ---------- */
.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 10000;
	padding: 12px 18px;
	background: var(--ink);
	color: #ffffff;
	font-weight: 700;
	border-radius: var(--radius-sm);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

main:focus {
	outline: none;
}

/* ---------- Focus indicators ---------- */
/* Keyboard users only (mouse clicks no longer leave a ring) */
:focus:not(:focus-visible) {
	outline: none;
}

/* On dark or coloured backgrounds the pink ring was too faint (2.5:1),
   so use white there instead */
.toolbar :focus-visible,
.cqc-banner :focus-visible,
.hero :focus-visible,
.home-cta :focus-visible,
.testimonial-container :focus-visible,
footer :focus-visible {
	outline: 4px solid #ffffff !important;
	outline-offset: 3px;
}

/* ---------- Icons (self-hosted SVG, replaces Font Awesome + Remix CDNs) ---------- */
/* Sized and aligned to match the old icon font exactly: the icon sits on the
   text baseline and its box is exactly 1em tall */
.ic {
	display: inline-block;
	font-style: normal;
	line-height: 0;
}

.ic > svg {
	display: inline-block;
	height: 1em;
	width: auto;
	vertical-align: -0.125em;
	fill: currentColor;
	overflow: visible;
}

.ri > svg {
	display: inline-block;
	height: 1em;
	width: 1em;
	fill: currentColor;
}

/* Dropdown chevron flips when open (was swapped by JS) */
.dropdown-icon {
	transition: transform 0.2s ease;
}

.dropdown-button[aria-expanded="true"] .dropdown-icon {
	transform: rotate(180deg);
}

/* Phone shake / download pulse: now play 3 times then stop (WCAG 2.2.2),
   and not at all for visitors who ask for reduced motion */
@keyframes nv-shake {
	0% { transform: rotate(-15deg); }
	4% { transform: rotate(15deg); }
	8%, 24% { transform: rotate(-18deg); }
	12%, 28% { transform: rotate(18deg); }
	16% { transform: rotate(-22deg); }
	20% { transform: rotate(22deg); }
	32% { transform: rotate(-12deg); }
	36% { transform: rotate(12deg); }
	40%, 100% { transform: rotate(0deg); }
}

@keyframes nv-beat {
	0%, 90% { transform: scale(1); }
	45% { transform: scale(1.25); }
}

.ic--shake {
	animation: nv-shake 1s linear 3;
}

.ic--beat {
	animation: nv-beat 1s ease-in-out 3;
}

@media (prefers-reduced-motion: reduce) {
	.ic--shake,
	.ic--beat,
	.loader img,
	.dropdown-icon {
		animation: none;
		transition: none;
	}
}

/* ---------- Page loader ---------- */
/* Safety net: hides itself after 3s even if JavaScript fails */
@keyframes nv-loader-out {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

.loader {
	animation: nv-loader-out 0.3s ease 3s forwards;
}

@media (prefers-reduced-motion: reduce) {
	.loader {
		display: none;
	}
}

/* ---------- Toolbar ---------- */
/* Plain text in the toolbar was dark grey on blue (1.1:1) */
.toolbar p {
	color: var(--offWhite);
}

.social-link:focus-visible .social-text {
	opacity: 1;
}

/* ---------- Mobile menu button (replaces hidden checkbox + label) ---------- */
header .menu-toggle {
	background: none;
	border: 0;
	padding: 0 4px;
	min-height: 44px;
	font-family: inherit;
	line-height: inherit;
}

/* ---------- Service cards: titles now h3, keep the capitals look ---------- */
.services .card h3 {
	text-transform: uppercase;
}

/* ---------- Testimonials as quotes ---------- */
.testimonial-box blockquote {
	flex-grow: 1;
}

/* ---------- Footer ---------- */
/* Company number link: underline so it isn't identified by colour alone */
footer .footer-registered a.co-number {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Hover turned links near-black on the dark footer (invisible) */
footer .footer-menu a:hover,
footer ul:not(.socials) li a:hover,
footer .footer-registered a.co-number:hover,
footer .social-link:hover .footer-social-text {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Copyright strip now sits inside <footer> (landmark) */
footer:has(.developed-by) {
	padding-bottom: 0;
}

footer .developed-by {
	margin-top: 56px;
}

/* ---------- Reflow fixes (no sideways scrolling on small phones) ---------- */
@media (max-width: 850px) {
	:where(.page-about) .container-mission {
		padding: 0;
		grid-template-columns: minmax(0, 1fr);
	}
}

.contact-details a,
.contact-grid3 p {
	overflow-wrap: anywhere;
}

/* ---------- Contact form ---------- */
.form-note {
	font-size: 1.5rem;
	margin-bottom: 15px;
	text-align: left;
}

.form-privacy {
	font-size: 1.4rem;
	margin-top: 12px;
	text-align: left;
}

.form-privacy a,
.legal a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Privacy notice page ---------- */
.legal {
	background: var(--surface-soft);
	padding: 72px 24px;
}

.legal__inner {
	width: min(860px, 100%);
	margin: 0 auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 40px;
}

.legal h2 {
	font-size: 2.6rem;
	font-weight: 800;
	margin: 32px 0 12px;
}

.legal h2:first-child {
	margin-top: 0;
}

.legal p,
.legal li {
	font-size: 1.7rem;
	line-height: 1.65;
	margin-bottom: 12px;
}

.legal ul {
	list-style: disc;
	padding-left: 2.4rem;
	margin-bottom: 12px;
}

.placeholder {
	background: #fff3b0;
	color: #4a3a00;
	padding: 0 4px;
	border-radius: 3px;
	font-weight: 700;
}

@media (max-width: 560px) {
	.legal__inner {
		padding: 24px;
	}
}

/* ---------- Thank-you page phone link (on dark photo) ---------- */
.thanks-tel {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Long email addresses / URLs wrap on small screens */
.legal {
	overflow-wrap: anywhere;
}

/* Testimonial quote marks: the originals were Font Awesome's bold quote icons
   (via the icon font). Same icons, now drawn without the external font. */
.testimonial-text::before,
.testimonial-text::after {
	content: "";
	display: inline-block;
	width: 0.875em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: var(--tertiary);
	-webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V320 288 216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V320 288 216z"/%3E%3C/svg%3E') no-repeat center / contain;
	mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V320 288 216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V320 288 216z"/%3E%3C/svg%3E') no-repeat center / contain;
}

.testimonial-text::after {
	-webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72zm-256 0c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72z"/%3E%3C/svg%3E');
	mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72zm-256 0c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72z"/%3E%3C/svg%3E');
}

/* ==================================================================== */
/* 10. MULTI-BRANCH: branch cards, branch pages, breadcrumbs (Nov 2026)  */
/* ==================================================================== */

/* Top bar branch line */
.branch-bar strong {
	font-weight: 700;
}

/* Mobile menu: branch line (desktop shows it in the top bar instead) */
header .navbar ul li.nav-branch {
	display: none;
}

@media (max-width: 850px) {
	header .navbar ul li.nav-branch {
		display: flex;
		flex-wrap: wrap;
		gap: 6px 16px;
		align-items: center;
		background: var(--surface-blue);
		border-radius: var(--radius-sm);
		padding: 14px 15px;
		margin-top: 8px;
	}

	header .navbar ul li.nav-branch a {
		padding: 0;
		width: auto;
		color: var(--primary);
		font-weight: 700;
		text-decoration: underline;
	}

	.nav-branch__label {
		width: 100%;
		color: var(--ink);
	}
}

/* ---------- Branch cards ---------- */
.branch-chooser,
.branch-list,
.branch-section {
	padding: 72px 24px;
	background: var(--surface);
}

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

.branch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 20px;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.branch-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.branch-card.is-yours {
	border: 2px solid var(--primary);
}

.branch-card__yours {
	position: absolute;
	top: -12px;
	right: 18px;
	background: var(--primary);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
}

.branch-card h3 {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.branch-card__region {
	color: var(--tertiary);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0;
}

.branch-meta {
	display: grid;
	gap: 8px;
	margin: 0;
}

.branch-meta li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	color: var(--ink-soft);
	font-size: 1.6rem;
	overflow-wrap: anywhere;
}

.branch-meta .ic {
	color: var(--tertiary);
	flex: none;
}

.branch-meta a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.branch-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
}

.branch-card .button,
.branch-section .button,
.enquiry-form button {
	background: var(--primary);
	border: 1px solid var(--primary);
	color: #fff;
	padding: 10px 18px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.branch-card .button--secondary,
.branch-section .button--secondary {
	background: transparent;
	color: var(--primary);
}

.cqc-chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 1.4rem;
	color: var(--ink-soft);
	margin: 0;
}

.cqc-chip b {
	background: #0b6a0b;
	color: #fff;
	border-radius: 999px;
	padding: 1px 10px;
}

.branch-more {
	text-align: center;
	margin: 26px 0 0;
	font-size: 1.7rem;
}

.branch-more a,
.branch-note a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: underline;
}

/* ---------- Branch page ---------- */
.branch-facts {
	display: grid;
	gap: 12px;
	margin: 0;
}

.branch-facts dt {
	font-weight: 800;
	color: var(--ink);
	font-size: 1.5rem;
}

.branch-facts dd {
	margin: 0;
	color: var(--ink-soft);
	font-size: 1.7rem;
	line-height: 1.5;
}

.branch-facts a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: underline;
}

.branch-two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 22px;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.branch-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 30px;
}

.branch-panel h2 {
	font-size: clamp(2.4rem, 3vw, 3.2rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 14px;
}

.branch-panel p,
.branch-panel li {
	font-size: 1.7rem;
	line-height: 1.6;
}

.branch-panel ul.ticks {
	display: grid;
	gap: 8px;
	margin: 0;
}

.branch-panel ul.ticks li {
	padding-left: 24px;
	position: relative;
	color: var(--ink-soft);
}

.branch-panel ul.ticks li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.7em;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--tertiary);
}

.branch-panel h2.branch-panel__next {
	margin-top: 28px;
}

.branch-panel a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: underline;
}

.service-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.service-links a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface-blue);
	text-decoration: none !important;
}

/* ---------- Enquiry form ---------- */
.enquiry-form {
	display: grid;
	gap: 14px;
}

.enquiry-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--ink);
}

.enquiry-form textarea {
	min-height: 130px;
}

.enquiry-form .form-note,
.enquiry-form .form-privacy {
	margin: 0;
}

.download-link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

/* Long email addresses wrap instead of widening the page */
.branch-facts dd,
.branch-panel p {
	overflow-wrap: anywhere;
}

.container-hero > * {
	min-width: 0;
}

/* ---------- Breadcrumbs (where am I? + way back home) ---------- */
.breadcrumb {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	padding: 10px 24px;
}

.breadcrumb ol {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	width: min(1180px, 100%);
	margin: 0 auto;
	font-size: 1.5rem;
}

.breadcrumb li + li::before {
	content: "\203A" / "";
	margin: 0 10px;
	color: var(--ink-soft);
}

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

.breadcrumb [aria-current="page"] {
	color: var(--ink);
	font-weight: 700;
}

/* Breadcrumb sits under the fixed header, so the hero no longer needs to fill the full screen */
.breadcrumb + .hero {
	min-height: calc(100vh - 132px - 42px);
}

/* Footer: one block per branch so each report link sits with its own rating */
.cqc-branch {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.cqc-branch + .cqc-branch {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding-top: 1.2rem;
	margin-top: 0.4rem;
}

/* Enquiry form fields */
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #8fa3ad;
	border-radius: var(--radius-sm);
	font: inherit;
	background: #fff;
}

/* Send message = primary call to action: same pink as the original contact form */
.enquiry-form button {
	background: var(--quaternary);
	border-color: var(--quaternary);
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(187, 10, 105, 0.22);
}

.enquiry-form button:hover {
	background: #9d0758;
	border-color: #9d0758;
}
