/* ===== Krishna Tours and Travels ===== */
:root {
    --red: #eb4132;
    --red-dark: #c8301f;
    --red-light: #ff6a54;
    --dark: #1a1a1a;
    --navy: #5c1a17; /* deep maroon heading tone — kept the "navy" name to avoid touching every call site */
    --gray: #6b6b6b;
    --light-bg: #f8f4f1;
    --border: #ece1da;
    --green: #25d366;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 14px rgba(20,20,20,.06);
    --shadow-md: 0 10px 30px rgba(20,20,20,.10);
    --shadow-lg: 0 20px 50px rgba(20,20,20,.16);
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
/* overflow-x on <html> (not body) propagates to the viewport, so the sticky header keeps working
   while the parked off-canvas mobile menu (right: -290px) can no longer cause sideways scrolling. */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, 'Segoe UI', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 12px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 14px; color: var(--gray); }

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red-light), var(--red));
    color: #fff;
    box-shadow: 0 8px 20px rgba(235,65,50,.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(235,65,50,.4); }
.btn-outline { background: #fff; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.section-label {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--red); display: inline-block; }
.section-title { font-size: 32px; position: relative; padding-bottom: 16px; margin-top: 6px; }
.section-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 56px; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--green), var(--red));
}
.center .section-title::after { left: 50%; transform: translateX(-50%); }
.center { text-align: center; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Topbar & Header ===== */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
    transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 14px 24px; }
.logo img { height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { position: relative; font-weight: 600; color: var(--dark); padding: 8px 0; font-size: 15px; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--red); transition: width .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.enquiry-btn { white-space: nowrap; padding: 11px 24px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; margin-left: 6px; color: var(--dark); }

@media (max-width: 900px) {
    .main-nav {
        position: fixed; top: 0; right: -290px; width: 270px; height: 100vh;
        background: #fff; box-shadow: -8px 0 24px rgba(0,0,0,.15);
        transition: right .35s ease; padding: 90px 26px; z-index: 200;
    }
    .main-nav.open { right: 0; }
    /* backdrop-filter makes the header the containing block of the "fixed" menu, so clip the parked menu here */
    .site-header { overflow-x: clip; }
    .main-nav ul { flex-direction: column; gap: 20px; }
    .nav-toggle { display: block; }
    .enquiry-btn { display: none; }
}

/* ===== Hero (home) ===== */
.hero {
    position: relative;
    background: radial-gradient(circle at 15% 20%, #e3f9d8 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, #d5f0ea 0%, transparent 50%),
                linear-gradient(135deg,#f3fbef,#eafaf3);
    background-color: #eef9f2;
    padding: 90px 0 120px;
    overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-text { flex: 1 1 440px; }
.hero-text h1 { font-size: 40px; line-height: 1.28; }
.hero-text > p { font-size: 15px; max-width: 540px; }
.hero-image { flex: 1 1 380px; text-align: center; }
.hero-image img { max-width: 440px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.15)); }
.divider-line { width: 60px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--red)); margin: 18px 0; }

/* ===== Page header (inner pages) ===== */
.page-header {
    position: relative;
    background: linear-gradient(120deg,#fbf7f4 50%, #e3f6e3 50%);
    padding: 64px 0;
    overflow: hidden;
}
.page-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; position: relative; z-index: 1; }
.page-header h1 { font-size: 34px; margin-bottom: 8px; }
.breadcrumb { color: var(--gray); font-size: 14px; }

/* ===== What we do ===== */
.services { padding: 80px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 44px; }
.service-card {
    text-align: center; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 26px; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #fff0ee, #ffe1dc); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--red-light), var(--red)); color: #fff; transform: scale(1.08); }
.service-card h5 { font-size: 17px; margin-bottom: 12px; }
.service-card p { font-size: 14px; }
.service-links { margin: 16px 0; text-align: left; }
.service-links li { margin-bottom: 8px; font-size: 14px; color: var(--gray); }
.service-links i { color: var(--green); margin-right: 8px; }
.service-card .btn { font-size: 13px; padding: 9px 20px; margin-top: 6px; }

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* ===== Tour packages ===== */
.tours { padding: 80px 0; background: var(--light-bg); }
.tours-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.tour-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.tour-card {
    background: #fff; overflow: hidden; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tour-card img { height: 220px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover img { transform: scale(1.08); }
.tour-card-body { padding: 22px 22px 6px; }
.tour-card-body h4 { font-size: 18px; margin-bottom: 12px; color: var(--navy); }
.tour-card-body p { font-size: 13px; margin-bottom: 6px; }
.tour-actions { display: flex; gap: 10px; padding: 16px 22px 22px; }
.tour-actions .btn { font-size: 13px; padding: 10px 16px; flex: 1; justify-content: center; }

@media (max-width: 900px) { .tour-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .tour-grid { grid-template-columns: 1fr; } }

/* ===== Tour packages page (grouped sections) ===== */
.tour-section { padding: 54px 0 10px; }
.tour-section h2 {
    color: var(--navy); font-size: 26px;
    border-left: 5px solid var(--red); padding-left: 14px;
}

/* ===== Cab search card ===== */
.cab-search-wrap {
    background: linear-gradient(180deg, #fbeeec, #f4f6fb);
    padding: 8px 24px; position: sticky; top: 92px; z-index: 90;
}
.cab-search-card {
    max-width: 1180px; margin: 0 auto; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-md); border: 1px solid var(--border); overflow: hidden;
}
.cab-search-fields {
    display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 12px; padding: 16px 20px;
    overflow-x: auto; overflow-y: hidden;
}
.cab-oneway-fields, .cab-localtour-fields { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 12px; flex: 1 1 auto; min-width: 0; }
.cab-oneway-fields[hidden], .cab-localtour-fields[hidden] { display: none; }
.cab-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 110px; min-width: 100px; }
.cab-trip-mode-field { flex: 0 0 170px; }
.cab-field label {
    color: var(--gray); font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.cab-field label i { color: var(--red); }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inline-add-stop {
    background: none; border: none; color: var(--red); font-size: 10.5px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px; cursor: pointer; padding: 0;
    white-space: nowrap; text-decoration: underline; text-underline-offset: 2px;
}
.cab-field input, .cab-field select {
    padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px;
    background: #fff; color: var(--dark); width: 100%; box-sizing: border-box;
}
.cab-field input:focus, .cab-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.12); }
.cab-swap-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--light-bg); color: var(--red); cursor: pointer; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--transition);
    margin-bottom: 2px;
}
.cab-swap-btn:hover { background: var(--red); color: #fff; transform: rotate(180deg); }
.cab-stops-container { display: none; gap: 10px; flex-wrap: wrap; width: 100%; margin-top: 2px; }
.cab-stops-container:not(:empty) { display: flex; }
.cab-stops-container input {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; flex: 1 1 160px; max-width: 220px;
}
.cab-check-btn {
    background: linear-gradient(135deg, var(--red-light), var(--red)); color: #fff; border: none; border-radius: 8px;
    padding: 13px 28px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
    transition: var(--transition); flex: 0 0 auto; box-shadow: 0 8px 20px rgba(235,65,50,.25);
}
.cab-check-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(235,65,50,.35); }

