/* ============================================
   CheapCab - Main Stylesheet
   Font: Rajdhani (headings) + Nunito (body)
   Theme: Vibrant Orange + Deep Navy
============================================ */

:root {
  --primary: #FF6B00;
  --primary-dark: #e05c00;
  --primary-light: #FF8C33;
  --secondary: #0A1628;
  --secondary-light: #162444;
  --accent: #FFD700;
  --text: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --white: #ffffff;
  --light-bg: #f8f9fc;
  --border: #e8ecf0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: var(--primary); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--secondary);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; }
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 15px; }

.btn-call {
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-call:hover { background: var(--primary-dark); transform: translateY(-2px); }

.hamburger {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  transform: scale(1.1);
  animation: none;
}

.hero-bg-slider .slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1.0); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.6) 60%, rgba(255,107,0,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.hero-stats .stat {
  text-align: center;
  padding: 12px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

.hero-stats .stat span {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-light);
}

.hero-stats .stat small {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Booking Card */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.booking-tabs {
  display: flex;
  gap: 4px;
  background: var(--light-bg);
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 10px;
  margin-bottom: 16px;
  align-items: end;
}

.form-row.two-col { grid-template-columns: 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group label i { color: var(--primary); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.swap-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
  margin-bottom: 2px;
}

.swap-btn:hover { background: var(--primary); color: var(--white); }

.btn-search {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.btn-search:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,0,0.4);
}

.booking-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.booking-footer span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.booking-footer span i { color: var(--primary); }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  font-size: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ SECTIONS COMMON ============ */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  background: rgba(255,107,0,0.1);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--text);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ============ ABOUT ============ */
.about-section { background: var(--light-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-float i {
  color: var(--accent);
  font-size: 28px;
}

.about-badge-float strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  color: var(--text);
}

.about-badge-float small {
  color: var(--text-muted);
  font-size: 12px;
}

.about-years-badge {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--primary);
  color: var(--white);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(255,107,0,0.4);
}

.about-years-badge span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.about-years-badge small {
  font-size: 10px;
  opacity: 0.9;
}

.about-content h2 { font-size: 38px; margin-bottom: 20px; }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 15px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0 30px;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.af-item i { color: var(--primary); font-size: 16px; }

/* ============ FLEET ============ */
.fleet-section { background: var(--white); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.fleet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.fleet-img {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #f0f4ff, #e8edf5);
  overflow: hidden;
}

.fleet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.fleet-card:hover .fleet-img img { transform: scale(1.05); }

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.fleet-info { padding: 20px; }
.fleet-info h3 { font-size: 22px; margin-bottom: 8px; }
.fleet-info p { color: var(--text-light); font-size: 13px; margin-bottom: 14px; line-height: 1.6; }

.fleet-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.fleet-specs span {
  background: var(--light-bg);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.fleet-specs span i { color: var(--primary); }

.fleet-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 16px;
}

.price-from { font-size: 11px; color: var(--text-muted); }
.price-amt {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.price-per { font-size: 12px; color: var(--text-muted); }

.btn-book {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-book:hover { background: var(--primary-dark); }

/* ============ WHY SECTION ============ */
.why-section {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,107,0,0.1);
  border-color: rgba(255,107,0,0.3);
  transform: translateY(-5px);
}

.why-icon {
  width: 58px;
  height: 58px;
  background: rgba(255,107,0,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.why-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 10px;
}

.why-card p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }

/* ============ ROUTES ============ */
.routes-section { background: var(--light-bg); }

.routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.route-card {
  display: block;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.route-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.route-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.from-city, .to-city {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.route-cities i { color: var(--primary); }

.route-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.route-fare {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px !important;
}

.route-cta {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

.routes-cta { text-align: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--white); }

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 30px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stars { color: var(--accent); margin-bottom: 15px; }

.testimonial-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer strong { display: block; font-size: 15px; color: var(--text); }
.reviewer small { color: var(--text-muted); font-size: 12px; }

/* ============ FAQ ============ */
.faq-section { background: var(--light-bg); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.faq-q:hover { color: var(--primary); }
.faq-q.open { color: var(--primary); }
.faq-q.open i { transform: rotate(45deg); color: var(--primary); }

.faq-q i {
  flex-shrink: 0;
  font-size: 14px;
  transition: var(--transition);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 20px 18px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,0,0.3);
}

/* ============ FOOTER ============ */
.footer { background: var(--secondary); color: rgba(255,255,255,0.8); }

.footer-top { padding: 60px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 15px;
}

.footer-logo span { color: var(--primary); }

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 16px;
}

.footer-social a:hover { background: var(--primary); }

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.5;
}

.contact-list li i { color: var(--primary); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.contact-list a { color: rgba(255,255,255,0.7); }
.contact-list a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 5px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 5px 30px rgba(37,211,102,0.6); }
}

/* ============ SELECT CAB PAGE ============ */
.select-cab-page { padding-top: 80px; background: var(--light-bg); min-height: 100vh; }

.trip-summary-bar {
  background: var(--secondary);
  padding: 20px 0;
  color: var(--white);
}

.trip-summary-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.trip-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.trip-route i { color: var(--primary); }

.trip-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.trip-meta span { display: flex; align-items: center; gap: 6px; }
.trip-meta i { color: var(--primary); }

.modify-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.cabs-container { padding: 40px 0; }

.cab-result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 25px;
  align-items: center;
  transition: var(--transition);
}

.cab-result-card:hover { border-color: var(--primary); }

.cab-result-img img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--light-bg);
  padding: 10px;
}

