/* ==========================================================================
   EduSwift Movers - Modern Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary: #D97706;
  /* Deep Metallic Gold */
  --primary-hover: #B45309;
  --primary-light: #F6EBDD;
  /* Warm Tan / Light Brown Cream */
  --gold-gradient: linear-gradient(135deg, #FDE68A 0%, #F59E0B 40%, #D97706 75%, #92400E 100%);
  --gold-metallic: linear-gradient(135deg, #FFF6DB 0%, #E6CA65 30%, #C99723 65%, #8A5E0B 100%);
  --gold-glow: 0 4px 20px rgba(217, 119, 6, 0.28);
  --gold-border: #FCD34D;

  --secondary: #1C1917;
  /* Deep Espresso Stone */
  --secondary-light: #292524;
  /* Rich Warm Charcoal */
  --accent: #B45309;
  /* Warm Amber Gold */
  --accent-hover: #92400E;
  --accent-light: #F6EBDD;
  --success: #15803D;
  --warning: #B45309;
  --danger: #DC2626;

  --bg-main: #F5EFEB;
  /* Warm Light Brown / Sand Canvas */
  --bg-surface: #EDE4D8;
  /* Elevated Warm Tan / Light Brown */
  --bg-card: #FFFDF9;
  /* Crisp Warm Linen / Ivory Card Surface */
  --text-main: #1C1917;
  /* High-contrast Deep Espresso */
  --text: #1C1917;
  /* Fallback alias */
  --text-muted: #57534E;
  /* High-contrast Crisp Dark Stone */
  --border-color: #DFCDBB;
  /* Warm Light Brown Border */
  --border-focus: #B45309;

  --shadow-sm: 0 1px 3px 0 rgba(41, 37, 36, 0.06);
  --shadow-md: 0 4px 10px -1px rgba(41, 37, 36, 0.08), 0 2px 4px -1px rgba(41, 37, 36, 0.04);
  --shadow-lg: 0 10px 20px -3px rgba(41, 37, 36, 0.09), 0 4px 6px -2px rgba(41, 37, 36, 0.05);
  --shadow-xl: 0 20px 30px -5px rgba(41, 37, 36, 0.12), 0 10px 10px -5px rgba(41, 37, 36, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}

/* Brand Logo Image in Nav & Footer */
.nav-logo-img {
  height: 76px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: var(--transition);
}

.nav-logo-img:hover {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  margin-bottom: 16px;
}

.gold-text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #D97706;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

/* Scroll Fade & Reveal Animations */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Top Announcement Banner */
.top-bar {
  background: #E4D5C3;
  color: #57534E;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid #DFCDBB;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar a {
  color: #1C1917;
  font-weight: 700;
}

/* Navbar */
.navbar {
  background: rgba(237, 228, 216, 0.97);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #DFCDBB;
  box-shadow: 0 2px 10px rgba(41, 37, 36, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--secondary);
}

.brand-icon {
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  color: white;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  border: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #292524;
  padding: 8px 0;
  border-bottom: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0A0A0B;
  border: 1px solid #FCD34D;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 40%, #B45309 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-accent {
  background: var(--secondary);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
  background: #18181B;
  color: #FDE68A;
  border-color: #F59E0B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.25);
}

.btn-outline {
  background-color: transparent;
  border-color: #D4D4D8;
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: #FFFBEB;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #FFFBEB 0%, #FEF3C7 35%, var(--bg-main) 70%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3.3rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--secondary);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid #FDE68A;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Pipeline Progress Bar */
.pipeline-section {
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
}

.pipeline-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow-x: auto;
  padding: 10px 0;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  position: relative;
  z-index: 2;
}

.pipeline-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.pipeline-step.active .pipeline-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.pipeline-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pipeline-step.active .pipeline-label {
  color: var(--primary);
  font-weight: 700;
}

/* Cards & Grids */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

/* Services Cards */
.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.service-features {
  list-style: none;
  margin: 20px 0;
}

.service-features li {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--success);
  font-size: 0.82rem;
}

/* Visual Inventory Calculator */
.inventory-container {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.inventory-tabs {
  display: flex;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.inventory-tab {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.inventory-tab.active {
  color: var(--primary);
  background: white;
  border-bottom-color: var(--primary);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 24px;
}

.inventory-panel.is-hidden {
  display: none !important;
}

.inventory-item-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.inventory-item-card.has-items {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.item-icon {
  font-size: 1.5rem;
}

.item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.item-details {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.item-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.counter-btn {
  background: #F8FAFC;
  border: none;
  width: 32px;
  height: 32px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.counter-btn:hover {
  background: #E2E8F0;
}

.counter-value {
  font-weight: 700;
  font-size: 0.95rem;
  width: 36px;
  text-align: center;
}

/* ==========================================================================
   Floating Action Dock: WhatsApp FAB & Instant Quotes AI Chatbot
   ========================================================================== */
.floating-dispatch-dock {
  position: fixed;
  bottom: var(--chatbot-bottom, 24px);
  right: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transition: bottom 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    transform 0.25s ease;
}

.floating-dispatch-dock>* {
  pointer-events: auto;
}

body:has(.chatbot-modal.open) .floating-dispatch-dock {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) scale(0.95);
}

/* ==========================================================================
   Floating Guided Chatbot Widget - Emerald Green Live Design System
   ========================================================================== */
.chatbot-trigger {
  position: relative;
  background: linear-gradient(135deg, #064E3B 0%, #047857 50%, #059669 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid #34D399;
  box-shadow: 0 10px 25px rgba(6, 78, 59, 0.4), 0 0 16px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.chatbot-trigger:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(6, 78, 59, 0.5), 0 0 22px rgba(52, 211, 153, 0.45);
  border-color: #6EE7B7;
}

.chatbot-trigger.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(16px) scale(0.9) !important;
}

.chatbot-trigger-pulse {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: var(--radius-full);
  border: 2px solid #10B981;
  animation: chatbotRingPulse 2.4s cubic-bezier(0.25, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes chatbotRingPulse {
  0% {
    transform: scale(0.98);
    opacity: 0.8;
  }

  60% {
    transform: scale(1.15);
    opacity: 0;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.chatbot-trigger-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #047857;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
}

.chatbot-trigger-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.chatbot-trigger-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.chatbot-trigger-status {
  font-size: 0.72rem;
  color: #A7F3D0;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chatbot-live-dot {
  width: 8px;
  height: 8px;
  background: #34D399;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
  animation: pulseLiveDot 2s infinite ease-in-out;
}

@keyframes pulseLiveDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.chatbot-notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background: #10B981;
  border: 2px solid #064E3B;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

/* Chatbot Modal Dialog Window (Default: Completely Hidden) */
.chatbot-modal {
  display: none;
  position: fixed;
  bottom: var(--chatbot-bottom, 24px);
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 48px);
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.35), 0 0 0 1px rgba(6, 78, 59, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  z-index: 10002;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: bottom 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-modal.open {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, #064E3B 0%, #047857 55%, #059669 100%);
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #10B981;
}

.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #047857;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chatbot-online-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #34D399;
  border: 2px solid #064E3B;
  border-radius: 50%;
}

.chatbot-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.chatbot-subtitle {
  font-size: 0.72rem;
  color: #D1FAE5;
  margin: 0;
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-header-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chatbot-header-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
  border-color: #34D399;
}

.chatbot-header-btn.btn-minimize:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
  border-color: #34D399;
}

.chatbot-header-btn.btn-restart:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
  border-color: #34D399;
}

.chatbot-header-btn.btn-close {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
}

.chatbot-header-btn.btn-close:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
}

.chatbot-body {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F8FAFC;
  scroll-behavior: smooth;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 92%;
  animation: chatMsgFadeIn 0.25s ease-out;
}

@keyframes chatMsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message-bot {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-message-user {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat-bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25);
  margin-top: 2px;
}

.chat-bubble,
.chat-bubble-bot {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.48;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  word-break: break-word;
}

.chat-bubble-user,
.chat-user {
  background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
  color: #FFFFFF;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  padding: 10px 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
  word-break: break-word;
}

.chat-bot {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.chat-bot b,
.chat-bubble-bot b {
  color: #0F172A;
}

.chat-chips,
.chat-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.chat-chip,
.chat-action-chip {
  background: #FFFFFF;
  border: 1.5px solid #059669;
  color: #065F46;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.chat-chip:hover,
.chat-action-chip:hover {
  background: #059669;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.35);
}

/* Typing Indicator Animation */
.chatbot-typing {
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  font-size: 0.8rem;
  color: #64748B;
}

.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E2E8F0;
  padding: 6px 12px;
  border-radius: 12px;
}

.typing-bubble span {
  width: 6px;
  height: 6px;
  background: #059669;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-bubble span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-bubble span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Chatbot Input & Quicklinks Footer */
.chatbot-footer {
  padding: 12px 16px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chatbot-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  outline: none;
  transition: all 0.2s ease;
  background: #F8FAFC;
}

.chatbot-input:focus {
  border-color: #059669;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.chatbot-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.4);
}

.chatbot-footer-quicklinks {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.quicklink-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quicklink-chip:hover {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}

@media (max-width: 767px) {
  .floating-dispatch-dock {
    bottom: var(--chatbot-bottom, 16px);
    right: 16px;
    gap: 8px;
  }

  .chatbot-trigger {
    padding: 8px 14px;
    gap: 8px;
  }

  .chatbot-trigger-icon {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }

  .chatbot-trigger-label {
    font-size: 0.82rem;
  }

  .chatbot-trigger-status {
    font-size: 0.68rem;
  }

  .chatbot-modal {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 80vh !important;
    max-height: 82vh !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(6, 78, 59, 0.45) !important;
    z-index: 10005 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
  }

  body:has(.chatbot-modal.open) .mobile-sticky-drawer {
    display: none !important;
  }
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-control:hover {
  border-color: #94A3B8;
}

.form-control:focus {
  outline: none;
  border-color: #D97706;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(217, 119, 6, 0.18);
}

/* Professional Custom Styled Dropdowns */
select.form-control,
.input-with-icon select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 42px !important;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
}

select.form-control:hover {
  border-color: #D97706;
  background-color: #FFFDF8;
}

select.form-control:focus {
  border-color: #D97706;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(217, 119, 6, 0.2);
}

select.form-control option {
  padding: 10px 14px;
  background-color: #FFFFFF;
  color: #0F172A;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

/* Contrast & Text Legibility Enforcement */
.booking-card-dark,
.booking-card-dark p,
.booking-card-dark span,
.quote-box,
.card-dark,
.wizard-stepper-container {
  color: #1C1917;
}

.booking-card-dark .form-label,
.card-dark .form-label,
.quote-box .form-label {
  color: #1C1917 !important;
}

.booking-card-dark .text-muted,
.card-dark .text-muted,
.footer .text-muted,
.quote-box .text-muted {
  color: #57534E !important;
}

.booking-card-dark p {
  color: #292524 !important;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-in-network {
  background: #DCFCE7;
  color: #166534;
}

.badge-custom-route {
  background: #FEE2E2;
  color: #991B1B;
}

/* Footer - Light Brown & Espresso High-Contrast System */
.footer {
  background: #EDE4D8;
  color: #57534E;
  padding: 64px 0 32px;
  border-top: 2px solid #D97706;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-title {
  color: #1C1917;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #57534E;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #DFCDBB;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #57534E;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFDF9;
  border: 1.5px solid #D97706;
  color: #B45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.12);
}

.footer-social-btn:hover {
  background: #B45309;
  color: #FFFFFF;
  border-color: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}

.footer-social-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
}

.footer-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #FFFFFF;
}

/* Flash Messages / Alerts */
.alert {
  padding: 12px 20px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.alert-error,
.alert-danger {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #F87171;
}

.alert-success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.alert-info {
  background: #E0F2FE;
  color: #075985;
  border: 1px solid #7DD3FC;
}

.alert-warning {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border-radius: 9999px;
  line-height: 1.2;
}

.badge-status-completed {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid #10B981;
}

.badge-status-in-progress,
.badge-status-confirmed {
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.badge-status-review {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid #F59E0B;
}

.badge-status-default {
  background: rgba(148, 163, 184, 0.2);
  color: #CBD5E1;
  border: 1px solid #94A3B8;
}

/* Relocation Timeline Steps */
.timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-icon-completed {
  background: #10B981;
  color: #0B0B0C;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.timeline-icon-active {
  background: var(--accent);
  color: #0B0B0C;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.6);
  animation: pulse 2s infinite;
}

.timeline-icon-pending {
  background: #1E293B;
  color: #64748B;
  border: 1px solid var(--border-color);
}

.timeline-badge-completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.timeline-badge-active {
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent);
}

.timeline-badge-pending {
  background: #1E293B;
  color: #64748B;
}

.timeline-title-active {
  color: var(--text);
}

.timeline-title-pending {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    display: none;
  }
}

/* HD Media & Fast Loading Image Optimizations */
img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

video {
  max-width: 100%;
  border-radius: 4px;
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   EduSwift Luxury Booking & Quotation System Styles
   ========================================================================== */

/* Booking Section Cards */
.booking-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
}

.booking-card:hover {
  box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
}

.booking-card-dark {
  background: #EDE4D8;
  border: 1px solid #DFCDBB;
  color: #1C1917;
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.booking-card-dark .booking-card-header {
  border-bottom-color: #DFCDBB;
}

.booking-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0A0A0B;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
  flex-shrink: 0;
}

.booking-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0;
}

/* Property Size Visual Interactive Grid */
.property-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.property-size-card {
  background: #FFFDF9;
  border: 2px solid #DFCDBB;
  border-radius: 12px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  user-select: none;
}

.property-size-card:hover {
  border-color: var(--accent);
  background: #FAF5EE;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.12);
}

.property-size-card.active {
  border-color: var(--accent);
  background: #FFFDF9;
  box-shadow: 0 0 0 2px var(--accent), 0 8px 24px rgba(180, 83, 9, 0.2);
  transform: translateY(-2px);
}

.property-size-card.active::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: var(--gold-gradient);
  color: #0A0A0B;
  border-radius: 50%;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.property-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1C1917;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}

.property-card-crew {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.property-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.property-card-rate-pill {
  display: inline-block;
  background: #F5EFEB;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
  border: 1px solid #DFCDBB;
}

/* Location Sub-Cards */
.location-subcard {
  background: #F5EFEB;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.location-subcard:hover {
  border-color: rgba(217, 119, 6, 0.5);
}

.location-subcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.location-subcard-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Professional Input Fields */
.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.95rem;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 42px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #FFFFFF;
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(217, 119, 6, 0.2);
  background: #FFFFFF;
}

.form-control::placeholder {
  color: #A1A1AA;
}

/* Sticky Live Pricing Estimate Sidebar */
.live-quote-sidebar {
  position: sticky;
  top: 215px;
  z-index: 10;
}

.quote-box {
  background: #FFFDF9;
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 36px rgba(41, 37, 36, 0.08);
  color: #1C1917;
}

.quote-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.quote-box-header h3 {
  color: #1C1917 !important;
}

.quote-inclusion-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quote-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.quote-metric-row .label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.quote-metric-row .value {
  color: #1C1917;
  font-weight: 700;
}

.quote-price-banner {
  background: #F5EFEB;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  text-align: center;
}

.quote-price-banner .price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.quote-price-banner .price-range {
  font-size: 1.85rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #B45309;
  font-family: 'Space Grotesk', sans-serif;
}

/* 2-Hour Required Deposit Callout Box */
.quote-deposit-callout {
  background: #EDE4D8;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.quote-deposit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.quote-deposit-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #B45309;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quote-deposit-badge {
  background: var(--accent);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.quote-deposit-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1C1917;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

.quote-deposit-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 6px;
}

/* Post-Submission / Success Page Styles */
.booking-success-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 48px 36px;
  margin-bottom: 32px;
}

.success-check-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid #10B981;
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 22px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
  animation: pulseCheck 2.5s infinite ease-in-out;
}

@keyframes pulseCheck {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 32px rgba(16, 185, 129, 0.4);
  }
}

.ref-number-pill {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(245, 158, 11, 0.06));
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 28px;
}

.ref-number-value {
  font-family: 'Space Grotesk', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.ref-copy-btn {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ref-copy-btn:hover {
  background: var(--accent);
  color: #0A0A0B;
  border-color: var(--accent);
}

.dispatch-roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.dispatch-step-item {
  background: #FAF9F6;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  position: relative;
}

.dispatch-step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dispatch-step-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.dispatch-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   1. Multi-Step Wizard Stepper Header (Sticky Relocation Progress)
   ========================================================================== */
.wizard-stepper-container {
  background: rgba(237, 228, 216, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #DFCDBB;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(41, 37, 36, 0.06);
  position: sticky;
  top: 80px;
  z-index: 950;
  overflow: visible;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-stepper-container.is-stuck {
  box-shadow: 0 10px 28px rgba(41, 37, 36, 0.14), 0 0 0 1px rgba(180, 83, 9, 0.2);
  border-color: #B45309;
  padding: 12px 20px;
}

.wizard-stepper-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wizard-stepper-header-title span:first-child {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1C1917;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wizard-stepper-percent {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #B45309;
  transition: color 0.3s ease;
}

.wizard-stepper-progress-track {
  position: relative;
  height: 6px;
  background: #DFCDBB;
  border-radius: var(--radius-full);
  margin: 20px 32px 0 32px;
  overflow: hidden;
}

.wizard-stepper-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.wizard-stepper-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: -18px;
  z-index: 2;
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}

.wizard-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFDF9;
  border: 2px solid #CBD5E1;
  color: #57534E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(41, 37, 36, 0.06);
}

.wizard-step-node.active .wizard-step-circle {
  background: #FFFDF9;
  border-color: #B45309;
  color: #B45309;
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.2);
  transform: scale(1.12);
}

.wizard-step-node.completed .wizard-step-circle {
  background: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(21, 128, 61, 0.35);
}

.wizard-step-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #57534E;
  margin-top: 8px;
  text-align: center;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.wizard-step-node.active .wizard-step-label {
  color: #B45309;
  font-weight: 800;
}

.wizard-step-node.completed .wizard-step-label {
  color: #15803D;
  font-weight: 700;
}

@media (max-width: 640px) {
  .wizard-stepper-container {
    padding: 10px 12px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
  }

  .wizard-stepper-container.is-stuck {
    padding: 8px 10px;
  }

  .wizard-stepper-progress-track {
    margin: 14px 12px 0 12px;
  }

  .wizard-step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .wizard-step-circle .material-symbols-outlined {
    font-size: 15px !important;
  }

  .wizard-step-label {
    font-size: 0.64rem;
    margin-top: 4px;
  }
}

/* ==========================================================================
   2. OTP Micro-Celebration & Confetti Burst
   ========================================================================== */
.otp-celebration-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  animation: celebrationCardGlow 0.8s ease-out forwards;
}

@keyframes celebrationCardGlow {
  0% {
    transform: scale(0.97);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
  }
}

.otp-confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 20;
  animation: confettiBurst 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes confettiBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(var(--burst-x), var(--burst-y)) rotate(var(--burst-rot)) scale(0.4);
  }
}

