/* ================= ROOT ================= */
:root {
  --teal: #12b8c6;
  --teal-dark: #041E21;
  --orange: #ff5b1f;
  --white: #ffffff;
  --text-light: #d8e7e9;
}

/* ================= HEADER (fixed wrapper) ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 999;
}

.detail-section {
  scroll-margin-top: 96px;
}

/* ================= NAVBAR ================= */
.glass-nav {
  background:
    radial-gradient(
      circle at top left,
      rgba(18,184,198,0.15),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(4,30,33,0.96),
      rgba(3,42,46,0.92)
    );

  backdrop-filter: blur(18px);

  padding: 14px 0;

  transition: all 0.35s ease;

  border-bottom: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.28);
}

/* SCROLL */
.site-header.scrolled .glass-nav {
  padding: 10px 0;
  background: rgba(4,30,33,0.97);
}



/* ================= WRAPPER ================= */
.nav-wrapper {
  width: 100%;
  max-width: 1400px;

  display: flex;
  align-items: center;

  gap: 20px;
}

.navbar-brand{
  margin-right: auto !important;
}

/* ================= LOGO ================= */
.navbar-brand {
  display: flex;
  flex-direction: column;

  text-decoration: none;

  flex-shrink: 0;

  margin-right: 0 !important;
}

/* TOP */
.logo-top {
  display: flex;
  align-items: center;

  gap: 10px;
}

/* LOGO */
.navbar-logo {
  height: 52px;
  width: auto;
}

/* BRAND */
.brand-name {
  font-size: 20px;
  font-weight: 700;

  color: var(--teal);

  line-height: 1;
}

/* TAGLINE */
.brand-tagline {
  font-size: 11px;

  color: var(--orange);

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-left: 62px;

  margin-top: 2px;
}

/* ================= COLLAPSE / PILL ================= */
.navbar-collapse {
  flex: 0 1 auto;

  display: flex;

  justify-content: center;
}

/* PILL CONTAINER */
.navbar-collapse.nav-pill {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 50px;

  padding: 6px 8px;

  transition: border-color 0.3s ease;
}

.navbar-collapse.nav-pill:hover {
  border-color: rgba(18,184,198,0.35);
}

/* ================= MENU ================= */
.custom-nav {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: nowrap !important;

  gap: 2px;
}

/* ITEMS */
.custom-nav .nav-item {
  display: flex;
  align-items: center;

  flex: 0 0 auto;
}

/* LINKS */
.custom-nav .nav-link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 40px;

  padding: 8px 16px !important;

  white-space: nowrap;

  font-size: 15px;

  line-height: 1;

  text-align: center;

  color: #fff !important;

  border-radius: 30px;

  transition: all 0.3s ease;
}

