/* Make the full header area sticky */
#masthead {
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optional shadow */
}

@media (min-width: 768px) {
	body.admin-bar #masthead {
		top: 32px;
	}
}

.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link::before {
	bottom: 5px; 
}

.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link::before, .ast-desktop .ast-menu-hover-style-overline > .menu-item > .menu-link::before {
	height: 2px;
}

.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
	font-weight: 700; 
}

.ast-builder-html-element p {
	width: 300px;
	text-align: center;
	font-weight: bold;
}

/* Floating Call‑to‑Action Button */
.floating-cta {
  position: fixed;
	font-size: 18px;
	font-family: Montserrat,"Montserrat Fallback";
	font-weight: 700;
  bottom: 40px;      /* distance from bottom */
  right: 40px;       /* distance from right */
  z-index: 9999;
  
  display: inline-block;
  padding: 10px 7px;
  background-color: #7c9881;  /* green */
  color: #fff;
  text-decoration: none;
  border: solid 2px white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.floating-cta:hover, .floating-cta:focus {
  background-color: white;
	color: #7c9881;
}

/* Hide on mobile if you want: */
@media (max-width: 768px) {
  .floating-cta {
    display: inline-block;
  }
}

#ast-scroll-top {
	display: none !important;
}

.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu {
	width: 275px;
}

.main-header-menu .sub-menu .menu-item:hover, .main-header-menu .sub-menu .menu-link:hover {
	background-color: white;
	color: #7c9881;
}

.hover-image-container {
  position: relative;
  width: fit-content;
  display: inline-block;
  cursor: pointer;
}

.hover-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.hover-image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(121, 149, 125, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hover-image-container:hover .img {
  filter: blur(3px);
}

.hover-image-container:hover .overlay {
  opacity: 1;
}

.overlay-text h3 {
	color: white;
}

.hover-image-container .overlay-text {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 1rem;
}

.tabs-overlap {
  position: relative;
  z-index: 500;
	background: white;
}

.home .post-thumb {
    display: none;
}

.home .page {
	margin-top: -1.5em;
}

.tabs-overlap .uagb-tab:hover {
  background-color: #79957d;
  color: #FFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tabs-overlap .uagb-tabs__panel {
	margin: 0 !important;
}

.block-above {
  position: relative;
  z-index: 400;
}

.services-image-container h3 {
	margin-top: 25px;
	padding: 0 20px;
}

.services-image-container p {
	padding: 0 20px;
}

@media (max-width: 768px) {
	.site-content {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (min-width: 768px) {
  .services-image-container {
    display: none;
  }
}

.center-faq .uagb-faq-questions {
  text-align: center;
	font-size: 20px;
}

.center-faq .uagb-faq-content {
	text-align: center; 
	color: #162845;
	margin-bottom: 15px;
}

.center-faq .uagb-faq-content img {
	display: block; 
	margin: 1em auto; 
	max-width: 150px; 
	width: 100%; 
	height: auto;
}

.center-faq .uagb-faq-content strong {
	display: block;
	font-size: 20px;
	color: #162845;
	margin-bottom: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* space between icons */
  margin: 20px 0;
}

.social-icons a img {
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}
