@import url('./plugins/fontawesome/css/all.min.css');

:root {
	--button-bg-color: #087299;
	--button-bg-color-hover: #03354f;
}

* {
	box-sizing: border-box;
}

body {
	display: block;
	margin: 0px auto;
	max-width: 2560px;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	background-color: white;
	text-align: center;
	font-size: medium;
	font-family: 'Nunito Sans', sans-serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	font-variation-settings:
		'wdth' 100,
		'YTLC' 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	padding: 0.5em 0px;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

.Admin {
	background-color: #e9edf1;
	display: block;
	width: 100%;
	text-align: left;
}

.Admin a {
	display: inline-block;
	padding: 5px 0px 10px 5px;
	font-size: xx-small;
	color: #c5c7c8;
	text-decoration: none;
}

.Site-Footer {
	background: #114691;
	color: #eaf5f9;
	padding: 55px 5% 24px;
	text-align: left;
	margin-top: 1.5em;
}

.Site-Footer-Grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(150px, 1fr));
	gap: 36px;
	margin: 0 auto;
	max-width: 1100px;
}

.Site-Footer-Brand img {
	max-width: 190px;
	filter: brightness(0) invert(1);
}

.Site-Footer p {
	line-height: 1.6;
	margin: 14px 0 0;
}

.Site-Footer h2 {
	font-size: 1.1em;
	padding: 0 0 12px;
}

.Site-Footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.Site-Footer li + li {
	margin-top: 9px;
}

.Site-Footer a {
	color: #eaf5f9;
	text-decoration: none;
}

.Site-Footer a:hover,
.Site-Footer a:focus {
	color: #75d0f2;
	text-decoration: underline;
}

.Site-Footer-Bottom {
	border-top: 1px solid rgba(234, 245, 249, 0.25);
	margin: 38px auto 0;
	max-width: 1100px;
	padding-top: 18px;
	text-align: center;
}

.Contact-Details {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 28px;
	margin: 55px auto 70px;
	max-width: 1000px;
	padding: 0 5%;
	text-align: left;
}

.Contact-Details-Intro {
	align-self: center;
}

.Contact-Details-Intro h2 {
	color: #03354f;
	font-size: 2em;
	padding: 0 0 16px;
}

.Contact-Details-Intro p {
	font-size: 1.08em;
	line-height: 1.7;
	margin: 0;
}

.Contact-Details-Card {
	background: #1782b1;
	border-radius: 16px;
	color: white;
	padding: 28px 32px;
}

.Contact-Details-Card h3 {
	padding: 0 0 8px;
}

.Contact-Details-Card p {
	margin: 0 0 28px;
}

.Contact-Details-Card a {
	color: white;
	font-weight: bold;
}

.Contact-Details-Areas {
	list-style: none;
	margin: 0;
	padding: 0;
}

.Contact-Details-Areas li + li {
	margin-top: 7px;
}

.Thank-You-Content {
	margin: 50px auto 70px;
	max-width: 680px;
	padding: 0 5%;
}

.Thank-You-Content p {
	font-size: 1.08em;
	line-height: 1.7;
	margin: 0 0 26px;
}

.Box-1 {
	width: 1000px;
	padding-bottom: 80px;
	display: inline-block;
	max-width: 100%;
}

.Box-100-Img {
	display: inline-block;
	width: 100%;
	border-radius: 16px;
	background-image: url(Images-Main/Team.jpg);
	background-position: center top;
	background-size: cover;
	margin-top: 35px;
}

.Box-100-Img-Text {
	display: inline-block;
	float: left;
	margin: 70px 0px 70px 5%;
	width: 35%;
	background-color: rgba(23, 130, 177, 0.9);
	color: white;
	border-radius: 16px;
	padding: 35px;
	min-width: 250px;
}

.Box-100-Img-Text .Button a {
	background-color: white;
	color: #1782b1;
	font-weight: bold;
}

.Box-100-Img-Text .Button a:hover {
	color: white;
}

