/* Northeast Alliance Universal Header/Footer CSS
   Full-width header update with logo inside header.
   Paste this into Appearance → Customize → Additional CSS.
   Do not include  tags in Additional CSS.
*/

.nea-site-shell,
.nea-site-shell * {
  box-sizing: border-box;
}

.nea-site-shell {
  font-family: inherit;
  color: #ffffff;
}

.nea-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

/* Full-width header-specific wrappers */
.nea-topbar .nea-wrap,
.nea-header .nea-wrap,
.nea-subnav .nea-wrap {
  width: 100%;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

/* Optional: if your theme logo is loading separately above the custom header,
   this hides common standalone theme logo/branding blocks WITHOUT hiding the NEA custom header.
   If this hides something you still need, remove this section. */
body .site-branding:not(.nea-site-shell .site-branding),
body .site-logo:not(.nea-site-shell .site-logo),
body .custom-logo-link:not(.nea-site-shell .custom-logo-link),
body header.site-header .site-branding,
body #masthead .site-branding {
  display: none !important;
}

.nea-topbar {
  background: #080f19;
  border-bottom: 1px solid rgba(120, 215, 255, 0.16);
  color: #cbd8e8;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.nea-topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nea-topbar-left,
.nea-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nea-pill-small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #78d7ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.nea-topbar a {
  color: #d8a35d;
  text-decoration: none;
  font-weight: 900;
}

.nea-header {
  width: 100%;
  background:
    radial-gradient(circle at 14% 10%, rgba(39, 191, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(216, 163, 93, 0.12), transparent 30%),
    #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.nea-header-inner {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nea-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: #ffffff;
  min-width: 290px;
}

.nea-brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(39, 191, 255, 0.18);
}

.nea-brand-text strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: 0.3px;
  font-weight: 1000;
}

.nea-brand-text span {
  display: block;
  margin-top: 4px;
  color: #9fb0c6;
  font-size: 13px;
  line-height: 1.2;
}

.nea-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.nea-nav a {
  color: #dbe7f3;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  padding: 12px 10px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nea-nav a:hover {
  background: rgba(120, 215, 255, 0.10);
  color: #78d7ff;
  transform: translateY(-1px);
}

.nea-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 230px;
}

.nea-btn {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.nea-btn-cyan {
  background: #27bfff;
  color: #08111d;
  box-shadow: 0 8px 24px rgba(39, 191, 255, 0.22);
}

.nea-btn-gold {
  background: #d8a35d;
  color: #08111d;
  box-shadow: 0 8px 24px rgba(216, 163, 93, 0.18);
}

.nea-btn-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nea-subnav {
  width: 100%;
  background: #101827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nea-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nea-subnav a {
  color: #cbd8e8;
  background: #132238;
  border: 1px solid rgba(120, 215, 255, 0.14);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.nea-subnav a:hover {
  color: #08111d;
  background: #78d7ff;
}

.nea-footer {
  background:
    radial-gradient(circle at 10% 10%, rgba(39, 191, 255, 0.10), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(216, 163, 93, 0.10), transparent 32%),
    #080f19;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nea-footer-cta {
  background: #101827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 44px 0;
}

.nea-footer-cta-card {
  background: linear-gradient(135deg, #0b1220, #132238);
  border: 1px solid rgba(120, 215, 255, 0.18);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.nea-footer-cta h2 {
  color: #ffffff;
  margin: 0 0 10px 0;
  font-size: 32px;
  line-height: 1.15;
}

.nea-footer-cta p {
  color: #cbd8e8;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.nea-footer-main {
  padding: 54px 0 34px 0;
}

.nea-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 30px;
}

.nea-footer h3 {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 14px 0;
}

.nea-footer p {
  color: #aebcd0;
  line-height: 1.7;
  margin: 0 0 16px 0;
  font-size: 15px;
}

.nea-footer a {
  color: #cbd8e8;
  text-decoration: none;
  font-weight: 800;
}

.nea-footer a:hover {
  color: #78d7ff;
}

.nea-footer-links {
  display: grid;
  gap: 10px;
}

.nea-footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.nea-footer-brand .nea-brand-logo {
  width: 58px;
  height: 58px;
}

.nea-footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
}

.nea-footer-brand span {
  display: block;
  color: #9fb0c6;
  font-size: 13px;
  margin-top: 4px;
}

.nea-footer-card {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
}

.nea-service-area {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nea-service-area h3 {
  text-align: center;
  margin-bottom: 18px;
}

.nea-city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.nea-city-grid a {
  display: inline-block;
  background: #111827;
  color: #78d7ff;
  border: 1px solid rgba(120, 215, 255, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
}

.nea-footer-bottom {
  background: #050a12;
  color: #9fb0c6;
  padding: 18px 0;
  font-size: 13px;
}

.nea-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.nea-footer-bottom a {
  color: #d8a35d;
}

@media (max-width: 1120px) {
  .nea-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nea-nav {
    justify-content: flex-start;
  }

  .nea-header-actions {
    justify-content: flex-start;
  }

  .nea-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nea-footer-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nea-topbar .nea-wrap,
  .nea-header .nea-wrap,
  .nea-subnav .nea-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nea-brand {
    min-width: 0;
  }

  .nea-brand-logo {
    width: 58px;
    height: 58px;
  }

  .nea-brand-text strong {
    font-size: 17px;
  }

  .nea-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .nea-nav a {
    background: #132238;
    text-align: center;
    padding: 12px 8px;
  }

  .nea-header-actions {
    width: 100%;
  }

  .nea-header-actions .nea-btn {
    width: 100%;
    text-align: center;
  }

  .nea-subnav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 14px;
  }

  .nea-subnav a {
    white-space: nowrap;
  }

  .nea-footer-grid {
    grid-template-columns: 1fr;
  }

  .nea-footer-cta h2 {
    font-size: 27px;
  }

  .nea-footer-cta-card {
    padding: 24px;
  }
}


/* Northeast Alliance Header Full-Bleed Fix
   Paste this BELOW the existing NEA CSS in Appearance → Customize → Additional CSS.
   This is specifically for cases where WordPress/theme/header builder containers are boxing the custom header.
*/

/* Force the custom header wrapper to break out of boxed/container layouts */
#nea-custom-header {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  overflow-x: clip !important;
  z-index: 999 !important;
}

/* Make all header bands full width */
#nea-custom-header .nea-topbar,
#nea-custom-header .nea-header,
#nea-custom-header .nea-subnav {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Keep the content nicely padded inside the full-width band */
#nea-custom-header .nea-topbar .nea-wrap,
#nea-custom-header .nea-header .nea-wrap,
#nea-custom-header .nea-subnav .nea-wrap {
  width: 100% !important;
  max-width: none !important;
  padding-left: clamp(18px, 3vw, 48px) !important;
  padding-right: clamp(18px, 3vw, 48px) !important;
}

/* If the header was pasted inside a WPBakery/theme row, remove the row padding around it */
.vc_row:has(#nea-custom-header),
.wpb_wrapper:has(#nea-custom-header),
.elementor-widget-container:has(#nea-custom-header),
.site-content:has(#nea-custom-header) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

/* Prevent a tiny horizontal scrollbar from full-bleed math */
html,
body {
  overflow-x: hidden !important;
}