/**
 * REAL TIME TAXI — Modern 2026 Brand Design System Tokens
 * Exact Color Language of Logo:
 * - Electric Royal Blue (#0047BA / #0056D2 / #003087)
 * - Radiant Taxi Gold & Amber-Yellow (#FFB800 / #FFA000 / #FF8800)
 * - Deep Midnight Navy (#06122B / #0A1B3D)
 * - Crisp White (#FFFFFF) & Pure Soft Slate (#F4F7FC)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Primary Electric & Royal Blues */
  --rtt-navy-950: #030A18;
  --rtt-navy-900: #06142E;
  --rtt-navy-850: #0A1C40;
  --rtt-navy-800: #0F2A5C;
  --rtt-navy-700: #15387A;
  --rtt-blue-700: #00368C;
  --rtt-blue-600: #0047BA;
  --rtt-blue-500: #0056D2;
  --rtt-blue-400: #1A73E8;
  --rtt-blue-300: #4285F4;
  --rtt-blue-100: #E3EFFF;
  --rtt-blue-50:  #F0F6FF;

  /* Brand Taxi Speed Gold & Warm Amber (Logo Accents & CTAs) */
  --rtt-yellow-600: #D97706;
  --rtt-yellow-500: #F59E0B;
  --rtt-yellow-400: #FFB800;
  --rtt-yellow-300: #FFC72C;
  --rtt-yellow-100: #FEF3C7;
  --rtt-yellow-50:  #FFFBEB;

  --rtt-amber-600: #EA580C;
  --rtt-amber-500: #FF7A00;
  --rtt-amber-400: #FFA000;
  --rtt-amber-50:  #FFF8ED;

  /* Functional Accents */
  --rtt-emerald-600: #059669;
  --rtt-emerald-500: #10B981;
  --rtt-emerald-50:  #ECFDF5;

  /* Surfaces & Neutrals */
  --rtt-white:       #FFFFFF;
  --rtt-surface-50:  #F4F7FC;
  --rtt-surface-100: #EBF1FA;
  --rtt-surface-200: #D9E4F5;
  --rtt-surface-300: #BACBE6;
  --rtt-text-muted:  #5B6E8C;
  --rtt-text-body:   #2C3E5B;
  --rtt-text-dark:   #06142E;

  /* Typography */
  --rtt-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --rtt-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --rtt-shadow-xs: 0 1px 2px 0 rgba(7, 21, 48, 0.05);
  --rtt-shadow-sm: 0 2px 8px -1px rgba(7, 21, 48, 0.08), 0 1px 4px -1px rgba(7, 21, 48, 0.04);
  --rtt-shadow-md: 0 8px 24px -4px rgba(7, 21, 48, 0.12), 0 4px 12px -2px rgba(7, 21, 48, 0.06);
  --rtt-shadow-lg: 0 16px 36px -6px rgba(7, 21, 48, 0.16), 0 8px 20px -4px rgba(7, 21, 48, 0.08);
  --rtt-shadow-xl: 0 24px 50px -12px rgba(7, 21, 48, 0.22);
  --rtt-shadow-cta: 0 10px 28px -3px rgba(0, 86, 210, 0.45);
  --rtt-shadow-gold: 0 10px 28px -3px rgba(255, 160, 0, 0.48);
  --rtt-glow-blue: 0 0 35px rgba(0, 86, 210, 0.25);
  --rtt-glow-gold: 0 0 35px rgba(255, 184, 0, 0.30);

  /* Border Radii */
  --rtt-radius-xs: 6px;
  --rtt-radius-sm: 10px;
  --rtt-radius-md: 16px;
  --rtt-radius-lg: 22px;
  --rtt-radius-xl: 30px;
  --rtt-radius-pill: 9999px;

  /* Transitions */
  --rtt-transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --rtt-transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --rtt-transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Strict Responsive Document Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.rtt-body {
  font-family: var(--rtt-font-body);
  color: var(--rtt-text-body);
  background-color: var(--rtt-surface-50);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rtt-font-display);
  color: var(--rtt-text-dark);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  word-break: break-word;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--rtt-transition-fast);
}

a:hover {
  text-decoration: none;
  color: var(--rtt-blue-500);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Container */
.rtt-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .rtt-container {
    max-width: 1280px;
  }
}

@media (max-width: 480px) {
  .rtt-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Common Section Wrapper */
.rtt-section {
  padding: 85px 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .rtt-section {
    padding: 50px 0;
  }
}

.rtt-section-light {
  background-color: var(--rtt-white);
}

.rtt-section-surface {
  background-color: var(--rtt-surface-50);
}

.rtt-section-dark {
  background: linear-gradient(135deg, var(--rtt-navy-950) 0%, var(--rtt-navy-900) 100%);
  color: var(--rtt-white);
}

.rtt-section-dark h2,
.rtt-section-dark h3,
.rtt-section-dark h4 {
  color: var(--rtt-white);
}

/* Section Header Component */
.rtt-section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .rtt-section-head {
    margin-bottom: 35px;
  }
}

