:root {
    --primary: #db7200;
    --primary-dark: #0d65d9;
    --primary-light: #6ea8fe;
    --secondary: #ffffff;
    --dark: #3124a3;
    /* Complementary shades for depth */
    --dark-deep: #1e3a6d;
    --dark-glow: #4a7cc7;
    /*    --dark: #872f3a;*/
    --dark2: #5942fb;
    --dark3: #0a1931;
    --cardheader: #f9fcfe;
    --cardBorder: #b3cefe;
    --light-bg: #f0f4ff;
    --white: #ffffff;
    --text-muted-custom: #a8b5ce;
    --border-light: #d8e3f5;
    --royal-dark: #121E31; /* Deepest Midnight */
    --royal-mid: #1A3052; /* Rich Navy */
    --royal-light: #395F99; /* Your Base Color */
    --royal-glow: #4B7ECF; /* Highlight accent */
    --pulse-animation-theme: pulse-theme 1.2s infinite;
    --pulse-animation-green: pulse-theme-green 1.2s infinite;
    --radha: #61b720;
    --renukakrt: #937333;
    --amrita: #004cbb;
    --rims: #562e1f;
}

/*html {
    zoom: 90%;
}*/

* {
    box-sizing: border-box;
}

body {
    /*    font-family: 'DM Sans', sans-serif;*/
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

/*h1, h2, h3, .display-font {
    font-family: 'Playfair Display', serif;
}*/

/* ─── TOP BAR ─── */
.top-bar {
    /* Deepened from var(--primary) #db7200 (3.3:1 with white text) to meet
       WCAG AA (4.5:1) — see the contrast pass in this file's PERF/A11y notes. */
    background: #0067fb;
    padding: 7px 0;   /* was 1px - a taller strip (also holds the rotating offer bar, whose items are 22px high) */
    font-size: 0.8rem;
    position: relative;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        /* opacity:0.92 removed — it dropped white-on-#b35900 to 4.35:1 (below AA).
           Solid #fff on #b35900 is 4.83:1. */
    }

        .top-bar a:hover {
            text-decoration: underline;
        }

    .top-bar .divider {
        color: rgba(255,255,255,0.4);
        margin: 0 12px;
    }

/* ─── NAVBAR ─── */
.navbar {
    background: var(--dark) !important;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    display: flex; /* center image */
    align-items: center;
    justify-content: center;
    background: #ffffff00;
}

    /* Image fit inside box */
    .navbar-logo-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* show full logo */
    }

.navbar-logo-text .brand-name {
    /*    font-family: 'Playfair Display', serif;*/
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}


.navbar-logo-text .brand-namex {
    /*    font-family: 'Playfair Display', serif;*/
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.navbar-logo-text .brand-sub {
    font-size: 0.68rem;
    color: rgb(255, 255, 255, 0.71);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.3;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 8px !important;
    border-radius: 6px;
    transition: all 0.25s;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #fff !important;
        font-weight: 600;
        border-bottom: 2px solid rgba(255,255,255,0.8);
        background: #ffffff11;
        padding-bottom: 2px;
    }

.nav-btn-signin {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff !important;
    border-radius: 6px;
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    transition: all 0.25s;
}

    .nav-btn-signin:hover {
        background: rgba(255,255,255,0.1) !important;
        border-color: rgba(255,255,255,0.6) !important;
    }

.nav-btn-register {
    background: #b35c00 !important; /* was var(--primary) #db7200: white text only 3.27:1; 4.72:1 now */
    border: 1px solid #b35c00;
    color: #fff !important;
    border-radius: 6px;
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    /* colour is NOT transitioned: with transition: all the white label faded in from the navbar link colour and was measured at 3.88:1 mid-fade */
    transition: background-color 0.25s, border-color 0.25s;
}

    .nav-btn-register:hover {
        background: var(--primary-dark) !important;
        border-color: var(--primary-dark) !important;
    }

/* `.navbar-nav .nav-link` (above) out-ranks `.nav-btn-register`, so its rgba(255,255,255,.85) colour and `transition: all` won and the label
   was only ~3.9:1 on the button. Same-or-higher specificity here keeps the label pure white (4.72:1). */
.navbar-nav .nav-link.nav-btn-register {
    color: #fff !important;
    transition: background-color 0.25s, border-color 0.25s;
}

.navbar-toggler {
    border: none;
    color: #fff;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }


.user-name {
    background-color: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
}
/* ─── HERO ─── */
.hero-section {
    /* background: linear-gradient(135deg, #36b3ac 0%, #36b3ac 60%, #1877f2 100%); */
    min-height: 10vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 30px 0 30px;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(24,119,242,0.25) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(66,176,255,0.15) 0%, transparent 70%);
        pointer-events: none;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24,119,242,0.15);
    border: 1px solid #27dc03;
    color: var(--dark2);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
}

    .hero-badge .dot {
        width: 6px;
        height: 6px;
        background: var(--secondary);
        border-radius: 50%;
        animation: pulse-dot 1.5s infinite;
    }

.hero-bg {
    overflow: hidden;
}

    /* The hero area no longer has a dark gradient: it sits on the plain page background
   (#f4f7f9). Everything inside it that was written for a dark backdrop (white / translucent-
   white text, glass button, pale dots) is re-coloured here for a light one. Scoped to
   .hero-bg because the same classes are reused by the mobile home, which keeps its own dark
   background. Text greys follow the ones the page already uses on light sections. */

    /* Quick Routes heading (search-panel.css sets #818cf8 !important, tuned for dark). */
    .hero-bg .quick-title {
        color: #4f46e5 !important;
    }

    /* "Offers for you" strip (app-offer-teaser.css). The cards themselves have their own fills. */
    .hero-bg .rb-offers-title {
        color: #0f172a;
        text-shadow: none;
    }

    .hero-bg .rb-view-more {
        color: #2563eb;
    }

        .hero-bg .rb-view-more:hover {
            color: #1d4ed8;
        }

    .hero-bg .rb-counter-badge {
        background: rgba(15, 23, 42, 0.06);
        color: #334155;
        border-color: rgba(15, 23, 42, 0.14);
    }

    .hero-bg .rb-dot:not(.active) {
        background: rgba(15, 23, 42, 0.22);
    }

    /* Hero banner. The blurred glow blobs were tuned to glow on the dark gradient (.3 / .1 / .4);
   on a light page that reads as strong blue smudges - one right behind the subtitle - so
   keep them as a faint tint. */
    .hero-bg .hp-blob-1,
    .hero-bg .hp-blob-2,
    .hero-bg .hp-blob-3 {
        opacity: 0.1;
    }

    .hero-bg .hp-hero-badge {
        background: rgba(15, 23, 42, 0.05);
        border-color: rgba(15, 23, 42, 0.14);
        color: #334155;
    }

    .hero-bg .hp-hero-title {
        color: #0f172a;
    }

    .hero-bg .hp-title-accent {
        background-image: linear-gradient(90deg, #0284c7 0%, #0d9488 100%); /* the light-blue/teal pair is too pale on light */
    }

    .hero-bg .hp-hero-sub {
        color: #475569;
    }

    /* "View Bus Schedule": a translucent-white glass button becomes a white outlined one. */
    .hero-bg .hp-cta-sched {
        background: #fff;
        color: #1e293b;
        border-color: #cbd5e1;
    }

        .hero-bg .hp-cta-sched::before {
            background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.12), transparent);
        }

        .hero-bg .hp-cta-sched:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
            color: #0f172a;
        }

    .hero-bg .hp-sched-hint {
        color: #57606f;
    }

    .hero-bg .hp-sched-dep i {
        color: #64748b;
    }

    .hero-bg .hp-sched-sep {
        background: #cbd5e1;
    }

    /* "Your Journey Awaits" (.hp-section-sub was lightened for the dark gradient). */
    .hero-bg .hp-bus-anim .hp-section-sub {
        color: #57606f;
    }