@media (max-width: 700px) {
    .cab-search-wrap { position: static; padding: 20px 16px; }
    .cab-search-fields, .cab-oneway-fields, .cab-localtour-fields { flex-direction: column; align-items: stretch; }
    .cab-trip-mode-field { flex: 1 1 auto; }
    .cab-swap-btn { align-self: center; transform: rotate(90deg); }
    .cab-swap-btn:hover { transform: rotate(270deg); }
    .cab-check-btn { width: 100%; justify-content: center; }
}

/* ===== Local tour package list ===== */
.local-package-list { display: flex; flex-direction: column; gap: 14px; }
.local-package-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 18px 20px; display: flex; align-items: center; gap: 18px;
    border: 2px solid transparent; transition: var(--transition); text-decoration: none; color: inherit;
}
.local-package-card:hover { box-shadow: var(--shadow-md); border-color: var(--red); transform: translateY(-2px); }
.local-package-icon {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #fff0ee, #ffe1dc); color: var(--red);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.local-package-body { flex: 1 1 auto; }
.local-package-body h4 { margin: 0 0 4px; font-size: 16px; }
.local-package-body p { margin: 0; font-size: 13px; color: var(--gray); }
.local-package-arrow { color: var(--red); font-size: 14px; }

/* ===== Cab search results layout: destinations left, cab list right ===== */
.cab-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start;
    max-width: 1640px; margin: 0 auto; padding: 22px 24px 40px;
}

