/* ===== ROOT DESIGN TOKENS ===== */
/* Note: Google Fonts (Nunito) is loaded via <link> preload in main.php for best performance */
:root {
  /* Colors - Premium Palette */
  --primary: #00B14F;
  --primary-rgb: 0, 177, 79;
  --primary-dark: #008F3F;
  --primary-light: #33C072;
  --secondary: #1C7ED6;
  --accent: #FFD43B;

  --border: rgba(0, 0, 0, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-active: var(--primary);

  --bg: #FFFFFF;
  --bg-soft: #F8F9FA;
  --bg-2: #F1F4F8;
  --bg-card: #FFFFFF;
  --bg-dark: #121212;

  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 10px 30px rgba(0, 177, 79, 0.2);

  /* Dimensions */
  --nav-h: 80px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  /* Fonts */
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-heading: 'Nunito', sans-serif;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== PERFORMANCE HINTS ===== */
/* content-visibility: auto skips off-screen section rendering → reduces Style & Layout time */
.section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* Reduce paint area for fixed/sticky elements - promotes to GPU composite layer */
.mobile-menu,
.mobile-overlay,
.sticky-contacts,
.fab-call,
#goToTop {
  will-change: transform;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  /* Safari iOS: prevent text size adjust on orientation change */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Safari iOS: prevent pull-to-refresh bounce on body */
  overscroll-behavior-y: none;
  /* Safari iOS: smooth momentum scrolling */
  -webkit-overflow-scrolling: touch;
  /* Safari iOS: tap highlight */
  -webkit-tap-highlight-color: transparent;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}



a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  /* Safari iOS: prevent callout on long-press */
  -webkit-touch-callout: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* ===== SAFARI iOS GLOBAL FIXES ===== */
/* Prevent auto-zoom on input focus (must be ≥16px) */
input,
select,
textarea {
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  /* Reset Safari default radius */
}

/* Restore intended border-radius after reset */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  border-radius: var(--radius-sm);
}

/* Smooth touch interactions */
a,
button,
input,
select,
textarea,
.vehicle-card,
.trip-card,
.news-card,
.feature-card,
.step-card {
  touch-action: manipulation;
}

/* Safari iOS: Fix image rendering */
img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

/* Safari iOS: Hide scrollbar */
::-webkit-scrollbar {
  display: none;
}

/* Keep custom scrollbar for desktop only */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-soft);
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

/* Utilities for Animations */
.reveal,
.animate-up {
  opacity: 0;
  /* Don't use will-change here - it wastes GPU memory for all hidden elements */
}

.reveal.active,
.animate-up.active {
  will-change: transform, opacity;
  /* Only promote to GPU layer when animating */
  animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Clear will-change after animation completes to free GPU memory */
.reveal.done,
.animate-up.done {
  will-change: auto;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  /* Safari iOS: safe area for notched devices */
  padding: 0 max(5%, env(safe-area-inset-right)) 0 max(5%, env(safe-area-inset-left));
  padding-top: env(safe-area-inset-top);
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  /* Safari iOS: prevent navbar from being affected by rubber-band scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  height: 72px;
}

.nav-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 40px;
}

.nav-menu a {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 12px;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-call {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.btn-call:hover {
  background: rgba(var(--primary-rgb), 0.15);
  transform: scale(1.02);
}

/* HAMBURGER */
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU OVERLAY */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  /* Safari iOS: prevent scroll-through */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -310px;
  width: 300px;
  /* Safari iOS: 100vh fix - use dvh with vh fallback */
  height: 100vh;
  height: -webkit-fill-available;
  height: 100dvh;
  background: white;
  z-index: 1100;
  display: flex !important;
  flex-direction: column;
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* Safari iOS: safe area for bottom */
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-menu.open {
  transform: translateX(310px);
}

/* Close Button */
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  z-index: 10;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
  background: #FF4D4F;
  color: white;
  transform: rotate(90deg);
}

/* Profile Section */
.mobile-menu-profile {
  padding: 50px 24px 24px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.02) 100%);
  border-bottom: 1px solid var(--border);
}

.mobile-profile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.mobile-guest-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mobile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.mobile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mobile-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 3px solid white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mobile-avatar-badge {
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  border: 2px solid white;
}

