:root{
  --neo-bg:#0b1220;
  --neo-surface:#0f1a33;
  --neo-surface-2:#111f3e;
  --neo-card:#0e1730;
  --neo-text:#e6edf3;
  --neo-muted:#a8b3c3;
  --neo-border:rgba(255,255,255,.10);
  --neo-primary:#5eead4;
  --neo-primary-2:#a78bfa;
  --neo-accent:#f97316;
  --neo-shadow:0 18px 50px rgba(0,0,0,.35);
  --neo-radius:18px;

  /* Dynamic website theme (editable in Admin → Settings) */
  --ef-primary: #2a3693;
  --ef-primary-dark: #1e276b;
  --ef-accent: #f75d2a;
  --ef-header-bg: #ffffff;
  --ef-header-border: #e8edf5;
  --ef-divider: #e6e6e6;
}

html,body{height:100%;}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif !important;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(94,234,212,.15), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, rgba(167,139,250,.14), transparent 50%),
    linear-gradient(180deg, var(--neo-bg), #070b14);
  color:var(--neo-text);
}

#page.site{
  min-height:100%;
}

a{color:var(--neo-primary);}
a:hover{color:#99f6e4;}

.ss-container,
.container-fluid{
  max-width:1200px;
}
.container-fluid{margin:0 auto;}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--neo-border);
}
.header.neo-header{
  display:block;
  background:var(--ef-header-bg, #fff);
  border-bottom:1px solid var(--ef-header-border, #e8edf5);
  backdrop-filter:none;
}
.header .ss-container{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  align-items:center;
  padding:14px 18px;
}
.header.neo-header .ss-container{
  grid-template-columns:220px 1fr;
  gap:0;
  padding:0;
}
.header__logo img{
  height:44px;
  width:auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
}
.header.neo-header .header__logo{
  padding:10px 20px;
}
.header.neo-header .header__logo img{
  height:auto;
  max-height:60px;
  filter:none;
}
.neo-header .header__logo{
  position:static;
  left:auto;
  margin-left:0;
  padding:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.neo-header .header__links{
  display:flex;
  flex-direction:column;
  justify-content:initial;
  align-items:stretch;
  gap:0;
  height:auto;
  padding:0;
  position:static;
}
.neo-header .nav-top-wrap{
  display:flex;
  justify-content:flex-end;
  background:var(--ef-primary, #2a3693);
  padding-left:20px;
  border-bottom-left-radius:30px;
  min-height:40px;
}
.neo-header .nav-top{
  background:transparent;
  padding:0;
  border-radius:0;
  margin-left:0;
}
.neo-header ul.nav-top{
  width:auto;
  height:auto;
}
.nav-top{
  display:flex;
  gap:14px;
  align-items:center;
}
.neo-header .nav-top a{
  color:#fff;
  font-weight:600;
  font-size:13px;
  padding:10px;
  display:flex;
  align-items:center;
  gap:6px;
}
.neo-header .nav-top a:hover{background:var(--ef-primary-dark, #1e276b); color:#fff;}
.neo-header .nav-top .new-social{
  display:flex;
  gap:10px;
  padding-right:10px;
  margin-right:10px;
  border-right:1px solid rgba(255,255,255,.25);
}
.neo-header .nav-top .new-social a{
  padding:10px;
  border:0;
  border-radius:0;
  background:transparent;
}
.neo-header .nav-top .new-social a i.fa-phone{transform:rotate(90deg);}
.neo-header .header__cart a{
  color:var(--ef-accent, #f75d2a);
}
.neo-header .header__cart a:hover{
  background:transparent;
  color:var(--ef-accent, #f75d2a);
}

.nav{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.neo-header .nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0;
  position:relative;
  padding-right:20px;
  min-height:60px;
}
.neo-header .nav{
  flex:1 1 auto;
  padding-right:0;
  justify-content:center;
}
.neo-header .header__search{
  position:static;
  top:auto;
  right:auto;
  width:60px;
  height:60px;
  border:0;
  border-left:1px solid var(--ef-divider, #e6e6e6);
  border-radius:0;
  background:transparent;
  margin-left:0;
}
.neo-header .header__search svg path{fill:var(--ef-accent, #f75d2a);}
.neo-header .nav-toggle,
.neo-header .nav-top-toggle{
  border:0;
  border-radius:0;
  background:transparent;
}
.neo-header .nav-toggle svg path,
.neo-header .nav-top-toggle svg path{fill:var(--ef-primary, #2a3693);}
.neo-header .nav-top-toggle img{width:30px;height:auto;}
.neo-header .search-box{
  top:100%;
}
.neo-header.fixed .search-box{
  top:100%;
}

/* Desktop primary nav look (match ebizfiling header) */
.neo-header .main-megamenu{
  gap:0;
  flex-wrap:nowrap;
}
.neo-header .main-megamenu__link{
  border:0;
  border-radius:0;
  padding:20px 10px;
  color:var(--ef-primary, #2a3693);
  font-weight:600;
  background:transparent;
}
.neo-header .main-megamenu__link:hover,
.neo-header .main-megamenu__children.active > .main-megamenu__link{
  color:var(--ef-accent, #f75d2a);
  box-shadow: inset 0 -3px var(--ef-accent, #f75d2a);
  background:transparent;
}
.neo-header .main-megamenu__box{
  background:#fff;
  border:0;
  border-radius:8px;
  box-shadow:0 20px 40px -10px rgba(0,0,0,.3);
}
.neo-header .megamenu-row__title{
  color:var(--ef-primary, #2a3693);
  border-bottom:1px dashed rgba(42,54,147,.25);
  border-bottom:1px dashed color-mix(in srgb, var(--ef-primary, #2a3693) 25%, transparent);
}
.neo-header .sub-megamenu__link{
  color:var(--ef-primary, #2a3693);
}
.neo-header .sub-megamenu__link:hover{
  background:color-mix(in srgb, var(--ef-accent, #f75d2a) 10%, transparent);
  color:var(--ef-accent, #f75d2a);
}

.main-megamenu{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.main-megamenu__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--neo-text);
  font-weight:700;
  letter-spacing:.1px;
}
.main-megamenu__link:hover{
  border-color:var(--neo-border);
  background:rgba(255,255,255,.03);
}
.main-megamenu__children.active > .main-megamenu__link{
  background:linear-gradient(90deg, rgba(94,234,212,.20), rgba(167,139,250,.15));
  border-color:rgba(94,234,212,.30);
}

.main-megamenu__box{
  margin-top:12px;
  border-radius:var(--neo-radius);
  overflow:hidden;
  border:1px solid var(--neo-border);
  box-shadow:var(--neo-shadow);
  background:linear-gradient(180deg, rgba(15,26,51,.98), rgba(10,16,32,.98));
}
.megamenu-row{gap:18px; padding:18px;}
.megamenu-row__column{
  padding:0;
  min-width:220px;
}
.megamenu-row__title{
  color:var(--neo-text);
  font-size:14px;
  font-weight:800;
  margin:0 0 10px;
  padding-bottom:10px;
  border-bottom:1px dashed rgba(255,255,255,.16);
}
.sub-megamenu__link{
  color:var(--neo-muted);
  display:flex;
  padding:8px 10px;
  border-radius:12px;
}
.sub-megamenu__link:hover{
  background:rgba(94,234,212,.08);
  color:var(--neo-text);
}

/* Search icon + toggles */
.header__search,
.nav-toggle,
.nav-top-toggle{
  margin-left:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--neo-border);
  background:rgba(255,255,255,.03);
}
.header__search:hover,
.nav-toggle:hover,
.nav-top-toggle:hover{
  background:rgba(255,255,255,.06);
}

/* Content */
main, section{color:var(--neo-text);}
.page-content, .post-content{color:var(--neo-text);}
.page-content p, .post-content p{color:rgba(230,237,243,.92);}
.page-content h1, .page-content h2, .page-content h3,
.post-content h1, .post-content h2, .post-content h3{
  color:var(--neo-text);
}

/* Cards used in seeded service content */
.service-page section a{
  text-decoration:none;
}
.service-page section [style*="background:#fff"]{
  background:rgba(255,255,255,.04) !important;
  border-color:var(--neo-border) !important;
  color:var(--neo-text) !important;
}
.service-page section [style*="color:#6b7280"]{
  color:var(--neo-muted) !important;
}

/* Footer */
.neo-footer{
  margin-top:38px;
  border-top:1px solid var(--neo-border);
  background:rgba(7,11,20,.8);
}
.neo-footer__inner{
  max-width:1200px;
  margin:0 auto;
  padding:34px 18px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.1fr;
  gap:18px;
}
.neo-footer h3{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(230,237,243,.75);
}
.neo-footer a{
  color:rgba(230,237,243,.86);
}
.neo-footer a:hover{color:var(--neo-primary);}
.neo-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.neo-footer__brand{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.neo-footer__brand img{height:40px;width:auto;}
.neo-footer__muted{color:var(--neo-muted);line-height:1.6;}
.neo-footer__pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--neo-border);
  background:rgba(255,255,255,.03);
  color:rgba(230,237,243,.86);
}
.neo-footer__bar{
  max-width:1200px;
  margin:0 auto;
  padding:14px 18px 26px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:rgba(230,237,243,.72);
  border-top:1px solid rgba(255,255,255,.07);
}

/* Responsive */
@media (max-width: 1199px){
  .neo-header .nav-row{
    padding-right:12px;
  }
  .neo-header .header__search{
    width:44px;
    height:44px;
    border-left:0;
  }

  .neo-header .header__links{
    flex-direction:column;
    height:auto;
    padding:0;
  }
  .neo-header .header__logo{
    position:static;
    left:auto;
    margin-left:0;
    padding:0;
    background:transparent;
    box-shadow:none;
  }

  /* Mobile menus (override legacy theme rules) */
  .neo-header .nav{
    display:none;
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    right:0;
    z-index:1000;
    padding:10px;
    border-radius:var(--neo-radius);
    border:1px solid var(--neo-border);
    box-shadow:var(--neo-shadow);
    background:linear-gradient(180deg, rgba(15,26,51,.98), rgba(10,16,32,.98));
  }
  .neo-header .nav.open{display:block;}

  .neo-header .nav-top{display:none;}
  .neo-header .nav-top.open{
    display:block;
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    z-index:1000;
    padding:10px;
    border-radius:var(--neo-radius);
    border:1px solid var(--neo-border);
    box-shadow:var(--neo-shadow);
    background:linear-gradient(180deg, rgba(15,26,51,.98), rgba(10,16,32,.98));
  }

  .neo-header .main-megamenu{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .neo-header .main-megamenu__link{
    justify-content:space-between;
    padding:12px 12px;
  }
}

@media (max-width: 980px){
  .header .ss-container{grid-template-columns:1fr; gap:10px;}
  .nav-top{justify-content:flex-start;}
  .nav{justify-content:flex-start; flex-wrap:wrap;}
  .neo-footer__inner{grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px){
  .neo-footer__inner{grid-template-columns:1fr;}
  .main-megamenu{gap:10px;}
}
