/* =========================================================
   MAHAPRABHU BUS — Main Stylesheet
   Brand colors extracted from logo: Navy Blue + Gold
   ========================================================= */
:root {
  --navy: #0d2c66;
  --navy-dark: #081c44;
  --gold: #d4a017;
  --gold-light: #f2c94c;
  --gold-dark: #b8860b;
  --light-bg: #f7f9fc;
  --text-muted: #6c7a93;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(13, 44, 102, 0.08);
  --shadow-strong: 0 20px 50px rgba(13, 44, 102, 0.18);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: #24304a;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

a { text-decoration: none; transition: all .25s ease; }
.text-light-muted { color: rgba(255,255,255,.75); }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--navy-dark);
  color: #dfe6f2;
  font-size: .85rem;
  padding: 8px 0;
}
.top-bar a { color: #dfe6f2; margin-right: 18px; }
.top-bar a:hover { color: var(--gold-light); }

/* ---------- Navbar ---------- */
.main-navbar { box-shadow: 0 4px 20px rgba(13,44,102,.08); padding: 8px 0; z-index: 1030; }
.main-navbar .nav-link { color: var(--navy); font-weight: 600; margin: 0 10px; }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--gold-dark); }
.btn-brand-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1c1300; font-weight: 700; border: none; border-radius: 50px; padding: 10px 26px;
  box-shadow: 0 6px 18px rgba(212,160,23,.35);
}
.btn-brand-gold:hover { color: #1c1300; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(212,160,23,.45); }
.btn-outline-primary { color: var(--navy); border-color: var(--navy); font-weight: 600; border-radius: 50px; padding: 10px 22px; }
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, #163a7d 100%);
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212,160,23,.18), transparent 45%);
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 18px; }
.hero h1 span { color: var(--gold-light); }
.hero p.lead { color: #cdd8ee; font-size: 1.1rem; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); color: var(--gold-light);
  padding: 6px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 18px;
  border: 1px solid rgba(212,160,23,.35);
}
.hero-stats { display: flex; gap: 30px; margin-top: 30px; }
.hero-stats .stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-stats .stat-label { font-size: .8rem; color: #b9c6e0; }

/* ---------- Search/Booking widget ---------- */
.search-widget {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-strong);
  padding: 26px; margin-top: 48px; position: relative; z-index: 5;
}
.search-widget .nav-tabs { border: none; gap: 6px; margin-bottom: 18px; }
.search-widget .nav-tabs .nav-link {
  border: none; border-radius: 50px; padding: 8px 18px; font-weight: 600; color: var(--navy);
  background: var(--light-bg); font-size: .9rem;
}
.search-widget .nav-tabs .nav-link.active { background: var(--navy); color: #fff; }
.search-widget label { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.search-widget .form-control, .search-widget .form-select {
  border-radius: 10px; padding: 12px 14px; border: 1.5px solid #e3e8f2; font-size: .95rem;
}
.search-widget .form-control:focus, .search-widget .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(212,160,23,.15); }
.btn-search {
  background: var(--navy); color: #fff; font-weight: 700; border-radius: 10px; border: none;
  padding: 12px 20px; width: 100%; height: 100%;
}
.btn-search:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Google Places suggestions ---------- */
.pac-container {
  z-index: 3000 !important;
  border: 1px solid #dfe5ef !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 12px 30px rgba(15, 34, 68, .16) !important;
  font-family: Inter, sans-serif !important;
  overflow: hidden !important;
}
.pac-item {
  padding: 10px 12px !important;
  font-size: .9rem !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
}
.pac-item:hover { background: #f5f7fb !important; }
.pac-item-query { font-size: .92rem !important; font-weight: 600 !important; }
.pac-icon { margin-right: 8px !important; }

/* ---------- Section titles ---------- */
.section-pad { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title .eyebrow {
  color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem;
}
.section-title h2 { font-size: 2.1rem; margin-top: 8px; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 12px auto 0; }
.bg-light-section { background: var(--light-bg); }

/* ---------- Category cards ---------- */
.category-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 30px 22px; text-align: center; height: 100%; border: 1px solid #eef1f8;
  transition: transform .3s, box-shadow .3s;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); border-color: var(--gold); }
.category-card .icon-wrap {
  width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #1c4694);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.8rem; color: var(--gold-light);
}
.category-card h5 { margin-bottom: 8px; }
.category-card p { color: var(--text-muted); font-size: .88rem; margin-bottom: 12px; }

/* ---------- Vehicle cards ---------- */
.vehicle-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); height: 100%; border: 1px solid #eef1f8; transition: transform .3s, box-shadow .3s; }
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.vehicle-card .img-wrap { position: relative; height: 200px; overflow: hidden; background: var(--light-bg); }
.vehicle-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vehicle-card:hover .img-wrap img { transform: scale(1.08); }
.vehicle-card .badge-cat { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1c1300; font-weight: 700; padding: 5px 12px; border-radius: 50px; font-size: .72rem; }
.vehicle-card .body { padding: 20px; }
.vehicle-card h5 { font-size: 1.1rem; margin-bottom: 6px; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; font-size: .8rem; color: var(--text-muted); }
.vehicle-specs span { display: flex; align-items: center; gap: 5px; }
.vehicle-price { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.vehicle-price small { font-size: .72rem; font-weight: 500; color: var(--text-muted); }
.rating-stars { color: var(--gold-dark); font-size: .85rem; }

/* ---------- Why choose us ---------- */
.feature-item { display: flex; gap: 16px; margin-bottom: 26px; }
.feature-item .icon { width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--navy-dark); }
.feature-item h6 { margin-bottom: 6px; }
.feature-item p { color: var(--text-muted); font-size: .88rem; margin: 0; }

