/* SB Packers & Movers - Official Brand Theme (Matched Exactly to SB Logo Blue #3e4095) */

:root {
  --primary-color: #3e4095;       /* Exact SB Logo Royal Navy Blue */
  --primary-hover: #2f3175;       /* Deep Logo Indigo */
  --secondary-color: #4c4ebd;     /* Vibrant Logo Blue Accent */
  --secondary-hover: #262863;     /* Deep Cobalt Accent */
  --navy-accent: #1e2050;         /* Deep Logo Navy */
  --navy-gradient: linear-gradient(135deg, #f4f6fd 0%, #e8ecfa 100%); /* Soft Logo Tint Gradient */
  --dark-color: #121438;          /* Deep Brand Slate */
  --light-bg: #eef0fa;            /* Soft Logo-Blue Lavender Tint */
  --text-color: #111827;          /* Rich Crisp Text */
  --border-radius: 14px;
  --box-shadow: 0 12px 35px -8px rgba(62, 64, 149, 0.1);
  --box-shadow-hover: 0 20px 45px -10px rgba(62, 64, 149, 0.25);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #ffffff;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
  touch-action: pan-x pan-y !important;
}

/* Allow text selection inside form inputs so customers can type & edit details */
input, textarea, select, button, .form-control, .form-select {
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
}

img {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-navy-custom {
  background-color: var(--navy-accent) !important;
}

/* Top Bar (Light Theme) */
.top-bar {
  background: #f1f5f9;
  color: #1e293b;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 2px solid #3e4095;
}
.top-bar a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.top-bar a:hover {
  color: #3e4095;
}

/* Main Navbar */
.main-navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(62, 64, 149, 0.06);
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}
.navbar-brand img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}
.nav-link {
  font-weight: 600;
  color: #1e293b !important;
  margin: 0 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Brand Buttons */
.btn-quote {
  background: linear-gradient(135deg, #3e4095, #4c4ebd);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 15px rgba(62, 64, 149, 0.3);
  transition: var(--transition);
}
.btn-quote:hover {
  background: linear-gradient(135deg, #2f3175, #3e4095);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(62, 64, 149, 0.45);
}

.btn-warning-custom {
  background: linear-gradient(135deg, #3e4095, #4c4ebd);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
}

/* Hero Section (Clean Light Ice-Blue / Lavender Background) */
.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6edfc 100%);
  color: #111827;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d0daf0;
}
.hero h1 {
  font-size: 3.2rem;
  color: #0a1128;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.25rem;
  color: #475569;
}

/* Page Header (Clean Light Ice-Blue Background) */
.page-header {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6edfc 100%);
  padding: 70px 0 45px;
  text-align: center;
  color: #111827;
  position: relative;
  border-bottom: 1px solid #d0daf0;
}
.page-header h1 {
  color: #0a1128;
  margin-bottom: 10px;
  font-size: 2.75rem;
  font-weight: 800;
}
.page-header p.lead {
  color: #475569;
}

/* Section Common */
.section-padding {
  padding: 80px 0;
}
.section-title {
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.25rem;
  color: #0a1128;
  position: relative;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 255, 0.12);
  border-color: var(--primary-color);
}
.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 0, 255, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: #fff;
}

/* About Section */
.about-img-wrapper {
  position: relative;
}
.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 4px solid #2563eb;
  border-radius: 14px;
  z-index: -1;
}
.about-img {
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Stats */
.stat-box {
  background: #ffffff;
  color: #111827;
  padding: 40px 20px;
  border-radius: 14px;
  text-align: center;
  border: 1.5px solid #d0daf0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.stat-box h2 {
  color: #0000ff;
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 800;
}
.stat-box p {
  color: #475569;
  font-weight: 600;
}

/* Footer - Clean Light Layout with Crisp Dark Text */
footer {
  background-color: #f8fafc;
  color: #374151 !important;
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary-color);
}
footer h4, footer h5, footer h6 {
  color: #121438 !important;
  margin-bottom: 20px;
  font-weight: 700;
}
footer p, footer span {
  color: #475569;
}
footer a {
  color: #1e293b !important;
  transition: var(--transition);
}
footer a:hover {
  color: var(--primary-color) !important;
}
footer .text-white, 
footer .text-white-50 {
  color: #1e293b !important;
}
footer .text-secondary {
  color: #64748b !important;
}
.footer-links {
  display: none !important;
}
.social-icons a {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  background: #ffffff;
  color: var(--primary-color) !important;
  border: 1.5px solid #d0daf0;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Contact Info Box */
.contact-info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 30px;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}
.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