.otp-success-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10B981;
  border-radius: 12px;
  padding: 20px;
  color: #10B981;
  position: relative;
  z-index: 5;
}

.otp-check-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #10B981;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  animation: checkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes checkPop {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.stripe-unlocked-reveal {
  animation: unlockSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes unlockSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   3. Mobile Sticky "Deposit & Book" Bottom Drawer (< 768px)
   ========================================================================== */
.mobile-sticky-drawer {
  display: none;
}

@media (max-width: 767px) {
  body.has-mobile-drawer {
    padding-bottom: 96px;
    /* Safe margin so content isn't covered */
  }

  .mobile-sticky-drawer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(237, 228, 216, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid #D97706;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 8px)) 18px;
    box-shadow: 0 -8px 24px rgba(41, 37, 36, 0.12);
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    animation: drawerSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes drawerSlideUp {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .mobile-drawer-metrics {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-drawer-title {
    font-size: 0.7rem;
    color: #57534E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
  }

  .mobile-drawer-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #B45309;
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-drawer-sub {
    font-size: 0.72rem;
    color: #1C1917;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-drawer-action {
    flex-shrink: 0;
  }

  .mobile-drawer-btn {
    background: var(--gold-gradient);
    color: #000000;
    border: 1px solid #FCD34D;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    cursor: pointer;
    text-decoration: none;
  }

  .mobile-drawer-btn:active {
    transform: scale(0.97);
  }
}

/* ==========================================================================
   4. Minimalist Floating Action Button (FAB) WhatsApp Widget
   ========================================================================== */
.whatsapp-fab-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-fab-btn {
  position: relative;
  bottom: auto;
  right: auto;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #075E54 0%, #128C7E 40%, #25D366 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid #86EFAC;
  box-shadow: 0 8px 20px rgba(7, 94, 84, 0.35), 0 0 14px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  flex-shrink: 0;
}

.whatsapp-fab-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 12px 26px rgba(7, 94, 84, 0.45), 0 0 20px rgba(37, 211, 102, 0.5);
  border-color: #FFFFFF;
}

.whatsapp-fab-icon {
  font-size: 1.55rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappFabPulse 2.4s cubic-bezier(0.25, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes whatsappFabPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  60% {
    transform: scale(1.22);
    opacity: 0;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

/* Centered Top Hover Tooltip */
.whatsapp-fab-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1C1917;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10003;
}

.whatsapp-fab-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1C1917 transparent transparent transparent;
}

.whatsapp-fab-btn:hover .whatsapp-fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .whatsapp-fab-btn {
    width: 44px;
    height: 44px;
  }

  .whatsapp-fab-icon {
    font-size: 1.4rem;
  }

  .whatsapp-fab-tooltip {
    display: none;
  }
}

/* ==========================================================================
   Floating Customer Review Widget (Bottom-Left)
   ========================================================================== */
.floating-review-dock {
  position: fixed;
  bottom: var(--chatbot-bottom, 24px);
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  transition: bottom 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    transform 0.25s ease;
}

.floating-review-dock > * {
  pointer-events: auto;
}

/* Floating Action Button (Review Us) */
.review-trigger {
  position: relative;
  background: linear-gradient(135deg, #1C1917 0%, #292524 55%, #1C1917 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid #D97706;
  box-shadow: 0 10px 25px rgba(28, 25, 23, 0.45), 0 0 16px rgba(217, 119, 6, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  user-select: none;
}

.review-trigger:hover,
.floating-review-dock.active .review-trigger {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(28, 25, 23, 0.55), 0 0 22px rgba(245, 158, 11, 0.45);
  border-color: #FBBF24;
}

.review-trigger-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FBBF24;
  flex-shrink: 0;
}

.review-trigger-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.review-trigger-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.review-trigger-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #D97706;
  animation: reviewTriggerPulse 2.5s cubic-bezier(0.25, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes reviewTriggerPulse {
  0% {
    transform: scale(0.97);
    opacity: 0.75;
  }
  60% {
    transform: scale(1.15, 1.28);
    opacity: 0;
  }
  100% {
    transform: scale(1.15, 1.28);
    opacity: 0;
  }
}

/* Expandable Popover Card */
.review-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid #E5E7EB;
  box-shadow: 0 24px 50px rgba(28, 25, 23, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px 22px;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom left;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.26s;
}

/* Open state via hover or .active class */
.floating-review-dock:hover .review-popover,
.floating-review-dock.active .review-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.review-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F3F4F6;
}

.review-popover-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #1C1917;
  font-family: 'Space Grotesk', sans-serif;
}

.review-popover-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.review-popover-close:hover {
  color: #1C1917;
}

/* Form Controls */
.review-form-group {
  margin-bottom: 12px;
}

.review-form-row {
  display: flex;
  gap: 10px;
}

.review-form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}

.review-rating-hint {
  font-size: 0.74rem;
  font-weight: 700;
  color: #D97706;
}

.review-form-input,
.review-form-textarea {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #1F2937;
  background: #F9FAFB;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.review-form-input:focus,
.review-form-textarea:focus {
  outline: none;
  border-color: #D97706;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.review-form-textarea {
  resize: vertical;
  min-height: 68px;
  line-height: 1.4;
}

/* 5-Star Interactive Rating Picker */
.review-stars-group {
  display: flex;
  gap: 4px;
  align-items: center;
}

.star-rating-btn {
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  color: #D1D5DB;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating-btn:hover {
  transform: scale(1.22);
}

.star-rating-btn .star-icon {
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 500;
  color: #D1D5DB;
  transition: color 0.15s ease;
}

.star-rating-btn.active .star-icon {
  color: #F59E0B;
  font-variation-settings: 'FILL' 1, 'wght' 600;
}

/* Submit Button */
.review-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  margin-top: 4px;
}

.review-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

.review-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Notice box */
.review-status-notice {
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.review-status-notice.error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

/* Success View */
.review-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
}

.review-success-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.review-success-title {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #1C1917;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.review-success-desc {
  margin: 0 0 18px 0;
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.45;
  max-width: 280px;
}

.review-success-btn {
  background: #1C1917;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.review-success-btn:hover {
  background: #27272A;
}

@media (max-width: 640px) {
  .floating-review-dock {
    bottom: var(--chatbot-bottom, 16px);
    left: 16px;
  }

  .review-trigger {
    padding: 8px 14px;
    gap: 8px;
  }

  .review-trigger-icon {
    width: 28px;
    height: 28px;
  }

  .review-trigger-label {
    font-size: 0.82rem;
  }

  .review-popover {
    width: calc(100vw - 32px);
    padding: 16px 18px;
  }
}

/* ==========================================================================
   8. Comprehensive Mobile-First & Phone Optimization (All Screen Sizes)
   ========================================================================== */

/* Universal Overflow & Touch Optimization */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.mobile-nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* Desktop: Hide Mobile Nav Toggle & Drawer */
.mobile-nav-toggle {
  display: none;
}

.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

/* Tablet & Mobile Screens (<= 900px) */
@media (max-width: 900px) {
  .navbar {
    height: 68px;
    padding: 0 16px;
  }

  .nav-container {
    padding: 0;
  }

  .nav-logo-img {
    height: 44px;
    max-width: 170px;
    object-fit: contain;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #DFCDBB;
    background: #FFFDF9;
    color: #1C1917;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:active {
    background: #E4D5C3;
    color: #B45309;
    border-color: #B45309;
  }

  .mobile-nav-toggle-icon {
    font-size: 26px;
  }

  /* Backdrop Overlay */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 23, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
  }

  .mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Slide-Over Drawer */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: #FFFDF9;
    z-index: 10002;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-drawer.is-open {
    transform: translateX(0);
  }

  .mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #DFCDBB;
    background: #EDE4D8;
  }

  .mobile-nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
  }

  .mobile-nav-brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #1C1917;
    line-height: 1.1;
  }

  .mobile-nav-brand-tagline {
    font-size: 0.68rem;
    color: #B45309;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  .mobile-nav-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #DFCDBB;
    background: #FFFDF9;
    color: #57534E;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .mobile-nav-close-btn:hover {
    background: #1C1917;
    color: #FFFDF9;
  }

  .mobile-nav-drawer-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 16px 20px 24px 20px;
  }

  .mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #1C1917;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    min-height: 48px;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    background: #E4D5C3;
    color: #B45309;
  }

  .mobile-nav-item-icon {
    font-size: 22px;
    color: #57534E;
    transition: color 0.15s ease;
  }

  .mobile-nav-item:hover .mobile-nav-item-icon {
    color: #B45309;
  }

  .mobile-nav-item-highlight {
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.25);
  }

  .mobile-nav-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 800;
    background: #B45309;
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .mobile-nav-drawer-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #DFCDBB;
  }

  .mobile-nav-cta-btn,
  .mobile-nav-phone-btn {
    min-height: 46px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}

