/* ==========================================================================
   Texvian IT — TOPBAR
   A slim utility bar above the main header. Not sticky — it scrolls away
   naturally with the page while the header below it becomes sticky,
   which is the standard pattern for this component across premium
   IT/SaaS ThemeForest templates.
   ========================================================================== */

.nx-topbar {
  position: relative;
  z-index: var(--nx-z-topbar);
  min-height: var(--nx-topbar-height);
  display: flex;
  align-items: center;
  background: var(--nx-topbar-bg);
  color: var(--nx-topbar-text);
  font-size: var(--nx-fs-xs);
}

.nx-topbar__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nx-space-5);
  padding-block: var(--nx-space-2);
}

/* ---------------- Left cluster: contact details ---------------- */
.nx-topbar__info {
  display: flex;
  align-items: center;
  gap: var(--nx-space-5);
  flex-wrap: wrap;
}

.nx-topbar__info-item {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  color: var(--nx-topbar-text);
  white-space: nowrap;
}

.nx-topbar__info-item .bi {
  color: var(--nx-secondary);
  font-size: 0.95em;
}

a.nx-topbar__info-item:hover {
  color: var(--nx-topbar-link-hover);
}

/* ---------------- Right cluster: utility links + socials ---------------- */
.nx-topbar__utility {
  display: flex;
  align-items: center;
  gap: var(--nx-space-5);
  flex-shrink: 0;
}

.nx-topbar__links {
  display: flex;
  align-items: center;
  gap: var(--nx-space-4);
}

.nx-topbar__links a {
  color: var(--nx-topbar-text);
  transition: var(--nx-transition-colors);
}

.nx-topbar__links a:hover {
  color: var(--nx-topbar-link-hover);
}

.nx-topbar__divider {
  width: 1px;
  height: 14px;
  background: var(--nx-topbar-border);
}

.nx-topbar__social {
  display: flex;
  align-items: center;
  gap: var(--nx-space-3);
}

.nx-topbar__social a {
  color: var(--nx-topbar-text);
  font-size: 0.95rem;
  transition: var(--nx-transition-colors);
}

.nx-topbar__social a:hover {
  color: var(--nx-secondary);
}

/* Status badge, e.g. "24/7 Support Available" */
.nx-topbar__status {
  display: inline-flex;
  align-items: center;
  gap: var(--nx-space-2);
  color: var(--nx-topbar-text);
}

.nx-topbar__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-circuit-400);
  box-shadow: 0 0 0 3px rgba(95, 227, 211, 0.18);
  flex-shrink: 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .nx-topbar__utility .nx-topbar__links {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .nx-topbar__info-item--secondary {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .nx-topbar__inner {
    justify-content: center;
  }

  .nx-topbar__utility {
    display: none;
  }

  .nx-topbar__info {
    justify-content: center;
    width: 100%;
  }
}