/* ==========================================================================
   Tulja Bhavani Cab — Design System
   Palette: deep petrol-teal + warm saffron, on warm off-white
   ========================================================================== */

:root {
  --ink: #11252e;          /* near-black petrol */
  --teal: #0f4c5c;         /* primary brand */
  --teal-700: #0b3b48;
  --teal-300: #4c8a98;
  --saffron: #f4900c;      /* accent */
  --saffron-600: #d97a05;
  --cream: #f7f4ee;        /* page background */
  --sand: #efe9df;         /* card / band tint */
  --line: #e3dccf;
  --text: #1c2a30;
  --muted: #5d6c72;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(17, 37, 46, .06);
  --shadow-md: 0 14px 40px rgba(17, 37, 46, .12);
  --shadow-lg: 0 30px 70px rgba(11, 59, 72, .22);

  --ff-head: "Fraunces", "Georgia", serif;
  --ff-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; transition: .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--saffron); color: #2a1900; box-shadow: 0 8px 22px rgba(244,144,12,.35); }
.btn-primary:hover { background: var(--saffron-600); transform: translateY(-2px); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* Section scaffolding ----------------------------------------------------- */
section { padding: 5.5rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--saffron); display: inline-block; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: .9rem; font-size: 1.05rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.topbar {
  background: var(--ink); color: #cdd8db; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #cdd8db; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--saffron); }
.topbar .tb-right { display: flex; gap: 1.4rem; align-items: center; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(247,244,238,.96); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.2rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--ff-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.brand .mark {
  width: 46px; height: 46px; border-radius: 50%; display: block;
  object-fit: cover; box-shadow: var(--shadow-sm); background: var(--teal);
}
.brand small { display: block; font-family: var(--ff-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--text); position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--saffron); transition: .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; color: #eef3f4;
  background:
    linear-gradient(115deg, rgba(11,40,49,.94) 0%, rgba(15,76,92,.82) 55%, rgba(15,76,92,.4) 100%),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1600&q=80") center/cover;
  padding: 4.5rem 0 5.5rem;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--saffron); font-style: italic; }
.hero p.lead { color: #d6e2e4; font-size: 1.12rem; margin-top: 1.1rem; max-width: 33ch; }
.hero-actions { display: flex; gap: .9rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-trust .t { }
.hero-trust .t b { display: block; font-family: var(--ff-head); font-size: 1.7rem; color: var(--saffron); }
.hero-trust .t span { font-size: .82rem; color: #bcccce; }

/* Booking card */
.booking {
  background: var(--white); color: var(--text); border-radius: 20px;
  padding: 1.7rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.booking h3 { font-size: 1.25rem; }
.booking .bk-sub { font-size: .85rem; margin-bottom: 1.1rem; }
.bk-tabs { display: flex; gap: .4rem; background: var(--sand); padding: .3rem; border-radius: 999px; margin-bottom: 1.2rem; }
.bk-tabs button {
  flex: 1; border: 0; background: transparent; padding: .55rem; border-radius: 999px;
  font-weight: 600; font-size: .85rem; color: var(--muted); transition: .2s;
}
.bk-tabs button.active { background: var(--white); color: var(--teal); box-shadow: var(--shadow-sm); }
.field { margin-bottom: .85rem; }
.field label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: var(--cream); color: var(--text); transition: .2s;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--teal-300); background: #fff; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.booking .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.bk-note { font-size: .78rem; text-align: center; margin-top: .7rem; color: var(--muted); }

/* ==========================================================================
   Logos / marquee band
   ========================================================================== */
.band { background: var(--ink); color: #c4d1d4; padding: 1.2rem 0; }
.band .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.band .item { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.band .item svg { color: var(--saffron); flex: none; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: .25s; position: relative; overflow: hidden;
}
.svc::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--sand); color: var(--teal); display: grid; place-items: center; margin-bottom: 1.1rem; }
.svc h3 { margin-bottom: .5rem; }
.svc p { font-size: .92rem; }

/* ==========================================================================
   Routes
   ========================================================================== */
.routes { background: var(--sand); }
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.route-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .25s; border: 1px solid var(--line);
}
.route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.route-card .img { height: 170px; position: relative; }
.route-card .img img { height: 100%; width: 100%; object-fit: cover; }
.route-card .tag { position: absolute; top: .8rem; left: .8rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .05em; }
.route-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.route-card .from-to { display: flex; align-items: center; gap: .5rem; font-family: var(--ff-head); font-size: 1.18rem; color: var(--ink); }
.route-card .from-to svg { color: var(--saffron); flex: none; }
.route-card .meta { display: flex; gap: 1.2rem; font-size: .82rem; color: var(--muted); margin: .6rem 0 1rem; }
.route-card .meta span { display: inline-flex; align-items: center; gap: .35rem; }
.route-card .price-row { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 1rem; }
.route-card .price { font-family: var(--ff-head); font-size: 1.5rem; color: var(--teal); }
.route-card .price small { font-family: var(--ff-body); font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Pricing table (routes page)
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.fare { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.fare th, table.fare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
table.fare thead th { background: var(--teal); color: #fff; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
table.fare tbody tr:nth-child(even) { background: var(--cream); }
table.fare tbody tr:hover { background: #fdf3e3; }
table.fare .rt { font-weight: 700; color: var(--ink); }
table.fare .fare-amt { font-weight: 700; color: var(--teal); }

/* ==========================================================================
   Split / About
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: 18px; box-shadow: var(--shadow-md); }
.split .media .badge {
  position: absolute; bottom: -22px; right: -10px; background: var(--white);
  padding: 1rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow-md); display: flex; gap: .8rem; align-items: center;
}
.split .media .badge b { font-family: var(--ff-head); font-size: 1.8rem; color: var(--teal); display: block; line-height: 1; }
.split .media .badge span { font-size: .8rem; color: var(--muted); }
.feature-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; }
.feature-list .chk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--saffron); display: grid; place-items: center; font-size: .85rem; margin-top: .15rem; }
.feature-list b { color: var(--ink); }
.feature-list p { font-size: .9rem; margin-top: .1rem; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats { background: linear-gradient(120deg, var(--teal-700), var(--teal)); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats .s b { font-family: var(--ff-head); font-size: clamp(2rem, 4vw, 3rem); color: var(--saffron); display: block; }
.stats .s span { color: #cfe0e3; font-size: .92rem; }

/* ==========================================================================
   Fleet
   ========================================================================== */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.car {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s;
}
.car:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.car .img { height: 200px; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.car .img img { height: 100%; width: 100%; object-fit: cover; }
.car .body { padding: 1.4rem; }
.car .cls { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-600); }
.car h3 { margin: .25rem 0 .8rem; }
.car ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.car ul li { font-size: .8rem; background: var(--sand); color: var(--text); padding: .3rem .7rem; border-radius: 999px; }
.car .rate { font-family: var(--ff-head); font-size: 1.25rem; color: var(--teal); }
.car .rate small { font-family: var(--ff-body); font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { text-align: center; padding: 1.5rem 1rem; position: relative; }
.step .n {
  counter-increment: step; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--white); border: 2px dashed var(--teal-300); display: grid; place-items: center;
  font-family: var(--ff-head); font-size: 1.5rem; color: var(--teal);
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .88rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--ink); color: #dde6e8; }
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head p { color: #aebcbf; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.t-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.6rem; }
.t-card .stars { color: var(--saffron); letter-spacing: .15em; margin-bottom: .8rem; }
.t-card p { color: #d3dcde; font-size: .96rem; }
.t-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.t-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-card .who b { color: #fff; font-size: .92rem; display: block; }
.t-card .who span { font-size: .8rem; color: #9fb0b3; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band {
  background:
    linear-gradient(90deg, rgba(244,144,12,.96), rgba(217,122,5,.92)),
    url("https://images.unsplash.com/photo-1502920917128-1aa500764cbd?auto=format&fit=crop&w=1500&q=80") center/cover;
  color: #2a1900; border-radius: 22px; padding: 3rem; text-align: center; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #2a1900; }
.cta-band p { color: #4a3208; max-width: 50ch; margin: .8rem auto 1.6rem; }
.cta-band .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-list { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.info-list li { display: flex; gap: 1rem; }
.info-list .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--sand); color: var(--teal); display: grid; place-items: center; }
.info-list b { color: var(--ink); display: block; }
.info-list a, .info-list span { color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-form .bk-row { gap: 1rem; }
.contact-form textarea {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: var(--cream); resize: vertical; min-height: 110px;
}
.contact-form textarea:focus { outline: 0; border-color: var(--teal-300); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 3rem; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--teal-700), var(--ink)); color: #fff; padding: 3.5rem 0;
}
.page-hero h1 { color: #fff; }
.page-hero .crumb { color: #a9bbbe; font-size: .9rem; margin-top: .6rem; }
.page-hero .crumb a:hover { color: var(--saffron); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #aeb9bc; padding: 4rem 0 0; }
.footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand small { color: #8a999c; }
.footer p { color: #97a4a7; font-size: .92rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; font-family: var(--ff-body); letter-spacing: .03em; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a { color: #aeb9bc; font-size: .92rem; transition: .2s; }
.footer ul a:hover { color: var(--saffron); padding-left: 4px; }
.footer .contact-mini li { display: flex; gap: .6rem; font-size: .92rem; margin-bottom: .9rem; }
.footer .contact-mini svg { color: var(--saffron); flex: none; margin-top: 3px; }
.footer .socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cdd8da; transition: .2s; }
.footer .socials a:hover { background: var(--saffron); color: #2a1900; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .85rem; color: #8a999c; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.footer-bottom b { color: var(--saffron); }

/* ==========================================================================
   Floating call / whatsapp
   ========================================================================== */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: .7rem; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); transition: .2s; }
.float-actions a:hover { transform: scale(1.08); }
.float-actions .wa { background: #25d366; }
.float-actions .ph { background: var(--saffron); color: #2a1900; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .booking { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .routes-grid, .fleet-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 3.8rem 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1.2rem 1.6rem; gap: 1rem; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .topbar .tb-left { display: none; }
  .services-grid, .routes-grid, .fleet-grid, .t-grid, .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.3rem; }
  .footer .grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
