/* ===================================================================
   Jay Balaji Logistic — Design System
   Palette derived from the company logo:
   magenta temple · orange flame · red wordmark · green dot
=================================================================== */

:root {
    /* Brand */
    --jb-magenta: #cb2356;
    --jb-magenta-dark: #a31a44;
    --jb-orange: #ed7d2b;
    --jb-orange-dark: #d06614;
    --jb-red: #d6232a;
    --jb-red-dark: #b41a20;
    --jb-green: #01a07c;

    /* Semantic aliases (legacy Bootstrap classes are re-pointed to these) */
    --primary: var(--jb-magenta);
    --secondary: var(--jb-orange);
    --cta: var(--jb-red);

    /* Neutrals */
    --dark: #1a1430;
    --heading: #1a1430;
    --body: #5b5b6b;
    --light: #fff6f1;
    --light-2: #f4f4f8;
    --white: #ffffff;
    --border: #e8e8f0;

    /* Type */
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 26px;
    --radius-pill: 50rem;

    /* Shadow */
    --shadow-sm: 0 6px 18px rgba(26, 20, 48, .06);
    --shadow: 0 16px 40px rgba(26, 20, 48, .10);
    --shadow-lg: 0 30px 70px rgba(26, 20, 48, .16);
    --shadow-brand: 0 14px 32px rgba(203, 35, 86, .32);

    --transition: .35s ease;
    --gradient: linear-gradient(120deg, var(--jb-magenta) 0%, var(--jb-red) 100%);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--body);
    font-size: 16px;
    line-height: 1.75;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
p { margin-bottom: 1rem; }

.fw-medium { font-weight: 600 !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--jb-orange) !important; }
.text-cta { color: var(--cta) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--jb-orange) !important; }
.bg-success { background-color: var(--jb-green) !important; }
.bg-light { background-color: var(--light-2) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-brand-gradient { background: var(--gradient) !important; }

::selection { background: var(--jb-magenta); color: #fff; }

/* ---------- Section helpers ---------- */
.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }

.section-head { margin-bottom: 3rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--jb-orange);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--jb-orange);
}
.text-center .eyebrow::before { display: none; }

.section-title {
    font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.7rem);
    margin-bottom: 1rem;
}
.section-text { font-size: 1.05rem; max-width: 640px; }
.text-center .section-text { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: .8rem 1.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn:focus { box-shadow: none; }

.btn.btn-primary,
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn.btn-primary:hover,
.btn-primary:hover {
    background: var(--jb-magenta-dark);
    border-color: var(--jb-magenta-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-brand);
}

.btn.btn-secondary,
.btn-secondary {
    background: var(--jb-orange);
    border-color: var(--jb-orange);
    color: #fff;
}
.btn.btn-secondary:hover,
.btn-secondary:hover {
    background: var(--jb-orange-dark);
    border-color: var(--jb-orange-dark);
    color: #fff;
    transform: translateY(-3px);
}

.btn-cta {
    background: var(--cta);
    border-color: var(--cta);
    color: #fff;
}
.btn-cta:hover {
    background: var(--jb-red-dark);
    border-color: var(--jb-red-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(214, 35, 42, .32);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* ---------- Spinner ---------- */
#spinner {
    opacity: 0; visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible; opacity: 1;
}
#spinner .spinner-grow { color: var(--primary) !important; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 38px; bottom: 38px; z-index: 99;
    display: none;
    width: 48px; height: 48px;
    border-radius: 50% !important;
    background: var(--gradient);
    color: #fff;
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
}
.back-to-top:hover { color: #fff; transform: translateY(-4px); }

/* ===================================================================
   Navbar
=================================================================== */
.site-navbar {
    background: #fff;
    box-shadow: 0 4px 24px rgba(26, 20, 48, .08);
    padding: 0;
    border-top: 4px solid var(--primary);
    top: 0;
    transition: box-shadow var(--transition);
}
.site-navbar.navbar-scrolled { box-shadow: 0 10px 34px rgba(26, 20, 48, .14); }
.site-navbar .navbar-brand { padding: .55rem 0; }
.site-navbar .navbar-brand img { height: 62px; width: auto; }

.site-navbar .navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .94rem;
    color: var(--heading);
    padding: 1.9rem .2rem;
    margin: 0 .9rem;
    position: relative;
}
.site-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 1.35rem;
    width: 0; height: 3px;
    border-radius: 3px;
    background: var(--gradient);
    transition: var(--transition);
}
.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active { color: var(--primary); }
.site-navbar .navbar-nav .nav-link:hover::after,
.site-navbar .navbar-nav .nav-link.active::after { width: 100%; }

