/* ==========================================
   HERO CONTAINER & OVERLAYS
   ========================================== */


/* ==========================================
   QUICK BOOKING WIDGET (GLASSMORPHISM)
   ========================================== */

/* ==========================================
   SERVICES GRID LAYOUT
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
}

/* ==========================================
   WHY CHOOSE US STYLES
   ========================================== */
.choose-section {
  background: var(--bg-secondary);
}

.choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.choose-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.choose-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.choose-icon svg {
  width: 100%;
  height: 100%;
}

.choose-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.choose-card p {
  font-size: 0.9rem;
}

/* ==========================================
   FLEET CARDS & FEATURES
   ========================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.fleet-img-box {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.placeholder-car-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

/* Gradients for Luxury Look */
.sedan-gradient {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.suv-gradient {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.innova-gradient {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.traveller-gradient {
  background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
}

.luxury-gradient {
  background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.fleet-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-orange);
  color: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fleet-tag.font-accent {
  background: var(--accent-primary);
}

.fleet-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.fleet-meta-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.fleet-specs {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
}

.fleet-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.fleet-spec-item svg {
  color: var(--accent-primary);
}

.fleet-features-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.fleet-features-list li {
  margin-bottom: 0.35rem;
}

.fleet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.fleet-price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fleet-price span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.1;
}

/* ==========================================
   STATISTICS COUNTERS
   ========================================== */
.stats-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1619252584172-a83a949b6efd?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
}

.stats-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(3, 13, 26, 0.95) 100%);
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  text-align: center;
}

.stats-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #A0B0C5;
  letter-spacing: 0.05em;
}

/* ==========================================
   TESTIMONIALS SLIDER
   ========================================== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 3rem 2rem;
  box-sizing: border-box;
}

.test-rating {
  color: var(--accent-orange);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.test-text {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.test-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-user-name {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.test-user-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--accent-primary);
}

/* ==========================================
   FAQ ACCORDION COMPONENT
   ========================================== */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text-primary);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Active FAQ Item styling toggled via JS */
.faq-item.active {
  border-color: var(--accent-primary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* Adjust height limit */
  padding: 0 1.5rem;
}

/* ==========================================
   CTA BANNER STYLES
   ========================================== */
.cta-banner-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.cta-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.85) 0%, rgba(10, 37, 64, 0.95) 100%);
}

.cta-banner-section .container {
  position: relative;
  z-index: 2;
}

.cta-box {
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
}

.cta-box h2 {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-box p {
  color: #E2E8F0;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-color-hover);
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ========================================== */

/* Small Tablets */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 3.25rem;
  }

  .form-row.split {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (min-width: 768px) {
  .hero-section {
    padding: 10rem 0 7rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-number {
    font-size: 3.25rem;
  }

  .cta-box h2 {
    font-size: 2.5rem;
  }
}

/* Laptops */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktops / Ultra-wide Screens */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3.75rem;
  }
}

/* ==========================================
   AI RIDE ESTIMATOR & TELEMETRY SECTION
   ========================================== */
.estimator-section {
  background: var(--bg-primary);
  position: relative;
  padding: 3.5rem 0;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(3, 12, 27, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.estimator-grid::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.estimator-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(0, 242, 254, 0.25) 0%, rgba(0, 242, 254, 0.05) 20%,
      rgba(255, 122, 0, 0) 40%, rgba(255, 122, 0, 0) 60%,
      rgba(255, 122, 0, 0.05) 80%, rgba(0, 242, 254, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Ensure text inside AI Estimator and Telematics panels is highly readable */
.estimator-grid h4,
.estimator-grid label,
.estimator-grid span,
.tracker-grid h4,
.tracker-grid h5,
.tracker-grid p,
.tracker-grid span {
  color: #ffffff !important;
}

.estimator-panel,
.estimator-display,
.tracker-map-box,
.tracker-info {
  position: relative;
  z-index: 1;
}

.estimator-panel h4 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* HUD Panel & Brackets styling */
.hud-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hud-bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #00f2fe;
  border-style: solid;
  pointer-events: none;
}

.hud-bracket.top-left {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}

.hud-bracket.top-right {
  top: -2px;
  right: -2px;
  border-width: 2px 2px 0 0;
}

.hud-bracket.bottom-left {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 2px 2px;
}

.hud-bracket.bottom-right {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

/* Autocomplete wrapper & suggestions dropdown */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.est-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  border-radius: var(--radius-sm);
  background: rgba(5, 14, 26, 0.6) !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-fast);
}

.est-input:focus {
  outline: none;
  border-color: #00f2fe !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35) !important;
  background: rgba(5, 14, 26, 0.85) !important;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: rgba(5, 14, 26, 0.95) !important;
  border: 1px solid rgba(0, 242, 254, 0.4) !important;
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 242, 254, 0.1);
  display: none;
}

.suggestions-dropdown::-webkit-scrollbar {
  width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.6);
}