.mobile-profile-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mobile-profile-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-profile-email {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-profile-arrow {
  color: var(--text-light);
  font-size: 12px;
  flex-shrink: 0;
}

/* Auth Buttons (Guest) */
.mobile-auth-buttons {
  display: flex;
  gap: 10px;
}

.mobile-btn-login,
.mobile-btn-register {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}

.mobile-btn-login {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.mobile-btn-register {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.mobile-btn-login:hover {
  background: rgba(var(--primary-rgb), 0.15);
}

.mobile-btn-register:hover {
  background: var(--primary-dark);
}

/* Menu Items */
.mobile-menu-items {
  padding: 12px 16px;
}

.mobile-menu-items a,
.mobile-menu-section a {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-items a i,
.mobile-menu-section a i {
  width: 22px;
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.mobile-menu-items a:hover,
.mobile-menu-items a:active,
.mobile-menu-section a:hover,
.mobile-menu-section a:active {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.mobile-menu-items a:hover i,
.mobile-menu-items a:active i,
.mobile-menu-section a:hover i,
.mobile-menu-section a:active i {
  color: var(--primary);
}

.mobile-menu-items a.active {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.mobile-menu-items a.active i {
  color: var(--primary);
}

.mobile-menu-items a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}

/* Menu Sections */
.mobile-menu-section {
  padding: 4px 16px 12px;
  border-top: 1px solid var(--border);
}

.mobile-menu-section-title {
  padding: 12px 16px 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-admin-link {
  color: var(--primary) !important;
}

.mobile-admin-link i {
  color: var(--primary) !important;
}

/* Menu Footer */
.mobile-menu-footer {
  margin-top: auto;
  padding: 16px 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary) !important;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.06);
  transition: all 0.2s ease;
}

.mobile-menu-call:hover {
  background: rgba(var(--primary-rgb), 0.12);
}

.mobile-menu-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #FF4D4F !important;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-menu-logout:hover {
  background: #FFF1F0;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: -0.5px;
}


/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.15), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(28, 126, 214, 0.1), transparent 40%),
    var(--bg);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: var(--primary);
  filter: blur(150px);
  opacity: 0.1;
  z-index: 1;
  border-radius: 50%;
}

.hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  position: relative;
  color: var(--primary);
  display: inline-block;
}

.hero-desc {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--font-heading);
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.h-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.h-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.h-feature-text {
  display: flex;
  flex-direction: column;
}

.h-feature-text strong {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
}

.h-feature-text span {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 30px;
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}

.fb-1 {
  top: 15%;
  left: -40px;
  color: #00B14F;
  animation-delay: 0s;
}

.fb-2 {
  bottom: 20%;
  right: -20px;
  color: var(--primary);
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  position: relative;
  height: 80px;
  width: 100%;
  overflow: hidden;
  z-index: 5;
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  fill: var(--bg-soft);
}

.section-divider.flip {
  transform: rotate(180deg);
}

.section-divider.white svg {
  fill: #fff;
}

/* ===== SECTION TITLES REFINEMENT ===== */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* ===== CAROUSEL SYSTEM ===== */
.carousel-container {
  position: relative;
  padding: 20px 0;
}