/* ----- Left: Explore Destinations ----- */
.cab-explore {
    background: linear-gradient(180deg, #fff4f1, #fffdfc);
    border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px 24px;
}
.cab-explore-head { position: relative; padding-right: 110px; }
.cab-explore-label {
    color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.cab-explore-title { font-size: 33px; line-height: 1.2; margin: 8px 0 10px; color: var(--navy); }
.cab-explore-title span { color: var(--red); }
.cab-explore-sub { font-size: 14px; margin: 0 0 20px; max-width: 480px; }
.cab-explore-arrow {
    position: absolute; top: 4px; right: 0; width: 104px; height: 62px; color: var(--red); opacity: .85;
}

.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dest-card {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.dest-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dest-card img { width: 100%; height: 110px; object-fit: cover; }
.dest-card-body { padding: 12px 13px 14px; }
.dest-card-body h4 {
    font-size: 14.5px; margin: 0 0 6px; color: var(--navy);
    display: flex; align-items: baseline; gap: 6px;
}
.dest-card-body h4 i { color: var(--red); font-size: 12.5px; }
.dest-card-body p { font-size: 12px; margin: 0; color: var(--gray); line-height: 1.5; }
.cab-explore-foot { text-align: center; margin-top: 22px; }
.cab-explore-foot .btn { padding: 11px 26px; font-size: 13.5px; }

/* ----- Right: cab list ----- */
.cab-results {
    background: #faf7f5; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px 24px;
}
.cab-results-meta { font-size: 14.5px; color: var(--navy); margin-bottom: 14px; text-align: right; }
.cab-results-hint {
    background: #fff; border: 1px dashed var(--border); border-radius: var(--radius);
    padding: 40px 24px; text-align: center; color: var(--gray);
}
.cab-results-hint i { font-size: 30px; color: var(--red); margin-bottom: 14px; display: block; }

.cab-card-list { display: flex; flex-direction: column; gap: 10px; }
.cab-card {
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm);
    padding: 12px 14px; display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--border); transition: var(--transition);
}
.cab-card:hover { box-shadow: var(--shadow-md); }
.cab-card.is-selected { border-color: var(--red); background: #fff8f7; }
.cab-card.is-extra { display: none; }
.cab-card-list.show-all .cab-card.is-extra { display: flex; }
.cab-card-photo {
    width: 98px; height: 64px; border-radius: 10px; flex-shrink: 0; overflow: hidden;
    background: linear-gradient(135deg, #fff0ee, #ffe1dc); color: var(--red);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.cab-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.cab-card-body { flex: 1 1 auto; min-width: 0; }
.cab-card-body h4 { margin-bottom: 6px; font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cab-card-specs { margin: 0; font-size: 12.5px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cab-card-specs i { color: var(--red); margin-right: 5px; }
.or-similar { font-size: 11px; font-weight: 500; color: var(--gray); background: var(--light-bg); padding: 2px 8px; border-radius: 4px; }
.new-badge { font-size: 10px; font-weight: 800; color: #1c7a3f; background: #e3f6e3; border: 1px solid #b6e6b6; padding: 2px 8px; border-radius: 4px; }
.cab-card-price { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.cab-card-price-info { text-align: right; }
.off-line { font-size: 12px; color: #1c7a3f; font-weight: 700; margin-bottom: 2px; }
.off-line .strike { color: var(--gray); text-decoration: line-through; font-weight: 500; }
.final-price { font-size: 19px; font-weight: 800; color: var(--dark); }
.tax-line { font-size: 11px; color: var(--gray); }
.select-cab-btn { padding: 9px 20px; font-size: 12.5px; }
.cab-more-wrap { text-align: center; margin-top: 16px; }
.cab-more-wrap .btn { padding: 11px 26px; font-size: 13.5px; }

@media (max-width: 1150px) {
    .dest-card img { height: 92px; }
    .cab-card-photo { width: 78px; height: 56px; font-size: 22px; }
    .cab-card-specs { gap: 4px 10px; font-size: 11.5px; }
}
@media (max-width: 1000px) {
    .cab-layout { grid-template-columns: 1fr; padding: 20px 16px 36px; }
    .cab-explore-head { padding-right: 0; }
    .cab-explore-arrow { display: none; }
}
@media (max-width: 700px) {
    .cab-layout { gap: 16px; }
    .cab-explore { padding: 20px 16px; }
    .cab-explore-title { font-size: 27px; }
    .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cab-results { padding: 16px 14px 20px; }
    .cab-results-meta { text-align: center; }
    .cab-card { flex-wrap: wrap; justify-content: center; text-align: center; }
    .cab-card-body { flex-basis: 100%; }
    .cab-card-body h4, .cab-card-specs { justify-content: center; }
    .cab-card-price { flex-direction: column; width: 100%; gap: 8px; }
    .cab-card-price-info { text-align: center; }
}

/* ===== Tour package search (reuses the cab search bar + result cards) ===== */
.tour-package-field { flex: 1.6 1 180px; }
.tour-pax-field { flex: 0 0 96px; min-width: 86px; }
.tour-result-photo { width: 112px; height: 84px; }
.tour-result-route { margin: 0 0 6px; font-size: 12.5px; color: var(--dark); line-height: 1.45; }
.tour-result-route i { color: var(--red); margin-right: 4px; }
.per-person { font-size: 11px; font-weight: 600; color: var(--gray); margin-left: 2px; }
.tour-result-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tour-itinerary-link { font-size: 11.5px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ride-cab-icon.has-photo { overflow: hidden; padding: 0; }
.ride-cab-icon.has-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
    .tour-pax-field, .tour-package-field { flex: 1 1 auto; }
    .tour-result-photo { width: 100%; height: 150px; }
    .tour-result-actions { flex-direction: row; justify-content: center; gap: 14px; }
}

/* ===== On-the-way highlights ===== */
.highlight-strip {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px; margin-top: 34px;
}
.highlight-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.highlight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.highlight-card img { width: 100%; height: 160px; object-fit: cover; }
.highlight-card-body { padding: 16px 18px; }
.highlight-card-body h4 { font-size: 16px; margin-bottom: 8px; color: var(--navy); }
.highlight-card-body p { font-size: 13px; margin: 0; }

/* ===== Taxi fare chart ===== */
.fare-table-wrap {
    overflow-x: auto; margin-top: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.fare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.fare-table th {
    background: linear-gradient(135deg, var(--red-light), var(--red)); color: #fff;
    padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; text-align: left;
}
.fare-table td { padding: 13px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.fare-table tbody tr:last-child td { border-bottom: none; }
.fare-table tbody tr:nth-child(even) { background: var(--light-bg); }
.fare-table td.car-name { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ===== Testimonials ===== */
.testimonials { padding: 80px 0; background: linear-gradient(180deg,#fff,#fbf7f4); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 34px; }
.testimonial-card {
    background: #fff; border-radius: var(--radius); padding: 34px;
    position: relative; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card i.fa-quote-left { color: var(--red); font-size: 28px; margin-bottom: 16px; opacity: .8; }
.testimonial-card > p { color: var(--dark); font-size: 15px; }
.testimonial-meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonial-meta img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--light-bg); }
.testimonial-name { font-weight: 700; }
.testimonial-job { font-size: 13px; color: var(--gray); }
.stars { color: var(--red); margin-bottom: 8px; font-size: 14px; }
.review-source {
    display: flex; align-items: center; gap: 10px; font-weight: 600;
    background: #fff; border: 1px solid var(--border); border-radius: 50px;
    padding: 10px 20px; box-shadow: var(--shadow-sm);
}

@media (max-width: 700px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===== CTA banner ===== */
.cta-banner {
    position: relative;
    background: radial-gradient(circle at 20% 30%, rgba(235,65,50,.25), transparent 45%),
                linear-gradient(120deg,#141414,#2a1f1c);
    color: #fff;
    text-align: center;
    padding: 64px 20px;
    overflow: hidden;
}
.cta-banner h6 { letter-spacing: 2px; color: var(--green); font-size: 14px; text-transform: uppercase; }
.cta-banner h2 { font-size: 38px; margin: 10px 0 18px; }
.cta-banner .divider-line { margin: 18px auto; }
.cta-banner .btn-primary { animation: pulse 2.2s infinite; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(235,65,50,.30); }
    50% { box-shadow: 0 8px 30px rgba(235,65,50,.6); }
}

.cta-strip {
    background: linear-gradient(120deg,#fdeeec,#eef6f4);
    padding: 54px 20px;
    text-align: center;
    border-radius: var(--radius);
    margin: 0 24px 0;
}
.cta-strip h3 { font-size: 22px; color: var(--navy); }
.cta-strip .phone { font-size: 30px; font-weight: 800; margin: 10px 0 18px; color: var(--red); }

/* ===== Why choose us ===== */
.why-choose { padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 34px; }
.why-card {
    text-align: center; padding: 32px 24px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: transparent; }
.why-card .icon-circle {
    width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
    background: linear-gradient(135deg, #fff0ee, #ffe1dc);
    display: flex; align-items: center; justify-content: center;
}
.why-card img { width: 42px; margin: 0; }
.why-card h5 { font-size: 17px; }
.why-card p { font-size: 14px; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== About page ===== */
.about-block { padding: 70px 0; }
.about-flex { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.about-flex img { flex: 1 1 320px; max-width: 420px; border-radius: var(--radius); }
.about-flex .about-text { flex: 2 1 420px; }
.about-text p { font-size: 15px; }

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 54px 0 80px;
}
.gallery-grid a {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--radius-sm); aspect-ratio: 1/1;
    box-shadow: var(--shadow-sm);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; background: rgba(0,0,0,0); opacity: 0; transition: var(--transition);
}
.gallery-grid a:hover::after { opacity: 1; background: rgba(20,20,20,.45); }
.gallery-grid a:hover img { transform: scale(1.12); }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }

/* lightbox */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(10,10,10,.9);
    z-index: 999; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute; top: 24px; right: 34px; color: #fff; font-size: 34px; cursor: pointer;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.15); }

/* ===== Itinerary day card (shared with admin) ===== */
.itinerary-day { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 14px; position: relative; }
.itinerary-day .day-num {
    position: absolute; top: -12px; left: 16px; background: var(--red); color: #fff;
    font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 50px;
}

/* ===== Auth (login / register) ===== */
.auth-wrap {
    min-height: calc(100vh - 260px);
    display: flex; align-items: center; justify-content: center;
    padding: 60px 20px;
    background: var(--light-bg);
}
.auth-card {
    background: #fff; width: 100%; max-width: 420px;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    padding: 40px 36px;
}
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--gray); font-size: 14px; margin-bottom: 26px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.auth-card input {
    width: 100%; padding: 12px 14px; margin-bottom: 18px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
}
.auth-card input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(235,65,50,.12); }
.auth-card button { width: 100%; justify-content: center; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray); }
.auth-footer a { color: var(--red); font-weight: 600; }
.auth-hint { background: #fff8ec; border: 1px solid #f4e3b6; color: #8a6d1c; font-size: 13px; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 20px; }

/* ===== Contact page ===== */
.contact-block { padding: 70px 0; }
.contact-flex { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-form { flex: 1 1 380px; background: var(--light-bg); padding: 36px; border-radius: var(--radius); }
.contact-form h4 { color: var(--red); }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 16px; margin-bottom: 16px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
    background: #fff; transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(235,65,50,.12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { width: 100%; justify-content: center; }
.contact-form .form-row { display: flex; gap: 16px; }
.contact-form .form-row input, .contact-form .form-row select { flex: 1 1 0; min-width: 0; }

@media (max-width: 560px) {
    .contact-form .form-row { flex-direction: column; gap: 0; }
}
.contact-details { flex: 1 1 320px; }
.contact-details h4 { margin-top: 24px; color: var(--navy); }
.contact-details ul li {
    display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
}
.contact-details i { color: var(--red); margin-top: 3px; }
.map-wrap { margin-top: 14px; }
.map-offline {
    background: linear-gradient(135deg,#eef6f4,#f8f4f1);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
}
.map-offline i { font-size: 40px; color: var(--red); margin-bottom: 14px; }
.map-offline p { font-size: 14px; margin-bottom: 18px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e3f6e3; color: #1a7a1a; border: 1px solid #b6e6b6; }
.alert-error { background: #fdeaea; color: #b32020; border: 1px solid #f3bcbc; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
    position: fixed; bottom: 26px; left: 26px; z-index: 300;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 8px 22px rgba(37,211,102,.45);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== Footer (Kashi theme: maroon, gold & a ghat skyline) ===== */
.site-footer {
    position: relative; color: #fff;
    background: linear-gradient(180deg, #3a0e0b 0%, #4f130f 45%, #5e1712 100%) no-repeat 0 56px / 100% calc(100% - 56px);
}
.footer-skyline { height: 56px; background: var(--footer-sky-bg, transparent); line-height: 0; }
.footer-skyline svg { width: 100%; height: 100%; display: block; fill: #3a0e0b; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
    padding-top: 44px; padding-bottom: 40px; position: relative;
}
.footer-logo { height: 55px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.site-footer p, .site-footer li { font-size: 14px; color: rgba(255,255,255,.78); }
.site-footer p a { color: #f3dfb4; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-col h3 {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; font-weight: 700; letter-spacing: 0;
    color: #f3dfb4; margin-bottom: 20px; padding-bottom: 10px; position: relative;
}
.footer-col h3::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #f08a24, #d4a24c);
}
.footer-contact { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: #f08a24; margin-top: 5px; width: 16px; text-align: center; flex: 0 0 16px; }
.footer-contact strong { color: #fff; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { display: inline-flex; align-items: baseline; gap: 8px; transition: var(--transition); }
.footer-col ul li a::before { content: '✦'; font-size: 9px; color: #d4a24c; }
.footer-col ul li a:hover { padding-left: 4px; color: #f3dfb4; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212,162,76,.55); color: #f3dfb4;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { background: #d4a24c; border-color: #d4a24c; color: #3a0e0b; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(212,162,76,.25); padding: 18px 0; background: rgba(0,0,0,.18); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom-inner p { margin: 0; }
.footer-bottom-inner a { color: #fff; font-weight: 600; }
.footer-blessing { color: #f0a24c; font-weight: 600; white-space: nowrap; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-skyline { height: 36px; }
    .site-footer { background-position: 0 36px; background-size: 100% calc(100% - 36px); }
    .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed; bottom: 26px; right: 26px; z-index: 300;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--dark); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); }

/* ===== Misc responsive ===== */
@media (max-width: 700px) {
    .hero { padding: 50px 0 70px; }
    .hero-text h1 { font-size: 28px; }
    .cta-banner h2 { font-size: 28px; }
    .cta-strip { margin: 0; border-radius: 0; }
    .services, .tours, .testimonials, .why-choose, .about-block { padding: 56px 0; }
}

/* =========================================================
   Round-trip toggle in the cab search bar
   ========================================================= */
.cab-roundtrip-check {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; color: var(--gray);
    cursor: pointer; user-select: none; white-space: nowrap;
    padding: 7px 12px; border: 1px solid var(--border);
    border-radius: 50px; background: #fff; transition: var(--transition);
}
.cab-roundtrip-check input { accent-color: var(--red); width: 15px; height: 15px; cursor: pointer; margin: 0; }
.cab-roundtrip-check:hover { border-color: var(--red); color: var(--red); }
.cab-roundtrip-check:has(input:checked) { border-color: var(--red); background: #fff3f1; color: var(--red-dark); }

/* =========================================================
   Booking flow: Book Your Ride / Confirmation / My Booking
   ========================================================= */
.ride-wrap { background: var(--light-bg); padding: 40px 16px 60px; min-height: 60vh; }
.ride-card {
    max-width: 760px; margin: 0 auto; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    border: 1px solid var(--border); overflow: hidden;
}

.ride-head {
    background: linear-gradient(120deg, var(--red-dark), var(--red));
    color: #fff; padding: 26px 24px;
    border-bottom: 4px solid var(--green);
}
.ride-head h1 { font-size: 26px; margin: 0 0 4px; color: #fff; }
.ride-head p { margin: 0; font-size: 14px; opacity: .92; }

/* Selected cab strip, carried over from the search page */
.ride-cab-strip {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 16px 24px; background: #fffaf9; border-bottom: 1px solid var(--border);
}
.ride-cab-icon {
    width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px;
    background: #fff; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--red);
}
.ride-cab-info { flex: 1 1 200px; min-width: 0; }
.ride-cab-info h4 { margin: 0 0 3px; font-size: 16px; }
.ride-cab-info p { margin: 0; font-size: 12.5px; color: var(--gray); }
.ride-cab-info .ride-route { color: var(--dark); font-weight: 600; margin-top: 2px; }
.ride-cab-fare { text-align: right; flex: 0 0 auto; }

.ride-form, .ride-summary, .confirm-body { padding: 22px 24px 28px; }

.ride-grid { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 16px; }
.ride-grid.two > .ride-field { flex: 1 1 0; }
.ride-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-width: 0; }
.ride-field label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .3px; }
.ride-field input, .ride-field select {
    width: 100%; padding: 11px 13px; font-family: inherit; font-size: 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; color: var(--dark); transition: var(--transition);
}
.ride-field input:focus, .ride-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.12); }
.ride-field select:disabled { background: #f7f7f7; color: var(--dark); font-weight: 600; cursor: not-allowed; }

.ride-swap {
    flex: 0 0 38px; width: 38px; height: 38px; margin-bottom: 4px;
    border-radius: 50%; border: 1px solid var(--border); background: #fff;
    display: flex; align-items: center; justify-content: center; color: var(--red);
}

.ride-phone { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.ride-phone span { display: flex; align-items: center; padding: 0 11px; background: var(--light-bg); font-size: 13px; font-weight: 700; color: var(--gray); border-right: 1px solid var(--border); }
.ride-phone input { border: none; border-radius: 0; flex: 1 1 auto; min-width: 0; }
.ride-phone:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.12); }

/* Pickup, stops and drop stepper */
.ride-stepper { position: relative; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; background: #fff; }
.ride-stepper-row { display: flex; align-items: center; gap: 10px; }
.ride-stepper-row input { flex: 1 1 auto; min-width: 0; padding: 10px 12px; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.ride-stepper-row input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.12); }
.ride-stepper .dot { flex: 0 0 11px; width: 11px; height: 11px; border-radius: 50%; }
.ride-stepper .dot.pickup { background: var(--green); }
.ride-stepper .dot.drop { background: var(--red); }
.ride-tag { flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: .6px; color: var(--gray); }
.ride-stepper-add { padding: 8px 0 8px 21px; }
.ride-stops { display: flex; flex-direction: column; gap: 8px; padding-left: 21px; }
.ride-stops input { padding: 10px 12px; font-family: inherit; font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius-sm); }
.ride-stops:not(:empty) { margin-bottom: 10px; }

.ride-optional { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; }
.ride-optional summary { padding: 12px 14px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--dark); list-style: none; display: flex; align-items: center; gap: 9px; }
.ride-optional summary::-webkit-details-marker { display: none; }
.ride-optional summary i { color: var(--red); }
.ride-optional summary span { color: var(--gray); font-weight: 400; font-size: 13px; }
.ride-optional summary:hover { color: var(--red); }
.ride-optional input { width: calc(100% - 28px); margin: 0 14px 14px; padding: 10px 12px; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.ride-optional input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.12); }

.ride-submit {
    width: 100%; margin-top: 8px; padding: 14px 20px;
    background: linear-gradient(120deg, var(--red-dark), var(--red)); color: #fff;
    border: none; border-radius: 50px; font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
    transition: var(--transition);
}
.ride-submit:hover { box-shadow: 0 10px 24px rgba(235,65,50,.35); transform: translateY(-1px); }
.ride-back { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--gray); font-weight: 600; }
.ride-back:hover { color: var(--red); }

/* Summary table shared by all three booking pages */
.ride-summary h3, .mb-list-title { font-size: 17px; margin: 24px 0 12px; }
.ride-summary h3:first-child { margin-top: 0; }
.ride-summary-table { width: 100%; border-collapse: collapse; }
.ride-summary-table th, .ride-summary-table td { padding: 11px 12px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.ride-summary-table th { width: 38%; color: var(--gray); font-weight: 600; background: #fcfbfa; }
.ride-summary-table tr:last-child th, .ride-summary-table tr:last-child td { border-bottom: none; }
.muted { color: var(--gray); font-weight: 400; font-size: 13px; }

.totals-box { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.totals-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 14px; border-bottom: 1px solid var(--border); }
.totals-box .row:last-child { border-bottom: none; }
.totals-box .row.grand { background: #fffaf9; font-weight: 800; font-size: 16px; color: var(--red-dark); }

.ride-payment-note {
    display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0;
    padding: 14px 16px; border-radius: var(--radius-sm);
    background: #f2fbf4; border: 1px solid #cdeed6; font-size: 13.5px; line-height: 1.55;
}
.ride-payment-note i { color: #1a7a1a; font-size: 16px; margin-top: 2px; }

/* ---------------------------------------------------------------------
   Email OTP gate on the booking form
   ---------------------------------------------------------------------
   The last thing between a customer and a confirmed booking, so it is
   deliberately the most prominent block on the summary screen: tinted
   panel, clear heading, and one obvious action.
   --------------------------------------------------------------------- */
.otp-gate {
    margin: 22px 0 0; padding: 20px; border-radius: var(--radius);
    background: #fffaf8; border: 1.5px solid #f3d3cb;
}
.otp-gate-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.otp-gate-head > i {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    background: var(--red); color: #fff; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
}
.otp-gate-head h4 { margin: 0 0 4px; font-size: 16px; color: var(--navy); font-weight: 700; }
.otp-gate-head p { margin: 0; font-size: 13.5px; color: var(--gray); line-height: 1.55; }
.otp-gate-head strong { color: var(--dark); word-break: break-all; }

.otp-notice { margin: 0 0 16px; font-size: 13.5px; }

.otp-label {
    display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600;
    color: var(--navy); text-transform: uppercase; letter-spacing: .4px;
}

/* Monospace and wide tracking so a 6-digit code is easy to read back
   while typing, and so a mistyped digit is obvious. */
.otp-input {
    width: 100%; padding: 15px 16px; margin: 0 0 6px;
    font-family: Consolas, Menlo, "Courier New", monospace;
    font-size: 26px; font-weight: 700; letter-spacing: 10px; text-align: center;
    color: var(--dark); background: #fff;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    transition: var(--transition);
}
.otp-input:focus {
    outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(235,65,50,.12);
}
.otp-input::placeholder { color: #d8cdc7; letter-spacing: 10px; }

.otp-expiry { margin: 0 0 16px; font-size: 13px; color: var(--gray); text-align: center; }
.otp-expiry i { margin-right: 4px; }
.otp-expiry.is-expired { color: var(--red); font-weight: 600; }

.otp-resend-form { margin: 14px 0 0; text-align: center; }
.otp-resend {
    background: none; border: none; padding: 6px 2px; cursor: pointer;
    font-family: inherit; font-size: 13.5px; color: var(--gray);
}
.otp-resend strong { color: var(--red); text-decoration: underline; }
.otp-resend:disabled { cursor: not-allowed; opacity: .55; }
.otp-resend:disabled strong { text-decoration: none; }
.otp-resend-wait { display: block; font-size: 13px; color: var(--gray); }

/* The required-email hint under the booking form's email field */
.req-note { font-weight: 400; font-size: 12px; color: var(--gray); text-transform: none; letter-spacing: 0; }
.field-hint {
    display: flex; gap: 8px; align-items: flex-start;
    margin: 8px 0 0; font-size: 12.5px; color: var(--gray); line-height: 1.5;
}
.field-hint i { color: var(--red); margin-top: 2px; }

@media (max-width: 560px) {
    .otp-input { font-size: 22px; letter-spacing: 7px; }
    .otp-input::placeholder { letter-spacing: 7px; }
    .otp-gate { padding: 16px; }
}

/* Status badges, same palette as the admin panel */
.badge { display: inline-block; padding: 4px 11px; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; text-transform: capitalize; }
.badge-active { background: #e3f6e3; color: #1a7a1a; }
.badge-inactive { background: #f1f1f1; color: #777; }
.badge-info { background: #fdf2f1; color: var(--navy); }
.badge-warning { background: #ffe4de; color: var(--red); }
.badge-danger { background: #fdeaea; color: #b32020; }

/* Booking confirmed */
.confirm-hero { text-align: center; padding: 34px 24px 26px; background: linear-gradient(180deg, #f2fbf4, #fff); border-bottom: 1px solid var(--border); }
.confirm-tick {
    width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
    background: #1a7a1a; color: #fff; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(26,122,26,.28);
}
.confirm-hero h1 { font-size: 25px; margin: 0 0 6px; color: #1a7a1a; }
.confirm-hero p { margin: 0 0 18px; color: var(--gray); font-size: 14px; }
.confirm-ref { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 26px; border: 1px dashed var(--red); border-radius: var(--radius-sm); background: #fff; }
.confirm-ref span { font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--gray); text-transform: uppercase; }
.confirm-ref strong { font-size: 20px; color: var(--red-dark); letter-spacing: .5px; }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.confirm-actions .btn-primary, .confirm-actions .btn-outline { font-size: 14px; }

/* My Booking */
.lookup-form { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; background: #fcfbfa; }
.lookup-form h3 { margin: 0 0 14px; font-size: 17px; }

.mb-status {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
    padding: 18px 20px; border-radius: var(--radius-sm);
    background: #fffaf9; border: 1px solid var(--border); border-left: 5px solid var(--green);
}
.mb-status.is-cancelled { border-left-color: #b32020; background: #fdf4f4; }
.mb-status-label { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gray); }
.mb-status h2 { font-size: 21px; margin: 4px 0 4px; }
.mb-status p { margin: 0; font-size: 13.5px; color: var(--gray); }
.mb-status-amount { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.mb-status-amount span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gray); }
.mb-status-amount strong { font-size: 21px; color: var(--red-dark); }

.mb-track { list-style: none; display: flex; gap: 6px; margin: 22px 0 0; padding: 0; overflow-x: auto; }
.mb-track li { flex: 1 1 0; min-width: 96px; text-align: center; position: relative; padding-top: 30px; }
.mb-track li::before { content: ''; position: absolute; top: 11px; left: 0; right: 0; height: 3px; background: var(--border); }
.mb-track li:first-child::before { left: 50%; }
.mb-track li:last-child::before { right: 50%; }
.mb-track li.done::before, .mb-track li.current::before { background: var(--green); }
.mb-track-dot {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 25px; height: 25px; border-radius: 50%; background: #fff;
    border: 3px solid var(--border); color: transparent; font-size: 10px;
    display: flex; align-items: center; justify-content: center;
}
.mb-track li.done .mb-track-dot { background: var(--green); border-color: var(--green); color: #fff; }
.mb-track li.current .mb-track-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(235,65,50,.16); }
.mb-track-text { font-size: 11.5px; font-weight: 600; color: var(--gray); line-height: 1.35; display: block; }
.mb-track li.done .mb-track-text, .mb-track li.current .mb-track-text { color: var(--dark); }

.mb-assigned { margin-top: 24px; border: 1px solid #cdeed6; border-radius: var(--radius-sm); padding: 18px; background: #f7fdf9; }
.mb-assigned h3 { margin: 0 0 14px; font-size: 17px; color: #1a7a1a; display: flex; align-items: center; gap: 9px; }
.mb-assigned-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mb-assigned-card { display: flex; gap: 13px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.mb-avatar {
    width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; overflow: hidden;
    background: var(--light-bg); display: flex; align-items: center; justify-content: center;
    color: var(--red); font-size: 20px;
}
.mb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mb-assigned-card > div:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mb-assigned-label { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gray); }
.mb-assigned-card strong { font-size: 15.5px; }
.mb-phone { font-size: 13.5px; font-weight: 700; color: var(--red-dark); }
.mb-phone:hover { text-decoration: underline; }
.mb-reg { font-size: 13.5px; font-weight: 800; letter-spacing: 1px; color: var(--red); background: #fff; border: 1.5px solid var(--red); border-radius: 4px; padding: 1px 7px; align-self: flex-start; }

.mb-list { display: flex; flex-direction: column; gap: 10px; }
.mb-list-item {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; color: var(--dark); transition: var(--transition);
}
.mb-list-item:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.mb-list-item > div:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mb-list-item strong { font-size: 15px; color: var(--red-dark); }
.mb-list-item span { font-size: 13px; color: var(--gray); }
.mb-list-meta { display: flex; align-items: center; gap: 10px; }

.mb-updates { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.mb-updates li { position: relative; padding: 0 0 16px 20px; font-size: 13.5px; line-height: 1.55; }
.mb-updates li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.mb-updates li:first-child::before { background: var(--red); }
.mb-updates-time { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--gray); margin-bottom: 2px; }

/* ---------------------------------------------------------------------
   My Bookings — the automatic list for a signed-in customer
   ---------------------------------------------------------------------
   Cards rather than a table. A booking has eleven fields the customer
   wants (route, dates, vehicle, three money figures, two statuses), and
   eleven columns cannot be read on a phone — which is where most of
   this traffic is. Each card carries its own labels, so it stays
   readable at any width without a horizontal scroll.
   --------------------------------------------------------------------- */

/* Counts strip */
.mb-counts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 20px;
}
.mb-count {
    text-align: center; padding: 14px 8px; border-radius: var(--radius-sm);
    background: var(--light-bg); border: 1px solid var(--border);
}
.mb-count span { display: block; font-size: 24px; font-weight: 800; color: var(--red-dark); line-height: 1.1; }
.mb-count label { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--gray); }

/* Status filter tabs */
.mb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.mb-filter {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 50px; text-decoration: none;
    font-size: 13.5px; font-weight: 600; color: var(--gray);
    background: #fff; border: 1px solid var(--border); transition: var(--transition);
}
.mb-filter:hover { border-color: var(--red-light); color: var(--red-dark); }
.mb-filter span {
    display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 50px;
    background: var(--light-bg); font-size: 11.5px; font-weight: 700; text-align: center;
}
.mb-filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.mb-filter.is-active span { background: rgba(255,255,255,.25); color: #fff; }

/* Date range */
.mb-daterange {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
    padding: 14px; margin: 0 0 18px;
    background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.mb-daterange label { font-size: 12px; font-weight: 600; color: var(--gray); display: flex; flex-direction: column; gap: 5px; }
.mb-daterange input {
    padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 13.5px;
}
.mb-result-count { margin: 0 0 14px; font-size: 13px; color: var(--gray); }

/* Booking cards */
.mb-cards { display: flex; flex-direction: column; gap: 14px; }
.mb-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; background: #fff; transition: var(--transition);
}
.mb-card:hover { border-color: var(--red-light); box-shadow: var(--shadow-sm); }
.mb-card-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.mb-card-head > div:first-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mb-card-no { font-size: 16px; font-weight: 800; color: var(--red-dark); text-decoration: none; letter-spacing: .3px; }
.mb-card-no:hover { text-decoration: underline; }
.mb-card-booked { font-size: 12px; color: var(--gray); white-space: nowrap; }
.mb-card-title { font-size: 14.5px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }

.mb-card-grid, .mb-card-money {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    padding-top: 12px; border-top: 1px dashed var(--border);
}
.mb-card-grid label, .mb-card-money label {
    display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: var(--gray); margin-bottom: 3px;
}
.mb-card-grid span { font-size: 13.5px; color: var(--dark); line-height: 1.45; word-break: break-word; }
.mb-card-money span { font-size: 14.5px; font-weight: 700; color: var(--dark); }
.mb-card-money .is-due span { color: var(--red); }
.totals-box .row.is-due { color: var(--red); font-weight: 700; }

.mb-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn-sm { padding: 7px 13px !important; font-size: 12.5px !important; }
.btn-outline.is-danger { color: #b32020; border-color: #e8bcbc; }
.btn-outline.is-danger:hover { background: #fdeaea; border-color: #b32020; }

/* Pagination */
.mb-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0 0; }
.mb-pagination a, .mb-pagination span {
    padding: 8px 13px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600;
    text-decoration: none; border: 1px solid var(--border); color: var(--gray); background: #fff;
}
.mb-pagination a:hover { border-color: var(--red); color: var(--red-dark); }
.mb-pagination .is-current { background: var(--red); border-color: var(--red); color: #fff; }
.mb-pagination .is-disabled { opacity: .4; }

/* Empty states and the sign-in prompt */
.mb-empty, .mb-signin-prompt {
    text-align: center; padding: 38px 20px;
    border: 1.5px dashed var(--border); border-radius: var(--radius); background: #fcfbfa;
}
.mb-signin-prompt { margin-top: 20px; border-style: solid; background: #fffaf8; border-color: #f3d3cb; }
.mb-empty > i, .mb-signin-prompt > i {
    font-size: 34px; color: var(--red-light); margin-bottom: 12px; display: block;
}
.mb-empty h3, .mb-signin-prompt h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.mb-empty p, .mb-signin-prompt p {
    margin: 0 auto 18px; font-size: 14px; color: var(--gray); line-height: 1.6; max-width: 440px;
}
.mb-empty .ride-submit { display: inline-flex; width: auto; }
.mb-signin-prompt .confirm-actions { justify-content: center; }

/* Cancellation / refund panel */
.mb-cancel-box {
    margin: 20px 0 0; padding: 16px;
    border: 1px solid #f0cfcf; border-radius: var(--radius); background: #fdf6f6;
}
.mb-cancel-box h3 { margin: 0 0 12px; font-size: 16px; color: #b32020; }
.mb-cancel-box h3 i { margin-right: 6px; }
.mb-cancel-box .ride-summary-table th { background: transparent; }

/* The cancel page's destructive submit, and its confirmation tick box.
   A deliberate check rather than a bare button: cancelling is
   irreversible, so it should take one more conscious action. */
.ride-submit.is-danger { background: #b32020; }
.ride-submit.is-danger:hover { background: #8f1a1a; }
.cancel-confirm {
    display: flex; gap: 11px; align-items: flex-start; margin: 18px 0 0;
    padding: 14px; border-radius: var(--radius-sm);
    background: #fdf6f6; border: 1px solid #f0cfcf;
    font-size: 13.5px; line-height: 1.55; cursor: pointer;
}
.cancel-confirm input { margin-top: 2px; width: 17px; height: 17px; flex: 0 0 auto; cursor: pointer; }

@media (max-width: 760px) {
    .mb-counts { grid-template-columns: repeat(2, 1fr); }
    .mb-card-grid, .mb-card-money { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .mb-card-grid, .mb-card-money { grid-template-columns: 1fr; }
    .mb-daterange { flex-direction: column; align-items: stretch; }
}

@media (max-width: 700px) {
    .ride-wrap { padding: 22px 12px 44px; }
    .ride-head { padding: 20px 18px; }
    .ride-head h1 { font-size: 22px; }
    .ride-form, .ride-summary, .confirm-body, .ride-cab-strip { padding-left: 16px; padding-right: 16px; }
    .ride-grid { flex-wrap: wrap; }
    .ride-grid .ride-field { flex: 1 1 100%; }
    .ride-swap { display: none; }
    .ride-cab-fare { text-align: left; width: 100%; }
    .ride-summary-table th { width: 42%; }
    .mb-assigned-grid { grid-template-columns: 1fr; }
    .mb-status-amount { text-align: left; align-items: flex-start; }
    .confirm-actions { flex-direction: column; }
    .confirm-actions a { justify-content: center; }
}


/* ---------------------------------------------------------------------
   Payment page — UPI QR, bank transfer, cash
   --------------------------------------------------------------------- */
.pay-amount {
    text-align: center; padding: 22px 18px; margin: 0 0 20px;
    background: #fffaf8; border: 1.5px solid #f3d3cb; border-radius: var(--radius);
}
.pay-amount-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--gray); }
.pay-amount-value { display: block; margin: 6px 0 0; font-size: 34px; font-weight: 800; color: var(--red-dark); line-height: 1.1; }
.pay-amount-note { display: block; margin-top: 7px; font-size: 13px; color: var(--gray); }

/* Method tabs */
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.pay-method-tab {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 11px 16px; border-radius: var(--radius-sm); font-family: inherit;
    font-size: 13.5px; font-weight: 600; color: var(--gray);
    background: #fff; border: 1.5px solid var(--border); transition: var(--transition);
}
.pay-method-tab:hover { border-color: var(--red-light); color: var(--red-dark); }
.pay-method-tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Panels */
.pay-panel { display: none; }
.pay-panel.is-active { display: block; }
.pay-step { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.pay-step strong { color: var(--red-dark); }

/* UPI */
.pay-upi-grid { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; margin: 0 0 20px; }
.pay-qr { text-align: center; }
.pay-qr > div { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); line-height: 0; }
.pay-qr img, .pay-qr canvas { display: block; }
.pay-qr-amount { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--red-dark); }
.pay-upi-btn { margin: 0; }

.pay-detail-list { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.pay-detail-list.is-wide { grid-template-columns: 170px 1fr; }
.pay-detail-list dt { padding: 10px 12px; background: #fcfbfa; font-size: 12.5px; font-weight: 600; color: var(--gray); }
.pay-detail-list dd { padding: 10px 12px; margin: 0; background: #fff; font-size: 13.5px; color: var(--dark); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-detail-list code { font-family: Consolas, Menlo, monospace; font-size: 13.5px; font-weight: 700; letter-spacing: .3px; color: var(--dark); word-break: break-all; }

.pay-copy {
    padding: 3px 9px; border-radius: 4px; cursor: pointer; font-family: inherit;
    font-size: 11.5px; font-weight: 700; color: var(--red-dark);
    background: #fff5f3; border: 1px solid #f0cfc8;
}
.pay-copy:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* UTR form */
.pay-claim-form { margin: 16px 0 0; padding: 16px; background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pay-claim-form label { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.pay-claim-form label:not(:first-child) { margin-top: 14px; }
.pay-claim-form input[type="text"] { width: 100%; padding: 11px 13px; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.pay-claim-form input[type="text"]:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,65,50,.10); }
.pay-claim-form .ride-submit { margin-top: 16px; }

/* Claim status */
.pay-claim-status {
    display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px;
    padding: 16px; border-radius: var(--radius);
    background: #eef4ff; border: 1.5px solid #c5d8f5;
}
.pay-claim-status.is-rejected { background: #fdf4f4; border-color: #f0cfcf; }
.pay-claim-status > i { flex: 0 0 auto; font-size: 20px; color: #1a4b8f; margin-top: 2px; }
.pay-claim-status.is-rejected > i { color: #b32020; }
.pay-claim-status strong { display: block; margin-bottom: 5px; font-size: 15px; color: var(--navy); }
.pay-claim-status p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; }
.pay-claim-status p:last-child { margin-bottom: 0; }

.pay-secure-note { margin: 20px 0 0; padding: 12px 14px; background: #f7f7f7; border-left: 3px solid #cccccc; font-size: 12.5px; color: var(--gray); line-height: 1.6; }
.pay-secure-note i { color: #1a7a1a; margin-right: 5px; }

/* The PAY NOW call to action on the booking detail page */
.pay-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    flex-wrap: wrap; margin: 18px 0 0; padding: 16px 18px;
    background: #eef4ff; border: 1.5px solid #c5d8f5; border-radius: var(--radius);
}
.pay-cta strong { display: block; font-size: 15px; color: #1a4b8f; margin-bottom: 3px; }
.pay-cta span { font-size: 13.5px; color: var(--gray); }
.pay-cta .ride-submit { width: auto; margin: 0; flex: 0 0 auto; }

@media (max-width: 680px) {
    .pay-upi-grid { grid-template-columns: 1fr; gap: 18px; }
    .pay-detail-list, .pay-detail-list.is-wide { grid-template-columns: 1fr; }
    .pay-detail-list dt { padding-bottom: 2px; background: #fff; }
    .pay-amount-value { font-size: 28px; }
    .pay-cta { flex-direction: column; align-items: stretch; }
    .pay-cta .ride-submit { width: 100%; }
}

/* The "not yet confirmed" notice above the payment methods. Deliberately
   prominent: a customer who believes they are confirmed when they are not
   will turn up expecting a cab. */
.pay-verify-notice {
    display: flex; gap: 13px; align-items: flex-start; margin: 0 0 18px;
    padding: 14px 16px; border-radius: var(--radius-sm);
    background: #fff8ec; border: 1.5px solid #f3d9a8;
    font-size: 13.5px; line-height: 1.6; color: #6d4c20;
}
.pay-verify-notice > i { flex: 0 0 auto; font-size: 17px; color: #b07400; margin-top: 2px; }
.pay-verify-notice strong { color: #7a4e00; }
