
/* Main Header container  */
.site-header { 
  background-color: #00541A;
  z-index: 999;
  position: relative;
	min-height: 180px;
	
}

/* Nav bar  */
.main-navigation {
  display: flex;
  align-items: center;
  margin-top: 0;
}
.really-first-menu {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2em;
  align-items: center;
}


.site-header.scrolled { 
	
	padding: 10px;
	
 }

.really-first-menu {
  padding-right: 40px;
  margin-bottom: 2em;
}

.ub_call_to_action.wp-block-ub-call-to-action-block { 
	margin-top: 8em;
}



.wp-image-456 {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 20px auto;
}

.wp-block-image.size-full.is-resized {
	overflow: visible;
}

.js-scroll-a {
	color: black;
	background-color: #00541A;
}

.wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.wp-block-image {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.ub_cta_button {
}

.ub_call_to_action.wp-block-ub-call-to-action-block {
}

.site-branding,
.custom-logo-link {
  height: 180px;
  display: flex;
  align-items: center;
}

/* Logo styling and behavior */
.custom-logo {
  max-height: 140px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

.custom-logo-link {
  display: inline-block;
  max-height: 140px;
  overflow: hidden;
  text-decoration: none;
}


.custom-logo,
.custom-logo:active,
.custom-logo:focus {
  max-height: 140px !important;
  height: auto !important;
  width: auto !important;
}




.hero-heading {
  color: #fca400;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

/* Nav menu base styling */
.main-navigation a,
.really-first-menu a {
  color: white !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

/* Hover state */
.main-navigation a:hover,
.really-first-menu a:hover {
  color: #cccccc !important;
}

/* Active (clicked) state */
.main-navigation a:active,
.really-first-menu a:active {
  color: white !important;
}

/* Visited links */
.main-navigation a:visited,
.really-first-menu a:visited {
  color: white !important;
}

/* Focus state (for keyboard navigation) */
.main-navigation a:focus,
.really-first-menu a:focus {
  color: white !important;
  outline: none;
}

.main-navigation ul,
.main-navigation li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  display: inline-block;
  vertical-align: middle;
}

.main-navigation a:focus {
  outline: none !important;
  box-shadow: none !important;
}

.main-navigation a,
.main-navigation a:visited,
.main-navigation a:active,
.main-navigation a:hover {
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.main-navigation a {
  position: relative;
  color: white;
  transition: all 0.2s ease;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-navigation a:hover::after {
  opacity: 1;
}


/* Ensure inline-block layout and spacing between items */
.main-navigation.ul.really-first-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em; /* adjust spacing between nav links */
  padding: 20px 0; /* vertical spacing inside nav */
  margin: 0;
  list-style: none;
}

/* Make sure the list items are aligned properly */
.main-navigation.ul.really-first-menu li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

/* Style the links inside the nav bar */
.main-navigation.ul.really-first-menu a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 5px 0;
  transition: all 0.2s ease;
  position: relative;
}

.wp-block-heading.has-text-align-center {
	font-size: 35px;
}

/* Aligns cell to center of screen and styling */
.has-text-align-center {
  display: flex;
  justify-content: center;         
  align-items: center;             
  padding: 2em;
  color: white;
  background-color: #045b1d;
  border-radius: 15px;
  max-width: 80%;
  margin: 0em auto;
}

/* Contact Us Now! Button Styling  */
.ub-button-block-main.ub-button-flex {
	background-color: #c8790a !important;
}
.ub-button-block-main.ub-button-flex:hover {
  background-color: #045b1d !important;
}

/* Services & Meet the team cell styling */
.has-text-align-center.has-large-font-size {
	display: flex;
  justify-content: center; 
  align-items: center;             
  padding: 2em;
  color: white;
  background-color: #045b1d;
  border-radius: 15px;
  max-width: 60%;
  margin: 0em auto;
} /* paragraph cell below */
.has-text-align-center.has-medium-font-size {
	display: flex;
  justify-content: center;         
  align-items: center;             
  color: white;
  background-color: #045b1d;
  border-radius: 15px;
  max-width: 100%;
}

/* Open navigation menu button */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.site-branding {
  flex-shrink: 0;
}

.open-nav-mobile {
  color: white;
  font-weight: bold;
  background: none;
  border: none;
  padding: 0.5em 1em;
  font-size: 1rem;
  cursor: pointer;
  align-self: center;
}






