ul {
	list-style: none;
}
.header {
	position: relative;
	z-index: 10;

	width: 100%;
	max-width: 100vw;
	padding-block: 1em;
	border-radius: 15px 15px 0 0;
	background: var(--accent-clr);
	color: var(--light-clr);
}
.primary-nav-container {
	max-width: 100%;
	padding: 0 5%;
	margin: 0 auto;
	display: flex;
	position: relative;
	height: 10em;
}
.logo-container {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.logo-container img {
	width: 9em;
	height: auto;
}
.primary-nav-block {
	display: flex;
	align-items: center;
}
.nav-links {
	padding-inline: 5em;
	/* position: relative;
  	z-index: 9999;
	-webkit-transform-style: preserve-3d; */
	 /* Fixes Safari z-index rendering bugs */
  	/* transform-style: preserve-3d; */
}
.nav-links > ul {
	display: flex;

	/* position: relative;
	z-index:99999; */
}
.nav-link {
	position: relative;
	border-bottom: 1px dotted #fff;
}
.nav-link > a {
	/* line-height: 3rem; */
	padding: 2rem 1.8rem;
	letter-spacing: 2px;
	/* display: flex;
	align-items: center;
	transition: 0.5s; */
}
/* .nav-link > a > img {
	width: 10px;
  	display: inline-block;
  	vertical-align: middle;
  	margin: 0 0 0 0.5em;
} */
.nav-link > a:hover, .nav-link > a:focus, .nav-link > a:active  {
	color: var(--contrast-clr);
	transition: 0.8s ease-in-out;
}

.hamburger-menu-container {
	flex: 1;
	display: none;
	align-items: center;
	justify-content: flex-end;
}
.hamburger-menu {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;

	/* position: relative;
	z-index: 100; */
}
.hamburger-menu div {
	width: 2rem;
	height: 2px;
	border-radius: 3px;
	background-color: #fff;
	position: relative;
	z-index: 4;
	transition: 0.5s;
}
.hamburger-menu div:before,
.hamburger-menu div:after {
	content: "";
	position: absolute;
	width: inherit;
	height: inherit;
	background-color: #fff;
	border-radius: 3px;
	transition: 0.5s;
}
.hamburger-menu div:before {
	transform: translateY(-7px);
	-webkit-transform: translateY(-7px);

}
.hamburger-menu div:after {
	transform: translateY(7px);
	-webkit-transform: translateY(7px);

}
#check {
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);

	width: 2.5rem;
	height: 2.5rem;
	z-index: 90000;
	cursor: pointer;
	opacity: 0;
	display: none;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div {
	background-color: transparent;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
	transform: translateY(0) rotate(-45deg);
	-webkit-transform: translateY(0) rotate(-45deg);

}
#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
	transform: translateY(0) rotate(45deg);
	-webkit-transform: translateY(0) rotate(45deg);
}

/* Hero image */

.hero-image {
   width: 100%;
   height: auto;
   margin-bottom: 0px;

   display: grid;
   position: relative;
   z-index: 1;
}
.hero-image img {
   margin: 0;
   width: 100%;        /* Forces the image to fill the grid cell width */
   height: 100%;       /* Forces the image to fill the grid cell height */
   object-fit: contain;  /* Prevents distortion by scaling and cropping the image */
   display: block; 
}


/* Footer styles */

.footer {
	padding-block: 6rem;
	margin-top: 5em;
	border-radius: 0 0 15px 15px;
	background: var(--accent-clr);
	color: var(--light-clr);
}
.footer-logo {
	display: flex;
	column-gap: 20px;
}
.footer-logo img {
	position: relative;
	top: -20px;
}
.footerLHS, .footerRHS {
	align-self: start;
}
.footer .footerRHS {
	justify-self: center;
}
.footer img {
	margin-bottom: 0;
}
.footer span {
	display: inline-block;
	margin-bottom: 2rem;
}
.footer h3 {
	margin: 0 0 3rem 0;
	font-weight: bold;
}
.footer a {
	display: block;
	margin-bottom: 2rem;
}
.footer a, .footer i {
	transition: 0.7s;
}
.footer a:hover, .footer i:hover {
	color: var(--contrast-clr);
}
.footer .indigenous-text{
	font-size: clamp(1.3rem, 1.6vw, 1.4rem);
	margin-top: 5rem;
}
.footer .indigenous-images {
	display: flex;
	column-gap: 20px;
}
.footer .websofa {
	border-top: 1px dotted var(--light-clr);
}
.footer .websofa a {
	display: inline;
}



@keyframes animation {
	from {
		opacity: 0;
		transform: translateY(15px);
		-webkit-transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0px);
		-webkit-transform: translateY(0px);
	}
}


@media (max-width: 820px) {
	.hamburger-menu-container {
		display: flex;
		position: relative;
		z-index: 3;
	}
	#check {
		display: block;
	}
	.primary-nav-block {
		position: absolute;
		z-index: 999;
		height: 100dvh;
		top: 10em;
		left: 0;
		width: 100%;
		max-width: 100%;
   	    background: var(--accent-clr);
	    color: var(--light-clr);
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		transform: translateX(105%);
		-webkit-transform: translateX(105%);

		-webkit-transform-style: preserve-3d;
  		transform-style: preserve-3d;
	 /* Fixes Safari z-index rendering bugs */

	}
	#check:checked ~ .primary-nav-block {
		transform: translateX(-0);
		-webkit-transform: translateX(-0);
	}
	#check:checked ~ .primary-nav-block .nav-link,
	#check:checked ~ .primary-nav-block .contact-btn {
		animation: animation 0.5s ease forwards var(--i);
		-webkit-animation: animation 0.5s ease forwards var(--i);
	}
	.nav-links {
		flex: initial;
		width: 100%;
		position: relative;

		/* 🚀 IOS CRITICAL FIX: Propagates the layer ordering downward */
		-webkit-transform-style: preserve-3d;
		transform-style: preserve-3d;
	}
	.nav-links > ul {
		flex-direction: column;
		position: relative;
		z-index: 1000;
	}
	.nav-link {
		width: 100%;
		margin-block: 0.5em;
		padding-block: 1rem;
		opacity: 0;
		transform: translateY(15px);
		-webkit-transform: translateY(15px);
	}
	.nav-link > a {
		padding-block: 1rem;
		font-size: 1.4rem;
	}
	.nav-link:hover > a {
		transform: scale(1);
		-webkit-transform: scale(1);
	}
}
@media (min-width: 820px) {

    .header {
        display: grid;
		grid-template-columns: 5fr 1fr;
        align-items: center;
    }
	.primary-nav-container {
		max-width: 1244px;
		padding: 0;
		display: flex;
		justify-content: flex-end;
	}
	.nav-link {
		border: none;
	}
	.nav-link > a {
		color: var(--light-clr);
		font-size: 1.4rem;
	}
	 .nav-link > a:hover::before {
		transform: scale(1, 1);
		-webkit-transform: scale(1, 1);
	}
}
