:root {
	--black: #000000;
	--white: #FFFFFF;
	--blue: #5B92E5;
	--light-blue: #89B4F8;
	--dark-blue: #2C5AA3;
	--red: #E36B5B;
	--dark-red: #A33B2C;
	--light-red: #F79688;
	--green: #C5E65C;
	--dark-green: #84A32C;
	--light-green: #DAF788;
	--goal-3-green: #4C9F38;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--white);
	color: var(--black);
	font-family: Helvetica, Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

navbar {
	box-shadow: 0px 5px 10px 0px #aaa;
	position: fixed;
	width: 100%;
	opacity: 0.85;
	z-index: 12;
}
.navbar-container {
	display: flex;
	justify-content: space-between;
	height: 248px;
	align-items: center;
}
.logo {
	display: block;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	max-width: 256px;
	max-height: 232px;
	animation: fadein 1s ease-in forwards;
}
.main-title {
	color: var(--white);
	font-size: 36px;
	font-weight: bold;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	animation: fadein 1s ease-in forwards;
}
@keyframes fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

.header-placeholder {
  height: 252px;
  width: 100%;
  background-color: var(--blue);
}

#menu__toggle {
	/* This is a small hidden button, needed for the hamburger menu */
	/* It is located just after the title */
	opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
	transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
	top: 0;
transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
	top: 0;
	transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
	left: 0 !important;
}
.menu__btn {
	position: fixed;
	top: 20px;
	left: 20px;
	width: 26px;
	height: 26px;
	cursor: pointer;
	z-index: 1;
	/* below is test code to add a coloured square background behind the button */
	&::before {
		content: "";
		display: block;
		position: absolute;
		top: -12px;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--blue);
		border-radius: 50%; /* Match the border radius of the button */
		z-index: -1; /* Place the background behind the button content */
	}
  z-index: 101; /* Higher than the menu box so it's clickable when menu is open/closed */
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: var(--white);
	transition-duration: .25s;
}
.menu__btn > span::before {
	content: '';
	top: -8px;
}
.menu__btn > span::after {
	content: '';
	top: 8px;
}
.menu__box {
	display: block;
	position: fixed;
	top: 0;
	left: -100%;
	width: 300px;
	height: 100%;
	margin: 0;
	padding: 80px 0;
	list-style: none;
	background-color:var(--blue);
	box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
	transition-duration: .25s;
	z-index: 100; /* Example: ensure it's above most other content */
}
.menu__item {
	display: block;
	padding: 12px 24px;
	color:  var(--white);
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	transition-duration: .25s;
}
.menu__item a {
	transition: background-color 0.2s ease-in-out;
}

.menu__item:hover {
	background-color: var(--light-blue);
	transition: background-color 0.2s ease-in-out;
}

nav {
	background-color: var(--blue);
	color: var(--white);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 10px;
}

nav a {
	color: var(--white);
	font-size: 20px;
	font-weight: bold;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease-in-out;
}

nav a:hover {
	background-color: var(--light-blue);
	transition: background-color 0.2s ease-in-out;
}

.video-block {
  margin-bottom: 25px; /* Space between each video unit */
}

.video-block h4 {
  margin-bottom: 10px; /* Space between title and video iframe container */
  font-size: 1.2em;  /* Example size, adjust to your preference */
  font-weight: bold; /* Make titles stand out a bit */
  color: var(--dark-blue); /* Example color, match your card titles or theme */
}

.video-container {
  position:relative;
  padding-bottom:56.25%;  /* 16:9 aspect ratio */
  height:0;
  overflow:hidden;
  z-index: 0; /* YouTube rudely wants to take over the screen by being the topmost layer! We place them back where they belong, in the background */

}
.video-container iframe, .video-container object, .video-container embed {
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:100%;
}

.container {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px; /* 1200px */
	padding: 20px;
}

.intro {
	margin-bottom: 40px;
}

.intro h2 {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 10px;
}

.intro__banner {
  background-color: var(--blue);
  padding: 0;
  width: 100%;
}

.intro__banner a {
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: block; /* ensures full width */
  padding: 8px 16px;
  transition: background-color 0.2s ease-in-out;
}

.intro__banner a:hover {
  background-color: var(--light-blue);
}

.intro__alert {
  background-color: var(--red);
  padding: 0;
  width: 100%;
}

.intro__alert a {
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: block; /* ensures full width */
  padding: 8px 16px;
  transition: background-color 0.2s ease-in-out;
}

.intro__alert a:hover {
  background-color: var(--light-red);
}

.intro__info {
  background-color: var(--green);
  padding: 0;
  width: 100%;
}

.intro__info a {
  color: var(--black);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: block; /* ensures full width */
  padding: 8px 16px;
  transition: background-color 0.2s ease-in-out;
}

.intro__info a:hover {
  background-color: var(--light-green);
}

.services {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	flex-wrap: wrap;
	justify-content: space-between;
	/* flex-grow: 0; */
	/* flex-shrink: 0; */
	gap: 20px;
	margin-bottom: 40px;
}

.services h2 {
  width: 100%;
  flex-basis: 100%;
  text-align: left; /* Or 'center' if you prefer */
  margin-bottom: 20px; /* Adjust as needed */
  /* Add any other general h2 styling you want for section titles here if needed */
}

.service {
	flex-grow: 1;
	flex-basis: 300px; /* width when using flex row, height otherwise */
	align-content: stretch;
	height: auto; /* needed to control the alignement of various elements */
	width: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.2s ease-in-out;
	box-sizing: border-box;
}

.service:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.card-content {
	padding: 0;
}

.card-title {
	color: var(--dark-blue);
	font-size: 24px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

.card-text {
	color: var(--black);
	font-size: 16px;
	line-height: 1.5;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.card-anchor {
	background-color: var(--blue);
	border: none;
	color: var(--white);
	display: block;
	font-size: 20px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease-in-out;
}

.card-anchor:hover {
	background-color: var(--light-blue);
	transition: background-color 0.2s ease-in-out;
}

.full-width-banner {
    width: 100%;
    height: auto;
}

.contact {
	background-color: var(--blue);
	color: var(--white);
	padding: 20px;
	margin-top: 40px;
}
.contact h3 {
	font-size: 24px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 20px;
	text-align: center;
}
.contact p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
}
.contact a {
	color: var(--white);
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}
.contact a:hover {
	text-decoration: underline;
}

.qr-code {
	display: block;
	margin-top: 0;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	max-width: 200px;
	max-height: 200px;
}

.contact-details {
	margin-top: 20px;
	text-align: center;
}

.contact-details p {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 5px;
}

.contact-details a {
	color: var(--light-blue);
	text-decoration: none;
}

.contact-details a:hover {
	text-decoration: underline;
}

footer {
	text-align: left;
	padding: 20px;
	background-color: var(--white);
	font-size: 0.8em;
}
footer span {
	color: var(--black);
}

/* Google Calendar https://www.mpking.com/2021/04/making-google-calendar-embeddable.html */

.responsiveCal {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  z-index: 0; /* Google rudely wants to take over the screen by being the topmost layer! We place them back where they belong, in the background */
}
 
.responsiveCal iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Google rudely wants to take over the screen by being the topmost layer! We place them back where they belong, in the background */
}

@media all and (min-width: 768px) {
    .deskContent {display:block;}
    .phoneContent {display:none;}
}

@media all and (max-width: 767px) {
    .deskContent {display:none;}
    .phoneContent {display:block;}
}