/* Phones & Small Screens (<= 640px) */
@media (max-width: 640px) {
  /* Prevent iOS Safari input auto-zoom by ensuring minimum 16px font */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .container {
    padding: 0 16px;
  }

  /* Compact Top Bar on Phones */
  .top-bar {
    padding: 6px 0;
    font-size: 0.78rem;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .top-bar-item:nth-child(2) {
    display: none; /* Hide secondary duplicate contact on mobile top bar */
  }

  /* Nav Book Button on Narrow Phones */
  .nav-book-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  /* Headings Scaling */
  h1, .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem) !important;
    line-height: 1.2 !important;
  }

  h2, .section-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
  }

  h3 {
    font-size: 1.15rem !important;
  }

  .section {
    padding: 44px 0;
  }

  /* Hero Section Stacking */
  .hero {
    padding: 28px 0 36px 0 !important;
    min-height: auto !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-badge {
    justify-content: center;
    width: 100%;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
  }

  /* Single Column Form Rows on Phones */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .card {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }

  /* Pipeline Steps Stacking on Mobile */
  .pipeline-steps {
    flex-direction: column;
    gap: 16px;
  }

  .pipeline-step {
    width: 100%;
    max-width: 100%;
  }

  .pipeline-step::after {
    display: none;
  }

  /* Grid Layouts to 1 Column */
  .grid-2,
  .grid-3,
  .grid-4,
  .services-grid,
  .cities-grid,
  .team-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Footer Bottom Responsive */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Floating Docks on Mobile Phones: Ensure No Overlap */
  .floating-review-dock {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    left: 12px !important;
    z-index: 9998;
  }

  .review-trigger {
    padding: 6px 10px !important;
    gap: 6px !important;
    border-radius: 20px !important;
  }

  .review-trigger-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .review-trigger-icon .material-symbols-outlined {
    font-size: 16px !important;
  }

  .review-trigger-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
  }

  .floating-dispatch-dock {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    right: 12px !important;
    z-index: 9998;
  }

  .whatsapp-fab-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .review-popover {
    width: calc(100vw - 24px) !important;
    max-width: 380px !important;
    max-height: 82vh !important;
    padding: 16px 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
  }
}

/* Extra Small Phones (<= 375px: iPhone SE, Galaxy A series) */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .nav-logo-img {
    height: 38px;
    max-width: 145px;
  }

  .nav-book-btn {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .nav-book-btn span:first-child {
    display: none; /* Icon-only on very narrow screen */
  }

  .card {
    padding: 14px 12px !important;
  }

  .review-trigger-label {
    display: none; /* Show star icon button on tiny screens */
  }

  .review-trigger {
    padding: 6px !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    justify-content: center !important;
  }
}