.Box-2 {
	display: inline-block;
	vertical-align: middle;
	width: 49.5%;
	padding: 35px;
	text-align: left;
}

.Box-2 img {
	border-radius: 16px;
}

.Box-2 p {
	line-height: 1.5em;
}

.Box-2-White {
	display: inline-block;
	margin: 35px 15px 0px 15px;
	padding: 15px;
	border: 1px solid;
	color: #c3cbd7;
	border-radius: 16px;
	width: 40%;
	vertical-align: top;
	min-width: 300px;
}

.Box-2-White img {
	display: block;
	width: 90%;
	border-radius: 16px;
	transition: transform 0.25s ease;
	transform-origin: center center;
	margin: 0px auto;
}

/* Subtle zoom on hover */
.Box-2-White:hover img {
	transform: scale(1.04);
}

.Box-2-White p {
	text-align: left;
}

.Box-33 {
	display: inline-block;
	width: 32.5%;
	padding: 35px;
	text-align: left;
}

.Box-33-img-border {
	padding: 15px;
	border: 1px solid;
	border-radius: 16px;
	background-color: white;
	overflow: hidden;
	transition: box-shadow 0.25s ease;
}

.Box-33-img-border img {
	border-radius: 16px;
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.25s ease;
	transform-origin: center center;
}

.Box-5 {
	display: inline-block;
	margin-top: 35px;
	padding: 0px 15px;
	width: 19.5%;
	min-width: 200px;
	vertical-align: top;
}

.Box-5 p {
	margin: 0px;
}

.Box-5 img {
	border-radius: 16px;
}

.Box-67 {
	display: inline-block;
	width: 66.5%;
	padding: 35px;
	text-align: left;
	vertical-align: top;
}

.Box-Blue {
	display: inline-block;
	padding: 35px;
	color: white;
	background-color: #1782b1;
	border-radius: 16px;
}

.Box-Blue a {
	color: white;
}

.Box-Dark a {
	color: #c3cbd7;
	text-decoration: none;
}

.Box-Dark a:hover {
	color: white;
}

/* Ensure image is animatable */
.Box-Dark a > img {
	display: block;
	max-width: 100%;
	transition:
		transform 0.25s ease,
		filter 0.25s ease;
}

/* Subtle zoom on hover */
.Box-Dark a:hover > img {
	transform: scale(1.04);
}

/* Back-to-top styles */
.BackToTop {
	position: fixed;
	z-index: 10;
	right: 10px;
	bottom: 10px;
	background-color: #fcf7f7;
	padding: 10px;
	color: white;
	font-family: sans-serif;
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	font-size: medium;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}

.BackToTop a {
	display: inline-block;
	padding: 10px;
	background-color: rgba(23, 130, 177, 1);
	border-radius: 5px;
	color: white;
	text-decoration: none;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	font-size: 0.8em;
	transition:
		color 0.25s,
		background-color 0.25s;
	line-height: normal;
	height: 50px;
	box-sizing: border-box;
	text-align: center;
}

.BackToTop a:hover {
	color: #ffffff;
	background-color: rgba(15, 168, 235, 1);
}

.BackToTop #BackToTop {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-size: 20px;
	width: 50px;
}

.BackToTop #BackToTop i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.BackToTop #CloseBTT {
	position: absolute;
	left: -10px;
	top: -10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.Button a {
	display: inline-block;
	padding: 15px;
	border-radius: 16px;
	background-color: #1782b1;
	color: white;
	text-decoration: none;
}

.Button a:hover {
	background-color: #13a7e7;
}

/* CAPTCHA styles */
.captcha-field {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1em; /* Space between CAPTCHA image and refresh button */
}

.captcha {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.captcha-image {
	max-height: 60px; /* Ensures the image doesn't get too tall */
	margin-right: 10px;
}

.captcha-refresh-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	cursor: pointer;
}

.Container {
	width: 1400px;
	display: inline-block;
	max-width: 90%;
}