@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 2.2rem);
    color: #37b388;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-subtitle {
    color: rgba(65, 65, 65, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-avatars {
    display: flex;
}

    .hero-avatars img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 2px solid var(--dark);
        margin-left: -10px;
        object-fit: cover;
    }

        .hero-avatars img:first-child {
            margin-left: 0;
        }

.hero-stats-text strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-stats-text span {
    color: rgba(255,255,255,0.5);
    font-size: 0.76rem;
}

.hero-cta-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(24,119,242,0.4);
}

    .hero-cta-btn:hover {
        background: var(--primary-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(24,119,242,0.5);
    }


.modern-bus-card {
    border-radius: 15px;
    display: flex;
    border: 1px solid #f2f2f2;
    transition: transform .3s ease, box-shadow .3s ease;
    background: #fff;
}

    .modern-bus-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
/* IMAGE LEFT */
.bus-image-wrapper {
    width: 40%;
    position: relative;
    overflow: hidden;
}

/* IMAGE FILL PERFECT */
.bus-img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BADGE ON IMAGE */
.bus-image-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff0000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 2;
}

.bus-image-badge-comming-soon {
    background: #49ff00;
    color: #0034ff;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 2;
}

/* CONTENT RIGHT */
.bus-details-wrapper {
    width: 70%;
}

/* TEXT COLOR */
.text-navy {
    color: #1c2b4a;
}

/* BADGE STYLE */
.bus-badge {
    background: #e9e9ff;
    color: #235fbe;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.header-badge {
    border: 2px dashed rgba(24,119,242,0.4);
    color: #128ce8;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

/* PRICE */
.bus-price {
    font-size: 1rem;
    color: #1c2b4a;
}

/* BUTTON */
.reserve-btn {
    background: #212529;
    font-weight: 500;
    padding: 10px 20px;
}

/* MOBILE STACK */
@media (max-width: 768px) {
    .modern-bus-card {
        flex-direction: column;
    }

    .bus-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .bus-details-wrapper {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}



.feature-box {
    width: auto;
    padding: 5px;
    background: #f4f6fb;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #1c2b4a;
    transition: 0.2s ease;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

    .feature-box img {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }

    .feature-box:hover {
        background: #e9f0ff;
        transform: translateY(-2px);
    }

/* ───────── BOOKING SECTION ───────── */

#booking-section {
    background: var(--light-bg);
    padding: 70px 0;
}

.booking-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
    overflow: hidden;
}

.booking-card-header {
    background: var(--dark);
    padding: 28px 36px;
    color: #fff;
}

    .booking-card-header h3 {
        margin: 0;
        font-size: 1.4rem;
    }

    .booking-card-header p {
        margin: 4px 0 0;
        color: rgba(255,255,255,0.6);
        font-size: 0.85rem;
    }

.booking-card-body {
    padding: 36px;
}


/* ───────── FLEX ROW LAYOUT ───────── */

.booking-item {
    display: flex;
    align-items: end;
    gap: 16px;
    flex-wrap: wrap;
}


/* ───────── ROUTE SELECTOR ───────── */

.route-selector {
    display: flex;
    gap: 12px;
    flex: 2;
    min-width: 320px;
}

.route-btn {
    flex: 1;
    height: 60px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

    .route-btn:hover,
    .route-btn.active {
        border-color: var(--primary);
        background: rgba(24,119,242,0.06);
    }

.route-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-letter {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark);
}

.route-sub {
    font-size: 0.75rem;
    color: var(--text-muted-custom);
}


/* ───────── DATE FIELD ───────── */

#journeyDate {
    flex: 1;
    min-width: 170px;
    height: 60px;
    padding: 0 14px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    /*    font-family: 'DM Sans', sans-serif;*/
}

    #journeyDate:focus {
        border-color: var(--primary);
        outline: none;
    }


/* ───────── SEARCH BUTTON ───────── */

.search-btn {
    flex: 1;
    min-width: 170px;
    height: 60px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .search-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(24,119,242,0.35);
    }


/* ───────── INFO STRIP ───────── */

.route-info-strip {
    background: #eef4ff;
    border: 1px solid #c2d8fb;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 18px;
    font-size: 0.82rem;
    color: #1a4a9e;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ───────── RESPONSIVE ───────── */

@media (max-width: 992px) {

    .booking-item {
        flex-direction: column;
        align-items: stretch;
    }

    .route-selector {
        flex-direction: column;
    }

    /* FORCE SAME HEIGHT */
    #journeyDate,
    .search-btn {
        width: 100%;
        height: 60px !important;
        min-height: 60px !important;
        box-sizing: border-box;
    }

    /* Remove padding conflict for button */
    .search-btn {
        padding: 0 !important;
    }

    /* Fix date input browser style */
    #journeyDate {
        padding: 0 14px !important;
        line-height: 60px;
    }
}



/* ─── FEATURES SECTION ─── */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted-custom);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}



/* ─── BUS GALLERY SECTION ─── */
.gallery-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    height: 240px;
}

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .gallery-card:hover img {
        transform: scale(1.05);
    }

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 20px 16px 14px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

    .gallery-card-overlay span {
        font-size: 0.75rem;
        opacity: 0.75;
        display: block;
    }

/* ─── INFO STRIPS ─── */
.info-strips {
    margin: 0px;
    background: var(--dark);
    padding: 22px 0;
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

    .info-strip-item i {
        color: var(--secondary);
        font-size: 1.1rem;
    }

/* ─── BOARDING SECTION ─── */
.boarding-section {
    padding: 80px 0;
    background: #fff;
}

.boarding-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .boarding-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--primary);
    }

    .boarding-card h5 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 6px;
    }

