/* Apply the font family to the default sans-serif stack */
body {
	font-family: var(--font-sans);
}

/* Site Styles */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	background-color: var(--light);
}

var {
	font-style: normal;
}

#form1 {
	margin: 0;
	padding: 0;
}

/* HEADER */
.header-wrap {
	z-index: 300;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	transition: background 1s ease;
	border-bottom: 1px solid rgba(232, 232, 232, 0.2);
}

.stuck .header-wrap {
	background: rgba(210, 209, 209, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 0;
}

.header-wrap .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.stuck .header-wrap .container {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.logo svg {
	display: block;
	width: 100%;
	max-width: 240px;
	fill: #fff;
	transition: all 0.3s ease;
}

.stuck .logo svg {
	max-width: 200px;
}

.logo svg path {
	fill: var(--light2);
}

.logo svg .logo-tree1 {
	fill: var(--light);
}

.logo svg .logo-letters {
	fill: var(--light);
}

.stuck .logo svg .logo-letters {
	fill: var(--dark);
}

.stuck .logo svg .logo-tree1 {
	fill: var(--green);
}

.stuck .logo svg .logo-tree2 {
	fill: var(--darkgreen);
}

.stuck .logo svg .logo-wood {
	fill: var(--brown);
}

.header-left, .header-right {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-right {
	margin-left: auto;
}

/* Home Slider */
.home-slide {
	position: relative;
	overflow: hidden;
	display: flex !important;
	flex-direction: column;
	gap: 4rem;
}

.slider-text-wrap {
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}

.slider-text {
	display: flex;
	flex-direction: column;
	align-items: center;
justify-items: center;
	justify-content: center;
	gap: 2rem;
	color: #fff;
	padding: 2rem;
	inset-inline: 0;
	margin: 12rem auto;
	margin-bottom: 0rem;
	text-align: center;
	max-width: 800px;
	min-height: 500px;
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
	z-index: 10;
	border: 2px solid rgba(255, 255, 255, 0.2);
		border-radius: 10vw 0.5vw;
	text-wrap: pretty;
}

@media (min-width: 800px) {
.slider-text {
	padding: 5rem 2rem;
	inset-inline: 0;
	margin: 20rem auto;
	margin-bottom: 10rem;
}
}

@media (min-width: 2500px) {
.slider-text {
			border-radius: 25rem 1rem;
}
}

.slider-text p {
	margin: 0;
}

.home-slide .gal-image-wrap {
	position: absolute;
	z-index: -1;
	height: 100vh;
}

.home-slide .gal-image-wrap img {
	display: block;
	width:100%;
	height:100%;
	object-fit: cover;
	object-position: top;
}

.slider-text .button {
	margin-top: 1rem;
}

.slider-text h1 {
	margin: 0;
	color: inherit;
}

.slider-text p:last-of-type {
	margin: 0;
}

.home-slide:after {
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
}

/* Highlights */
.highlights-wrap {
	position: relative;
width: 100%;
	z-index: 20;
	inset-inline: 0;
	margin: auto;
	background-color: rgba(0, 128, 1, 0.75);
	backdrop-filter: blur(10px);
	padding: 3rem 1rem 2rem 1rem;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);

}

@media (min-width: 1024px) {
	.highlights-wrap {
			max-width: 1200px;
			border-radius: 2rem 2rem 0 0;
	}
}

/* Inner container */
.highlights-wrap > .mx-auto {
	margin-left: auto;
	margin-right: auto;
}

/* Grid container */
.highlights-wrap .grid {
	display: grid;
	grid-template-columns: 1fr;
	justify-items:center;
	
	gap: 3rem;
	column-gap: 2rem;
}

@media (min-width: 400px) {
	.highlights-wrap .grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.highlights-wrap .grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Grid item */
.highlights-wrap .grid > div {
	text-align: center;
	max-width: 25rem;
}

/* Icon container */
.highlights-wrap .grid > div > div {
	background-color: rgba(0, 51, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 8rem;
	height: 8rem;
	color: #fff;
	border-radius: 9999px;
	backdrop-filter: blur(10px);
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1024px) {
	.highlights-wrap .grid > div > div {
		margin-top: -6rem;
	}
}

/* SVG icon */
.highlights-wrap .grid > div > div > svg {
	width: 4rem;
	height: 4rem;
}

/* Heading */
.highlights-wrap .grid > div > h3 {
	margin: 1rem 0;
	font-size: 2rem;
	color: #fff;
}

/* Paragraph */
.highlights-wrap .grid > div > p {
	color: var(--light);
	text-wrap: balance;
	font-size: 1.3rem;
}

/* HERO */
.hero-wrap {
	position: relative;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	background: var(--dark);
	color: var(--light);
	z-index: 0;
}

.hero-wrap h1 {
	color: var(--light);
}

.hero-wrap .container {
	padding-top: 12rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	border-top: 0;
	border-bottom: 0;
	min-height: 500px;
	z-index: 120;
}

.hero-wrap-bg {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../Userfiles/Hero-Images/hero-base.jpg) no-repeat center;
	background-size: cover;
	z-index: 0;
	filter: grayscale(100%);
	opacity: 0.1;
}

.hero-image {
	position: relative;
	right: 0rem;
	top: 2rem;
	width: 100%;
	height: 100%;
	min-height: 300px;
	background: url(../Userfiles/Hero-Images/hero-base.jpg) no-repeat center;
	background-size: cover;
	box-shadow: 0 0 200px #000;
	border-radius: 2rem;
	overflow: hidden;
	z-index: -1;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
	.hero-image {
		position: absolute;
		right: -2rem;
		width: 50%;
		height: 100%;
		box-shadow: 0 0 200px #000;
		border-radius: 10rem 0.5rem;
	}
}

.hero-wrap:after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	z-index: 0;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.hero-wrap-bg img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
	.hero-wrap .container {
		flex-direction: row;
	}
}

.hero-image:after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(to bottom, rgba(128, 64, 0, 1) 0%, rgba(128, 64, 0, 0) 100%);
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.lead-in-wrap {
	flex: 1;
	text-wrap: balance;
	padding: 4rem 0;
	text-align: center;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
	.lead-in-wrap {
		max-width: 45%;
		text-align: left;
	}
}

.cta-wrap .button {
	background: var(--green);
	color: #fff;
}

/* CONTENT */
.content-wrap {
	position: relative;
	padding-top: 5rem;
	padding-bottom: 5rem;
	z-index: 2;
}

.page-pages .content-wrap {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.content-wrap .container {
	min-height: 400px;
}

.main-content {
	position: relative;
	z-index: 11300;
}

/* Home Page Content */
.content-sections-wrap {
	margin-top: 4rem;
}

.content-sections-wrap tbody {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

/* Content sections as table rows */
.content-sections-wrap tr {
	display: flex;
	flex-direction: column;
	flex-direction: column-reverse;
	align-items: stretch;
	justify-content: space-between;
	position: relative;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background-color: var(--light2);
}

@media (min-width: 800px) {
	.content-sections-wrap tr {
		flex-direction: row;
	}/* Reverse even rows */

	.content-sections-wrap tr:nth-child(even) {
		flex-direction: row-reverse;
	}
}

/* Table-cell styling */
.content-sections-wrap td {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 2rem;
	z-index: 10;
	max-width: 100%;
}

@media (min-width: 800px) {
	.content-sections-wrap td {
		max-width: 50%;
		padding: 4rem;
	}
}

.content-sections-wrap tr td:nth-child(2) {
	padding: 0;
}

/* First td is always content-info, second is image */
.content-sections-wrap tr td:nth-child(2) img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	max-height: 15rem;
}

@media (min-width: 800px) {
	.content-sections-wrap tr td:nth-child(2) img {
		max-height: 100%;
	}
}

/* Button spacing */
.content-sections-wrap td a.button {
	margin-top: 1rem;
}

/* Dynamic content-image-bg span */
.content-image-bg {
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}

.content-image-bg:after {
	content:"";
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background: rgba(232, 232, 232, 0.95);
	z-index: -1;
}



/* CTA */
.cta-wrap {
	position: relative;
	background: var(--dark);
}

.cta-wrap .container {
	position: relative;
	z-index: 1;
}

.cta-wrap .cta {
	position: relative;
	padding: 8rem 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	text-wrap: balance;
	box-sizing: border-box;
}

.cta {
	position: relative;
	text-align: center;
	color: var(--light);
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

.cta h3 {
	color: inherit;
	margin: 0;
}

.cta-wrap:after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: url(../Userfiles/template/cta-bg.jpg) no-repeat bottom center;
	background-attachment: fixed;
	background-size: cover;
	opacity: 0.2;
}

/* Footer wrapper */
.footer-wrap {
	color: var(--light);
	background-color: var(--dark);
	z-index: 30;
	padding-top: 5rem;
	padding-bottom: 5rem;
	position: relative;
	background-size: cover;
}

/* Footer container */
.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 800px) {
	.footer {
		flex-direction: row;
	}
}

/* Footer left */
.footer-left {
	width: 260px;
}

/* Footer logo */
.footer-logo {
	display: block;
	width: 100%;
	transition: all 0.3s ease;
	color: var(--light) !important;
}

/* SVG logo */
.footer-logo svg {
	width: auto;
	fill: var(--light);
}

/* Established tagline */
.est-tagline {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
	padding: 0.5rem 2rem;
	border: 2px solid rgba(232, 232, 232, 0.2);
	border-radius: 9999px;
	font-size: 3rem;
}

/* Font styles for est-tagline */
.est-tagline i {
	font-family: serif;
}

.est-tagline b {
	font-weight: 400;
}

/* Social container */
.social {
	width: 260px;
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

@media (min-width: 800px) {
	.social {
		justify-content: flex-end;
	}
}

/* Social links */
.social a {
	background-color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	color: var(--light);
	width: 4rem;
	height: 4rem;
	transition: all 0.3s ease;
}

.social a:hover {
	filter: brightness(110%);
}

/* Social SVG icons */
.social a svg {
	width: 2rem;
	height: 2rem;
}

/* Credits */
.credits {
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	padding-top: 5rem;
}

/* Credits link */
.credits a {
	color: rgba(255, 255, 255, 0.5);
}

/* Contact Form */
#contactForm {
	margin: 0 auto;
	border-radius: 2rem;
}

.page-contact p {
	margin-bottom: 1rem;
	max-width: 48rem;
}

/* Projects Page */
.projects-table {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem;
}

@media (min-width: 800px) {
	.projects-table {
		padding: 0;
	}
}

.projects-table > tbody {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.projects-table > tbody > tr {
	flex: 1 1 100%;
}

@media (min-width: 800px) {
	.projects-table > tbody > tr {
		flex: 1 1 200px;
		max-width: 300px;
	}
}

@media (min-width: 1024px) {
	.projects-table > tbody > tr {
		flex: 1 1 300px;
		max-width: 400px;
	}
}

.projects-table > tr {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.projects-table > tbody > tr > td {
	width: 100%;
	height: 100%;
	border: 0;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 1rem;
	margin-bottom: 1rem;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: opacity 0.2s ease-in-out;
}

.projects-table > tbody > tr > td > img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: flex;
	border: 0;
	max-width: 100%;
	margin-bottom: 1rem;
	transition: opacity 0.2s ease-in-out;
}

.projects-table > tbody > tr > td:hover > img {
	opacity: 0.9;
}

.projects-table tbody td h4 {
	min-height: 4rem;
}

.projects-table tbody td h4, .projects-table tbody td p {
	margin: 0;
	padding: 0 1rem;
}

.projects-table table td {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-radius: 10rem;
	padding: 1rem;
}

.projects-table table td img {
	display: flex;
	height: 3rem;
	width: 3rem;
	border-radius: 1rem;
}

/* FAQ Table */
.accordion-wrap, .accordion-wrap tbody, .accordion-wrap tr, .accordion-wrap td {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.accordion-wrap tbody {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

/* FAQ Row */
.accordion-wrap tr {
	width: 100%;
}

.accordion-wrap tr td + td {
	transition: grid-template-rows ease 0.3s;
	display: grid;
	grid-template-rows: 0fr;
	display: none;
}

/* Open state for answer */
.accordion-wrap tr.open td + td {
	display: grid;
	overflow: hidden;
	grid-template-rows: 1fr;
}

/* First td (Question) */
.accordion-wrap tr td:first-child {
	background-color: var(--light2);
	padding: 1rem 2rem;
	cursor: pointer;
	position: relative;
}

.accordion-wrap tr td:first-child:hover {
	background-color: var(--light2);
}

/* Heading in First td */
.accordion-wrap tr td:first-child h4 {
	margin: 0;
	font-size: 2rem;
	display: inline-block;
	vertical-align: middle;
}

/* Heading in First td */
.accordion-wrap tr td + td {
	background: var(--light2);
	padding: 2rem;
	padding-bottom: 0;
}

/* Icon via ::after in First td */
.accordion-wrap tr td:first-child::after {
	content: '+';
	font-family: monospace;
	line-height: 1;
	width: 2.5rem;
	height: 2.5rem;
	text-align: center;
	vertical-align: middle;
	position: absolute;
	right: 1rem;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.accordion-wrap tr.open td:first-child::after {
	content: '-';
	font-family: monospace;
	line-height: 1;
	width: 2.5rem;
	height: 2.5rem;
	text-align: center;
	vertical-align: middle;
	position: absolute;
	right: 1rem;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Team Page */

/* Team section */
.team-section {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	background-color: rgba(211, 210, 210, 0.5);
	margin-top: 5rem;
	border-radius: 2rem;
	padding: 5rem 1rem;
}

.team-section td {
	text-align: center;
}

/* Team section paragraph */
.team-intro p {
	margin-top: 1rem;
	max-width: 32rem;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.125rem;
	color: #4b5563;
}

/* Team grid */
.team-list {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 640px) {
	.team-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.team-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Team member heading */
.team-list > h3 {
	font-size: 2rem;
	margin-bottom: 0;
	color: var(--darkgreen);
}

/* Products wrapper */

/* Products list */
.products-list, .products-list tbody, .products-list tr, .products-list td {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.products-list tbody {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* Product row (acts like card) */
.products-list tr {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background-color: #fff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 800px) {
	.products-list tr {
		flex-direction: row;
	}
}

/* Product image cell */
.products-list tr td:first-child {
	flex: 1 1 40%;
}

.products-list tr td:first-child img {
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease-in-out;
}

.products-list tr:hover td:first-child img {
	opacity: 0.9;
}

/* Product content cell */
.products-list tr td:last-child {
	flex: 1 1 60%;
	padding: 2rem;
	vertical-align: top;
}

/* Contactv Page */
#contact-table, #contact-table tbody, #contact-table tr, #contact-table td {
	display: flex;
	flex-direction: column;
}

#contact-table tr {
	gap: 2rem;
}

#contact-table tr td:first-child {
	flex:1 1 50%;
}

#contact-table tr td:first-child + td {
	flex:1 1 50%;
}

@media (min-width: 800px) {
	#contact-table tr {
		gap: 10rem;
		flex-direction: row;
	}
}