.carousel-viewport {
  overflow: hidden;
  margin: 0 -15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-item {
  min-width: calc(33.333% - 30px);
  margin: 0 15px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .carousel-item {
    min-width: calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .carousel-item {
    min-width: calc(100% - 30px);
  }
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

/* ===== FEATURED TRIPS ===== */
.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.trip-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.trip-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trip-route {
  flex-grow: 1;
}

.trip-route h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.trip-route span {
  font-size: 13px;
  color: var(--text-light);
  display: block;
}

.trip-price {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
}

.trip-points {
  padding: 15px 0;
  position: relative;
}

.trip-point {
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.trip-point:first-child {
  margin-bottom: 20px;
}

.trip-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.trip-point:first-child::before {
  background: var(--primary);
}

.trip-point:last-child::before {
  background: #FF6B6B;
  border-radius: 2px;
}

.trip-point::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 15px;
  bottom: -15px;
  width: 2px;
  border-left: 2px dashed #eee;
}

.trip-point:last-child::after {
  display: none;
}

/* ===== CUSTOM CONTACT ===== */
.contact-highlight {
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-highlight {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.c-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.c-text h4 {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.c-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* ===== GO TO TOP ===== */
#goToTop {
  position: fixed;
  bottom: calc(30px + env(safe-area-inset-bottom));
  right: calc(30px + env(safe-area-inset-right));
  width: 50px;
  height: 50px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

#goToTop.visible {
  opacity: 1;
  visibility: visible;
  bottom: calc(100px + env(safe-area-inset-bottom));
}

@media(max-width: 768px) {
  #goToTop.visible {
    bottom: calc(90px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right));
  }
}

#goToTop:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* ===== STICKY CONTACTS ===== */
.sticky-contacts {
  position: fixed;
  right: calc(30px + env(safe-area-inset-right));
  bottom: calc(170px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.s-contact {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  border: 2px solid white;
}

.s-contact:hover {
  transform: scale(1.1) translateX(-5px);
}

.s-contact.s-phone {
  background: #00b14f;
  animation: s-pulse 2s infinite;
}

.s-contact.s-zalo {
  background: #0068ff;
}

.s-contact.s-messenger {
  background: #0084ff;
}

.s-contact::after {
  content: attr(data-label);
  position: absolute;
  right: 65px;
  background: rgba(30, 30, 30, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
}

.s-contact:hover::after {
  opacity: 1;
  visibility: visible;
  right: 60px;
}

@keyframes s-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 177, 79, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 177, 79, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 177, 79, 0);
  }
}

@media (max-width: 768px) {
  .sticky-contacts {
    right: calc(20px + env(safe-area-inset-right));
    bottom: calc(150px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .s-contact {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .s-contact::after {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-features-list {
    align-items: center;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrap {
    height: 350px;
  }

  .fb-1 {
    left: 10px;
  }

  .fb-2 {
    right: 10px;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 5%;
}

/* ===== NEWS SECTION ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.news-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text);
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.section-soft {
  background: var(--bg-soft);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== VEHICLE CARDS ===== */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.vehicle-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fffe 100%);
  border: 1.5px solid rgba(0, 177, 79, 0.1);
  border-radius: 24px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vehicle-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 177, 79, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.vehicle-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #00d4aa);
  border-radius: 3px 3px 0 0;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 177, 79, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.vehicle-card:hover::before {
  opacity: 1;
}

.vehicle-card:hover::after {
  width: 60%;
}

.vehicle-card:hover .vehicle-icon {
  transform: scale(1.15) translateY(-4px);
  filter: drop-shadow(0 8px 20px rgba(0, 177, 79, 0.2));
}

.vehicle-card:hover .vehicle-price {
  background: linear-gradient(135deg, var(--primary) 0%, #00d4aa 100%);
  color: #fff;
  transform: scale(1.05);
}

.vehicle-icon {
  font-size: 56px;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.vehicle-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 177, 79, 0.08);
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: auto;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  background: white;
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-icon-wrap {
  width: 90px;
  height: 90px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 32px;
  height: 32px;
  background: var(--text);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PAGE HEADERS ===== */
.page-header {
  padding: 160px 5% 100px;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  z-index: 1;
  border-radius: 50%;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.breadcrumb a {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb span {
  opacity: 0.3;
}

.page-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 950;
  color: var(--text);
  letter-spacing: -3px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-title .highlight {
  color: var(--primary);
}

/* ===== FORMS & INPUTS ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 20px;
  color: var(--text);
  font-size: 16px;
  /* Safari iOS: >= 16px prevents auto-zoom on focus */
  font-weight: 600;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  /* Safari iOS: remove default styling */
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
  font-weight: 500;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-light);
  pointer-events: none;
  z-index: 5;
}

.input-icon-wrap .form-control {
  padding-left: 48px;
}

.btn-input-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
  z-index: 5;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-input-right:hover {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.1);
}

/* ===== ALERTS ===== */
.alert {
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-dark);
}

.alert-error {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #E03131;
}

/* ===== BOOKING PAGE ===== */
.booking-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.booking-map-container {
  position: relative;
  overflow: hidden;
}

#booking-map {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.map-overlay-info {
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.booking-panel {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-panel-title {
  font-size: 20px;
  font-weight: 800;
}

.vehicle-type-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vt-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}

/* ===== STEP UI ===== */
.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  padding: 0 10px;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .3s;
}

.step.active .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 177, 79, 0.4);
}

.step.completed .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.step.active .step-label {
  color: var(--primary);
}

.booking-step-content {
  display: none;
  animation: slideIn .3s ease-out;
}

.booking-step-content.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step 2 Refinements */
.vehicle-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vt-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vt-row.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, 0.03);
  box-shadow: 0 4px 12px rgba(0, 177, 79, 0.08);
}

.vt-row-icon {
  width: 54px;
  height: 54px;
  background: #F8F9FA;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.vt-row.active .vt-row-icon {
  background: var(--primary);
  color: #fff;
}

.vt-row-info {
  flex: 1;
}

.vt-row-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.vt-row-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.vt-row-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--primary);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Payment Box */
.pm-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #F8F9FA;
  cursor: pointer;
  transition: all .2s;
  font-size: 12px;
  font-weight: 700;
}

.pm-box.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, 0.05);
  color: var(--primary);
}

.pm-box i {
  font-size: 18px;
}

.booking-page {
  background: var(--bg-2);
}

.booking-layout {
  height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 450px;
}

.booking-panel {
  background: #fff;
  padding: 32px;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
  border-left: 1px solid var(--border);
}

