/* =========================
   Nelson Computing Overrides
   ========================= */

/* Hide Our Clients section (can be re-enabled later) */
#clients {
  display: none !important;
}

/* =========================
   HERO SECTION TWEAKS
   ========================= */

/* Center the intro content instead of pushing it right */
#intro .tm-intro {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 650px;
  text-align: left;
}

/* Center hero title only */
#intro .tm-section-title {
  text-align: center;
}

/* Subtle dark overlay over hero image for contrast */
.parallax-window {
  position: relative;
}
.parallax-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55) !important;
  pointer-events: none;
  z-index: 0;
}
.parallax-window > * {
  position: relative;
  z-index: 1;
}

  po
/* =========================
   CONTACT BUTTON STYLE
   ========================= */

#talk .tm-btn-primary {
  border: 1px solid #1D4ED8;
  background: transparent;
  color: #1D4ED8;
  transition: all 0.2s ease;
}

#talk .tm-btn-primary:hover {
  background: #1D4ED8;
  color: #ffffff;
}
/* Force border on contact button */
#talk button.tm-btn-primary {
  border: 1px solid #1D4ED8 !important;
  background: transparent !important;
  color: #1D4ED8 !important;
}

#talk button.tm-btn-primary:hover {
  background: #1D4ED8 !important;
  color: #ffffff !important;
}
/* =========================
   Sidebar Brand Upgrade
   ========================= */

.nc-brand {
  text-align: center;
  padding: 30px 15px 10px;
}

.nc-logo {
  max-width: 80px;
  margin-bottom: 15px;
}

.nc-brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
}

.nc-brand-tagline {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
}
/* Sidebar Brand Refinement */

.nc-brand {
  text-align: center;
  padding: 40px 20px 30px;
}

.nc-logo-wrap img {
  max-width: 95px;
  margin-bottom: 15px;
  filter: brightness(1.05);
}

.nc-brand-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.nc-brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
}
.nc-cta { margin-top: 18px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

.nc-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  font-weight:600;
  letter-spacing:.3px;
  text-decoration:none;
}

.nc-btn-primary{
  background:#1D4ED8;
  color:#fff !important;
  border:1px solid #1D4ED8;
}

.nc-btn-ghost{
  background:transparent;
  color:#1D4ED8 !important;
  border:1px solid rgba(29,78,216,.55);
}
.nc-btn-ghost:hover{ border-color:#1D4ED8; }
.nc-proof{
  margin-top:10px;
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  color:rgba(31,41,55,.75);
  font-size:13px;
}
.nc-proof span{ padding:4px 10px; border:1px solid rgba(15,23,42,.12); border-radius:999px; background:rgba(255,255,255,.35); }

/* Center + readable hero */
.nc-hero-center{
  max-width: 760px;
  margin: 0 auto !important;
  text-align: center !important;
}

.nc-hero-title{ color:#ffffff !important; }
.nc-hero-text{ color: rgba(255,255,255,0.86) !important; }

/* Make proof pills readable on dark bg */
.nc-proof span{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color:#ffffff;
}

/* Optional: stronger overlay for contrast */
.parallax-window::before{
  background: rgba(15,23,42,0.65) !important;
}
#intro {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#intro .tm-intro {
  max-width: 700px;
  text-align: center;
}
/* Smooth hero to content transition */
.parallax-window::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(9, 25, 49, 0) 0%,
    rgba(9, 25, 49, 0.85) 40%,
    #f5f7fa 100%
  );
  pointer-events: none;
}
.nc-logo-wrap{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.nc-logo-wrap img{
  display:block;
  max-width:95px;
}
.nc-logo-wrap{
  padding:0;
  background:none;
  border:none;
}

.nc-logo-wrap img{
  max-width:150px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.45));
}
.nc-soft-bg{
  background: linear-gradient(to bottom, #0f1f33 0%, #f5f7fa 100%);
}

/* Hero-only fade into the next section */
.parallax-window { position: relative; }

.parallax-window::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:160px;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0) 0%,
    rgba(15,23,42,0.55) 45%,
    #f5f7fa 100%
  );
}
html {
  scroll-behavior: smooth;
}
/* Remove flat gray sidebar look */
.tm-sidebar {
  background: linear-gradient(
    to right,
    rgba(3, 15, 30, 0.95),
    rgba(3, 15, 30, 0.85)
  ) !important;
  backdrop-filter: blur(6px);
}
/* External nav link should look like the normal sidebar links */
.nav-link-external {
  display: block;
  color: #fff;
  text-transform: uppercase;
  padding: 14px 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.9;
}

.nav-link-external:hover {
  opacity: 1;
  text-decoration: none;
}
/* Make external nav link behave like normal nav links */
.nav-link-external {
  display: block;
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  padding: 14px 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Hover effect (matches template behavior) */
.nav-link-external:hover {
  opacity: 1;
  background-color: rgba(255,255,255,0.08);
}
/* ===== Client Portal nav: match template hover/flash ===== */
.tm-main-nav .nav-link-external {
  position: relative;
  display: block;
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  padding: 14px 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

/* This creates the “flash/indicator” feel (left bar) */
.tm-main-nav .nav-link-external::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: rgba(255,255,255,0.85);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Hover state */
.tm-main-nav .nav-link-external:hover,
.tm-main-nav .nav-link-external:focus {
  opacity: 1;
  background-color: rgba(255,255,255,0.08);
  text-decoration: none;
}

.tm-main-nav .nav-link-external:hover::before,
.tm-main-nav .nav-link-external:focus::before {
  opacity: 1;
}

/* Optional: tiny pulse on hover to mimic “blink” */
@keyframes ncNavPulse {
  0%   { background-color: rgba(255,255,255,0.02); }
  50%  { background-color: rgba(255,255,255,0.12); }
  100% { background-color: rgba(255,255,255,0.08); }
}
.tm-main-nav .nav-link-external:hover {
  animation: ncNavPulse 0.8s ease-in-out 1;
}