/* ==========================================================================
   Move Easy Packers and Movers — Global Header & Footer Component Styles
   Developed by Vebnox
   Supports: Desktop, Tablet, and Ultra-Responsive Mobile Devices
   ========================================================================== */

/* ===== 1. TOP ANNOUNCEMENT BAR ===== */
.vbx-announcement-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.84rem;
  color: #334155;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9910;
}

.vbx-announce-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.vbx-announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.vbx-announce-left,
.vbx-announce-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.vbx-top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 0.84rem;
}

.vbx-top-item strong {
  color: #0F172A;
}

@media (max-width: 768px) {
  .vbx-announce-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .vbx-announce-inner {
    justify-content: center;
  }
  .vbx-announce-left {
    justify-content: center;
    gap: 8px;
  }
  .vbx-top-item:not(:first-child) {
    display: none;
  }
}

/* ===== 2. MAIN NAVBAR ===== */
body {
  padding-top: 0 !important;
  margin: 0;
}

.vbx-nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.vbx-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #E2E8F0;
  z-index: 9900;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.vbx-navbar.vbx-nav-scrolled {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
}

.vbx-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0;
  gap: 12px;
  width: 100%;
}

.vbx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.vbx-brand-badge {
  width: 46px;
  height: 46px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.vbx-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vbx-brand-text {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}

.vbx-brand-text span {
  display: block !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.68rem !important;
  color: #1D4ED8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

.vbx-desktop-nav {
  display: flex;
  align-items: center;
}

.vbx-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.vbx-nav-item {
  position: relative;
}

.vbx-nav-item a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-height: 40px;
}

.vbx-nav-item a:hover {
  color: #1D4ED8;
  background: #EFF6FF;
}

.vbx-nav-item.active a,
.vbx-nav-item a.active {
  color: #1D4ED8;
  background: #EFF6FF;
  font-weight: 700;
}

/* Services Dropdown Menu (Desktop) */
.vbx-dropdown {
  position: relative;
}

.vbx-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vbx-dropdown:hover .vbx-dropdown-menu,
.vbx-dropdown:focus-within .vbx-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vbx-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #0F172A !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  min-height: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.vbx-dropdown-item:hover {
  background: #F8FAFC !important;
  transform: translateX(3px) !important;
  color: #1D4ED8 !important;
}

.vbx-dropdown-item i {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.vbx-dropdown-item strong {
  display: block;
  font-size: 0.88rem;
  color: #0F172A;
  font-weight: 700;
  line-height: 1.2;
}

.vbx-dropdown-item span {
  display: block;
  font-size: 0.74rem;
  color: #64748B;
  margin-top: 2px;
  line-height: 1.2;
}

.vbx-dropdown-featured {
  margin-top: 4px;
  border-top: 1px solid #F1F5F9;
  background: #EFF6FF !important;
}

.vbx-dropdown-featured strong {
  color: #1D4ED8;
}

.vbx-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vbx-nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  min-height: 42px;
  box-sizing: border-box;
}

.vbx-nav-phone-pill:hover {
  border-color: #1D4ED8;
  color: #1D4ED8;
  transform: translateY(-1px);
}

.vbx-pulse-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: vbxPulse 1.8s infinite;
}

@keyframes vbxPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.vbx-nav-wa-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
  transition: all 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.vbx-nav-wa-icon:hover {
  transform: translateY(-2px) scale(1.05);
  background: #20BA5A;
}

.vbx-nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  min-height: 44px;
  box-sizing: border-box;
}

.vbx-nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
  color: #FFFFFF;
}

/* Mobile Hamburger Button with 48px minimum touch target */
.vbx-mobile-burger {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
  color: #0F172A;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vbx-mobile-burger:hover {
  background: #F8FAFC;
  border-color: #1D4ED8;
  color: #1D4ED8;
}

/* Responsive Mobile Header Controls */
.vbx-cta-text-short {
  display: none;
}