.booking-panel-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-panel-title i {
  color: var(--primary);
}

.vt-option {
  border: 1px solid var(--border);
  background: #fff;
}

.vt-option.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, 0.05);
}

.vt-option .vt-name {
  color: var(--text);
  font-weight: 600;
}

.fare-display {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px dashed var(--primary-light);
  margin: 20px 0;
}

.fare-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}

/* Light Theme refinements for inputs */
/* Cleaned duplicate styles */

.booking-step-content {
  display: none;
}

.booking-step-content.active {
  display: block;
}

/* Grab Style UI Global Components */
.vehicle-list-vertical {
  display: flex;
  flex-direction: column;
  background: #fff;
  margin-top: 10px;
}

.vt-row-grab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f8f8f8;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.vt-row-grab.active {
  background: #fdfdfd;
  border-left: 4px solid #00b14f;
  background: #f0fdf4;
  margin-left: -32px;
  margin-right: -32px;
  padding-left: 32px;
  padding-right: 32px;
}

@media(max-width:768px) {
  .vt-row-grab.active {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.vt-grab-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vt-grab-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8f8f8;
  font-size: 24px;
  color: #00b14f;
  flex-shrink: 0;
}

.vt-grab-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vt-grab-name {
  font-size: 15px;
  font-weight: 700;
  color: #1c1c1c;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vt-grab-meta {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

.vt-grab-price {
  font-size: 16px;
  font-weight: 800;
  color: #1c1c1c;
  text-align: right;
}

.promo-banner-grab {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f7ff;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 14px;
}

.promo-banner-icon {
  width: 32px;
  height: 32px;
  background: #00b14f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.promo-banner-text {
  font-size: 12px;
  font-weight: 600;
  color: #004085;
  line-height: 1.4;
}

.grab-bottom-bar {
  position: sticky;
  bottom: -32px;
  /* Anchor to bottom despite panel padding */
  left: -32px;
  right: -32px;
  background: #fff;
  padding: 20px 32px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  margin: 24px -32px -32px;
  z-index: 1001;
  border-top: 1px solid #f0f0f0;
}

@media(max-width:768px) {
  .grab-bottom-bar {
    bottom: 0;
    left: -20px;
    right: -20px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    margin: 20px -20px 0;
  }
}

.grab-bar-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}

.grab-payment-select,
.grab-promo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #eee;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  background: #fff;
  white-space: nowrap;
}

.grab-payment-select i {
  color: #00b14f;
}

.grab-promo-link {
  color: #ff3b30;
  border-color: rgba(255, 59, 48, 0.1);
}

.grab-more-options {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 50%;
  color: #888;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-grab-main {
  width: 100%;
  height: 56px;
  background: #00b14f;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 177, 79, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s;
}

.btn-grab-main:active {
  transform: scale(0.98);
}

/* ===== PAYMENT SHEET (Bottom Sheet Modal) ===== */
.pay-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pay-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeInBg 0.2s ease;
}

@keyframes fadeInBg {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.pay-sheet {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  animation: slideUpSheet 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pay-sheet-handle {
  width: 40px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 10px;
  margin: 0 auto 16px;
}

.pay-sheet-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

.pay-method-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.pay-method-item:active {
  transform: scale(0.98);
}

.pay-method-item.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, 0.03);
  box-shadow: 0 2px 8px rgba(0, 177, 79, 0.08);
}

.pay-method-item input[type=radio] {
  display: none;
}

.pm-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pm-info {
  flex: 1;
  min-width: 0;
}

.pm-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.pm-desc {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-check {
  font-size: 20px;
  color: #e0e0e0;
  flex-shrink: 0;
  transition: color 0.2s;
}

.pay-method-item.active .pm-check {
  color: var(--primary);
}

.pay-sheet-confirm {
  width: 100%;
  padding: 14px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 177, 79, 0.3);
  transition: transform 0.2s;
}

.pay-sheet-confirm:active {
  transform: scale(0.97);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

#map-loading {
  background: #F8F9FA;
  color: var(--text-muted);
}

#route-info {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vt-option.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, .1);
}

.vt-option .vt-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
}

.vt-option .vt-name {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 2px;
}

.vt-option .vt-price {
  font-size: 10px;
  color: var(--text-muted);
}