.navbar-phone {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
    white-space: nowrap;
}
.navbar-phone i {
    color: var(--primary);
    margin-right: .5rem;
}
.navbar-toggler { border: none; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .site-navbar .navbar-nav { border-top: 1px solid var(--border); padding: .5rem 0; }
    .site-navbar .navbar-nav .nav-link { padding: .6rem .2rem; margin: 0; }
    .site-navbar .navbar-nav .nav-link::after { display: none; }
    .navbar-cta-wrap { padding: .8rem 0 1rem; }
}

/* ===================================================================
   Hero carousel
=================================================================== */
.header-carousel .owl-carousel-item { position: relative; }
.header-carousel .owl-carousel-item img {
    width: 100%; height: 86vh; min-height: 520px; max-height: 760px;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    background: linear-gradient(100deg, rgba(26, 20, 48, .92) 0%, rgba(163, 26, 68, .72) 48%, rgba(26, 20, 48, .25) 100%);
}
.hero-overlay .eyebrow { color: #ffd9b0; }
.hero-overlay .eyebrow::before { background: var(--jb-orange); }
.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.hero-title span { color: #ffb877; }
.hero-text {
    color: rgba(255, 255, 255, .9);
    font-size: 1.12rem;
    max-width: 560px;
    margin-bottom: 2rem;
}

.header-carousel .owl-nav {
    position: absolute; top: 50%; right: 3%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 6px 0; width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%; font-size: 20px;
    transition: var(--transition);
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary); border-color: var(--primary);
}
@media (max-width: 767.98px) {
    .header-carousel .owl-carousel-item img { height: 80vh; }
    .header-carousel .owl-nav { display: none; }
}

/* Hero quick-track strip */
.hero-track {
    margin-top: -55px;
    position: relative;
    z-index: 5;
}
.hero-track-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem 1.8rem;
    border-top: 4px solid var(--jb-orange);
}