/* Utility Animations */
.hover-shadow {
  transition: var(--transition);
}
.hover-shadow:hover {
  box-shadow: 0 10px 25px rgba(10, 17, 40, 0.15) !important;
  transform: translateY(-3px);
}

/* Mobile Responsive Booking Online App Styles */
@media (max-width: 767.98px) {
  #bookingAppContainer .card-body {
    padding: 1rem !important;
  }

  #appBookingForm input, 
  #appBookingForm select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS safari */
  }

  .mobile-step-scroll::-webkit-scrollbar,
  .inventory-cat-scroll::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-step-scroll,
  .inventory-cat-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .item-card {
    padding: 0.6rem !important;
  }

  .item-card h6 {
    font-size: 0.82rem !important;
    line-height: 1.25;
  }

  .qty-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    padding: 0 !important;
  }
}

/* Instant Quote Calculator UI (Seamless Merged Layout + Official SB Logo Blue #3e4095) */
.instant-quote-box {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 10px 20px 10px;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: none;
}

.instant-quote-title {
  font-family: 'Outfit', 'Inter', serif, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: #121438;
  text-align: center;
  margin-bottom: 24px;
}

.quote-input-pill {
  width: 100%;
  background: #e8ecf4; /* Smooth Modern Gray Fill */
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.quote-input-pill:focus {
  border-color: #3e4095;
  box-shadow: 0 0 0 3px rgba(62, 64, 149, 0.16);
  background: #e2e8f0;
}

.floor-select-pill {
  width: 100%;
  background: #e8ecf4; /* Smooth Modern Gray Fill */
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  margin-bottom: 14px;
}

.floor-select-pill:focus {
  border-color: #3e4095;
  box-shadow: 0 0 0 3px rgba(62, 64, 149, 0.16);
  background: #e2e8f0;
}

.quote-input-pill::placeholder {
  color: #64748b;
}

.lift-section-label {
  font-weight: 700;
  font-size: 1.02rem;
  color: #121438;
  margin-bottom: 8px;
}

.lift-radio-group {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 16px;
}

.lift-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
}

.lift-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #3e4095;
  cursor: pointer;
}