/* ---------- Trip type pills ---------- */
.trip-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #e3e8f2; padding: 10px 20px; border-radius: 50px; font-weight: 600; color: var(--navy); margin: 5px; }
.trip-pill i { color: var(--gold-dark); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); border-radius: var(--radius); padding: 50px; position: relative; overflow: hidden; }
.cta-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(212,160,23,.35), transparent 70%); }
.cta-banner h3 { color: #fff; }
.cta-banner p { color: #cdd8ee; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 28px; height: 100%; border: 1px solid #eef1f8; }
.testimonial-card .quote-icon { font-size: 1.8rem; color: var(--gold); opacity: .5; }
.testimonial-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #cdd8ee; margin-top: 60px; }
.site-footer h5 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .9rem; }
.footer-links a { color: #b9c6e0; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-legal-link { color: #b9c6e0; font-size: .8rem; }
.footer-legal-link:hover { color: var(--gold-light); }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; margin-right: 8px; }
.social-icons a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-bottom { background: #061534; font-size: .85rem; color: #8fa0c2; }
.footer-logo-wrap {
  display: inline-flex; align-items: center; background: #fff; border-radius: 12px;
  padding: 8px 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.footer-logo { height: 100px; display: block; }
.footer-links li i { color: var(--gold); font-size: .7rem; margin-right: 6px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; width: 60px; height: 60px; background: #25d366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); z-index: 1050; animation: pulse-wa 2.2s infinite;
}
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Fare breakdown / booking page ---------- */
.fare-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 24px; border: 1px solid #eef1f8; position: sticky; top: 100px; }
.fare-box .row-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; color: var(--text-muted); border-bottom: 1px dashed #e3e8f2; }
.fare-box .row-line.total { font-weight: 800; font-size: 1.15rem; color: var(--navy); border-bottom: none; padding-top: 14px; }

/* ---------- Auth pages ---------- */
.auth-card { max-width: 460px; margin: 60px auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-strong); padding: 40px; }

/* ---------- Generic page banner ---------- */
.page-banner { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); padding: 60px 0; text-align: center; }
.page-banner h1 { color: #fff; margin: 0; }
.page-banner .breadcrumb-custom { color: #b9c6e0; margin-top: 8px; }
.page-banner .breadcrumb-custom a { color: var(--gold-light); }

/* ---------- Star rating input ---------- */
.star-rating-input { direction: rtl; display: inline-flex; font-size: 1.6rem; }
.star-rating-input input { display: none; }
.star-rating-input label { color: #dfe3ec; cursor: pointer; padding: 0 2px; }
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label { color: var(--gold); }

@media (max-width: 767px) {
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
  .search-widget { margin-top: 20px; }
  .cta-banner { padding: 34px 22px; text-align: center; }
}