/* ===================================================================
   Page header (inner pages)
=================================================================== */
.page-header {
    position: relative;
    padding: 7rem 0 5rem;
    background: linear-gradient(rgba(26, 20, 48, .86), rgba(163, 26, 68, .82)),
                url(../img/banner/breadcurmb.jpg) center center/cover no-repeat;
    text-align: center;
}
.page-header h1 {
    color: #fff;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    margin-bottom: .6rem;
}
.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: rgba(255, 255, 255, .85); font-weight: 500; }
.page-header .breadcrumb-item a:hover { color: #ffb877; }
.page-header .breadcrumb-item.active { color: #ffb877; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

/* ===================================================================
   Cards & components
=================================================================== */
/* Service card */
.service-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-item::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 100%; height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-item:hover::before { transform: scaleX(1); }
.service-icon {
    width: 74px; height: 74px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    color: #fff;
    background: var(--gradient);
    margin-bottom: 1.4rem;
    transition: var(--transition);
}
.service-item:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-item h4, .service-item h5 { margin-bottom: .7rem; }
.service-item .read-more {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-heading); font-weight: 600;
    color: var(--primary); margin-top: .4rem;
}
.service-item .read-more i { transition: var(--transition); }
.service-item .read-more:hover i { transform: translateX(5px); }

/* Feature item */
.feature-item {
    display: flex;
    gap: 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    background: var(--gradient);
}
.feature-item.feature-orange .feature-icon { background: linear-gradient(120deg, var(--jb-orange), var(--jb-orange-dark)); }
.feature-item.feature-green .feature-icon { background: linear-gradient(120deg, var(--jb-green), #017a5e); }
.feature-item h5 { margin-bottom: .4rem; }
.feature-item p { margin: 0; }

/* Stat / counter */
.stat-card {
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
}
.stat-card.stat-magenta { background: linear-gradient(135deg, var(--jb-magenta), var(--jb-magenta-dark)); }
.stat-card.stat-orange { background: linear-gradient(135deg, var(--jb-orange), var(--jb-orange-dark)); }
.stat-card.stat-green { background: linear-gradient(135deg, var(--jb-green), #017a5e); }
.stat-card.stat-dark { background: linear-gradient(135deg, #2b2350, var(--dark)); }
.stat-card i { font-size: 2.2rem; margin-bottom: .6rem; opacity: .92; }
.stat-card .stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.6rem;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.stat-card .stat-label { margin: .6rem 0 0; font-size: .98rem; opacity: .92; }

/* Highlight contact block */
.assist-block { display: flex; align-items: center; gap: 1rem; }
.assist-block .assist-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient); color: #fff; font-size: 1.4rem;
    flex-shrink: 0;
}
.assist-block .assist-num { color: var(--primary); margin: 0; font-size: 1.5rem; }

/* Rounded image frame */
.img-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.img-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.img-badge {
    position: absolute;
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-brand);
}
.img-badge .num { font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.img-badge .lbl { font-size: .82rem; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .7rem;
}
.check-list li i {
    position: absolute; left: 0; top: .35rem;
    color: var(--jb-green);
}

/* Step / process */
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
    color: #fff; background: var(--gradient);
}

/* ===================================================================
   CTA band
=================================================================== */
.cta-band {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: "\f0d1";
    font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; right: 4%; top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    color: rgba(255, 255, 255, .08);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }

/* ===================================================================
   Forms
=================================================================== */
.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .8rem 1.1rem;
    font-size: .98rem;
    background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(203, 35, 86, .14);
}
textarea.form-control { min-height: 130px; }

.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.4rem;
    border-top: 4px solid var(--jb-orange);
}

/* ===================================================================
   Footer
=================================================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient);
}
.site-footer .footer-top { padding: 4.5rem 0 2.5rem; }
.site-footer h5 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: .7rem;
}
.site-footer h5::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; border-radius: 3px;
    background: var(--jb-orange);
}
.site-footer .footer-brand img { height: 66px; margin-bottom: 1.1rem; }
.site-footer p { color: rgba(255, 255, 255, .72); }
.site-footer .footer-contact li {
    display: flex; gap: .8rem; margin-bottom: .8rem; list-style: none;
}
.site-footer .footer-contact { padding: 0; margin: 0; }
.site-footer .footer-contact i { color: var(--jb-orange); margin-top: .3rem; }
.site-footer .footer-links { padding: 0; margin: 0; list-style: none; }
.site-footer .footer-links a {
    display: inline-flex; align-items: center; gap: .55rem;
    color: rgba(255, 255, 255, .72);
    padding: .32rem 0;
}
.site-footer .footer-links a::before {
    content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    color: var(--jb-orange);
}
.site-footer .footer-links a:hover { color: #fff; padding-left: .35rem; }
.site-footer .footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.site-footer .footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.site-footer .footer-social a:hover { background: var(--gradient); transform: translateY(-3px); }
.site-footer .newsletter-form { position: relative; }
.site-footer .newsletter-form input {
    border-radius: var(--radius-pill);
    padding-right: 7rem;
}
.site-footer .newsletter-form button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    padding: .5rem 1.3rem;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.4rem 0;
    font-size: .9rem;
}
.site-footer .footer-bottom a { color: #ffb877; }
.site-footer .footer-bottom a:hover { color: #fff; }

/* ===================================================================
   Tracking page
=================================================================== */
.track-form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.4rem;
    border-top: 4px solid var(--jb-orange);
}
.track-input {
    height: 58px;
    border-radius: var(--radius-pill);
    padding-left: 1.5rem;
}
.track-result-field {
    background: var(--light-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    height: 50px;
}
.track-result-field:focus { background: #fff; }
.track-field-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: .35rem;
}

/* Progress bar */
.tracking-bar-wrap {
    background: var(--light-2);
    border-radius: var(--radius-pill);
    height: 12px;
    overflow: hidden;
}
.tracking-bar-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-pill);
    background: var(--gradient);
    transition: width .8s ease;
}

