/* ============================================
   NAVBAR REDESIGN — Pill container + dot active
   ============================================ */

/* ── Pill-shaped nav container ── */
.nav-pill {
  background: white;
  border-radius: 50px;
  padding: 5px 8px !important;
  display: flex;
  align-items: center;
  gap: 0;
  /* border: 1px solid #e5e7eb; */
}

/* Override existing nav-list flex behavior inside pill */
ul.nav-list.nav-pill {
  margin: 0;
  list-style: none;
}

/* ── Nav links inside pill ── */
.nav-pill>li>a.menu-links {
  padding: 8px 16px !important;
  border-radius: 30px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-pill>li>a.menu-links:hover {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.06);
}

/* Remove the old underline animation inside pill */
.nav-pill>li>a.menu-links::before {
  display: none !important;
}

/* ── Active link styling ── */
.nav-pill>li>a.menu-links.active-link {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  color: #2563eb !important;
  font-weight: 600 !important;
}

/* ── nav-active fallback (JS-applied, kept for dropdown compatibility) ── */
.nav-pill>li>a.menu-links.nav-active {
  color: #2563eb !important;
  font-weight: 600 !important;
}

/* ── Blue dot indicator ── */
.nav-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

/* ── Dropdown chevron styling inside pill ── */
.nav-pill>li>a.menu-links i.fa-angle-down {
  font-size: 11px;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

/* ── Request Quote button (Animated Border style) ── */
.nav-quote-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.2px;
  font-family: var(--font-primary);
  
  /* Reset static border and prepare for animation */
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-radius: 50px;
  overflow: hidden;
  border: none !important;
}

/* The rotating blue light "loop" */
.nav-quote-btn-v2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 250%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 25%,
    #3E8CFB 40%,
    #BEE3F8 50%,
    #3E8CFB 60%,
    transparent 75%,
    transparent 100%
  );
  transform: translate(-50%, -50%);
  animation: rotate-quote-border 3s linear infinite;
  z-index: -2;
}

/* Final inner mask creating the border thickness and background */
.nav-quote-btn-v2::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  background: #ffffff;
  z-index: -1;
  transition: background 0.25s ease;
}

@keyframes rotate-quote-border {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.nav-quote-btn-v2:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(62, 140, 251, 0.4);
}

.nav-quote-btn-v2:hover::after {
  background: #3E8CFB; /* Brand blue hover */
}

/* ── Menu header alignment tweaks ── */
.menu-header {
  align-items: center;
  padding: 8px 0 !important;
}

/* ── Adjust logo line height for vertical centering ── */
.menu-header .dskt-logo {
  line-height: normal !important;
  display: flex;
  align-items: center;
}

/* ── Nav right button alignment ── */
.nav-right-btn {
  display: flex !important;
  align-items: center !important;
  margin-top: 0 !important;
}

/* ── Sticky header adjustments ── */
.ree-header.sticky .nav-pill {
  background: #f3f4f6;
}

.ree-header.sticky .nav-quote-btn-v2 {
  color: #1a1a2e !important;
  border-color: #1a1a2e;
}

.ree-header.sticky .nav-quote-btn-v2:hover {
  background: #1a1a2e;
  color: #fff !important;
}

/* ── Responsive: hide pill on mobile ── */
@media (max-width: 1024px) {
  .nav-pill {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 !important;
  }

  .nav-quote-btn-v2 {
    display: none !important;
  }
}