/* used to add megamenu hover effects*/
.mm-section {
  position: relative;
  overflow: hidden;
	color: white;
}

.mm-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(19, 42, 131, 0); /* Initially transparent */
  border-radius: 8px;
  z-index: 0;
  transition: background-color 0.4s ease-in-out, border-radius 0.4s ease; /* ✨ Smooth transition */
}

.mm-section:hover::before {
  background-color: rgba(19, 42, 131, 0.7);
}

/* Ensure text is above overlay */
.mm-section > * {
  position: relative;
  z-index: 1;
}

/* Custom CSS for Astra Mega Menu on Mobile and Tablet */

/* Target Mobile Devices (screen width up to 767px) */
@media (max-width: 767px) {
    .astra-megamenu.sub-menu.astra-mega-menu-width-content {
        background-color: var(--ast-global-color-7);
    }
}

/* Target Tablet Devices (screen width from 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .astra-megamenu.sub-menu.astra-mega-menu-width-content {
        background-color: var(--ast-global-color-7);
    }
}




/* Client Resources -*/
.client-resources-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Optional: Add a gentle hover effect for interactivity */
.client-resources-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.site-logo-img img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.video-thumb {
	cursor: pointer;
}

.video-lightbox-resource {
	text-align: center;
}


/* Create white background around footer logo */
.site-footer-above-section-1 aside section {
	 display: inline-block;
  background-color: #fff; /* or rgba(255,255,255,0.95) for softer look */
  padding: 10px 20px;
  border-radius: 8px; /* opt */
}

.footer-mail-link, .footer-phone-link {
	color: white;
}

.footer-mail-link:hover, .footer-phone-link:hover  {
	color: #C84449;
}


/* Contact Us button wider in mobile menu*/
#ast-mobile-header .ast-builder-button-wrap {
	min-width: 100%;
}

#ast-mobile-header .ast-builder-button-wrap .ast-custom-button-link {
	text-align: center;
}


/* Stick header on mobile - background color */
/*
.ast-mobile-header-content {
	background-color: #EEEEEE;
	border-bottom: 0.3rem solid var(--ast-global-color-0);
}
*/

/* Stick header on mobile - background color */
@media (max-width: 768px) {
  .ast-mobile-header-content {
		background-color: #EEEEEE;
    /*position: relative;*/
    z-index: 9999;
  }
  .ast-mobile-header-content::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -16px; height: 16px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0));
  }
}
