/* Main Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--wp--preset--font-family--roboto-slab), serif;
}

p {
	font-family: var(--wp--preset--font-family--roboto), sans-serif;
}

body, h1, h2, h3, h4, h5, h6, p, span, ul, li {
	margin: 0;
}

h1 {
    font-size: 3.5rem; /* 56px */
}	
h2 {
	font-size: 2.5rem; /* 40px */
}
h3 {
	font-size: 2rem; /* 32px */
}
h4 {
	font-size: 1.5rem; /* 24px */
}
h5 {
	font-size: 1.25rem; /* 20px */
}
h6 {
	font-size: 1rem; /* 16px */
}

p {
    font-size: 1rem; /* 16px */
}

span {
    font-size: 0.75rem; /* 12px */
}

a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from the parent element */
}

/* Header */
header {
  	position: sticky;
  	top: 0;
  	z-index: 999;
  	transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

header .container {
	max-width: 1440px;
	display: flex;
  	justify-content: space-between;
  	align-items: center;
	padding: 20px 40px;
	margin: 0 auto;
}

header.scrolled {
	background: #007A5E; /* solid background on scroll */
  	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header .site-logo img {
  	height: 50px;
}

header .header-main-nav .menu-items {
  	display: flex;
  	gap: 30px;
  	list-style: none;
}

header .header-main-nav .menu-items li a {
  	color: #002920;
  	font-weight: 300;
	letter-spacing: .25px;
  	transition: color 0.3s ease, transform 0.3s ease;
}

header.scrolled .header-main-nav .menu-items li a {
	color: #ffffff;
}


header .header-main-nav .menu-items li a:hover {
  	color: rgba(0, 41, 32, 0.6);
}

header.scrolled .header-main-nav .menu-items li a:hover {
	color: rgba(255, 255, 255, 0.8);
}

header .header-main-nav .menu-items .contact {
	margin-top: -1px;
}

header .header-main-nav .menu-items .contact a {
	font-size: 14px;
	letter-spacing: 1px;
	margin-left: 10px;
	padding: 14px 40px;
    border: 1px solid #002920;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
	color: #002920;
	text-transform: uppercase;
}

header .header-main-nav .menu-items .contact a:hover {
	background-color: #002920;
	color: #ffffff;
}

header.scrolled .header-main-nav .menu-items .contact a {
	font-size: 14px;
	letter-spacing: 1px;
	margin-left: 10px;
	padding: 14px 40px;
    background-color: #ffffff;
	border: 1px solid #ffffff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
	color: #007A5E;
	text-transform: uppercase;
}

header.scrolled .header-main-nav .menu-items .contact a:hover {
	background-color: rgba(255, 255, 255, 0.8);
	border-color: rgba(255, 255, 255, 0.8);
	color: rgba(0, 122, 94, 0.8);
}

header .header-main-mobile-nav, header .mobile-menu-popup {
	display: none;
}

/* Footer */
footer #contact {
	scroll-margin-top: 60px;
}

footer .footer-cta .container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* White text */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
	height: 500px;
}

footer .footer-cta .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 41, 32, 0.7); /* Black overlay with 50% opacity */
    z-index: 1;
}

footer .footer-cta h2,
footer .footer-cta p,
footer .footer-cta .footer-cta-buttons {
    position: relative;
    z-index: 2;
}

footer .footer-cta h2 {
    margin-bottom: 25px;
}

footer .footer-cta p {
	font-size: 18px;
	font-weight: 300;
    margin-bottom: 30px;
    max-width: 800px;
	line-height: 1.4;
	letter-spacing: .25px;
}

footer .footer-cta .footer-cta-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-cta .footer-cta-buttons p {
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
}

footer .footer-cta .footer-cta-buttons a {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid #ffffff;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer .footer-cta .footer-cta-buttons a:hover {
    background-color: #ffffff;
    color: #002920;
}

footer .main-footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 40px 30px;
    flex-wrap: wrap; /* allows wrapping on small screens */
    gap: 20px; /* spacing between columns */
	max-width: 1440px;
	margin: 0 auto;
}

footer .main-footer .footer-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .main-footer .footer-left img {
    max-height: 150px; /* adjust logo size */
    margin-bottom: 25px;
}

footer .main-footer .footer-left p {
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: .25px; 
	color: #002920;
}

footer .main-footer .footer-center, 
footer .main-footer .footer-right {
    width: 20%;
}

footer .main-footer .footer-center h4,
footer .main-footer .footer-right h4 {
    margin-bottom: 25px;
	color: #003E30;
}

footer .main-footer .menu-items {
    list-style: none;
    padding: 0;
}