.suggestion-item {
  padding: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(0, 242, 254, 0.12) !important;
  color: #00f2fe !important;
  padding-left: 1.5rem;
}

/* Vehicle custom tabs */
.vehicle-tabs {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.vehicle-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.25rem;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.vehicle-tab-icon {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.vehicle-tab span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color 0.25s ease;
}

.vehicle-tab:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(0, 242, 254, 0.4) !important;
}

.vehicle-tab:hover .vehicle-tab-icon {
  transform: translateY(-2px);
  stroke: #00f2fe;
}

.vehicle-tab:hover span {
  color: #00f2fe !important;
}

.vehicle-tab.active {
  background: rgba(0, 242, 254, 0.12) !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.vehicle-tab.active .vehicle-tab-icon {
  stroke: #00f2fe;
  transform: scale(1.08);
}

.vehicle-tab.active span {
  color: #00f2fe !important;
}

/* Slider styling */
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.distance-slider {
  flex-grow: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-full);
  outline: none;
}

.distance-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff7a00 !important;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.6);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.distance-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.8), 0 0 5px rgba(0, 242, 254, 0.5);
}

#slider-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ff7a00 !important;
  font-size: 1.05rem;
  min-width: 75px;
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.25);
}

.estimator-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.display-metric-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.glow-cyan {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.08);
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(160, 176, 197, 0.85) !important;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #00f2fe !important;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.display-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.metric-subcard {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  text-align: center;
  position: relative;
}

.metric-subvalue {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.display-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #627993 !important;
  margin-top: 1rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  animation: pulse-hud 1.5s infinite;
}

@keyframes pulse-hud {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

/* ==========================================
   GPS & TELEMETRY SIMULATOR STYLES
   ========================================== */
.tracking-sim-section {
  padding: 3.5rem 0;
  background: var(--bg-secondary);
}

.tracker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(3, 12, 27, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 242, 254, 0.15);

}