.boarding-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(24,119,242,0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.boarding-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .boarding-list li {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.88rem;
        color: #555;
        display: flex;
        gap: 8px;
    }

        .boarding-list li:last-child {
            border-bottom: none;
        }

        .boarding-list li strong {
            color: var(--dark);
        }

/* ─── FARE TABLE ─── */
.fare-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.fare-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

    .fare-table table {
        margin: 0;
    }

    .fare-table thead th {
        background: var(--dark);
        color: #fff;
        padding: 16px 24px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        border: none;
    }

    .fare-table tbody td {
        padding: 14px 24px;
        font-size: 0.88rem;
        border-color: var(--border-light);
        color: #555;
    }

    .fare-table tbody tr:hover td {
        background: #fafafa;
    }

.fare-note {
    background: #eef4ff;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 14px 20px;
    font-size: 0.85rem;
    color: #1a4a9e;
    margin-top: 20px;
}

/* ─── TRAVEL INFO SECTION ─── */
.travel-info-section {
    padding: 80px 0;
    background: #fff;
}

.info-card {
    background: var(--light-bg);
    border-radius: 14px;
    padding: 26px;
    border: 1px solid var(--border-light);
    height: 100%;
}

    .info-card h6 {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .info-card h6 i {
            width: 30px;
            height: 30px;
            background: var(--primary);
            color: #fff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

    .info-card ul {
        padding-left: 0;
        list-style: none;
        margin: 0;
    }

        .info-card ul li {
            font-size: 0.85rem;
            color: #666;
            padding: 6px 0;
            border-bottom: 1px solid var(--border-light);
            padding-left: 16px;
            position: relative;
        }

            .info-card ul li:last-child {
                border-bottom: none;
            }

            .info-card ul li::before {
                content: '→';
                position: absolute;
                left: 0;
                color: var(--primary);
                font-size: 0.75rem;
            }

/* ─── FAQ SECTION ─── */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}


/* ─── FOOTER ─── */
footer {
    background: var(--dark);
    padding: 60px 0 30px;
}

.footer-logo img {
    height: 42px;
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

footer h6 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

        .footer-links li a {
            color: rgba(255,255,255,0.55);
            text-decoration: none;
            font-size: 0.87rem;
            transition: color 0.2s;
        }

    .footer-links ul li a:hover {
        color: var(--secondary);
    }

footer .nav-link {
    color: #adb5bd;
    transition: 0.3s ease;
}

    footer .nav-link:hover {
        color: #ffffff;
        padding-left: 6px;
    }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.72); /* was 0.55 (4.32:1 on #3124a3); about 6.4:1 now */
    font-size: 0.87rem;
}

    .footer-contact-item i {
        color: var(--secondary);
        font-size: 1rem;
        margin-top: 2px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgb(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

/* ─── GPS BADGE PULSING ─── */
.gps-dot {
    width: 8px;
    height: 8px;
    background: #42b0ff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-gps 1.5s infinite;
}

@keyframes pulse-gps {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(66,176,255,0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(66,176,255,0);
    }
}

/* ─── TOP BAR MOBILE ─── */
@media (max-width: 767px) {
    .top-bar {
        display: block !important;
    }

        .top-bar .d-flex.justify-content-between {
            flex-direction: column;
            gap: 4px;
            align-items: flex-start !important;
        }

        .top-bar .d-none {
            display: block !important;
        }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 20px 0 10px;
    }

    .bus-badge-gps, .bus-badge-seats {
        display: none;
    }

    .hero-stats {
        gap: 16px;
    }

    .booking-card-body {
        padding: 24px;
    }

    .route-btn .route-text {
        font-size: 0.78rem;
    }

    .route-btn .route-sub {
        font-size: 0.68rem;
    }
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

    .launch-badge i {
        font-size: 14px;
    }

    .launch-badge small {
        font-size: 11px;
        opacity: 0.9;
        font-weight: 500;
    }

.launch-badge {
    animation: softPulse 2.5s infinite;
}

@keyframes softPulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.facility-box {
    background: #f4f6f9;
    border-radius: 8px;
    padding: 8px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: 0.2s;
}

    .facility-box img {
        width: 26px;
        height: 26px;
        margin-bottom: 2px;
    }

    .facility-box:hover {
        background: #e9f2ff;
        transform: translateY(-2px);
    }



.why-choose-us {
    background: #ffffff;
}

.feature-card {
    padding: 24px;
    border-radius: 20px; /* Modern UI loves softer, larger corners */
    /* 1. Glassmorphism Core */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    /* 2. Thin, elegant border */
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smoother bounce effect */
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .feature-card h5 {
        font-weight: 600;
        margin-bottom: 8px;
        color: #1c2b4a;
    }

    .feature-card p {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
    }

    .feature-card:hover {
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        transform: translateY(-3px);
    }


.about-modern {
    background: #f8fafc;
}

.section-tag {
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 22px;
    text-align: left;
    transition: all 0.25s ease;
    border: 1px solid #eef2f7;
    height: 100%;
}

    .modern-card h5 {
        font-weight: 600;
        margin-bottom: 10px;
    }

    .modern-card p {
        font-size: 14px;
        color: #6c757d;
        margin-bottom: 0;
    }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #3a8dff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.footer-logo img {
    transition: 0.3s ease;
}

    .footer-logo img:hover {
        transform: scale(1.05);
    }

.quick-routes-box {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================================
   MODERN GLOWING QUICK ROUTES UI
   ========================================================================== */

/*.quick-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #4f46e5;
    margin-bottom: 12px;
    position: relative;
}

    .quick-title::before {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #6366f1;
        box-shadow: 0 0 10px #6366f1, 0 0 4px #818cf8;
        animation: quickDotPulse 2s ease-in-out infinite alternate;
    }

@keyframes quickDotPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.25);
        opacity: 1;
    }
}*/

/* Route Grid Layout */
/*.route-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 14px;
    width: 100%;
}*/

/* Small screens: 2 equal columns instead of shrink-to-content flex pills.
   !important because .route-grid { display:flex } is also declared in
   site.css + search-panel.css, which load after this file.
   minmax(0,1fr) — plain 1fr lets a nowrap tile widen its own track so the
   columns come out unequal. */
/*@media (max-width: 575.98px) {
    .route-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

        .route-grid .route-tile {
            display: flex !important;
            width: 100% !important;
            min-width: 0 !important;
            margin: 0 !important;
            justify-content: flex-start !important;
            white-space: nowrap;
            overflow: hidden;
        }

            .route-grid .route-tile .route-text {
                overflow: hidden;
                text-overflow: ellipsis;
                min-width: 0;
            }
}*/

/* Base Route Tile - Glassmorphic Pill with Neon Glowing Border */
/*.route-tile {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 13px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1e1b4b 0%, #172554 50%, #0f172a 100%);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
    white-space: nowrap;*/
/* Glowing Border Effect */
/*border: 1px solid rgba(129, 140, 248, 0.45);
    box-shadow: 0 0 12px -2px rgba(99, 102, 241, 0.35), 0 4px 12px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}*/

/* Hover & Focus Interaction */
/*.route-tile:hover {
        transform: translateY(-2.5px) scale(1.02);
        background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 50%, #1e3a8a 100%);
        border-color: rgba(165, 180, 252, 0.9);
        box-shadow: 0 0 22px rgba(129, 140, 248, 0.65), 0 0 35px rgba(99, 102, 241, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(165, 180, 252, 0.25);
    }

    .route-tile:active {
        transform: translateY(0) scale(0.98);
    }*/

/* Glowing Dots for Quick Route Tiles */
/*.route-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}*/

/* Green Glowing Dot */
/*.route-dot.green-dot,
    .green-route .route-dot {
        background: #10b981 !important;
        box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16, 185, 129, 0.8), 0 0 2px #ffffff !important;
        animation: greenPulseDot 2s ease-in-out infinite alternate;
    }*/

/* Blue Glowing Dot */
/*.route-dot.blue-dot,
    .blue-route .route-dot,
    .red-route .route-dot {
        background: #38bdf8 !important;
        box-shadow: 0 0 8px #38bdf8, 0 0 16px rgba(56, 189, 248, 0.8), 0 0 2px #ffffff !important;
        animation: bluePulseDot 2s ease-in-out infinite alternate;
    }

@keyframes greenPulseDot {
    0% {
        transform: scale(0.85);
        opacity: 0.75;
    }

    100% {
        transform: scale(1.25);
        opacity: 1;
        box-shadow: 0 0 12px #34d399, 0 0 22px rgba(52, 211, 153, 0.95), 0 0 4px #ffffff;
    }
}

@keyframes bluePulseDot {
    0% {
        transform: scale(0.85);
        opacity: 0.75;
    }

    100% {
        transform: scale(1.25);
        opacity: 1;
        box-shadow: 0 0 12px #60a5fa, 0 0 22px rgba(96, 165, 250, 0.95), 0 0 4px #ffffff;
    }
}*/

/* Route Tile variant with Green Accent Glow */
/*.route-tile.green-route {
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 0 14px -1px rgba(16, 185, 129, 0.3), 0 4px 12px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

    .route-tile.green-route:hover {
        border-color: rgba(110, 231, 183, 0.95);
        box-shadow: 0 0 22px rgba(16, 185, 129, 0.65), 0 0 35px rgba(5, 150, 105, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(52, 211, 153, 0.3);
    }*/

/* Route Tile variant with Blue Accent Glow */
/*.route-tile.blue-route,
.route-tile.red-route {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 14px -1px rgba(56, 189, 248, 0.3), 0 4px 12px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

    .route-tile.blue-route:hover,
    .route-tile.red-route:hover {
        border-color: rgba(96, 165, 250, 0.95);
        box-shadow: 0 0 22px rgba(56, 189, 248, 0.65), 0 0 35px rgba(37, 99, 235, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(56, 189, 248, 0.3);
    }*/

/* Route Text & Directional Arrow */
/*.route-text {
    font-size: 0.72rem;
    color: #ffffff;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.route-arrow {
    color: #93c5fd;
    font-size: 0.78rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.route-tile:hover .route-arrow {
    transform: translateX(2px);
    color: #67e8f9;
}*/


/*index*/

.hp-hero {
    position: relative;
    padding: 60px 0 52px;
    display: flex;
    align-items: center;
}

.hp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: hp-float 8s ease-in-out infinite;
}

.hp-blob-1 {
    width: 320px;
    height: 320px;
    background: #3600FF;
    opacity: .3;
    top: -80px;
    right: -80px;
    animation-delay: 0s;
}

.hp-blob-2 {
    width: 420px;
    height: 420px;
    background: #59C8FC;
    opacity: .1;
    bottom: -100px;
    left: -60px;
    animation-delay: 3s;
}

.hp-blob-3 {
    width: 260px;
    height: 260px;
    background: #007DFF;
    opacity: 0.4;
    top: 40%;
    left: 30%;
    animation-delay: 1.5s;
}

@keyframes hp-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.04);
    }
}