footer .main-footer .menu-items li {
    margin-bottom: 15px;
}

footer .main-footer .menu-items p {
	font-weight: 300;
	letter-spacing: .25px;
}

footer .main-footer .menu-items a {
	color: #002920;
	transition: color 0.3s ease, transform 0.3s ease;
}

footer .main-footer .menu-items a:hover {
	color: rgba(0, 41, 32, 0.6);
}


footer .main-footer .footer-right p {
	margin-bottom: 15px;
	font-weight: 300;
	letter-spacing: .25px;
	color: #002920;
}

footer .main-footer .footer-right a {
	transition: color 0.3s ease, transform 0.3s ease;
}

footer .main-footer .footer-right a:hover {
	color: rgba(0, 41, 32, 0.6);
}

footer .main-footer .footer-right i {
	margin-right: 10px;
}

footer .bootom-footer {
    padding: 20px 40px; /* adjust spacing */
    max-width: 1440px;
	margin: 0 auto;
}

footer .bootom-footer .container {
	display: flex;
    justify-content: space-between; /* push content to edges */
    align-items: center; /* vertically center items */
    flex-wrap: wrap; /* for smaller screens */
	border-top: 1px solid #ededed;
	padding: 20px 0 0; /* adjust spacing */
}

footer .bootom-footer .copyright-text {
    margin: 0;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: .25px;
	color: #002920;
}

footer .bootom-footer .footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px; /* Space between icons */
}

footer .bootom-footer .footer-social li {
    display: inline-block;
}

footer .bootom-footer .footer-social li p {
	font-size: 14px;
}

footer .bootom-footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit; /* Use the current text color */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

