/* ============================================================
   LIMPID-STYLE MARQUEE TOP BAR
   ============================================================ */
.bv-topbar {
  background-color: var(--bv-primary-dark, #0e3038);
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.bv-topbar-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.bv-topbar-track {
  display: inline-flex;
  gap: 0;
  animation: bv-marquee-scroll 35s linear infinite;
  will-change: transform;
}

.bv-topbar-track:hover {
  animation-play-state: paused;
}

.bv-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0 32px;
  position: relative;
}

.bv-topbar-item i {
  color: #5eddd4;
  font-size: 0.5rem;
}

@keyframes bv-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hide old top-bar */
.top-bar { display: none !important; }

/* Header Styles */

.site-header {
  position: relative;
  z-index: 1000;
  box-shadow: var(--bv-shadow-sm);
  background-color: var(--bv-bg-primary);
}

/* ─── Info Bar (Limpid Middle Row) ─── */
.bv-infobar {
  background: #ffffff;
  border-bottom: 1px solid rgba(14,48,56,0.08);
  padding: 16px 0;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.bv-infobar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bv-infobar-logo img,
.bv-infobar-logo .custom-logo {
  max-height: 64px;
  width: auto;
}

.bv-text-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bv-primary);
}

.bv-infobar-contacts {
  display: flex;
  align-items: center;
  gap: 30px;
}

.bv-infobar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bv-infobar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(49,143,132,0.1);
  color: var(--bv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bv-infobar-item:hover .bv-infobar-icon {
  background: var(--bv-primary);
  color: #fff;
}

.bv-infobar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bv-infobar-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  font-weight: 600;
}

.bv-infobar-text a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bv-text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.bv-infobar-text a:hover { color: var(--bv-primary); }

.bv-infobar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bv-primary);
  color: #fff;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bv-infobar-btn:hover {
  background: var(--bv-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49,143,132,0.35);
}

/* Responsive */
@media (max-width: 992px) {
  .bv-infobar { display: none; }
}


/* Top Utility Bar */
.top-bar {
  background-color: var(--bv-primary-dark);
  color: var(--bv-text-light);
  padding: 8px 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
}

.top-bar-contact a {
  color: var(--bv-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-contact a:hover {
  color: var(--bv-primary-light);
}

.top-bar-social {
  display: flex;
  gap: 15px;
}

.top-bar-social a,
.top-bar-social span,
.top-bar-social-icon {
  color: var(--bv-text-light);
  cursor: default;
  transition: color var(--bv-transition-normal);
}

.top-bar-social a:hover,
.top-bar-social span:hover,
.top-bar-social-icon:hover {
  color: var(--bv-primary-light);
}

/* Main Navigation */
.main-nav-wrapper {
  padding: 15px 0;
  background-color: var(--bv-bg-primary);
  transition: all var(--bv-transition-normal);
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* Glassmorphism Sticky Header */
.site-header.is-sticky {
  padding-bottom: 74px; /* Matches the height of the main-nav-wrapper to prevent layout jump */
}

.site-header.is-sticky .main-nav-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--bv-shadow-md);
  z-index: 1000 !important;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.main-nav-wrapper .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  max-width: 250px;
}

@media (min-width: 993px) {
  .main-nav-wrapper .site-branding {
    display: none !important;
  }
}

.site-branding img {
  max-height: 60px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bv-primary);
  margin: 0;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--bv-text-dark);
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--bv-primary);
}

/* Sub-menus */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bv-bg-primary);
  box-shadow: var(--bv-shadow-lg);
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
  border-radius: 4px;
  border-top: 3px solid var(--bv-primary);
}

.main-navigation li:hover > ul {
  display: flex;
}

.main-navigation ul ul a {
  padding: 8px 20px;
  font-weight: 400;
}

.main-navigation ul ul a:hover {
  background-color: var(--bv-bg-secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bv-primary);
  cursor: pointer;
  padding: 0;
}

/* ─── Navigation Actions (Search + CTA) ─── */
.bv-nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bv-nav-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bv-bg-primary, #f0f7fc);
  border: 1px solid var(--bv-border, #d2e1ee);
  border-radius: 50px;
  padding: 6px 14px 6px 16px;
  transition: all 0.3s ease;
}

.bv-nav-search:focus-within {
  background: #ffffff;
  border-color: var(--bv-primary);
  box-shadow: 0 0 10px rgba(18, 111, 181, 0.15);
}

.bv-nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  color: var(--bv-text-dark);
  width: 140px;
  transition: width 0.3s ease;
  padding: 0;
  box-shadow: none;
}

.bv-nav-search input:focus {
  width: 180px;
}

.bv-nav-search button {
  background: none;
  border: none;
  color: var(--bv-primary);
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.bv-nav-search button:hover {
  color: var(--bv-primary-dark);
}

.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--bv-primary);
  cursor: pointer;
  padding: 0;
}

@media (max-width: 992px) {
  .bv-nav-search {
    display: none; /* Hide standard desktop nav search on mobile */
  }
  .header-cta {
    display: none; /* Usually hide CTA on mobile header */
  }
  .menu-toggle {
    display: block;
  }
  .mobile-search-toggle {
    display: block;
  }
  .bv-nav-actions {
    gap: 20px; /* Space between search icon and hamburger */
    position: relative; /* Needed for absolute positioning of search */
  }
  
  /* Show search form when toggled */
  .bv-nav-search.active-mobile-search {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--bv-border);
    z-index: 1000;
  }
}