.time-slot-header {
  font-weight: 700;
  font-size: 1.02rem;
  color: #121438;
  margin-top: 8px;
  margin-bottom: 12px;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

@media (max-width: 575.98px) {
  .time-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.time-slot-tile {
  background: #eaeffa;
  border: 1.5px solid #d4def7;
  border-radius: 6px;
  padding: 12px 6px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.time-slot-tile:hover {
  background: #dde5f7;
  border-color: #bccaf2;
}

.time-slot-tile.active {
  background: #3e4095;
  color: #ffffff;
  border-color: #3e4095;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(62, 64, 149, 0.28);
}

.btn-proceed-blue {
  background: linear-gradient(135deg, #3e4095, #4c4ebd);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 11px 44px;
  border-radius: 10px;
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(62, 64, 149, 0.32);
}

.btn-proceed-blue:hover {
  background: linear-gradient(135deg, #2f3175, #3e4095);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(62, 64, 149, 0.45);
}

/* Step 4 Weekday vs Weekend Pricing Slots & Review */
.slot-pricing-card {
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0 !important;
  user-select: none;
}
.slot-pricing-card:hover {
  border-color: #3e4095 !important;
  background-color: #f1f5f9;
}
.slot-pricing-card.active {
  border-color: #3e4095 !important;
  background-color: #f4f6fd !important;
  box-shadow: 0 4px 15px rgba(62, 64, 149, 0.12);
}

/* Floating WhatsApp & Call Buttons (Mobile & All Devices) */
.whatsapp-floating-btn,
.call-floating-btn {
  position: fixed;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff !important;
  text-decoration: none !important;
  z-index: 999999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-floating-btn {
  right: 20px;
  background-color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  animation: pulse-green 2.2s infinite;
}

.whatsapp-floating-btn:hover {
  background-color: #20ba59;
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.call-floating-btn {
  left: 20px;
  background: linear-gradient(135deg, #3e4095, #4c4ebd);
  box-shadow: 0 6px 20px rgba(62, 64, 149, 0.45);
  animation: pulse-blue 2.2s infinite;
}

.call-floating-btn:hover {
  background: linear-gradient(135deg, #2f3175, #3e4095);
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 25px rgba(62, 64, 149, 0.6);
  color: #ffffff !important;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 64, 149, 0.65);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(62, 64, 149, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 64, 149, 0);
  }
}

/* Floating Button Text Badges on Mobile / Tablet */
@media (max-width: 767.98px) {
  .whatsapp-floating-btn,
  .call-floating-btn {
    bottom: 20px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .whatsapp-floating-btn {
    right: 16px;
  }
  .call-floating-btn {
    left: 16px;
  }
}

/* Mobile Floating Call Button ("Book Now") */
.mobile-call-book-btn {
  position: fixed;
  bottom: 20px;
  left: 16px;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3e4095 0%, #1e2050 100%);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(62, 64, 149, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-blue 2.2s infinite;
}

.mobile-call-book-btn i {
  font-size: 15px;
  color: #facc15;
}

.mobile-call-book-btn:hover,
.mobile-call-book-btn:active {
  background: linear-gradient(135deg, #2a2c6d 0%, #121438 100%);
  transform: scale(1.05) translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(62, 64, 149, 0.6);
}

@media (min-width: 768px) {
  .mobile-call-book-btn {
    display: none !important;
  }
}


/* Step 2 Inventory Locked Viewport Box (Fits Any Screen) */
.inventory-scroll-box {
  max-height: min(54vh, 460px);
  min-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 16px;
  padding: 12px;
  scroll-behavior: smooth;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Modern Sleek Scrollbar */
.inventory-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.inventory-scroll-box::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.inventory-scroll-box::-webkit-scrollbar-thumb {
  background: #3e4095;
  border-radius: 10px;
}
.inventory-scroll-box::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

@media (max-width: 767.98px) {
  .inventory-scroll-box {
    max-height: min(48vh, 360px);
    padding: 8px;
  }
}

/* PWA Mobile App Install Banner */
.pwa-install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  background: #ffffff;
  border-radius: 18px;
  border: 2px solid #3e4095;
  box-shadow: 0 12px 35px rgba(18, 20, 56, 0.25);
  z-index: 9999999;
  animation: pwaSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pwaSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 80px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.pwa-slide-down {
  animation: pwaSlideDown 0.35s ease forwards !important;
}

@keyframes pwaSlideDown {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 80px);
  }
}

/* Google Maps Places Autocomplete Dropdown */
.pac-container {
  z-index: 10000000 !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 20, 56, 0.2);
  border: 1.5px solid #3e4095 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-top: 4px;
  background-color: #ffffff;
}

.pac-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-top: 1px solid #f1f5f9;
  line-height: 1.4;
}

.pac-item:hover,
.pac-item-selected {
  background-color: #f8fafc;
}

.pac-item-query {
  font-size: 14px;
  color: #1e2050;
  font-weight: 600;
}

.pac-icon {
  margin-top: 4px;
}

/* Suppress Google Maps Error Box popup */
.gm-err-container,
.gm-err-autocomplete,
.pac-container:empty {
  display: none !important;
}

/* Smart Places Dropdown Style */
.smart-places-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin-top: 6px !important;
  z-index: 10000000 !important;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(18, 20, 56, 0.22) !important;
  border: 1.5px solid #3e4095 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff !important;
  max-height: 250px;
  overflow-y: auto;
}

.smart-place-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13.5px;
  border-top: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
  background-color: #ffffff;
}

.smart-place-item:hover {
  background-color: #f1f5f9 !important;
}

/* Workflow Step Cards Styling */
.workflow-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid #e2e8f0 !important;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(62, 64, 149, 0.12) !important;
  border-color: #3e4095 !important;
}

@media (min-width: 992px) {
  .row-cols-lg-7 > * {
    flex: 0 0 auto;
    width: 14.285714%;
  }
}