@media (max-width: 991px) {
  .vbx-desktop-nav {
    display: none !important;
  }
  /* Remove call and whatsapp buttons from header in mobile/tablet view */
  .vbx-nav-phone-pill,
  .vbx-nav-wa-icon {
    display: none !important;
  }
  .vbx-nav-btns {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .vbx-mobile-burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  .vbx-nav-wrap {
    padding: 0 10px !important;
  }
  .vbx-nav-container {
    height: 62px !important;
    gap: 6px !important;
  }
  .vbx-brand {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .vbx-brand-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 8px !important;
    padding: 2px !important;
  }
  .vbx-brand-badge img {
    width: 32px !important;
    height: 32px !important;
  }
  .vbx-brand-tagline {
    display: none !important;
  }
  .vbx-brand-text {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .vbx-brand-text span {
    font-size: 0.58rem !important;
    letter-spacing: 0.3px !important;
    display: block !important;
    color: #64748B !important;
  }
  .vbx-nav-btns {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .vbx-nav-cta-btn {
    padding: 7px 11px !important;
    font-size: 0.8rem !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .vbx-mobile-burger {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    font-size: 1.05rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 520px) {
  .vbx-cta-text-full {
    display: none !important;
  }
  .vbx-cta-text-short {
    display: inline !important;
  }
  .vbx-brand-text {
    font-size: 0.98rem !important;
  }
  .vbx-brand-text span {
    font-size: 0.55rem !important;
  }
  .vbx-nav-cta-btn {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
    min-height: 36px !important;
  }
  .vbx-mobile-burger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

@media (max-width: 360px) {
  .vbx-nav-wrap {
    padding: 0 8px !important;
  }
  .vbx-brand-text span {
    display: none !important;
  }
}

/* ===== 3. MOBILE DRAWER NAVIGATION ===== */
.vbx-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #E2E8F0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vbx-mobile-drawer.vbx-open {
  right: 0;
}

.vbx-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vbx-drawer-backdrop.vbx-open {
  opacity: 1;
  visibility: visible;
}

.vbx-drawer-content-scroll {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
}

.vbx-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vbx-drawer-close {
  background: #F1F5F9;
  border: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  transition: background 0.2s ease, color 0.2s ease;
}

.vbx-drawer-close:hover {
  background: #E2E8F0;
  color: #DC2626;
}

.vbx-drawer-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.vbx-drawer-pill-call,
.vbx-drawer-pill-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #FFFFFF !important;
  min-height: 48px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vbx-drawer-pill-call {
  background: #1D4ED8;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.vbx-drawer-pill-wa {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.vbx-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.vbx-drawer-link {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 48px;
  box-sizing: border-box;
}

.vbx-drawer-link:hover {
  background: #F1F5F9;
  color: #1D4ED8;
}

.vbx-drawer-link.active {
  background: #EFF6FF;
  color: #1D4ED8;
}

.vbx-drawer-link i {
  color: #1D4ED8;
  width: 22px;
  text-align: center;
  font-size: 1.05rem;
}

/* Menu of Buttons for Mobile Drawer */
.vbx-drawer-services-menu {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.vbx-drawer-section-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vbx-drawer-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vbx-d-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  text-decoration: none;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 48px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.vbx-d-btn:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

.vbx-d-btn i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.vbx-drawer-estimate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
  color: #FFFFFF;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  min-height: 48px;
  box-sizing: border-box;
}

.vbx-drawer-trust {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.74rem;
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===== 4. GLOBAL FOOTER ===== */
.vbx-footer {
  background: #090D16;
  color: #CBD5E1;
  padding: 70px 0 30px;
  font-size: 0.95rem;
}

.vbx-footer p {
  color: #CBD5E1 !important;
}

.vbx-footer .vbx-brand-text {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.vbx-footer .vbx-brand-text span {
  color: #38BDF8 !important;
}

.vbx-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.vbx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.vbx-footer h4 {
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.vbx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vbx-footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  font-weight: 500;
}

.vbx-footer-links a:hover {
  color: #38BDF8;
  transform: translateX(4px);
}

.vbx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 960px) {
  .vbx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .vbx-footer-grid {
    grid-template-columns: 1fr;
  }
  .vbx-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== 5. FLOATING ACTION DOCK (MOBILE-ONLY) ===== */
/* Hidden on Desktop screens to eliminate visual clutter and form overlap */
@media (min-width: 992px) {
  .vbx-floating-dock {
    display: none !important;
  }
}

.vbx-floating-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 6px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 9900;
}

.vbx-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  min-height: 48px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vbx-dock-btn:hover {
  transform: translateY(-2px);
}

.vbx-dock-btn.vbx-btn-primary {
  background: #1D4ED8;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.vbx-dock-btn.vbx-btn-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

@media (max-width: 991px) {
  body {
    padding-bottom: 84px !important;
  }
  .vbx-floating-dock {
    bottom: 12px;
    padding: 5px 6px;
    gap: 6px;
  }
  .vbx-dock-btn {
    padding: 10px 14px;
    font-size: 0.84rem;
    gap: 6px;
  }
}