footer .bootom-footer .footer-social i {
    color: #002920; /* Default icon color */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

footer .bootom-footer .footer-social a:hover i {
    color: #ffffff; /* Change the color of the icon on hover */
}

footer .bootom-footer .footer-social a {
    border: 1px solid #ededed;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

footer .bootom-footer .footer-social a:hover {
    background-color: #002920; /* Change the background color on hover */
}

footer .bootom-footer .footer-social li:not(:last-child) {
    margin-right: 10px;
}

@media (max-width: 1024px) {
	h1 { 
		font-size: 3rem; 
	}   /* 48px */
    h2 { 
		font-size: 2rem; 
	}   /* 32px */
    h3 { 
		font-size: 1.75rem; 
	} /* 28px */
    h4 { 
		font-size: 1.25rem; 
	} /* 20px */
    h5 { 
		font-size: 1rem; 
	}    /* 16px */
    h6 { 
		font-size: 0.875rem; 
	}/* 14px */
    
	p  { 
		font-size: 0.875rem; 
	}/* 14px */
    
	span { 
		font-size: 0.625rem; 
	}/* 10px */
	
	header .container {
		padding: 20px 30px;
	}
	
	header .header-main-nav {
		display: none;
	}
	
	header .header-main-mobile-nav svg {
		width: 25px;
		height: 25px;
		transition: fill 0.3s ease;
		fill: #002920;
	}
	
	header .header-main-mobile-nav svg:hover {
		fill: rgba(0, 41, 32, 0.6);
	}
	
	header .header-main-mobile-nav {
		display: block;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
	}

	header .mobile-menu-popup {
		position: fixed;
		inset: 0;
		z-index: 9999;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: 0.3s ease;
	}

	header .mobile-menu-popup.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	header .mobile-menu-panel {
		width: 100%;
		height: 100%;
		background: #fff;
		padding: 20px 30px;
		transform: translateX(100%);
		transition: 0.3s ease;
	}

	header .mobile-menu-popup.active .mobile-menu-panel {
		transform: translateX(0);
	}
	
	header .mobile-menu-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 40px;	
	}

 	header .mobile-menu-close {
		margin-right: 55px;
		padding: 0;
		background: none;
		border: none;
		cursor: pointer;
	}
	
	header .mobile-menu-close svg {
		height: 25px;
		width: 25px;
	}
	
	header .mobile-menu-close svg path {
		transition: fill 0.3s ease;
		fill: #002920;
	}

	header .mobile-menu-close:hover svg path {
		fill: rgba(0, 41, 32, 0.6);
	}
	
	header .mobile-menu-panel h4 {
		margin-bottom: 30px;
		color: #003E30;
	}

	header .mobile-menu-items {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	header .mobile-menu-items li {
		margin-bottom: 20px;
	}
	
	header .mobile-menu-items p {
		letter-spacing: .25px;
		font-weight: 300;
	}

	header .mobile-menu-items a {
		color: #002920;
		text-decoration: none;
		transition: color 0.3s ease;
	}
	
	header .mobile-menu-items a:hover {
		color: rgba(0, 41, 32, 0.6);
	}

	header body.mobile-menu-open {
		overflow: hidden;
	}
	
	header .mobile-menu-footer {
		position: absolute;
    	bottom: 60px;
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		gap: 10px; /* Space between icons */
	}
	
	header .mobile-menu-social {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		gap: 5px;
	}

	header .mobile-menu-footer .mobile-menu-social li {
		display: inline-block;
	}

	header .mobile-menu-footer .mobile-menu-social li p {
		font-size: 14px;
	}

	header .mobile-menu-footer .mobile-menu-social a {
		display: flex;
		align-items: center;
		justify-content: center;
		color: inherit; /* Use the current text color */
		transition: all 0.3s ease; /* Smooth transition for hover effects */
	}

	header .mobile-menu-footer .mobile-menu-social i {
		color: #002920; /* Default icon color */
		transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
	}

	header .mobile-menu-footer .mobile-menu-social a:hover i {
		color: #ffffff; /* Change the color of the icon on hover */
	}

	header .mobile-menu-footer .mobile-menu-social a {
		border: 1px solid #ededed;
		border-radius: 50%;
		width: 40px;
		height: 40px;
	}

	header .mobile-menu-footer .mobile-menu-social a:hover {
		background-color: #002920; /* Change the background color on hover */
	}

	header .mobile-menu-footer .mobile-menu-social li:not(:last-child) {
		margin-right: 10px;
	}
	
	footer #contact {
		scroll-margin-top: 30px;
	}
	
	footer .footer-cta .container {
		padding: 0 30px;
		height: 450px;
	}
	
	footer .footer-cta p {
		font-size: 16px;
		max-width: 555px;
	}
	
	footer .footer-cta .footer-cta-buttons p {
		font-size: 12px;
	}
	
	footer .main-footer {
		padding: 50px 30px 5px;
	}
	
	footer .main-footer .footer-left img {
		max-height: 100px;
	}
	
	footer .bootom-footer .copyright-text {
		font-size: 12px;
	}
}

@media (max-width: 767px) {
	h1 { 
		font-size: 2.5rem; 
	}   /* 40px */
    h2 { 
		font-size: 1.75rem; 
	}  /* 28px */
    h3 { 
		font-size: 1.5rem; 
	}   /* 24px */
    h4 { 
		font-size: 1.125rem; 
	} /* 18px */
    h5 { 
		font-size: 0.875rem; 
	} /* 14px */
    h6 { 
		font-size: 0.75rem; 
	}  /* 12px */
    
	p  { 
		font-size: 0.875rem; 
	} /* 14px */
    
	span { 
		font-size: 0.625rem; 
	}/* 10px */
	
	header .container {
		padding: 20px;
	}

	header .mobile-menu-panel {
		width: 100%;
		height: 100%;
		background: #fff;
		padding: 20px;
		transform: translateX(100%);
		transition: 0.3s ease;
	}

	header .mobile-menu-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 40px;	
	}

 	header .mobile-menu-close {
		margin-right: 40px;
		padding: 0;
		background: none;
		border: none;
		cursor: pointer;
	}
	
	header .mobile-menu-footer .mobile-menu-social li p {
		font-size: 14px;
	}

	header .mobile-menu-footer .mobile-menu-social a {
		border: 1px solid #ededed;
		border-radius: 50%;
		width: 40px;
		height: 40px;
	}
	
	footer #contact {
		scroll-margin-top: 60px;
	}

	footer .footer-cta .container {
		padding: 0 20px;
	}
	
	footer .main-footer {
		display: block;
		padding: 50px 20px 30px;
	}
	
	footer .main-footer .footer-left, footer .main-footer .footer-center, footer .main-footer .footer-right {
		width: 100%;
	}
	
	footer .main-footer .footer-left, footer .main-footer .footer-center {
		margin-bottom: 30px;
	}
	
	footer .main-footer .footer-left img {
		max-height: 80px;
	}
	
	footer .main-footer .footer-right p:last-child {
		margin-bottom: 0;
	}
	
	footer .main-footer .menu-items li:last-child {
		margin-bottom: 0;
	}
	
	footer .bootom-footer {
		border-top: 1px solid #ededed;
		padding: 30px 20px 20px;
	}
	
	footer .bootom-footer .container {
		display: block;
		border-top: none;
		padding: 0;
		text-align: center;
	}
	
	footer .bootom-footer .copyright-text {
		margin-bottom: 25px;
	}
	
	footer .bootom-footer .footer-social {
		justify-content: center;
	}
}