/**
 * Contact Us page styles.
 *
 * @package Northern_Nursing_Care
 */

/* =========================================================
   Contact Page
   ========================================================= */

   .contact-page {
	overflow: hidden;
}

.contact-page .section-heading {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.contact-page .section-subtitle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: #147d79;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.contact-page .section-subtitle::before,
.contact-page .section-subtitle::after {
	width: 24px;
	height: 2px;
	background-color: #d4a017;
	content: "";
}

.contact-page .section-heading h2 {
	margin: 0 0 16px;
	color: #0b1f5a;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.15;
}

.contact-page .section-heading p {
	max-width: 670px;
	margin: 0 auto;
	color: #5f6673;
	font-size: 17px;
	line-height: 1.75;
}


/* =========================================================
   Contact Banner
   ========================================================= */

.contact-banner {
	position: relative;
	display: flex;
	min-height: 470px;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 15% 20%,
			rgba(212, 160, 23, 0.22),
			transparent 32%
		),
		radial-gradient(
			circle at 85% 80%,
			rgba(44, 185, 177, 0.18),
			transparent 34%
		),
		linear-gradient(
			135deg,
			#071844 0%,
			#0b1f5a 48%,
			#104f68 100%
		);
}

.contact-banner::before {
	position: absolute;
	top: -110px;
	right: -90px;
	width: 330px;
	height: 330px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
}

.contact-banner::after {
	position: absolute;
	bottom: -145px;
	left: -90px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
}

.contact-banner .container {
	position: relative;
	z-index: 2;
	width: calc(100% - 48px);
	max-width: 1230px;
	margin-right: auto;
	margin-left: auto;
}

.contact-banner__content {
	max-width: 820px;
	padding: 90px 0;
}

.contact-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: #f3c65e;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.contact-banner__eyebrow::before {
	width: 36px;
	height: 2px;
	background-color: #f3c65e;
	content: "";
}

.contact-banner h1 {
	max-width: 780px;
	margin: 0 0 22px;
	color: #ffffff;
	font-size: clamp(42px, 6vw, 68px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -1.5px;
}

.contact-banner p {
	max-width: 700px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.75;
}

.contact-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
}

.contact-breadcrumb a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.25s ease;
}

.contact-breadcrumb a:hover,
.contact-breadcrumb a:focus {
	color: #f3c65e;
}

.contact-breadcrumb span:last-child {
	color: #f3c65e;
}


/* =========================================================
   Contact Information and Form
   ========================================================= */

.contact-main {
	padding: 110px 0;
	background-color: #faf8f4;
}

.contact-main .container {
	width: calc(100% - 48px);
	max-width: 1230px;
	margin-right: auto;
	margin-left: auto;
}

.contact-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: 60px;
	align-items: start;
}

.contact-details__heading {
	margin-bottom: 34px;
}

.contact-details__heading .section-subtitle::after,
.contact-form-heading .section-subtitle::after {
	display: none;
}

.contact-details__heading h2,
.contact-form-heading h2 {
	margin: 0 0 17px;
	color: #0b1f5a;
	font-size: clamp(31px, 4vw, 45px);
	font-weight: 700;
	line-height: 1.16;
}

.contact-details__heading p,
.contact-form-heading p {
	margin: 0;
	color: #5f6673;
	font-size: 16px;
	line-height: 1.75;
}

.contact-details__list {
	display: grid;
	gap: 18px;
}

.contact-detail-card {
	display: flex;
	gap: 19px;
	padding: 23px;
	border: 1px solid rgba(11, 31, 90, 0.08);
	border-radius: 18px;
	background-color: #ffffff;
	box-shadow: 0 11px 30px rgba(11, 31, 90, 0.055);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
}

.contact-detail-card:hover {
	transform: translateY(-4px);
	border-color: rgba(20, 125, 121, 0.22);
	box-shadow: 0 18px 40px rgba(11, 31, 90, 0.09);
}

.contact-detail-card__icon {
	display: flex;
	width: 55px;
	height: 55px;
	flex: 0 0 55px;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background-color: rgba(20, 125, 121, 0.1);
	color: #147d79;
}

.contact-detail-card__content h3 {
	margin: 0 0 7px;
	color: #0b1f5a;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.contact-detail-card__content p {
	margin: 0 0 7px;
	color: #626977;
	font-size: 14px;
	line-height: 1.65;
}

