/* ===========================================================
   Rehmat Taxi Service — Theme
   Primary: #0B1F3A  Accent: #FFD200  Base: #FFFFFF
   =========================================================== */
:root {
  --primary: #0B1F3A;
  --primary-light: #14305c;
  --accent: #FFD200;
  --accent-dark: #e0b800;
  --white: #FFFFFF;
  --gray-bg: #F5F7FA;
  --text-muted: #64748B;
  --border-soft: #E7EAF0;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(11,31,58,0.06);
  --shadow-lg: 0 16px 40px rgba(11,31,58,0.13);
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .display-font {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a { text-decoration: none; }

.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  font-size: 0.92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { border-radius: 12px; padding: 0.85rem 1.9rem; }

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 14px rgba(255,210,0,0.28);
}
.btn-accent:hover { background: var(--accent-dark); color: var(--primary); }

.btn-call {
  background: var(--primary);
  color: var(--white);
  border: none;
}
.btn-call:hover { background: var(--primary-light); color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
}
.btn-whatsapp:hover { background: #1fb956; color: var(--white); }

/* ===== Header ===== */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.navbar { padding: 0.7rem 0; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-icon {
  background: var(--accent);
  color: var(--primary);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav-cta .btn { font-size: 0.9rem; padding: 0.55rem 1.1rem; }

/* ===== Floating Buttons ===== */
.floating-btns {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: pulse 2.2s infinite;
}
.floating-call { background: var(--primary); }
.floating-whatsapp { background: #25D366; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,210,0,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(255,210,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,210,0,0); }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #102a4d 60%, #0d2340 100%);
  color: var(--white);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,210,0,0.18) 0%, rgba(255,210,0,0) 70%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 40px, transparent 40px 80px);
  opacity: .5;
  pointer-events: none;
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 16px; }
.hero .lead { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,210,0,0.12);
  color: var(--accent);
  border: 1px solid rgba(255,210,0,0.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 0;
  max-width: 480px;
}
.hero-stats > div { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.hero-stats > div:last-child { border-right: none; }
.hero-stats .stat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.hero-stats .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* ===== Booking Form ===== */
.booking-section { margin-top: -60px; position: relative; z-index: 10; margin-bottom: 60px; }
.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border-top: 5px solid var(--accent);
}
.booking-title { font-size: 1.3rem; margin-bottom: 22px; }
.booking-title i { color: var(--accent); background: var(--primary); padding: 8px; border-radius: 8px; margin-right: 6px; }
.form-label { font-weight: 500; font-size: 0.88rem; color: var(--primary); }
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid #E5E9F0;
  padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,210,0,0.25);
}
.booking-result { margin-top: 16px; }

/* ===== Section headings ===== */
.section-pad { padding: 70px 0; }
.section-eyebrow {
  color: var(--accent-dark);
  background: #FFF7D6;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title { font-size: 1.9rem; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); max-width: 620px; }
.bg-light-section { background: var(--gray-bg); }

/* ===== Service Cards ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 4px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--accent); }
.service-icon {
  width: 58px; height: 58px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ===== Car Cards ===== */
.car-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.car-card-img {
  height: 170px;
  background: linear-gradient(135deg,#eef1f6,#dfe4ec);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}
.car-card-body { padding: 20px; }
.car-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.car-specs { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.car-specs span { display: flex; align-items: center; gap: 5px; }
.car-specs i { color: var(--accent-dark); }

/* ===== Why Choose Us ===== */
.feature-item { display: flex; gap: 16px; margin-bottom: 26px; }
.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #FFF7D6;
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-item h5 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; }

/* ===== Reviews ===== */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  padding: 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -22px; right: 12px;
  font-family: Georgia, serif;
  font-size: 6rem;
  color: #F5F0DC;
  line-height: 1;
  z-index: 0;
}
.review-card > * { position: relative; z-index: 1; }
.review-stars { color: var(--accent-dark); margin-bottom: 10px; }
.review-card p { color: var(--primary); font-size: 0.92rem; }
.review-name { font-weight: 600; margin-top: 12px; font-size: 0.9rem; }

/* ===== Routes / Popular Routes ===== */
.route-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1.5px solid transparent;
}
.route-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.route-card-cities { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); font-size: 0.95rem; margin-bottom: 14px; flex-wrap: wrap; }
.route-card-line { flex: 1; min-width: 24px; height: 1px; background: repeating-linear-gradient(90deg, #D7DCE5 0 6px, transparent 6px 11px); position: relative; display: flex; align-items: center; justify-content: center; }
.route-card-line i { background: var(--accent); color: var(--primary); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
.route-card-cta { font-size: 0.82rem; font-weight: 600; color: var(--accent-dark); display: flex; align-items: center; gap: 6px; }
.route-card:hover .route-card-cta { color: var(--primary); }

/* ===== Sample Fares (homepage) ===== */
.sample-fare-card {
  display: block;
  background: var(--white);
  border: 1.5px solid #E9EDF3;
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sample-fare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.sample-fare-route { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); font-size: 1rem; margin-bottom: 8px; }
.sample-fare-route i { color: var(--accent-dark); font-size: 0.8rem; }
.sample-fare-car { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px; }
.sample-fare-car i { color: var(--accent-dark); margin-right: 4px; }
.sample-fare-price { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.sample-fare-price small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--text-muted); }

.route-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid #E5E9F0;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  margin: 5px;
  transition: all .2s ease;
}
.route-chip:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.route-chip i { color: var(--accent-dark); }
.route-chip:hover i { color: var(--accent); }

/* ===== FAQ ===== */
.accordion-button {
  font-weight: 600;
  color: var(--primary);
}
.accordion-button:not(.collapsed) {
  background: #FFF7D6;
  color: var(--primary);
}
.accordion-button:focus { box-shadow: none; border-color: var(--accent); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary), #16305a);
  border-radius: var(--radius);
  padding: 50px 40px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: 1.8rem; }