.tracker-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(0, 242, 254, 0.25) 0%, rgba(0, 242, 254, 0.05) 20%,
      rgba(255, 122, 0, 0) 40%, rgba(255, 122, 0, 0) 60%,
      rgba(255, 122, 0, 0.05) 80%, rgba(0, 242, 254, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.tracker-map-box {
  background-image: radial-gradient(rgba(0, 242, 254, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 20px 20px;
  background-position: center;
  background-color: #030c1b;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 254, 0.25);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.12);
}

.telemetry-hud {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(5, 14, 26, 0.85);
  color: #FFFFFF !important;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  letter-spacing: 0.5px;
}

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

.hud-dot.green {
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
}

.hud-dot.orange {
  background: #ff7a00;
  box-shadow: 0 0 8px #ff7a00;
}

.hud-coordinate-label {
  position: absolute;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(0, 242, 254, 0.55) !important;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 5;
}

.top-right-label {
  top: 18px;
  right: 18px;
}

.bottom-left-label {
  bottom: 18px;
  left: 18px;
}

.map-path-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Radar Sweep SVG Animation */
#radar-sweep {
  transform-origin: 200px 100px;
  animation: radar-sweep-spin 10s linear infinite;
}

@keyframes radar-sweep-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Moving Car Marker details */
#car-marker {
  transition: transform 0.05s linear;
}

.car-aura {
  animation: pulse-aura 2s infinite ease-in-out;
}

@keyframes pulse-aura {

  0%,
  100% {
    r: 13px;
    fill: rgba(255, 122, 0, 0.15);
  }

  50% {
    r: 18px;
    fill: rgba(255, 122, 0, 0.3);
  }
}

#route-progress {
  filter: drop-shadow(0 0 6px #00f2fe);
}

.tracker-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.tracker-info h4 {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.driver-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.driver-avatar-container {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
  border: 1.5px solid rgba(0, 242, 254, 0.3);
  flex-shrink: 0;
}

.driver-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00f2fe 0%, #ff7a00 100%);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

/* Dossier Avatar laser scanner line */
.avatar-scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  animation: avatar-scan-anim 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes avatar-scan-anim {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: 44px;
  }
}

.driver-meta .cyber-font {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #ffffff !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.driver-meta p {
  font-size: 0.75rem;
  color: #627993 !important;
  font-family: 'Inter', sans-serif;
}

.telemetry-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.7) !important;
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-val {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
}

.stat-val.cyber-cyan {
  color: #00f2fe !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

.stat-val.cyber-orange {
  color: #ff7a00 !important;
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.3);
}

.stat-val.green {
  color: #10B981 !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* ==========================================
   FUTURISTIC CARDS HOVER AND GLOW EFFECTS
   ========================================== */
.service-card,
.choose-card,
.fleet-card {
  position: relative;
  transition: all var(--transition-normal);
}

.service-card:hover,
.fleet-card:hover {
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.3) !important;
}

.service-card::after,
.fleet-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.service-card:hover::after,
.fleet-card:hover::after {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.05);
}

@media (min-width: 768px) {
  .estimator-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    padding: 3rem;
  }

}

/* ==========================================
    HAPPY CUSTOMERS SECTION & MARQUEES
    ========================================== */
.happy-customers-section {
  padding: 5rem 0;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.marquee-left-anim {
  animation: marquee-left 25s linear infinite;
}

.marquee-right-anim {
  animation: marquee-right 25s linear infinite;
}

/* Pause marquee on hover of either individual track */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

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

.marquee-card {
  width: 380px;
  flex-shrink: 0;
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-fast), border-color var(--transition-fast) !important;
}

.marquee-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent-orange) !important;
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.15);
}

.marquee-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.rating-stars {
  color: #ff9d00;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(255, 157, 0, 0.4);
}

.badge-route {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 122, 0, 0.15);
  color: var(--accent-orange) !important;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 1px solid rgba(255, 122, 0, 0.3);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.9;
  flex-grow: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.avatar-neon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.user-name {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.user-desc {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Satisfaction Metrics Widget styling */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(0, 102, 255, 0.1);
  border-top-color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.1);
  animation: glow-pulse 3s infinite ease-in-out;
}

.ring-orange {
  border-top-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.1);
}

.metric-num {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.metric-label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.metric-sub {
  font-size: 0.85rem;
  opacity: 0.7;
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.2);
  }
}

/* Mobile viewport layout fixes */
@media (max-width: 480px) {
  .vehicle-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .vehicle-tab {
    padding: 0.5rem 0.25rem;
  }

  .estimator-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1rem !important;
    overflow: hidden;
  }

  .tracker-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1rem !important;
  }

  .hud-panel {
    padding: 1.25rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .display-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.75rem;
  }

  .metric-value {
    font-size: 2.25rem !important;
  }

  .suggestions-dropdown {
    max-height: 180px;
  }

  .slider-wrapper {
    gap: 0.75rem !important;
  }

  .distance-slider {
    width: 100% !important;
    min-width: 0 !important;
    flex-grow: 1 !important;
  }

  #slider-value {
    min-width: 55px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 360px) {
  .hud-item {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }
}