.rtt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rtt-font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rtt-blue-600);
  background: var(--rtt-blue-50);
  border: 1px solid rgba(0, 71, 186, 0.2);
  padding: 6px 14px;
  border-radius: var(--rtt-radius-pill);
  margin-bottom: 14px;
  max-width: 100%;
  box-sizing: border-box;
}

.rtt-section-dark .rtt-eyebrow {
  background: rgba(0, 86, 210, 0.2);
  border-color: rgba(66, 133, 244, 0.35);
  color: var(--rtt-yellow-400);
}

.rtt-section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  word-break: break-word;
}

@media (max-width: 768px) {
  .rtt-section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
}

.rtt-section-desc {
  font-size: 1.0625rem;
  color: var(--rtt-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rtt-section-desc {
    font-size: 0.9375rem;
  }
}

.rtt-section-dark .rtt-section-desc {
  color: #94A3B8;
}

/* Color Highlights matching Logo */
.rtt-highlight-blue {
  color: var(--rtt-blue-600);
  position: relative;
  display: inline-block;
}

.rtt-highlight-gold {
  color: var(--rtt-yellow-500);
  position: relative;
  display: inline-block;
}

.rtt-highlight-amber {
  color: var(--rtt-yellow-500);
  position: relative;
  display: inline-block;
}

.rtt-gradient-text {
  background: linear-gradient(135deg, var(--rtt-blue-600) 0%, var(--rtt-yellow-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.rtt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--rtt-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: var(--rtt-radius-pill);
  transition: all var(--rtt-transition-normal);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 600px) {
  .rtt-btn {
    white-space: normal;
    text-align: center;
    padding: 12px 20px;
  }
}

/* Primary CTA Button: Electric Royal Blue with Shimmer Light Sweep */
.rtt-btn-primary {
  background: linear-gradient(135deg, var(--rtt-blue-500) 0%, var(--rtt-blue-600) 100%);
  color: var(--rtt-white);
  box-shadow: var(--rtt-shadow-cta);
}

.rtt-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(30deg);
  animation: rttShimmer 4s infinite ease-in-out;
}

.rtt-btn-primary:hover {
  background: linear-gradient(135deg, var(--rtt-blue-400) 0%, var(--rtt-blue-500) 100%);
  color: var(--rtt-white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(0, 86, 210, 0.55);
}

@keyframes rttShimmer {
  0% { left: -60%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

/* Gold CTA Button (Matching "TIME" in logo) */
.rtt-btn-gold {
  background: linear-gradient(135deg, var(--rtt-yellow-400) 0%, var(--rtt-amber-500) 100%);
  color: var(--rtt-navy-950);
  box-shadow: var(--rtt-shadow-gold);
}

.rtt-btn-gold:hover {
  background: linear-gradient(135deg, #FFC72C 0%, var(--rtt-yellow-400) 100%);
  color: var(--rtt-navy-950);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(255, 160, 0, 0.55);
}

.rtt-btn-secondary {
  background: var(--rtt-white);
  color: var(--rtt-navy-900);
  border: 1.5px solid var(--rtt-surface-200);
  box-shadow: var(--rtt-shadow-xs);
}

.rtt-btn-secondary:hover {
  background: var(--rtt-surface-100);
  border-color: var(--rtt-blue-500);
  color: var(--rtt-blue-600);
  transform: translateY(-2px);
  box-shadow: var(--rtt-shadow-sm);
}

.rtt-btn-call {
  background: #0284C7;
  color: var(--rtt-white);
  box-shadow: 0 8px 20px -3px rgba(2, 132, 199, 0.35);
}

.rtt-btn-call:hover {
  background: #0369A1;
  color: var(--rtt-white);
  transform: translateY(-2px);
}

.rtt-btn-wa {
  background: #25D366;
  color: var(--rtt-white);
  box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.35);
}

.rtt-btn-wa:hover {
  background: #20BA59;
  color: var(--rtt-white);
  transform: translateY(-2px);
}

/* Animations */
.rtt-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--rtt-emerald-500);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.rtt-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.5);
  animation: rttPulse 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes rttPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* Scroll reveal utility */
.rtt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rtt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   STEP 2: ENQUIRY BOOKING POPUP MODAL (UNIVERSAL)
   ═══════════════════════════════════════════════════════════════ */
.rtt-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(3, 10, 24, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  box-sizing: border-box;
}

.rtt-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.rtt-modal-container {
  background: var(--rtt-white);
  border: 1.5px solid var(--rtt-surface-200);
  border-radius: 24px;
  box-shadow: 
    0 25px 60px -12px rgba(7, 21, 48, 0.35),
    0 0 0 1px rgba(0, 71, 186, 0.08);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

.rtt-modal-backdrop.is-open .rtt-modal-container {
  transform: translateY(0) scale(1);
}

.rtt-modal-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid var(--rtt-surface-100);
  position: relative;
}

@media (max-width: 480px) {
  .rtt-modal-header {
    padding: 18px 16px 14px 16px;
  }
}

.rtt-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rtt-surface-100);
  border: 1px solid var(--rtt-surface-200);
  color: var(--rtt-navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: all var(--rtt-transition-fast);
}

.rtt-modal-close:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
  transform: rotate(90deg);
}

.rtt-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rtt-navy-950);
  margin-top: 4px;
  margin-bottom: 6px;
}