.hp-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

/* Badge */
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.hp-live-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: hp-pulse-dot 1.6s infinite;
}

@keyframes hp-pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(1.5);
    }
}

/* Title */
.hp-hero-title {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.14;
    margin-bottom: 16px;
    letter-spacing: -.6px;
}

.hp-title-accent {
    background: linear-gradient(90deg, #38bdf8 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-hero-sub {
    color: rgba(255,255,255,.56);
    font-size: .97rem;
    line-height: 1.72;
    margin-top: 1.33em; /* preserves the spacing this had as an <h4> */
    margin-bottom: 28px;
}



/* Hero responsive */
@media (max-width: 991px) {
    .hp-hero {
        padding: 42px 0 32px;
    }

    .hp-hero-title {
        font-size: 2rem;
    }

    .hp-hero-sub {
        max-width: 100%;
    }
}

/* ─── "Your Journey Awaits" bus animation ──────────────────────────────────
   The cloud puffs (.realistic-cloud::before/::after) sit up to ~25px above
   their element; .cloud-container's overflow:hidden was cropping them at the
   top. Let .bus-scene be the only clip boundary and nudge each cloud down. */
.hp-bus-anim .bus-scene .cloud-container {
    overflow: visible;
    height: 70%;
}

.hp-bus-anim .bus-scene .c1 {
    top: 42px;
}

.hp-bus-anim .bus-scene .c2 {
    top: 66px;
}

.hp-bus-anim .bus-scene .c3 {
    top: 50px;
}

.hp-bus-anim .bus-scene .c4 {
    top: 74px;
}

.hp-bus-anim .bus-scene .c5 {
    top: 58px;
}

.hp-bus-anim .bus-scene .c6 {
    top: 38px;
}

/* Clouds were popping in/out at the loop boundary. Give them a much longer,
   slower drift and fade in at the start / fade out as they slide off the left
   edge so they never disappear abruptly. --cloud-travel / --bus-travel are
   viewport-relative so the bus / clouds fully clear the scene (which is
   full-bleed on desktop) before the loop resets - a fixed px value was too
   short on wide screens, so the bus stopped mid-air and jumped back. */
.hp-bus-anim .bus-scene {
    --cloud-travel: calc(100vw + 260px);
    --bus-travel: calc(50vw + 240px);
    --bus-loop: 13s;
}

    .hp-bus-anim .bus-scene .realistic-cloud {
        animation-name: hpCloudDrift;
        animation-timing-function: linear;
        /* ── Realistic cloud styling ──────────────────────────────────────────
       - soft "lit from above" gradient (bright crown, cooler shaded base)
       - real volumetric shadow via drop-shadow (follows the shape, not a box)
       - gentle blur so edges read as vapour, not hard circles
       - extra irregular lobes added with box-shadow on the ::before puff   */
        background: radial-gradient(ellipse at 50% 15%, #ffffff 0%, #ffffff 52%, #d9e3f0 100%) !important;
        border-radius: 100px !important;
        box-shadow: none !important;
        filter: blur(2px) drop-shadow(0 9px 9px rgba(6, 16, 34, .28));
    }

        .hp-bus-anim .bus-scene .realistic-cloud::before,
        .hp-bus-anim .bus-scene .realistic-cloud::after {
            background: radial-gradient(circle at 42% 32%, #ffffff 0%, #ffffff 58%, #e3ebf5 100%) !important;
            filter: none !important;
        }

    /* two more soft lobes so the crown isn't a symmetrical double-bump
       (offsets scaled to each cloud size below) */
    .hp-bus-anim .bus-scene .cloud-big::before {
        box-shadow: 34px 16px 0 -6px #fdfefe, -22px 18px 0 -9px #f4f8fd;
    }

    .hp-bus-anim .bus-scene .cloud-medium::before {
        box-shadow: 22px 12px 0 -6px #fdfefe, -15px 13px 0 -8px #f4f8fd;
    }

    /* depth layers — distant clouds paler & softer, foreground crisper */
    .hp-bus-anim .bus-scene .cloud-big {
        animation-duration: 48s;
        --cloud-peak: .62;
        filter: blur(3px) drop-shadow(0 8px 10px rgba(6, 16, 34, .22));
    }

    .hp-bus-anim .bus-scene .cloud-medium {
        animation-duration: 36s;
        --cloud-peak: .82;
    }

    .hp-bus-anim .bus-scene .cloud-small {
        animation-duration: 27s;
        --cloud-peak: .96;
        filter: blur(1.3px) drop-shadow(0 6px 7px rgba(6, 16, 34, .3));
    }

@keyframes hpCloudDrift {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    9% {
        opacity: var(--cloud-peak, .85);
    }

    80% {
        opacity: var(--cloud-peak, .85);
    }

    100% {
        transform: translateX(calc(-1 * var(--cloud-travel, 1350px)));
        opacity: 0;
    }
}

/* ─── Realistic roadside trees ──────────────────────────────────────────────
   Layered rounded canopy (lit from above) + tapered trunk + soft cast shadow,
   drifting past like the clouds/road. Depth: near trees bigger & brighter,
   far trees smaller, darker, slower. --tree-scale is carried through the
   keyframe transform so per-tree sizing survives the translateX animation. */
.hp-bus-anim .bus-scene {
    --tree-travel: calc(100vw + 160px);
}

    .hp-bus-anim .bus-scene .tree {
        width: 40px;
        height: 66px;
        /* base was 30px → the trunk sat *on* the road (road is bottom 0-45px).
       46px plants it on the roadside strip, just above the tarmac. */
        bottom: 46px !important;
        z-index: 3; /* in front of the hill, behind the bus (z-index 5) */
        background: none !important;
        clip-path: none !important;
        transform-origin: bottom center;
        animation-name: hpTreeDrift;
        animation-timing-function: linear;
        animation-duration: 11s;
        opacity: 1;
        filter: drop-shadow(0 7px 6px rgba(4, 12, 26, .32));
    }

        /* trunk */
        .hp-bus-anim .bus-scene .tree::after {
            left: 50% !important;
            bottom: 0 !important;
            width: 6px !important;
            height: 22px !important;
            margin-left: -3px;
            background: linear-gradient(90deg, #4a2e1e, #75492c 45%, #4a2e1e) !important;
            border-radius: 2px 2px 1px 1px;
        }

        /* canopy — one rounded mass plus a few offset lobes */
        .hp-bus-anim .bus-scene .tree::before {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 16px;
            width: 40px;
            height: 46px;
            margin-left: -20px;
            border-radius: 46% 46% 42% 42% / 58% 58% 42% 42%;
            background: radial-gradient(ellipse at 36% 24%, #63d17f 0%, #37a659 46%, #1f7d3c 80%, #176c33 100%);
            box-shadow: -14px 11px 0 -6px #2f9d51, 15px 9px 0 -7px #3aad5b, 2px -12px 0 -11px #57cf78;
        }

    .hp-bus-anim .bus-scene .t1 {
        --tree-scale: 1.1;
        z-index: 4;
        animation-delay: -1s;
    }

    .hp-bus-anim .bus-scene .t2 {
        --tree-scale: .7;
        animation-delay: -6s;
        animation-duration: 15s;
        opacity: .9;
        filter: brightness(.78) drop-shadow(0 5px 5px rgba(4, 12, 26, .26));
    }

    .hp-bus-anim .bus-scene .t3 {
        --tree-scale: .9;
        animation-delay: -9s;
    }

@keyframes hpTreeDrift {
    from {
        transform: translateX(0) scale(var(--tree-scale, 1));
    }

    to {
        transform: translateX(calc(-1 * var(--tree-travel, 1400px))) scale(var(--tree-scale, 1));
    }
}

/* ─── Bus drive sequence ──────────────────────────────────────────────────
   enter from off-screen left → smooth stop at centre (~3s idle w/ engine
   bounce) → accelerate → slow for a "speed bump" → accelerate away off the
   right → instant reset while hidden by .bus-scene's overflow, loop forever.
   Tunables: --bus-loop / --bus-travel are set above. */
.hp-bus-anim .bus-scene .bus-body {
    animation: busDrive var(--bus-loop) linear infinite;
    will-change: transform;
}

/* shadow tracks the bus; keep its own width/opacity pulse too (no conflict) */
.hp-bus-anim .bus-scene .bus-shadow {
    animation: shadowPulse 0.3s infinite alternate, busDrive var(--bus-loop) linear infinite;
    will-change: transform;
}

@keyframes busDrive {
    /* entry from the left, decelerating into the stop */
    0% {
        transform: translateX(calc(-1 * var(--bus-travel, 720px)));
        animation-timing-function: cubic-bezier(.16, .72, .24, 1);
    }

    20% {
        transform: translateX(0);
    }
    /* idle at centre — 20%→43% ≈ 3s of a 13s loop — with a soft engine bounce */
    25% {
        transform: translateX(0) translateY(-2px);
    }

    30% {
        transform: translateX(0) translateY(0);
    }

    35% {
        transform: translateX(0) translateY(-2px);
    }

    40% {
        transform: translateX(0) translateY(0);
    }

    43% {
        transform: translateX(0);
        animation-timing-function: cubic-bezier(.55, 0, .85, .35); /* accelerate from rest */
    }
    /* accelerate forward */
    56% {
        transform: translateX(calc(var(--bus-travel, 720px) * .30));
        animation-timing-function: cubic-bezier(.3, .5, .5, 1); /* ease-out into the slow-down */
    }
    /* slow down midway (speed bump) — tight spacing = low speed */
    67% {
        transform: translateX(calc(var(--bus-travel, 720px) * .42));
        animation-timing-function: cubic-bezier(.5, 0, .9, .4); /* accelerate away again */
    }
    /* exit off the right, then hold off-screen until the loop resets */
    88% {
        transform: translateX(var(--bus-travel, 720px));
    }

    100% {
        transform: translateX(var(--bus-travel, 720px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-bus-anim .bus-scene .bus-body,
    .hp-bus-anim .bus-scene .bus-shadow {
        animation: none;
        transform: none;
    }
}

/* ─── Trust Bar ──────────────────────────── */
.hp-trust-bar {
    background: #0f172a;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    overflow: hidden;
}

.hp-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .hp-trust-items {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        animation: marquee-trust 15s linear infinite;
    }
}

@keyframes marquee-trust {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.65);
    font-size: .79rem;
    font-weight: 500;
    white-space: nowrap;
}

    .hp-trust-item i {
        color: #34d399;
        font-size: 1rem;
        flex-shrink: 0;
    }

/* ─── Section Commons ────────────────────── */
.hp-section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #0369a1; /* was #0284c7 (3.6:1 on #e0f2fe) — WCAG AA */
    background: #e0f2fe;
    padding: 4px 13px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.hp-section-title {
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: -.3px;
}

.hp-section-sub {
    color: #64748b;
    font-size: .93rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Contrast: the muted subtitle grey (#64748b) sits below 4.5:1 on both the light
   AND the dark sections it appears on. On light sections darken it; on the dark
   "Your Journey Awaits" section (.hp-bus-anim, inside .hero-bg) lighten it. */
.hp-why .hp-section-sub,
.hp-routes .hp-section-sub,
.hp-faq .hp-section-sub {
    color: #57606f;
}

.hp-bus-anim .hp-section-sub {
    color: #94a3b8; /* readable on the dark hero gradient (~5.8:1) */
}

/* ─── Fleet ──────────────────────────────── */
.hp-fleet {
    background: #f8fafc;
}

/* Skeleton loader */
@keyframes hp-shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

.hp-skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 600px 100%;
    animation: hp-shimmer 1.4s infinite linear;
    border-radius: 8px;
}

.hp-skel-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    display: flex;
    margin-bottom: 24px;
}

.hp-skel-img {
    width: 280px;
    min-height: 210px;
    flex-shrink: 0;
}

.hp-skel-body {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-skel-line {
    height: 14px;
}

    .hp-skel-line.w-50 {
        width: 50%;
    }

    .hp-skel-line.w-70 {
        width: 70%;
    }

    .hp-skel-line.w-90 {
        width: 90%;
    }

@media (max-width: 767px) {
    .hp-skel-card {
        flex-direction: column;
    }

    .hp-skel-img {
        width: 100%;
        min-height: 170px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-MODERN FLEET SECTION & AVAILABLE BUS SERVICES CARDS
═══════════════════════════════════════════════════════════════ */
.hp-fleet-fresh-wrap {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
    padding: 70px 0;
    overflow: hidden;
}

.hp-fresh-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #0284c7;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.08);
}

.hp-fresh-badge-dot {
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
    animation: hp-pulse-glow 2s infinite ease-in-out;
}

@keyframes hp-pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.hp-fresh-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.hp-fresh-sub {
    color: #57606f; /* was #64748b (~4.3:1 on the light gradient) — WCAG AA */
    font-size: 0.98rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fresh Bus Card Container */
.hp-bus-card-fresh {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

    .hp-bus-card-fresh::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        border-radius: 24px 0 0 24px;
        z-index: 5;
    }

.hp-bus-amrita::before {
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
}

.hp-bus-radha::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.hp-bus-renuka::before {
    background: linear-gradient(180deg, #8b5cf6, #6d28d9);
}

.hp-bus-card-fresh:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(14, 165, 233, 0.16);
    border-color: rgba(14, 165, 233, 0.35);
}

/* Media / Image Box */
.hp-bus-media {
    width: 310px;
    min-height: 240px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.hp-bus-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-bus-card-fresh:hover .hp-bus-thumb {
    transform: scale(1.07);
}

.hp-bus-badge-fresh {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.hp-badge-live-fresh {
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.hp-live-pulse-dot {
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    animation: hp-dot-pulse 1.5s infinite ease-in-out;
}

@keyframes hp-dot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.hp-badge-closed-fresh {
    background: rgba(15, 23, 42, 0.85);
    color: #f87171;
    backdrop-filter: blur(8px);
}

.hp-price-badge-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    line-height: 1.15;
    text-align: center;
}

.hp-price-badge-label {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.hp-price-badge-amount {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
}

.hp-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 3;
}

.hp-media-tag {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Bus Content Body */
.hp-bus-content {
    flex: 1;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.hp-bus-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.hp-bus-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hp-bus-name {
    /*    font-family: 'Outfit', 'Inter', sans-serif;*/
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.hp-operator-tag {
    font-size: 0.68rem;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hp-bus-route-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hp-route-chip {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.hp-route-arr {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Price Highlight Card */
.hp-bus-price-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 10px 20px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.hp-price-label {
    display: block;
    font-size: 0.64rem;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1px;
}

.hp-price-amount {
    /*    font-family: 'Outfit', 'Inter', sans-serif;*/
    font-size: 1.6rem;
    font-weight: 900;
    color: #0369a1;
    line-height: 1.1;
}

.hp-price-sub {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
}

.hp-bus-description {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    font-weight: lighter;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Amenities List Fresh */
.hp-bus-amenities-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hp-amenity-fresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

    .hp-amenity-fresh:hover {
        transform: translateY(-2px);
        border-color: #cbd5e1;
        background: #f8fafc;
        color: #0f172a;
    }

    .hp-amenity-fresh img {
        width: 14px;
        height: 14px;
    }

/* Timings & Actions Footer Bar */
.hp-bus-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hp-timings-card {
    flex: 1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    min-width: 0;
}

.hp-timing-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-dep-item .hp-timing-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.hp-ret-item .hp-timing-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f3e8ff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.hp-timing-details {
    display: flex;
    flex-direction: column;
}

.hp-timing-time {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hp-timing-loc {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.hp-timing-connector {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.hp-timing-freq {
    font-size: 0.7rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 8px;
    margin-left: auto;
}

/* Action Buttons */
.hp-bus-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hp-btn-schedule {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .hp-btn-schedule:hover {
        background: #f8fafc;
        color: #0f172a;
        border-color: #94a3b8;
        transform: translateY(-2px);
    }

.hp-btn-book {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff !important;
    border-radius: 14px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

    .hp-btn-book:hover {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
    }

    .hp-btn-book i {
        transition: transform 0.2s ease;
    }

    .hp-btn-book:hover i {
        transform: translateX(4px);
    }

/* Mobile Responsive */
@media (max-width: 991px) {
    .hp-bus-card-fresh {
        flex-direction: column;
    }

    .hp-bus-media {
        width: 100%;
        min-height: 210px;
    }

    .hp-bus-card-fresh::before {
        width: 100%;
        height: 6px;
        bottom: auto;
        border-radius: 24px 24px 0 0;
    }

    .hp-bus-bottom-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-bus-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hp-btn-book {
        flex: 1;
        justify-content: center;
    }
}

/* ─── Why Choose ─────────────────────────── */
.hp-why {
    background: #f0f9ff;
}

.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hp-why-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #e0f2fe;
    transition: all .22s;
}

    .hp-why-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,.08);
        transform: translateY(-3px);
        border-color: #bae6fd;
    }

.hp-why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 13px;
}

.hp-why-card h5,
.hp-why-card h3 {
    font-weight: 700;
    font-size: .92rem;
    color: #0f172a;
    margin-bottom: 6px;
    margin-top: 0;
}

.hp-why-card p {
    font-size: .8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .hp-why-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ─── Routes ─────────────────────────────── */
.hp-routes {
    background: linear-gradient(170deg, #060d1f 0%, #0d1b38 55%, #091426 100%);
    position: relative;
    overflow: hidden;
}

    .hp-routes::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(56,189,248,.06) 1px, transparent 1px);
        background-size: 30px 30px;
        pointer-events: none;
    }

    .hp-routes .hp-section-tag {
        background: rgba(56,189,248,.12);
        color: #38bdf8;
    }

    .hp-routes .hp-section-title {
        color: #fff;
    }

    .hp-routes .hp-section-sub {
        color: rgba(255,255,255,.45);
    }

/* Zone legend */
.hp-zone-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hp-zone-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hp-zone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-zone-south {
    background: rgba(14,165,233,.15);
    color: #38bdf8;
    border: 1px solid rgba(14,165,233,.3);
}

    .hp-zone-south .hp-zone-dot {
        background: #0ea5e9;
    }

.hp-zone-mid {
    background: rgba(20,184,166,.15);
    color: #2dd4bf;
    border: 1px solid rgba(20,184,166,.3);
}

    .hp-zone-mid .hp-zone-dot {
        background: #14b8a6;
    }

.hp-zone-north {
    background: rgba(139,92,246,.15);
    color: #c4b5fd;
    border: 1px solid rgba(139,92,246,.3);
}

    .hp-zone-north .hp-zone-dot {
        background: #8b5cf6;
    }

/* Route container & step override */
.hp-routes .route-container {
    min-width: 560px;
    max-width: 880px;
    counter-reset: hp-station;
}

.hp-routes .route-step {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 18px !important;
    padding: 18px 20px 16px 20px !important;
    color: #fff !important;
    margin-bottom: 28px !important;
    counter-increment: hp-station;
    position: relative;
    width: 42%;
    transition: transform .22s, background .22s, border-color .22s;
    overflow: visible;
}

    .hp-routes .route-step::before {
        content: counter(hp-station, decimal-leading-zero);
        position: absolute;
        top: -11px;
        right: 14px;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 1px;
        color: rgba(255,255,255,.25);
        background: transparent;
        pointer-events: none;
    }

    .hp-routes .route-step:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,.09) !important;
    }

/* Zone accent via border-top */
.hp-routes .route-container > :nth-child(2),
.hp-routes .route-container > :nth-child(3) {
    border-top: 3px solid #0ea5e9 !important;
}

.hp-routes .route-container > :nth-child(4),
.hp-routes .route-container > :nth-child(5),
.hp-routes .route-container > :nth-child(6),
.hp-routes .route-container > :nth-child(7) {
    border-top: 3px solid #14b8a6 !important;
}

.hp-routes .route-container > :nth-child(8),
.hp-routes .route-container > :nth-child(9) {
    border-top: 3px solid #8b5cf6 !important;
}

/* SVG curve & dots */
.hp-routes #curve {
    stroke-width: 2 !important;
    stroke-dasharray: 10,7 !important;
}

.hp-routes .svg-connector .dot {
    r: 5 !important;
    fill: rgba(255,255,255,.15) !important;
    stroke: rgba(255,255,255,.4) !important;
    stroke-width: 1.5 !important;
}

/* Text overrides */
.hp-routes .route-title {
    color: #fff !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
}

.hp-routes .route-sub {
    font-size: 0.67rem !important;
    color: rgba(255,255,255,.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.hp-routes .fs-sm {
    color: rgba(255,255,255,.52) !important;
    font-size: 0.76rem !important;
    line-height: 1.55 !important;
}
/* KM distance chip */
.hp-routes .route-km {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 7px;
}

.hp-routes .route-container > :nth-child(2) .route-km,
.hp-routes .route-container > :nth-child(3) .route-km {
    background: rgba(14,165,233,.18);
    color: #7dd3fc;
}

.hp-routes .route-container > :nth-child(4) .route-km,
.hp-routes .route-container > :nth-child(5) .route-km,
.hp-routes .route-container > :nth-child(6) .route-km,
.hp-routes .route-container > :nth-child(7) .route-km {
    background: rgba(20,184,166,.18);
    color: #5eead4;
}

.hp-routes .route-container > :nth-child(8) .route-km,
.hp-routes .route-container > :nth-child(9) .route-km {
    background: rgba(139,92,246,.18);
    color: #c4b5fd;
}

/* ─── FAQ ────────────────────────────────── */
.hp-faq {
    background: #f8fafc;
}

    .hp-faq .accordion-button {
        font-weight: 600;
        font-size: .88rem;
        color: #0f172a;
    }

        .hp-faq .accordion-button:not(.collapsed) {
            background: #eff6ff;
            color: #1d4ed8;
            box-shadow: none;
        }

        .hp-faq .accordion-button:focus {
            box-shadow: none;
        }

    .hp-faq .accordion-item {
        border: 1px solid #e2e8f0;
        border-radius: 12px !important;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .hp-faq .accordion-body {
        font-size: .83rem;
        color: #475569;
        line-height: 1.65;
    }

/* ─── Hero CTAs ─────────────────────────── */
.hp-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hp-cta-book {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(14,165,233,.45);
    transition: transform .22s ease, box-shadow .22s ease;
    white-space: nowrap;
    letter-spacing: .15px;
}

    .hp-cta-book:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(14,165,233,.58);
        color: #fff;
    }

.hp-cta-track {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    border-radius: 50px;
    background: linear-gradient(90deg, #10b981, #059669);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(16,185,129,.45);
    transition: transform .22s ease, box-shadow .22s ease;
    white-space: nowrap;
    letter-spacing: .15px;
}

    .hp-cta-track:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(16,185,129,.6);
        color: #fff;
    }

.hp-cta-sched {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255,255,255,.09);
    color: rgba(255,255,255,.9);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1.5px solid rgba(255,255,255,.22);
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
    white-space: nowrap;
    letter-spacing: .15px;
}

    .hp-cta-sched::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 55%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
        animation: hp-sched-sheen 3.6s ease-in-out infinite;
    }

@keyframes hp-sched-sheen {
    0% {
        left: -100%;
    }

    60% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

.hp-cta-sched:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-3px);
    color: #fff;
}

.hp-sched-arr {
    font-size: 0.76rem;
    transition: transform .2s ease;
}

.hp-cta-sched:hover .hp-sched-arr {
    transform: translateX(4px);
}

.hp-sched-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.32);
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 16px;
    letter-spacing: .35px;
}

.hp-sched-dep {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .hp-sched-dep i {
        color: rgba(255,255,255,.45);
        font-size: 0.72rem;
    }

.hp-sched-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
}

/* ─── About / Dark CTA ───────────────────── */
.hp-about {
    background: linear-gradient(140deg, #060d1f 0%, #0f2347 50%, #071626 100%);
    position: relative;
    overflow: hidden;
}

    .hp-about::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(29,78,216,.18) 0%, transparent 70%);
        top: -200px;
        right: -150px;
        pointer-events: none;
    }

.hp-about-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 26px 22px;
    text-align: center;
    transition: all .24s;
    height: 100%;
}

    .hp-about-card:hover {
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.2);
        transform: translateY(-4px);
    }

.hp-about-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(56,189,248,.14);
    border: 1px solid rgba(56,189,248,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #38bdf8;
    margin: 0 auto 16px;
}

.hp-about-card h5,
.hp-about-card h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
    font-size: .96rem;
}

.hp-about-card p {
    color: rgba(255,255,255,.52);
    font-size: .81rem;
    margin: 0;
    line-height: 1.6;
}

/* ─── Stats counter strip ────────────────── */
.hp-stats-strip {
    background: #0f172a;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-stat-item {
    text-align: center;
}

.hp-stat-num {
    font-size: 1.9rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1.1;
    display: block;
    letter-spacing: -1px;
}

.hp-stat-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .7px;
}

@media (max-width: 575px) {
    .hp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hp-stat-num {
        font-size: 1.55rem;
    }
}

/* Custom Navbar Offcanvas */


@media (max-width: 991.98px) {
    .custom-nav-offcanvas {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #1b2e63 0%, #152452 100%) !important;
        color: #ffffff;
        z-index: 1050;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -6px 0 25px rgba(0, 0, 0, 0.45);
        display: flex;
        flex-direction: column;
    }

        .custom-nav-offcanvas.show {
            right: 0;
        }

    .custom-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.25rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .custom-nav-title {
        font-size: 1.15rem;
        margin: 0;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 0.3px;
    }

    .custom-nav-body {
        padding: 1.25rem 1rem;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .custom-nav-body .navbar-nav {
            gap: 0.35rem !important;
            width: 100%;
        }

        /* Hi User Pill Badge */
        .custom-nav-body .nav-user-badge {
            background: linear-gradient(135deg, #0075ff 0%, #0052cc 100%) !important;
            color: #ffffff !important;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 10px;
            padding: 0.75rem 1rem !important;
            box-shadow: 0 4px 12px rgba(0, 117, 255, 0.35);
            margin-bottom: 0.85rem;
            display: flex;
            align-items: center;
        }

        /* Offcanvas Nav Links */
        .custom-nav-body .navbar-nav .nav-link:not(.nav-btn-signin):not(.nav-user-badge) {
            color: rgba(255, 255, 255, 0.92) !important;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1rem !important;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease, transform 0.22s ease, border 0.22s ease;
            margin-bottom: 3px;
            border-bottom: 2px solid transparent !important;
        }

        /* The Register button is also matched by the rule above (it is not excluded by the :not()s), which turned its label
           into rgba(255,255,255,.92) - 3.88:1 on the #b35c00 button. Keep it pure white (4.72:1). */
        .custom-nav-body .navbar-nav .nav-link:not(.nav-btn-signin):not(.nav-user-badge).nav-btn-register {
            color: #fff !important;
        }

        /* Link Icon Styling and Animation */
        .custom-nav-body .navbar-nav .nav-link i {
            font-size: 1.1rem;
            width: 22px;
            text-align: center;
            transition: transform 0.22s ease, color 0.22s ease;
            flex-shrink: 0;
            display: inline-block;
        }

        /* Link Hover Animation */
        .custom-nav-body .navbar-nav .nav-link:not(.nav-btn-signin):not(.nav-user-badge):hover,
        .custom-nav-body .navbar-nav .nav-link:not(.nav-btn-signin):not(.nav-user-badge):focus {
            background: rgba(255, 255, 255, 0.14) !important;
            color: #ffffff !important;
            padding-left: 1.45rem !important;
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

            .custom-nav-body .navbar-nav .nav-link:not(.nav-btn-signin):not(.nav-user-badge):hover i {
                transform: scale(1.22) rotate(4deg);
                color: #60a5fa !important;
            }

        /* Active Link Styling (matching screenshot) */
        .custom-nav-body .navbar-nav .nav-link.active,
        .custom-nav-body .navbar-nav .nav-link[aria-current="page"] {
            background: rgba(255, 255, 255, 0.16) !important;
            color: #ffffff !important;
            font-weight: 700;
            border-bottom: 2px solid #ffffff !important;
            border-radius: 10px 10px !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
        }

            .custom-nav-body .navbar-nav .nav-link.active i {
                color: #60a5fa !important;
            }

        /* Logout Button Styling */
        .custom-nav-body .nav-btn-signin.bg-danger {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
            color: #ffffff !important;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 10px;
            padding: 0.75rem 1rem !important;
            box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
            margin-top: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 0.75rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease, padding-left 0.2s ease;
        }

            .custom-nav-body .nav-btn-signin.bg-danger:hover {
                transform: translateY(-2px) scale(1.01);
                padding-left: 1.25rem !important;
                box-shadow: 0 6px 18px rgba(220, 38, 38, 0.55);
                color: #ffffff !important;
            }

    .custom-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(2px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

        .custom-nav-backdrop.show {
            opacity: 1;
            visibility: visible;
        }
}

@media (min-width: 992px) {
    .custom-nav-offcanvas {
        display: flex !important;
        position: static !important;
        flex-direction: row;
        width: 100%;
        background-color: transparent !important;
        height: auto;
    }

    .custom-nav-header {
        display: none;
    }

    .custom-nav-body {
        display: flex;
        width: 100%;
        padding: 0;
    }

    .custom-nav-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   PERF — Cumulative Layout Shift (CLS) reservations
   quick-routes.js, search-box.js and offer-cards.js inject their content into
   these empty containers after their APIs return. The min-heights below are
   UNCONDITIONAL (present at first paint, before any JS) so the hero + every
   section under them doesn't jump down on load — this was ~0.4 of CLS / ~617px
   of shift on mobile. The two "empty" cases collapse their own reservation:
     • quick-routes.js _hideSection()  -> min-height:0 + display:none
     • offer-cards.js  _ocCollapseReserve() -> adds .oc-collapsed
   ========================================================================== */

[data-plugin="search-bus-panel"] {
    display: block;
    min-height: 82px; /* desktop single-row layout */
}

[data-plugin="quick-routes"] {
    min-height: 70px;
}

.offer-cards-section,
[data-offer-cards-slot] {
    min-height: 180px;
}

    .offer-cards-section.oc-collapsed,
    [data-offer-cards-slot].oc-collapsed {
        min-height: 0;
    }

@media (max-width: 575.98px) {
    [data-plugin="search-bus-panel"] {
        min-height: 277px; /* stacked mobile layout */
    }

    [data-plugin="quick-routes"] {
        min-height: 160px;
    }
}

/* Below-the-fold static sections: let the browser skip their style/layout/paint
   work until they're scrolled near. Cuts the initial Style & Layout cost (the
   biggest main-thread item on this page) without changing anything visible.
   contain-intrinsic-size keeps the scrollbar honest before first render and is
   replaced by the real measured size afterwards (the `auto` keyword). */
.hp-bus-anim,
.hp-trust-bar,
.hp-why,
.hp-faq,
.hp-stats-strip,
.hp-about {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