.cab-result-name { font-family: 'Rajdhani', sans-serif; font-size: 26px; margin-bottom: 5px; }
.cab-result-desc { color: var(--text-light); font-size: 13px; margin-bottom: 12px; }

.cab-result-specs { display: flex; gap: 16px; margin-bottom: 12px; }
.cab-result-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  background: var(--light-bg);
  padding: 5px 12px;
  border-radius: 20px;
}
.cab-result-specs i { color: var(--primary); }

.cab-result-includes { display: flex; gap: 15px; }
.cab-result-includes span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.cab-result-includes i { color: #4CAF50; }

.cab-result-price { text-align: center; min-width: 180px; }

.cab-result-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.cab-result-discount {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.cab-result-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.cab-result-taxes { font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }

.btn-select-cab {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-select-cab:hover { background: var(--primary-dark); }

/* ============ BOOKING PAGE ============ */
.booking-page { padding-top: 80px; background: var(--light-bg); min-height: 100vh; }

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  padding: 40px 0;
}

.booking-main-form { background: var(--white); border-radius: var(--radius-lg); padding: 30px; }

.form-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i { color: var(--primary); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid.full { grid-template-columns: 1fr; }

.booking-sidebar .booking-summary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  position: sticky;
  top: 90px;
}

.summary-route {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.summary-route h3 { font-size: 24px; color: var(--text); }
.summary-route p { color: var(--text-muted); font-size: 14px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
}

.summary-row:last-of-type { border-bottom: none; }
.summary-row strong { font-family: 'Rajdhani', sans-serif; font-size: 16px; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 0;
  margin-top: 5px;
  border-top: 2px solid var(--text);
}

.summary-total span { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; color: var(--primary); }

.btn-confirm-booking {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: var(--transition);
}

.btn-confirm-booking:hover { background: var(--primary-dark); }

/* ============ PAGE HEADER ============ */
.page-header {
  background: var(--secondary);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero1.jpg') center/cover;
  opacity: 0.1;
}

.page-header-content { position: relative; z-index: 1; }

.page-header h1 { color: var(--white); font-size: clamp(30px, 5vw, 52px); margin-bottom: 15px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 16px; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.breadcrumb a, .breadcrumb span { font-size: 14px; color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ============ ROUTE PAGE ============ */
.route-hero {
  background: var(--secondary);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.route-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.9), rgba(255,107,0,0.15));
}

.route-hero-content { position: relative; z-index: 1; }

.route-fares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.route-fare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.route-fare-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.route-fare-card img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 12px; }
.route-fare-card h3 { font-size: 20px; margin-bottom: 8px; }

.route-fare-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ============ ADMIN STYLES ============ */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: var(--secondary);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

.admin-logo span { color: var(--primary); }

.admin-nav { padding: 20px 0; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: rgba(255,107,0,0.1);
  border-left-color: var(--primary);
}

.admin-nav a i { width: 18px; text-align: center; color: var(--primary); }

.admin-content {
  margin-left: 260px;
  flex: 1;
  padding: 30px;
  background: var(--light-bg);
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-topbar h1 { font-size: 24px; font-family: 'Rajdhani', sans-serif; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.stat-icon.orange { background: rgba(255,107,0,0.1); color: var(--primary); }
.stat-icon.blue { background: rgba(33,150,243,0.1); color: #2196F3; }
.stat-icon.green { background: rgba(76,175,80,0.1); color: #4CAF50; }
.stat-icon.purple { background: rgba(156,39,176,0.1); color: #9C27B0; }

.stat-number { font-family: 'Rajdhani', sans-serif; font-size: 32px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.admin-table-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--border);
}

.table-header h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--light-bg);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.admin-table tr:hover td { background: rgba(255,107,0,0.03); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending { background: #fff3e0; color: #e65100; }
.badge-confirmed { background: #e3f2fd; color: #1565c0; }
.badge-completed { background: #e8f5e9; color: #2e7d32; }
.badge-cancelled { background: #ffebee; color: #c62828; }

.btn-sm {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-sm.primary { background: var(--primary); color: var(--white); }
.btn-sm.danger { background: #ffebee; color: #c62828; }
.btn-sm:hover { opacity: 0.85; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--secondary); padding: 20px; gap: 15px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .hero-content { padding: 100px 20px 40px; }
  .hero-stats { gap: 15px; }
  .about-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .swap-btn { display: none; }
  .cab-result-card { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .routes-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ===== ADMIN EXTRA STYLES ===== */
.admin-body { background: #f5f7fa; margin: 0; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; min-height: 100vh; background: var(--secondary); color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; z-index: 100; overflow-y: auto; }
.admin-logo { padding: 20px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-logo img { height: 36px; }
.admin-logo span { font-size: 20px; font-weight: 700; color: var(--orange); }
.admin-nav { display: flex; flex-direction: column; padding: 16px 0; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,107,0,0.15); color: #fff; border-left: 3px solid var(--orange); }
.admin-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; }
.admin-topbar { background: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.admin-topbar h2 { font-size: 20px; font-weight: 700; color: var(--secondary); }
.admin-user { display: flex; align-items: center; gap: 8px; color: #666; font-size: 14px; }
.admin-content { padding: 24px; flex: 1; }
.admin-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.admin-card h3 { font-size: 16px; font-weight: 700; color: var(--secondary); }
.admin-input { display: block; width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; margin-bottom: 10px; box-sizing: border-box; font-family: inherit; }
.admin-input:focus { outline: none; border-color: var(--orange); }
.admin-label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 4px; margin-top: 4px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: #f8f9fa; padding: 10px 12px; text-align: left; font-weight: 600; color: var(--secondary); border-bottom: 2px solid #eee; white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.admin-table tr:hover td { background: #fafafa; }
.btn-admin-primary { background: var(--orange); color: #fff; border: none; padding: 10px 18px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; font-family: inherit; transition: background 0.2s; }
.btn-admin-primary:hover { background: #e55a00; }
.btn-admin-secondary { background: var(--secondary); color: #fff; border: none; padding: 10px 18px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; font-family: inherit; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: #f0f0f0; color: #555; text-decoration: none; margin-right: 4px; font-size: 13px; transition: all 0.2s; }
.btn-icon:hover { background: var(--orange); color: #fff; }
.btn-icon.danger:hover { background: #e74c3c; color: #fff; }
.btn-icon.whatsapp:hover { background: #25D366; color: #fff; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1e7dd; color: #0f5132; }
.status-completed { background: #cfe2ff; color: #084298; }
.status-cancelled { background: #f8d7da; color: #842029; }
.status-active { background: #d1e7dd; color: #0f5132; }
.status-inactive { background: #f8d7da; color: #842029; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-table td { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; }
.detail-table td:first-child { color: #666; width: 40%; font-weight: 500; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.pagination { display: flex; gap: 6px; margin-top: 20px; justify-content: center; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: #f0f0f0; color: #555; text-decoration: none; font-size: 13px; }
.pagination a.active { background: var(--orange); color: #fff; }
.alert-success { background: #d1e7dd; color: #0f5132; padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.unread-row td { background: #fffbf0 !important; font-weight: 500; }
.badge-new { background: var(--orange); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 10px; vertical-align: middle; }
.highlighted td { background: #fff3e8 !important; }

/* ===== CITY AUTOCOMPLETE ===== */
.autocomplete-wrap { position: relative; }
.city-autocomplete { width: 100%; padding: 12px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; transition: border-color 0.2s; box-sizing: border-box; }
.city-autocomplete:focus { outline: none; border-color: var(--orange); }
.city-autocomplete::placeholder { color: #aaa; font-size: 13px; }
.city-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ddd; border-top: none; border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 9999; display: none; max-height: 260px; overflow-y: auto; }
.city-suggestion-item { padding: 11px 14px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px; color: #333; transition: background 0.15s; }
.city-suggestion-item i { color: var(--orange); font-size: 12px; flex-shrink: 0; }
.city-suggestion-item:hover, .city-suggestion-item.active { background: #fff5ee; color: var(--orange); }
.city-suggestion-item:last-child { border-radius: 0 0 8px 8px; }