/* Timeline */
.timeline { position: relative; padding-left: 0; }
.timeline-item {
    position: relative;
    padding: 0 0 1.6rem 2.4rem;
    border-left: 2px solid var(--border);
}
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute; left: -9px; top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 0 4px rgba(203, 35, 86, .15);
}
.timeline-status {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
}
.timeline-date { font-size: .9rem; color: var(--body); }

/* Leaflet map */
#vehicleMap {
    height: 420px;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}
.map-unavailable {
    background: var(--light-2);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.4rem;
    text-align: center;
    color: var(--body);
}
.map-unavailable i { font-size: 2.2rem; color: var(--jb-orange); margin-bottom: .6rem; }
.map-unavailable strong { display: block; color: var(--heading); font-family: var(--font-heading); }

/* Live badge */
.live-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(1, 160, 124, .12);
    color: var(--jb-green);
    font-family: var(--font-heading); font-weight: 600;
    font-size: .76rem; letter-spacing: .09em;
    padding: .38rem .85rem; border-radius: var(--radius-pill);
}
.live-badge .live-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--jb-green);
    animation: livePulse 1.6s infinite;
}
.live-badge.is-offline { background: rgba(91, 91, 107, .14); color: var(--body); }
.live-badge.is-offline .live-dot { background: var(--body); animation: none; }
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(1, 160, 124, .55); }
    70% { box-shadow: 0 0 0 9px rgba(1, 160, 124, 0); }
    100% { box-shadow: 0 0 0 0 rgba(1, 160, 124, 0); }
}

/* Vehicle info chips */
.vinfo {
    display: flex; align-items: center; gap: .7rem;
    background: var(--light-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .8rem .9rem;
    height: 100%;
}
.vinfo-icon {
    flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient); color: #fff; font-size: .95rem;
}
.vinfo-body { display: flex; flex-direction: column; min-width: 0; }
.vinfo-label {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .05em;
    color: var(--body); font-weight: 600;
}
.vinfo-value {
    font-family: var(--font-heading); font-weight: 600;
    color: var(--heading); font-size: .96rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vinfo-value.is-moving { color: var(--jb-green); }
.vinfo-value.is-idle { color: var(--jb-orange); }

/* Custom truck map marker */
.truck-div-icon { background: none; border: none; }
.truck-pin {
    width: 38px; height: 38px;
    background: var(--gradient);
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .4);
}
.truck-pin i { transform: rotate(45deg); color: #fff; font-size: .92rem; }
.map-popup { font-family: var(--font-body); font-size: .9rem; line-height: 1.5; }
.map-popup .popup-addr { color: var(--body); }

/* Map address bar */
.map-address {
    display: flex; align-items: flex-start; gap: .65rem;
    background: var(--light-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--jb-orange);
    border-radius: var(--radius-sm);
    padding: .8rem 1rem;
    font-size: .95rem;
    color: var(--heading);
    line-height: 1.5;
}
.map-address i { color: var(--jb-orange); margin-top: .22rem; flex-shrink: 0; }

/* Small button + loading spin */
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .fa-sync-alt { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================================
   Misc
=================================================================== */
.client-logo {
    height: 88px; width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: var(--transition);
}
.testimonial-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
}
.testimonial-item:hover .client-logo { filter: grayscale(0); opacity: 1; }

.error-page { padding: 6rem 0; text-align: center; }
.error-code {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(6rem, 4rem + 12vw, 12rem);
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reveal on scroll (fallback if WOW not present) */
.no-wow .wow { visibility: visible !important; }