@media (max-width: 480px) {
  .rtt-modal-title {
    font-size: 1.15rem;
  }
}

.rtt-modal-veh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--rtt-blue-50) 0%, var(--rtt-blue-100) 100%);
  color: var(--rtt-blue-600);
  border: 1px solid rgba(0, 71, 186, 0.2);
  padding: 4px 12px;
  border-radius: var(--rtt-radius-pill);
  font-family: var(--rtt-font-display);
  font-size: 0.8125rem;
  font-weight: 800;
}

.rtt-modal-veh-badge i {
  color: var(--rtt-yellow-500);
}

.rtt-modal-trip-summary {
  margin: 14px 24px 0 24px;
  background: var(--rtt-surface-50);
  border: 1px solid var(--rtt-surface-200);
  border-radius: var(--rtt-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 480px) {
  .rtt-modal-trip-summary {
    margin: 12px 16px 0 16px;
    padding: 10px 12px;
  }
}

.rtt-modal-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rtt-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--rtt-navy-950);
}

.rtt-modal-route i {
  color: var(--rtt-yellow-500);
  font-size: 0.8125rem;
}

.rtt-modal-timing {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rtt-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rtt-modal-body {
  padding: 20px 24px 24px 24px;
}

@media (max-width: 480px) {
  .rtt-modal-body {
    padding: 16px;
  }
}

.rtt-modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.rtt-modal-fare-note {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--rtt-yellow-500);
  border-radius: var(--rtt-radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: #92400E;
  margin-bottom: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

.rtt-modal-fare-note i {
  color: var(--rtt-yellow-600);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.rtt-modal-fare-note strong {
  font-weight: 800;
  color: #78350F;
}

.rtt-btn-modal-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-family: var(--rtt-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 15px 20px;
  border-radius: var(--rtt-radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.45);
  transition: all var(--rtt-transition-normal);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}

.rtt-btn-modal-submit:hover {
  background: linear-gradient(135deg, #20BA59 0%, #0E7366 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.55);
}

.rtt-modal-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rtt-text-muted);
  margin-top: 14px;
  flex-wrap: wrap;
}

.rtt-modal-trust-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rtt-modal-trust-footer i {
  color: var(--rtt-emerald-500);
}

.rtt-modal-veh-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 24px 0 24px;
}

@media (max-width: 480px) {
  .rtt-modal-veh-selector {
    margin: 12px 16px 0 16px;
    gap: 6px;
  }
}

.rtt-modal-veh-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: var(--rtt-radius-md);
  border: 1.5px solid var(--rtt-surface-200);
  background: var(--rtt-surface-50);
  cursor: pointer;
  transition: all var(--rtt-transition-fast);
  text-align: center;
}

.rtt-modal-veh-btn i {
  font-size: 1.05rem;
  color: var(--rtt-blue-500);
  margin-bottom: 2px;
}

.rtt-modal-veh-btn span {
  font-family: var(--rtt-font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--rtt-navy-950);
  line-height: 1.2;
}

.rtt-modal-veh-btn small {
  font-size: 0.6875rem;
  color: var(--rtt-text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.rtt-modal-veh-btn:hover {
  background: var(--rtt-blue-50);
  border-color: var(--rtt-blue-400);
}

.rtt-modal-veh-btn.is-active {
  background: #F0F6FF;
  border-color: var(--rtt-blue-600);
  box-shadow: 0 4px 12px rgba(0, 71, 186, 0.15);
}

.rtt-modal-veh-btn.is-active i {
  color: var(--rtt-blue-600);
}

.rtt-modal-veh-btn.is-active span {
  color: var(--rtt-blue-600);
}

.rtt-modal-veh-btn.is-active small {
  color: var(--rtt-blue-500);
  font-weight: 800;
}