/* Form styles */
.form {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.form-input-field.required {
	flex: 1;
}

.form-row {
	display: flex;
	flex-direction: row;
	gap: 1em;
	flex-wrap: wrap;
}

.form-row .form-input-field {
	flex: 1;
}

.button {
	padding: 0.75em 1em;
	background-color: #c4c6c8;
	color: black;
	font-weight: bold;
	font-size: 1em;
	border: none;
	border-radius: 10px;
	text-decoration: none;
	text-transform: capitalize;
	cursor: pointer;
	transition:
		color 0.25s,
		background-color 0.25s;
}

.button:hover {
	background-color: #a8bbce;
	color: black;
}

.form-input-field {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	text-align: left;
	min-width: 200px;
}

.form-field-label,
.form-field-input {
	width: 100%;
	font-size: 1em;
}

.form-field-input {
	padding: 0.5em;
	border: none;
	background-color: rgb(245, 245, 245);
	border-radius: 10px;
}

.form-field-input[type='date'],
textarea.form-field-input {
	font-size: 1.15em;
}

.form-field-input[type='file'] {
	cursor: pointer;
}

.form-input-field.required {
	flex: 1;
}

.form-input-field.required .form-field-label::before {
	content: '*';
	color: red;
}

header {
	display: inline-block;
	width: 100%;
	padding: 15px 0px;
}

.Hero {
	border-bottom: 6px solid #114590;
	border-top: 6px solid #114590;
	line-height: 0px;
}

.Hero-Text {
	display: inline-block;
	width: 100%;
	background-color: #114590;
	color: white;
	font-size: x-large;
}

.Hero-Text .Container {
	text-align: left;
}

.Hover-Zoom-Shadow:hover .Box-33-img-border {
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.Hover-Zoom-Shadow:hover .Box-33-img-border img {
	transform: scale(1.05);
}

/* Rotate-in animation (soft, professional) */
@keyframes rotateInRightSoft {
	from {
		opacity: 0;
		transform: translateX(40px) rotate(3deg);
	}
	to {
		opacity: 1;
		transform: translateX(0) rotate(0deg);
	}
}

/* Initial hidden state */
.Img-Rotate img {
	display: block;
	max-width: 100%;
	opacity: 0;
	transform: translateX(120px) rotate(33deg);
}

/* Applied by JavaScript when in view */
.Img-Rotate img.animate-in {
	animation: rotateInRightSoft 1.5s ease-out both;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.Img-Rotate img {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.Logo {
	display: inline-block;
	float: left;
	width: 131px;
}

/* Navigation styles */
.Nav-Row {
	display: inline-block;
	float: right;
	margin-top: 75px;
}

.Nav-Inline-Block {
	display: inline-block;
}

nav {
	display: flex;
	list-style: none;
	justify-content: center;
}

nav menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style-type: none;
	list-style-image: none;
	padding-left: 0px;
	margin: 0px;
}

nav li {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
	height: 100%;
}
nav li ul {
	padding-left: 0px;
	text-align: left;
}
nav li ul li {
	text-align: left;
	padding-left: 0px;
	display: block;
}

nav a {
	text-decoration: none;
	color: #333;
	padding: 1em;
	display: inline-block;
}

nav a:hover {
	text-decoration: underline;
}

.menu-toggle {
	display: none;
	font-family: inherit;
	font-size: inherit;
}

/* Dropdown content */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	min-width: 250px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	top: 100%; /* Position the dropdown below the menu item */
	left: 0;
}

.dropdown-content a {
	text-align: left;
	display: block;
	padding: 8px 12px; /* Bring items closer to the left edge */
}

/* Show dropdown when active */
.dropdown-content.show {
	display: block;
}

.Row-Color {
	width: 100%;
	padding-bottom: 35px;
	margin-top: 35px;
}

.Row-Contact {
	background-color: #e9edf1;
	margin-top: 20px;
	padding: 1em;
}

/* Scroll to highlight styles */
@keyframes highlight-ani {
	0% {
		background-color: transparent;
	}
	25% {
		background-color: #fff59d;
	}
	75% {
		background-color: #fff59d;
	}
	100% {
		background-color: transparent;
	}
}

.ScrollToHighlight-anchor-highlight {
	animation: highlight-ani 2s ease;
}

.ScrollToHighlight-anchor-highlight:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 9999999999;
	opacity: 0.25;
	pointer-events: none;
	animation-name: ScrollToHighlight-highlight-ani;
	animation-duration: 1.5s;
	animation-iteration-count: 1;
}

/* Scroll to highlight styles */
@keyframes highlight-ani {
	0% {
		background-color: transparent;
	}
	25% {
		background-color: #fff59d;
	}
	75% {
		background-color: #fff59d;
	}
	100% {
		background-color: transparent;
	}
}

.ScrollToHighlight-anchor-highlight {
	position: relative;
}

/* Media Queries */
@media (max-width: 1023px) {
	.Box-2 {
		width: 100%;
	}

	.Box-33 {
		width: 100%;
	}

	.Box-67 {
		width: 100%;
	}

	.Site-Footer-Grid {
		grid-template-columns: repeat(2, minmax(180px, 1fr));
	}

	.Site-Footer-Brand {
		grid-column: 1 / -1;
	}

	.Contact-Details {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 850px) {
	.hil-container {
		display: flex;
		flex-direction: column;
	}

	.hil-menu {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	nav {
		flex-direction: column;
		width: 100%;
		align-items: center;
	}

	nav ul {
		margin-top: 0;
		padding-left: 0;
		width: 100%;
		text-align: center;
	}

	nav li {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		position: relative;
	}

	nav li a {
		width: 100%;
	}

	.menu-toggle {
		display: flex;
		justify-content: center; /* Center the button horizontally */
		gap: 0.5em;
		align-items: center;
		padding: 1em;
		width: 100%;
		border: none;
		background-color: transparent;
		cursor: pointer;
	}

	.menu-toggle i {
		font-size: 1.5em;
	}

	#main-menu {
		display: none;
		background-color: #ffffff;
		width: 100%;
	}

	.menu-toggle .close {
		display: none;
	}

	#main-nav.active .menu-toggle .close {
		display: var(--fa-display, inline-block);
	}

	#main-nav.active .menu-toggle .open {
		display: none;
	}

	#main-nav.active #main-menu {
		display: flex;
		flex-direction: column;
	}

	.dropdown-content {
		position: static;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.dropdown-content.show {
		display: block;
	}

	/* Prevent underlining dropdown links on hover/focus */
	nav .dropdown-content a,
	nav .dropdown-content a:active,
	nav .dropdown-content a:focus {
		text-decoration: none !important;
	}

	/* Center dropdown items on mobile */
	.dropdown-content a {
		text-align: center;
	}
}

@media only screen and (max-width: 600px) {
	.Site-Footer-Grid {
		grid-template-columns: 1fr;
	}
	.captcha-field {
		flex-direction: column; /* Stack elements vertically */
		align-items: flex-start;
	}

	.captcha {
		display: flex;
		flex-direction: row; /* Ensure the CAPTCHA image and refresh button are side by side */
		align-items: center;
		justify-content: flex-start;
		width: 100%;
	}

	.captcha-image {
		margin-right: 10px; /* Ensure space between the CAPTCHA image and the refresh button */
		max-width: 75%; /* Ensure the image doesn't take up too much space */
	}

	.captcha-refresh-btn {
		margin-top: 0; /* Remove top margin */
		padding: 0;
		height: 100%; /* Align with the height of the CAPTCHA image */
	}

	.form-input-field.required {
		width: 100%; /* Ensure the input field takes full width */
	}
}

@media (max-width: 500px) {
	.Logo {
		float: none;
	}
	.Nav-Row {
		width: 100%;
		display: block;
		margin-top: 15px;
	}
}
