/* ==========================================================================
   Custom overrides — Netracom Australia
   ========================================================================== */

/* Brand logo (PNG) — replaces the original inline-SVG logo.
   The `svg` class was removed from these <img> tags so the inline-SVG script
   leaves them alone; size them here instead. */
.brand-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
}

/* Footer logos sit on dark backgrounds and have a little more room. */
.footer-logo .brand-logo {
  height: 44px;
}

@media only screen and (max-width: 1199px) {
  .brand-logo {
    height: 36px;
    max-width: 160px;
  }
}

/* Legibility overlay for the ocean/constellation section background.
   The upper sky is light, so white headings need a dark tint — stronger at the
   top (where headings sit), fading toward the darker ocean at the bottom. */
section[data-bg-img="assets/img/bg/service_bg.webp"] {
  position: relative;
}
section[data-bg-img="assets/img/bg/service_bg.webp"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 45, 0.62) 0%, rgba(6, 20, 45, 0.42) 40%, rgba(6, 20, 45, 0.18) 100%);
  pointer-events: none;
  z-index: 0;
}
section[data-bg-img="assets/img/bg/service_bg.webp"] > .container {
  position: relative;
  z-index: 1;
}

/* Back-to-top is now a <button> (was an href="#" anchor) — reset UA button
   styles so it matches the original .back-to-top anchor appearance. */
button.back-to-top {
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Dropdown parents ("Pages") are role="button" anchors with no href — keep the
   pointer cursor the nav links had. */
.nav > li > a[role="button"] {
  cursor: pointer;
}

/* Hero proof strip — thin credential/icon bar beneath the banner CTAs.
   Sits on the blue→cyan banner gradient, so text is light and dividers are
   translucent white. Wraps gracefully on small screens. */
.hero-proof-strip {
  list-style: none;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.hero-proof-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.hero-proof-strip li img {
  width: auto;
  height: 13px;
  flex: 0 0 auto;
}
@media only screen and (max-width: 575px) {
  .hero-proof-strip {
    gap: 10px 16px;
  }
  .hero-proof-strip li {
    font-size: 13px;
  }
}

/* Homepage comparison table — "commodity hosting" vs Netracom partner
   infrastructure. Sits on a white section; the Netracom column is tinted and
   emphasised. Horizontal scroll kicks in only on very narrow screens. */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table th,
.compare-table td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid #e7ecf3;
}
.compare-table thead th {
  font-size: 18px;
  font-weight: 700;
  color: #0b1f44;
  border-bottom: 2px solid #dfe5ef;
}
.compare-table td img {
  width: auto;
  height: 13px;
  margin-right: 10px;
  vertical-align: -1px;
  flex: 0 0 auto;
}
.compare-table .col-commodity {
  color: #6b7280;
  width: 50%;
}
.compare-table .col-netracom {
  width: 50%;
  color: #0b1f44;
  font-weight: 600;
  background: rgba(0, 195, 255, 0.06);
}
.compare-table thead .col-netracom {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.compare-table tbody tr:last-child .col-netracom {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Footer portal-link indicator — the small ↗ that flags links leaving the
   marketing site for the Netracom client/support portal (ca.netracom.au). */
.portal-ext {
  font-size: 0.82em;
  opacity: 0.7;
  margin-left: 2px;
  /* Reset the cyan pill some footer menu span styles apply. */
  background: transparent !important;
  color: inherit;
  padding: 0;
}

/* Persistent footer-bottom CTA sits on the dark footer; give it breathing room. */
.footer-bottom .btn {
  white-space: nowrap;
}