.cta-banner p { color: rgba(255,255,255,0.8); }

/* ===== Breadcrumb (landing pages) ===== */
.rt-breadcrumb { background: var(--gray-bg); padding: 14px 0; font-size: 0.85rem; }
.rt-breadcrumb a { color: var(--primary); font-weight: 500; }
.rt-breadcrumb .sep { color: var(--text-muted); margin: 0 6px; }

/* ===== Footer ===== */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 56px 0 24px; margin-top: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 340px; margin-bottom: 16px; }
.footer-address, .footer-rating { font-size: 0.9rem; margin-bottom: 8px; }
.footer-rating i { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }
.site-footer h6 { color: var(--white); font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; letter-spacing: .02em; }
.footer-link { color: rgba(255,255,255,0.75); margin-bottom: 10px; font-size: 0.88rem; display: block; transition: color .2s ease, padding-left .2s ease; }
.footer-link i { color: var(--accent); font-size: 0.75rem; width: 14px; }
.footer-link:hover { color: var(--accent); padding-left: 4px; }
.footer-services { display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-services span { color: rgba(255,255,255,0.75); }
.footer-services span i, .footer-services a i { color: var(--accent); font-size: 0.75rem; width: 14px; }
.site-footer hr { border-color: rgba(255,255,255,0.12); margin: 36px 0 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
@media (max-width: 767px) {
  .site-footer { padding: 44px 0 90px; text-align: left; }
  .footer-desc { max-width: 100%; }
}

/* ===== Mobile Sticky Bottom Bar ===== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  display: flex;
  z-index: 1040;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.sticky-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.85);
  padding: 9px 0;
  font-size: 0.7rem;
  font-weight: 500;
}
.sticky-item i { font-size: 1.1rem; }
.sticky-item-accent { background: var(--accent); color: var(--primary); }

/* ===== Animations (scroll reveal) — safe by default: content is
   visible even if JS fails; animation only kicks in once JS marks
   the page ready. ===== */
body.js-ready [data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
body.js-ready [data-aos].aos-in { opacity: 1; transform: translateY(0); }

/* ===== Search Widget (homepage fare search) — modern segmented style ===== */
.search-widget {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 30px;
}
.search-tabs {
  display: flex;
  background: #EEF1F6;
  padding: 6px;
  gap: 4px;
  overflow-x: auto;
}
.search-tab {
  flex: 1;
  min-width: 120px;
  border: none;
  background: transparent;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  transition: all .2s ease;
}
.search-tab:hover { color: var(--primary); }
.search-tab.active { background: var(--accent); color: var(--primary); box-shadow: 0 4px 12px rgba(255,210,0,0.4); }
.search-panel {
  display: none;
  padding: 26px 24px;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
}
.search-panel.active { display: flex; }
.search-field { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 7px; }
.search-field label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5F7FA;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .2s ease, background .2s ease;
}
.search-input i { color: var(--accent-dark); font-size: 0.9rem; flex-shrink: 0; }
.search-input input {
  border: none;
  background: transparent;
  padding: 0.72rem 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary);
  width: 100%;
  min-width: 0;
}
.search-input input:focus { outline: none; }
.search-input:focus-within { background: var(--white); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,210,0,0.18); }
.search-swap {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: #F5F7FA;
  color: var(--primary);
  margin-bottom: 4px;
  flex-shrink: 0;
  transition: transform .3s ease, background .2s ease;
}
.search-swap:hover { background: var(--accent); transform: rotate(180deg); }
.search-submit {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.85rem 1.8rem;
  font-size: 0.92rem;
}
@media (max-width: 767px) {
  .search-panel { flex-direction: column; align-items: stretch; padding: 20px; }
  .search-swap { align-self: center; }
  .search-submit { width: 100%; }
}

/* ===== Fare Search Results Page ===== */
.results-filter-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-soft); padding: 20px; }
.results-filter-card h6 { font-weight: 700; margin-bottom: 14px; }
.results-filter-card .form-check { margin-bottom: 8px; }
.route-summary {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.route-summary h4 { margin: 0; font-size: 1.15rem; }
.route-summary .badge-yellow { background: var(--accent); color: var(--primary); padding: 6px 14px; border-radius: 50px; font-weight: 600; font-size: 0.82rem; }
.fare-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  padding: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.fare-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.fare-card-img {
  width: 130px; height: 90px;
  background: linear-gradient(135deg,#eef1f6,#dfe4ec);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 2rem;
  flex-shrink: 0;
}
.fare-card-body { flex: 1; min-width: 200px; }
.fare-card-body h5 { margin-bottom: 6px; }
.fare-specs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.fare-specs span { display: flex; align-items: center; gap: 5px; }
.fare-note { font-size: 0.78rem; color: var(--text-muted); }
.fare-price-block { text-align: right; flex-shrink: 0; }
.fare-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.fare-price small { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); display: block; }


@media (max-width: 991px) {
  body { padding-bottom: 64px; } /* space for mobile sticky bar */
  .hero h1 { font-size: 2rem; }
  .booking-section { margin-top: -40px; }
  .booking-card { padding: 22px; }
}