/* Dropdown background */
.main-header-menu .sub-menu {
  background-color: #000000 !important;
}

/* Dropdown text */
.main-header-menu .sub-menu a {
  color: #ffffff !important;
}

/* Dropdown hover */
.main-header-menu .sub-menu a:hover {
  background-color: #111111 !important;
  color: #0634a9 !important;
}

/* Remove white divider lines */
.main-header-menu .sub-menu li {
  border-bottom: none !important;
}

/* Entire mobile menu background */
.ast-mobile-popup-content {
  background-color: #000000 !important;
}

/* Force Astra mobile menu background */
.ast-mobile-popup-drawer,
.ast-mobile-popup-overlay,
.ast-mobile-popup-content,
.ast-header-break-point .main-header-menu {
  background-color: #000000 !important;
}

/* Force mobile menu links white */
.ast-header-break-point .main-header-menu a {
  color: #ffffff !important;
}

/* Force mobile submenu background */
.ast-header-break-point .main-header-menu .sub-menu {
  background-color: #000000 !important;
}

/* Force mobile submenu text */
.ast-header-break-point .main-header-menu .sub-menu a {
  color: #ffffff !important;
}

/* Mobile hover */
.ast-header-break-point .main-header-menu a:hover {
  background-color: #111111 !important;
  color: #0634a9 !important;
}

/* Mobile hero spacing adjustments */
@media (max-width: 768px) {

  /* Reduce space above hero */
  .ar-hero {
    margin-top: -20px !important;
    padding-top: 0px !important;
  }

  /* Reduce heading spacing */
  .ar-hero h1,
  .ar-hero h2 {
    margin-bottom: 10px !important;
  }

  /* Reduce bottom spacing */
  .ar-hero {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
  }

  /* Pull Welcome section upward */
  .ar-hero + * {
    margin-top: -20px !important;
  }

}

/* Prevent horizontal scrolling on mobile */
html, body {
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }
}

/* Sticky header on mobile + tablet */
@media (max-width: 1024px) {

  #masthead,
  .ast-mobile-header-wrap,
  .ast-main-header-wrap {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 99999;
  }

  body {
    padding-top: 90px !important;
  }

}

/* Sticky header for desktop */
@media (min-width: 1025px) {

  #masthead {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 99999;
  }

  body {
    padding-top: 110px !important;
  }

}

/* Prevent admin bar overlap */
body.admin-bar #masthead {
  top: 32px !important;
}
@media (max-width:1024px){

.ast-header-button-1 {
display:inline-block !important;
margin-right:10px;
}
/* Show desktop "Request Service" header button on mobile */
@media (max-width: 1024px) {

  .ast-header-button-1,
  .ast-header-button,
  .header-main-layout-1 .ast-button-wrap {
    display: inline-block !important;
  }
  /* Reduce button size slightly so mobile header isn't crowded */
  .ast-header-button-1 a,
  .ast-header-button a {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  /* Keep header items aligned nicely */
  .ast-mobile-header-wrap .ast-button-wrap {
    margin-right: 10px;
  }

}