.contact-detail-card__content a,
.contact-detail-card__content span {
	color: #147d79;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.contact-detail-card__content a:hover,
.contact-detail-card__content a:focus {
	color: #0b1f5a;
}

.contact-form-wrapper {
	padding: 42px;
	border: 1px solid rgba(11, 31, 90, 0.08);
	border-radius: 26px;
	background-color: #ffffff;
	box-shadow: 0 22px 55px rgba(11, 31, 90, 0.1);
	scroll-margin-top: 120px;
}

.contact-form-heading {
	margin-bottom: 30px;
}

.contact-form-heading h2 {
	font-size: clamp(30px, 4vw, 42px);
}

.contact-form {
	display: grid;
	gap: 21px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.contact-form__group {
	display: grid;
	gap: 9px;
}

.contact-form__group label {
	color: #0b1f5a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.contact-form__group label span {
	color: #b42318;
}

.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
	width: 100%;
	border: 1px solid rgba(11, 31, 90, 0.16);
	border-radius: 12px;
	outline: none;
	background-color: #fbfcfc;
	color: #222b3a;
	font-family: inherit;
	font-size: 15px;
	transition:
		border-color 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.contact-form__group input,
.contact-form__group select {
	min-height: 52px;
	padding: 0 15px;
}

.contact-form__group textarea {
	min-height: 145px;
	padding: 14px 15px;
	line-height: 1.65;
	resize: vertical;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
	color: #8a909b;
}

.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
	border-color: #147d79;
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(20, 125, 121, 0.1);
}



/* =========================================================
   Contact Form Validation and Responses
   ========================================================= */

.contact-form__response {
	margin-bottom: 25px;
	padding: 16px 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
}

.contact-form__response[hidden] {
	display: none;
}

.contact-form__response--success {
	border-color: rgba(20, 125, 121, 0.25);
	background-color: rgba(20, 125, 121, 0.09);
	color: #0b625f;
}

.contact-form__response--error {
	border-color: rgba(180, 35, 24, 0.24);
	background-color: rgba(180, 35, 24, 0.07);
	color: #9b2017;
}

.contact-form__field-error {
	display: block;
	min-height: 18px;
	color: #b42318;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.contact-form__group input.is-invalid,
.contact-form__group select.is-invalid,
.contact-form__group textarea.is-invalid {
	border-color: #b42318;
	background-color: #fffafa;
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.contact-form__group input.is-invalid:focus,
.contact-form__group select.is-invalid:focus,
.contact-form__group textarea.is-invalid:focus {
	border-color: #b42318;
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.contact-form__submit {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #147d79, #0b5e67);
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(20, 125, 121, 0.22);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		opacity 0.25s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(20, 125, 121, 0.29);
}

.contact-form__submit:disabled,
.contact-form__submit.is-loading {
	cursor: not-allowed;
	opacity: 0.72;
	transform: none;
	box-shadow: 0 10px 22px rgba(20, 125, 121, 0.16);
}

.contact-form__submit:disabled:hover,
.contact-form__submit:disabled:focus,
.contact-form__submit.is-loading:hover,
.contact-form__submit.is-loading:focus {
	transform: none;
	box-shadow: 0 10px 22px rgba(20, 125, 121, 0.16);
}

.contact-form__submit.is-loading svg {
	animation: contact-submit-pulse 1s ease-in-out infinite;
}

@keyframes contact-submit-pulse {

	0%,
	100% {
		opacity: 0.45;
		transform: translateX(0);
	}

	50% {
		opacity: 1;
		transform: translateX(3px);
	}

}

.contact-form__notice {
	margin: -5px 0 0;
	color: #727986;
	font-size: 12px;
	line-height: 1.55;
	text-align: center;
}


/* =========================================================
   Medical Equipment Selection
========================================================= */

.contact-medical-equipment[hidden]{
	display:none;
}

.contact-medical-equipment{
	margin-top:12px;
	padding:28px;
	border:1px solid rgba(20,125,121,.10);
	border-radius:20px;
	background:
	linear-gradient(
	180deg,
	#ffffff 0%,
	#f8fcfc 100%);
	box-shadow:
	0 10px 28px rgba(11,31,90,.05);
	animation:equipmentFade .35s ease;
}

.contact-medical-equipment__heading{
	display:block;
	margin:0;
	color:#0b1f5a;
	font-size:18px;
	font-weight:700;
	line-height:1.4;
}

.contact-medical-equipment__description{
	margin:8px 0 24px;
	color:#667488;
	font-size:14px;
	line-height:1.7;
}

.contact-medical-equipment__grid{

	display:grid;

	grid-template-columns:
	repeat(2,minmax(0,1fr));

	gap:16px;
}


/* =========================================================
   Equipment Card
========================================================= */

.contact-equipment-card{

	position:relative;

	display:flex;

	align-items:center;

	gap:14px;

	padding:18px 20px;

	border:1px solid #e4edf3;

	border-radius:16px;

	background:#ffffff;

	cursor:pointer;

	user-select:none;

	transition:
	transform .25s ease,
	border-color .25s ease,
	box-shadow .25s ease,
	background .25s ease;
}

.contact-equipment-card:hover{

	transform:translateY(-3px);

	border-color:#147d79;

	background:#f8fffe;

	box-shadow:
	0 12px 28px rgba(20,125,121,.10);
}


/* =========================================================
   Checkbox
========================================================= */

.contact-equipment-card input[type="checkbox"]{

	width:20px;

	height:20px;

	margin:0;

	accent-color:#147d79;

	cursor:pointer;

	flex-shrink:0;
}


/* =========================================================
   Equipment Name
========================================================= */

.contact-equipment-card span{

	flex:1;

	color:#0b1f5a;

	font-size:15px;

	font-weight:600;

	line-height:1.5;
}


/* =========================================================
   Selected Card
========================================================= */

.contact-equipment-card:has(input:checked){

	border-color:#147d79;

	background:#eefcf9;

	box-shadow:
	0 12px 30px rgba(20,125,121,.14);
}


/* =========================================================
   Other Equipment Field
========================================================= */

.contact-other-equipment[hidden]{
	display:none;
}

.contact-other-equipment{

	margin-top:24px;
}

.contact-other-equipment input{

	width:100%;

	height:54px;

	padding:0 18px;

	border:1px solid rgba(11,31,90,.14);

	border-radius:12px;

	background:#ffffff;

	font-size:15px;

	transition:
	border-color .25s ease,
	box-shadow .25s ease;
}

.contact-other-equipment input:focus{

	outline:none;

	border-color:#147d79;

	box-shadow:
	0 0 0 4px rgba(20,125,121,.10);
}


/* =========================================================
   Animation
========================================================= */

@keyframes equipmentFade{

	from{

		opacity:0;

		transform:translateY(-10px);
	}

	to{

		opacity:1;

		transform:translateY(0);
	}
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width:991px){

	.contact-medical-equipment__grid{

		grid-template-columns:1fr;
	}
}

@media (max-width:768px){

	.contact-medical-equipment{

		padding:22px;
	}

	.contact-equipment-card{

		padding:16px 18px;
	}

	.contact-equipment-card span{

		font-size:14px;
	}
}

@media (max-width:480px){

	.contact-medical-equipment{

		padding:18px;
		border-radius:16px;
	}

	.contact-medical-equipment__heading{

		font-size:17px;
	}

	.contact-equipment-card{

		padding:15px 16px;
		border-radius:14px;
	}

	.contact-equipment-card span{

		font-size:13px;
	}
}



/* =========================================================
   Contact Map
   ========================================================= */

.contact-map {
	padding: 110px 0;
	background-color: #ffffff;
}

.contact-map .container {
	width: calc(100% - 48px);
	max-width: 1230px;
	margin-right: auto;
	margin-left: auto;
}

.contact-map__frame {
	overflow: hidden;
	border: 1px solid rgba(11, 31, 90, 0.1);
	border-radius: 24px;
	background-color: #edf2f3;
	box-shadow: 0 20px 55px rgba(11, 31, 90, 0.11);
}

.contact-map__frame iframe {
	display: block;
	width: 100%;
}

.contact-map__address {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 24px;
	padding: 23px 26px;
	border: 1px solid rgba(11, 31, 90, 0.08);
	border-radius: 18px;
	background-color: #faf8f4;
}

.contact-map__address-icon {
	display: flex;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background-color: rgba(20, 125, 121, 0.1);
	color: #147d79;
}

.contact-map__address h3 {
	margin: 0 0 5px;
	color: #0b1f5a;
	font-size: 19px;
	font-weight: 700;
}

.contact-map__address p {
	margin: 0;
	color: #626977;
	font-size: 14px;
	line-height: 1.65;
}

.contact-map__link {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	padding: 11px 21px;
	border-radius: 999px;
	background-color: #0b1f5a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease;
}

.contact-map__link:hover,
.contact-map__link:focus {
	transform: translateY(-2px);
	background-color: #147d79;
	color: #ffffff;
}


/* =========================================================
   Contact CTA
   ========================================================= */

.contact-cta {
	padding: 100px 0;
	background-color: #faf8f4;
}

.contact-cta__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 55px 58px;
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(
			circle at 90% 20%,
			rgba(212, 160, 23, 0.2),
			transparent 30%
		),
		linear-gradient(
			135deg,
			#0b1f5a 0%,
			#10396a 55%,
			#147d79 100%
		);
	box-shadow: 0 26px 65px rgba(11, 31, 90, 0.2);
}

.contact-cta__inner::before {
	position: absolute;
	top: -85px;
	right: -60px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
}

.contact-cta__inner::after {
	position: absolute;
	bottom: -120px;
	left: 36%;
	width: 260px;
	height: 260px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
}

.contact-cta__content,
.contact-cta__actions {
	position: relative;
	z-index: 2;
}

.contact-cta__content {
	max-width: 680px;
}

.contact-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	color: #f3c65e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.contact-cta__eyebrow::before {
	width: 28px;
	height: 2px;
	background-color: #f3c65e;
	content: "";
}

.contact-cta h2 {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.18;
}

.contact-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 16px;
	line-height: 1.75;
}

.contact-cta__actions {
	display: flex;
	min-width: 225px;
	flex-direction: column;
	gap: 13px;
}

.contact-cta__button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease;
}

.contact-cta__button:hover,
.contact-cta__button:focus {
	transform: translateY(-2px);
}

.contact-cta__button--primary {
	background-color: #d4a017;
	color: #ffffff;
}

.contact-cta__button--primary:hover,
.contact-cta__button--primary:focus {
	background-color: #e2ad20;
	color: #ffffff;
}

.contact-cta__button--secondary {
	border-color: rgba(255, 255, 255, 0.5);
	background-color: rgba(255, 255, 255, 0.07);
	color: #ffffff;
}

.contact-cta__button--secondary:hover,
.contact-cta__button--secondary:focus {
	border-color: #ffffff;
	background-color: #ffffff;
	color: #0b1f5a;
}


/* =========================================================
   Responsive Styles
   ========================================================= */

@media screen and (max-width: 1050px) {

	.contact-main__grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.contact-details__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.contact-cta__actions {
		width: 100%;
		flex-direction: row;
	}

	.contact-cta__button {
		flex: 1;
	}

}


@media screen and (max-width: 768px) {

	.contact-banner {
		min-height: 420px;
	}

	.contact-banner .container,
	.contact-main .container,
	.contact-map .container {
		width: calc(100% - 40px);
	}

	.contact-banner__content {
		padding: 72px 0;
	}

	.contact-banner h1 {
		font-size: 44px;
		letter-spacing: -0.8px;
	}

	.contact-banner p {
		font-size: 16px;
	}

	.contact-main,
	.contact-map,
	.contact-cta {
		padding: 80px 0;
	}

	.contact-details__list {
		grid-template-columns: 1fr;
	}

	.contact-form-wrapper {
		padding: 34px 28px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
	}

	.contact-map__frame iframe {
		height: 420px;
	}

	.contact-map__address {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.contact-map__link {
		width: 100%;
		margin-left: 0;
	}

	.contact-cta__inner {
		padding: 44px 32px;
		border-radius: 22px;
	}

	.contact-cta__actions {
		flex-direction: column;
	}

}


@media screen and (max-width: 520px) {

	.contact-banner {
		min-height: 390px;
	}

	.contact-banner .container,
	.contact-main .container,
	.contact-map .container {
		width: calc(100% - 32px);
	}

	.contact-banner__content {
		padding: 58px 0;
	}

	.contact-banner__eyebrow {
		font-size: 12px;
		letter-spacing: 1px;
	}

	.contact-banner h1 {
		font-size: 36px;
		line-height: 1.12;
	}

	.contact-main,
	.contact-map,
	.contact-cta {
		padding: 65px 0;
	}

	.contact-details__heading h2,
	.contact-form-heading h2 {
		font-size: 30px;
	}

	.contact-detail-card {
		padding: 20px;
	}

	.contact-detail-card__icon {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}

	.contact-form-wrapper {
		padding: 29px 21px;
		border-radius: 20px;
	}

	.contact-form__response {
		padding: 14px 15px;
		font-size: 13px;
	}

	.contact-map__frame {
		border-radius: 18px;
	}

	.contact-map__frame iframe {
		height: 350px;
	}

	.contact-map__address {
		padding: 20px;
	}

	.contact-cta__inner {
		padding: 38px 24px;
	}

	.contact-cta h2 {
		font-size: 30px;
	}

	.contact-cta__button {
		width: 100%;
	}

}