.fare-display {
  background: linear-gradient(135deg, rgba(0, 177, 79, .12), transparent);
  border: 1px solid rgba(0, 177, 79, .2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.fare-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}

.fare-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.fare-details {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.payment-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.payment-option.active {
  border-color: var(--primary);
  background: rgba(0, 177, 79, .1);
}

.pm-icon {
  font-size: 22px;
}

.pm-name {
  font-size: 11px;
  font-weight: 600;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: #1a1a2e;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 240px;
  overflow-y: auto;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: background .15s;
}

.autocomplete-item:hover {
  background: rgba(255, 255, 255, .05);
}

.ac-icon {
  flex-shrink: 0;
}

/* ===== TRACKING ===== */
.tracking-page {
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 48px;
  min-height: 100vh;
}

.tracking-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.tracking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.tracking-code {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  font-family: monospace;
}

.tracking-body {
  padding: 24px;
}

.tracking-map {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 24px;
}

.tracking-status-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.status-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  position: relative;
}

.status-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.status-step.done::before {
  background: var(--primary);
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.status-step.done .step-dot {
  background: var(--primary);
  border-color: var(--primary);
}

.status-step.current .step-dot {
  background: rgba(0, 177, 79, .15);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 177, 79, .15);
  animation: pulse 1.5s infinite;
}

.step-info .step-label {
  font-size: 14px;
  font-weight: 600;
}

.step-info .step-time {
  font-size: 12px;
  color: var(--text-muted);
}

.driver-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
}

.driver-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.driver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.driver-name {
  font-size: 16px;
  font-weight: 700;
}

.driver-plate {
  font-size: 13px;
  color: var(--text-muted);
}

.driver-rating {
  font-size: 13px;
  color: #FFD700;
}

.driver-actions {
  margin-left: auto;
}

.btn-call-driver {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 177, 79, .12);
  border: 1px solid rgba(0, 177, 79, .25);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: all .2s;
}

.btn-call-driver:hover {
  background: rgba(0, 177, 79, .25);
}

/* ===== FORMS (Frontend) ===== */
/* Cleaned duplicate styles */

