/* ==========================================================================
   VIJAY GLOBAL EXPORTS — Header / Navigation
   ========================================================================== */

.topbar {
  background: var(--color-blue-dark);
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.25rem;
  flex-wrap: wrap;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color .3s ease;
}

.topbar__contacts a:hover {
  color: var(--color-orange);
}

.topbar__contacts svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar__tag {
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
  top: 0;
  left: 0;
    padding-left: 0;
  width: 100%;
  z-index: 9999;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: .3s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  gap: 1rem;
}

/* ================= BRAND ================= */

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(
    from 220deg,
    var(--color-blue-deep),
    var(--color-orange),
    var(--color-blue-deep)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-cream);
}

.brand__mark span {
  position: relative;
  z-index: 2;
  font-weight: 700;
  color: var(--color-blue-dark);
  font-size: .9rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-blue-dark);
}

.brand__sub {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-orange-dark);
}

/* ================= DESKTOP MENU ================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-ink);
  text-decoration: none;
  transition: .3s ease;
}

.nav-links a:hover {
  color: var(--color-blue-deep);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: .3s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--color-orange-dark);
}

/* ================= CTA ================= */

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-orange);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast);
}

.nav-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--color-orange-dark);
}

/* ================= HAMBURGER ================= */

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--color-cream-deep);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-blue-dark);
  margin: 0 auto;
  transition: .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= OVERLAY ================= */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
  z-index: 998;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .topbar__tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .brand__name {
    font-size: .9rem;
  }

  .brand__sub {
    font-size: .52rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;

    background: #fff;

    flex-direction: column;
    align-items: flex-start;

    padding: 90px 25px 30px;
    gap: 18px;

    transition: right .3s ease;

    z-index: 1000;

    box-shadow: -10px 0 30px rgba(0,0,0,.15);
  }

  .nav-links.is-open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 10px;
    
  }
}
/* FORCE OVERRIDE: Ensures menu appears when class is added */
@media (max-width: 991px) {
  .nav-links.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    right: 0 !important;
    z-index: 999999 !important;
  }
}

/* Style for the X button */
.nav-close-btn {
  display: none; /* Only visible on mobile */
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--color-blue-dark);
}

@media (max-width: 991px) {
  .nav-close-btn {
    display: block; /* Show on mobile */
  }
}
body {
  padding-top: 80px;
}