/* ORANGE ACTIVE / HOVER UNDERLINE */
.custom-nav .nav-link::after {
  content: "";

  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;

  height: 2px;

  background: var(--orange);
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.custom-nav .nav-link:hover::after,
.custom-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* SHORT LINKS */
.custom-nav .nav-wide .nav-link {
  font-size: 14px;

  padding-left: 14px !important;
  padding-right: 14px !important;
}

/* HOVER */
.custom-nav .nav-link:hover {
  color: var(--white) !important;

  background: rgba(255,255,255,0.08);
}

/* ACTIVE */
.custom-nav .nav-link.active {
  color: #fff !important;

  background: rgba(244, 71, 8, 0.247);
}

/* ================= CTA ================= */
.nav-cta-area {
  position: relative;

  flex-shrink: 0;

  display: flex;
  align-items: center;
}

/* SOFT GLOW BEHIND CTA */
.cta-glow {
  position: absolute;

  inset: -22px -34px;

  background: radial-gradient(circle, rgba(255,91,31,0.35), transparent 70%);

  filter: blur(22px);

  z-index: -1;

  pointer-events: none;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 30px;

  background: var(--orange);

  color: #fff !important;

  font-weight: 600;
  font-size: 15px;

  border-radius: 50px;

  text-decoration: none;

  white-space: nowrap;

  box-shadow: 0 8px 24px rgba(255,91,31,0.35);

  transition: all 0.3s ease;
}

.nav-cta-btn:hover {
  background: #ff7233;

  transform: translateY(-2px);

  box-shadow: 0 10px 30px rgba(255,91,31,0.5);

  color: #fff !important;
  
}

/* MOBILE-MENU CTA COPY (hidden on desktop) */
.nav-cta-mobile {
  display: none;
}

/* ================= TOGGLER ================= */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Bootstrap's default icon is dark; make it visible on the dark nav */
.glass-nav .navbar-toggler-icon {
  filter: invert(1);
}

/* ================= LARGE DESKTOP ================= */
@media (max-width: 1400px) {

  .custom-nav .nav-link {
    font-size: 14px;

    padding: 8px 12px !important;
  }

  .custom-nav .nav-wide .nav-link {
    font-size: 13px;
  }

  .nav-cta-btn {
    padding: 12px 24px;
  }
}

/* ================= LAPTOP ================= */
@media (max-width: 1200px) {

  .nav-wrapper {
    gap: 14px;
  }

  .custom-nav {
    gap: 0;
  }

  .custom-nav .nav-link {
    font-size: 13px;

    padding: 8px 9px !important;
  }

  .custom-nav .nav-wide .nav-link {
    font-size: 12px;
  }

  .navbar-collapse.nav-pill {
    padding: 5px 6px;
  }

  .nav-cta-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 18px;
  }
}

/* ================= SMALL LAPTOP (992–1199px) =================
   Logo + 8 links + CTA overflowed the 960px container, cutting off
   "Get in Touch". Tighten spacing only in this range. */
@media (min-width: 992px) and (max-width: 1199px) {

  .nav-wrapper {
    gap: 10px;
  }

  .custom-nav .nav-link {
    padding: 8px 7px !important;
  }

  .navbar-logo {
    height: 44px;
  }

  .brand-tagline {
    font-size: 10px;
    letter-spacing: 1px;
    margin-left: 54px;
  }

  .nav-cta-btn {
    padding: 10px 14px;
  }
}

/* ================= TABLET ================= */
@media (max-width: 991px) {

  .topbar {
    max-height: 0;

    border-bottom: none;
  }

  .glass-nav {
    padding: 12px 0;
  }

  .nav-wrapper {
    flex-wrap: wrap;
  }

  .navbar-collapse.nav-pill {
    width: 100%;

    /* stack links above the CTA instead of side by side */
    flex-direction: column;
    align-items: stretch;

    background: rgba(4,30,33,0.98);

    border: 1px solid rgba(255,255,255,0.08);

    margin-top: 14px;

    padding: 18px;

    border-radius: 16px;
  }

  .custom-nav {
    width: 100%;

    flex-direction: column;

    align-items: flex-start;

    gap: 6px;
  }

  .custom-nav .nav-item {
    width: 100%;
  }

  .custom-nav .nav-link {
    width: 100%;

    justify-content: flex-start;

    height: auto;

    padding: 10px 12px !important;

    border-radius: 8px;
  }

  .custom-nav .nav-link::after {
    left: 12px;
    right: 12px;
    bottom: 4px;
  }

  .nav-cta-area {
    display: none;
  }

  .nav-cta-mobile {
    display: block;

    width: 100%;

    margin-top: 14px;

    text-align: center;
  }

  .nav-cta-mobile .nav-cta-btn {
    width: 100%;
  }

  .brand-tagline {
    margin-left: 52px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {

  .navbar-logo {
    height: 42px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    font-size: 9px;

    margin-left: 50px;
  }

  .navbar-brand {
    max-width: 220px;
  }

  .nav-cta-btn {
    padding: 9px 16px;
    font-size: 13px;
  }
}

/* ================= FORCE SINGLE ROW ================= */
.glass-nav .navbar-nav {
  flex-wrap: nowrap !important;
}

.glass-nav .nav-link {
  white-space: nowrap !important;
}