/* ===== FOOTER ===== */
.footer {
  padding: 64px 24px calc(32px + env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  margin-top: 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .2s;
}

.social-btn:hover {
  border-color: var(--border-active);
  color: var(--primary);
  background: rgba(0, 177, 79, .08);
}

.footer-col h4,
.footer-col .footer-heading {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Consolidated above */

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col span,
.footer-col li {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== FAB ===== */
.booking-page~.fab-call,
.booking-page .fab-call {
  display: none !important;
}

.fab-call {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: calc(24px + env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 177, 79, .5);
  z-index: 500;
  animation: bounce 2s infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: calc(80px + env(safe-area-inset-top));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  min-width: 280px;
  max-width: 380px;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: slideIn .3s ease;
  transition: all .3s;
}

.toast.success {
  background: rgba(0, 177, 79, .15);
  border: 1px solid rgba(0, 177, 79, .3);
  color: #00D660;
}

.toast.error {
  background: rgba(220, 53, 69, .15);
  border: 1px solid rgba(220, 53, 69, .3);
  color: #FF6B6B;
}

.toast.info {
  background: rgba(100, 149, 237, .15);
  border: 1px solid rgba(100, 149, 237, .3);
  color: #6495ED;
}

.toast.warning {
  background: rgba(255, 193, 7, .15);
  border: 1px solid rgba(255, 193, 7, .3);
  color: #FFC107;
}

.toast-text {
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  opacity: .6;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(.9)
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.animate-up {
  animation: animUp .6s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes animUp {
  from {
    transform: translateY(24px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.delay-1 {
  animation-delay: .1s
}

.delay-2 {
  animation-delay: .2s
}

.delay-3 {
  animation-delay: .3s
}

.delay-4 {
  animation-delay: .4s
}

.loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* ===== PROFILE PAGE ===== */
.profile-page {
  padding: calc(var(--nav-h)+40px) 24px 60px;
  min-height: 100vh;
}

.profile-container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 24px;
  font-weight: 800;
}

.profile-email {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-soft);
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border);
}

.footer.hide-footer {
  display: none !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.footer h4 {
  margin-bottom: 24px;
  font-size: 18px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
}

.footer ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-info i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== PAGE HEADERS ===== */
.page-header {
  padding: 120px 5% 60px;
  background: var(--bg-soft);
  text-align: center;
}

.page-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ===== ABOUT PAGE ===== */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-story-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-item {
  display: flex;
  gap: 24px;
}

.contact-icon-box {
  width: 64px;
  height: 64px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-value-big {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  display: block;
}

.contact-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: block;
  word-break: break-word;
}

.contact-map-wrap {
  margin-top: 60px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 350px;
}

.contact-form-card {
  background: white;
  border-radius: 40px;
  padding: 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}

.contact-form-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-label {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.contact-form-input {
  height: 60px;
  border-radius: 16px;
  padding: 0 24px;
  font-size: 16px;
}

.contact-form-textarea {
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 16px;
}

.contact-form-submit {
  height: 64px;
  justify-content: center;
  font-size: 18px;
  margin-top: 10px;
}

/* ===== PRICING PAGE ===== */
.pricing-detail-box {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-row+.pricing-row {
  margin-top: 12px;
}

.pricing-row span {
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-row strong {
  font-weight: 800;
}

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

.pricing-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pricing-badges {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-badge-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pricing-badge-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-badge-item span {
  font-weight: 700;
  font-size: 14px;
}

.pricing-calc-card {
  background: white;
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.pricing-calc-field {
  margin-bottom: 24px;
}

.pricing-calc-label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.pricing-calc-input {
  width: 100%;
  height: 60px;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0 60px 0 24px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.pricing-calc-input:focus {
  border-color: var(--primary);
}

.pricing-calc-unit {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--text-muted);
}

.pricing-calc-select {
  width: 100%;
  height: 60px;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  /* Safari iOS: custom dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.pricing-calc-select:focus {
  border-color: var(--primary);
}

.pricing-calc-night {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 16px;
}

.pricing-calc-night span {
  font-weight: 700;
  font-size: 15px;
}

.pricing-calc-result {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.pricing-result-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pricing-result-value {
  font-size: 48px;
  font-weight: 950;
  color: var(--primary);
  letter-spacing: -2px;
}

.pricing-result-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 15px;
}

/* ===== RESPONSIVE CONSOLIDATED ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ===== TABLET (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Sections */
  .section {
    padding: 70px 5%;
  }

  .page-header {
    padding: 110px 5% 50px;
  }

  .section-title {
    font-size: 28px !important;
  }

  /* About Page Tablet */
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .about-stats-grid .feature-card {
    padding: 28px 16px !important;
  }

  .about-stats-grid .feature-card div:nth-child(2) {
    font-size: 28px !important;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .about-story-actions {
    flex-direction: row;
  }

  /* Contact Page Tablet */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-info-list {
    gap: 28px;
  }

  .contact-icon-box {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .contact-map-wrap {
    margin-top: 40px;
    height: 260px;
    border-radius: 24px;
  }

  .contact-form-card {
    padding: 36px 28px;
    border-radius: 28px;
  }

  .contact-form-title {
    font-size: 24px;
  }

  /* Pricing Page Tablet */
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-calc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .pricing-badges {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pricing-calc-card {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .pricing-calc-input {
    height: 54px;
    font-size: 18px;
  }

  .pricing-calc-select {
    height: 54px;
    font-size: 15px;
  }

  .pricing-result-value {
    font-size: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Footer Tablet */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  /* Auth Pages Tablet */
  .auth-card {
    max-width: 460px !important;
    padding: 40px !important;
    margin-top: 100px !important;
  }

  /* Booking Page Tablet */
  .booking-form-container {
    padding: 24px;
  }
}

/* ===== MOBILE & TABLET NAV (≤ 1024px) ===== */
@media (max-width: 1024px) {

  .nav-menu,
  .btn-call {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== MOBILE LAYOUT (< 768px) ===== */
@media (max-width: 767px) {

  .section {
    padding: 60px 5%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  /* About Page Mobile */
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-stats-grid .feature-card {
    padding: 24px 16px !important;
  }

  .about-stats-grid .feature-card div:first-child {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }

  .about-stats-grid .feature-card div:nth-child(2) {
    font-size: 28px !important;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-story-actions {
    flex-direction: column;
    gap: 12px;
  }

  .about-story-actions .btn-primary,
  .about-story-actions .btn-call {
    justify-content: center;
    text-align: center;
  }

  /* Contact Page Mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-list {
    gap: 28px;
  }

  .contact-icon-box {
    width: 52px;
    height: 52px;
    font-size: 20px;
    border-radius: 16px;
  }

  .contact-info-item {
    gap: 16px;
  }

  .contact-value-big {
    font-size: 20px;
  }

  .contact-value {
    font-size: 16px;
  }

  .contact-map-wrap {
    margin-top: 40px;
    border-radius: 20px;
    height: 250px;
  }

  .contact-form-card {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .contact-form-title {
    font-size: 22px;
  }

  .contact-form-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .contact-form-input {
    height: 52px;
    font-size: 15px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .contact-form-textarea {
    padding: 16px 18px;
    font-size: 15px;
    border-radius: 14px;
  }

  .contact-form-submit {
    height: 56px;
    font-size: 16px;
  }

  .page-header {
    padding: 100px 5% 40px;
  }

  .section-title {
    font-size: 24px !important;
  }

  /* Pricing Page Mobile */
  .pricing-calc-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-badges {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .pricing-calc-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .pricing-calc-input {
    height: 52px;
    font-size: 18px;
    border-radius: 14px;
  }

  .pricing-calc-select {
    height: 52px;
    font-size: 15px;
    border-radius: 14px;
  }

  .pricing-result-value {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  /* Auth Pages Mobile */
  .auth-card {
    padding: 28px 20px !important;
    margin: 100px 16px 40px !important;
    border-radius: 20px !important;
  }

  .auth-title {
    font-size: 22px !important;
  }
}

/* Booking Stops & Schedule */
.stop-item {
  background: #F8F9FA;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  animation: fadeIn 0.3s ease;
}

#schedule-wrap .form-control {
  font-size: 13px;
  height: 48px;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 177, 79, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 177, 79, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 177, 79, 0);
  }
}

.pulse-ring {
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .footer.hide-footer-mobile {
    display: none !important;
  }

  .logo-text-hidden-mobile,
  .nav-username-hidden-mobile {
    display: none !important;
  }

  .navbar {
    padding: 0 12px;
  }

  .nav-container {
    gap: 8px;
  }

  .nav-logo {
    gap: 6px;
  }

  .btn-call span {
    display: none;
  }

  .btn-call {
    padding: 8px;
  }

  .nav-avatar {
    width: 28px;
    height: 28px;
  }

  /* Grab-Style Mobile Booking UI */
  /* Ẩn navbar, footer và floating buttons trên trang booking mobile */
  .is-booking-page .navbar,
  .is-booking-page .footer,
  .is-booking-page .sticky-contacts,
  .is-booking-page .fab-call,
  .is-booking-page #goToTop,
  .is-booking-page .mobile-overlay,
  .is-booking-page .mobile-menu {
    display: none !important;
  }

  .booking-page {
    padding: 0 !important;
    margin: 0 !important;
    height: var(--app-height, 100vh);
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: transparent !important;
  }

  .booking-layout {
    display: block !important;
    height: 100% !important;
    position: relative;
  }

  .booking-map-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 1;
  }

  .booking-panel {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: calc(var(--app-height, 100vh) - 120px);
    z-index: 1000;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    padding: 0 !important;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .booking-panel.minimized {
    overflow: hidden;
  }

  /* NÚT HÀNH ĐỘNG CỐ ĐỊNH - position:fixed luôn nằm trên Safari toolbar */
  .mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: #fff;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Khoảng trống cuối panel để content không bị action bar che */
  .booking-step-content {
    padding-bottom: 90px !important;
  }

  /* Step 2: grab-bottom-bar cũng fixed */
  .grab-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001;
    margin: 0 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .sheet-header-grab {
    border-bottom: 1px solid #f8f8f8;
    padding: 10px 16px 6px;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .sheet-handle {
    width: 36px;
    height: 5px;
    background: #d0d0d0;
    border-radius: 10px;
    margin: 0 auto;
    flex-shrink: 0;
    pointer-events: none;
    position: relative;
    transition: background 0.3s;
  }

  .sheet-handle::after {
    display: none;
  }

  .sheet-header-grab:active .sheet-handle {
    background: #aaa;
  }

  .grab-payment-select,
  .grab-promo-link,
  .grab-more-options {
    pointer-events: auto !important;
    position: relative;
    z-index: 10002;
    -webkit-tap-highlight-color: rgba(0, 177, 79, 0.15);
  }

  .grab-payment-select {
    padding: 8px 14px !important;
    border-radius: 20px;
    min-height: 40px;
    display: flex !important;
    align-items: center;
  }

  .grab-promo-link {
    padding: 8px 16px !important;
    min-height: 40px;
    display: flex !important;
    align-items: center;
  }

  .booking-steps,
  .booking-panel-title {
    padding: 0 20px;
  }

  .booking-step-content {
    padding: 0 20px 8px;
  }

  .booking-steps {
    padding: 0;
    margin-bottom: 20px;
    justify-content: center;
    gap: 12px;
  }

  .booking-steps .step .step-label {
    display: none;
  }

  .booking-steps .step .step-dot {
    width: 6px;
    height: 6px;
    font-size: 0;
    background: #E0E0E0;
    border: none;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .booking-steps .step.active .step-dot {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
  }

  .booking-steps .step.done .step-dot {
    background: var(--primary);
    opacity: 0.6;
  }

  /* Branded Title refinement */
  .booking-panel-title {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 800;
  }

  .form-control {
    height: 48px;
    border-radius: 14px;
    background: #F8F9FA;
    border: 1px solid transparent;
    font-size: 14px;
  }

  .booking-step-content .form-group {
    margin-bottom: 14px;
  }

  .form-control:focus {
    background: #fff;
    border-color: var(--primary);
  }

  /* Horizontal Vehicle List for Mobile */
  .vehicle-list-horizontal {
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 16px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .vehicle-list-horizontal::-webkit-scrollbar {
    display: none;
  }

  .vt-row {
    flex: 0 0 140px;
    flex-direction: column;
    padding: 16px;
    text-align: center;
    scroll-snap-align: start;
    border-radius: 20px;
    height: auto;
    border: 1.5px solid #F0F0F0;
  }

  .vt-row-icon {
    margin-right: 0;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    background: #F8F9FA;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .vt-row-info {
    text-align: center;
  }

  .vt-row-name {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .vt-row-details {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .vt-row-meta {
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
  }

  .vt-row-price {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 900;
    color: var(--primary);
  }

  #route-info {
    bottom: auto;
    top: 80px;
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    background: #fff;
    justify-content: space-around;
    z-index: 2000;
    /* Even higher than panel */
    display: none;
    /* Controlled by JS calcRoute */
  }

  #route-info p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
  }

  #route-info strong {
    color: var(--text);
  }

  .btn-primary {
    height: 56px;
    font-size: 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .review-card {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .floating-back {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px));
    left: 16px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 100;
    color: var(--text);
  }



  /* New Grab Step 2 Header Overlay */
  .grab-step2-header {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
    /* Let clicks pass to map unless on elements */
  }

  .grab-header-left,
  .grab-header-right,
  .grab-header-center {
    pointer-events: auto;
  }

  .grab-app-icon {
    width: 44px;
    height: 44px;
    background: #00b14f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .grab-header-center {
    flex: 1;
  }

  .grab-address-card {
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .addr-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .addr-sep {
    height: 1px;
    background: #eee;
    margin-left: 20px;
  }

  .grab-header-right .grab-menu-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .menu-icon-bg {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    color: #333;
  }

  .card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .card-dot.pickup {
    background: #00b14f;
    border: 2px solid #fff;
    outline: 1px solid #00b14f;
  }

  .card-dot.dropoff {
    background: #ff4d4d;
    border: 2px solid #fff;
    outline: 1px solid #ff4d4d;
  }

  .card-text {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Grab Style Toggle */
  .toggle-switch {
    width: 36px;
    height: 20px;
    position: relative;
    display: inline-block;
  }

  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #eee;
    transition: .4s;
    border-radius: 20px;
  }

  .toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  .toggle-switch input:checked+.slider {
    background-color: #00b14f;
  }

  .toggle-switch input:checked+.slider:before {
    transform: translateX(16px);
  }

  #btnNextStep1 {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
}

/* ===== USER DROPDOWN (PREMIUM) ===== */
.user-dropdown-wrap {
  position: relative;
  z-index: 1000;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(0, 177, 79, 0.05);
  border: 1px solid rgba(0, 177, 79, 0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-trigger:hover {
  background: rgba(0, 177, 79, 0.1);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 177, 79, 0.1);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-username {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.ic-arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.user-dropdown-wrap:hover .ic-arrow,
.user-dropdown-wrap.active .ic-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Menu Dropdown */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.user-dropdown-wrap:hover .user-dropdown-menu,
.user-dropdown-wrap.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-header {
  padding: 20px;
  background: linear-gradient(to bottom, #F8FAF9, #fff);
  border-bottom: 1px solid #f0f0f0;
}

.u-info .u-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
}

.u-info .u-email {
  font-size: 12px;
  color: var(--text-muted);
}

.menu-body {
  padding: 8px;
}

.menu-body a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.menu-body a i {
  width: 20px;
  color: var(--text-muted);
  font-size: 16px;
  transition: all 0.2s;
}

.menu-body a:hover {
  background: rgba(0, 177, 79, 0.05);
  color: var(--primary);
}

.menu-body a:hover i {
  color: var(--primary);
  transform: translateX(2px);
}

.menu-body .divider {
  height: 1px;
  background: #f0f0f0;
  margin: 8px 16px;
}

.menu-footer {
  padding: 8px;
  background: #fcfcfc;
  border-top: 1px solid #f0f0f0;
}

.logout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #FF4D4F !important;
  transition: all 0.2s;
}

.logout-link:hover {
  background: #FFF1F0;
}

@media (max-width: 1024px) {
  .nav-username-hidden-mobile {
    display: none;
  }

  .user-dropdown-wrap,
  .nav-actions>.btn-primary {
    display: none;
  }

  .user-trigger {
    padding: 4px;
  }

  .user-trigger .ic-arrow {
    display: none;
  }

  .user-dropdown-menu {
    width: 200px;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    z-index: 2000;
  }
}