﻿:root {
    --primary: #1877f2;
    --primary-dark: #0d65d9;
    --secondary: #42b0ff;
    --dark: #082965;
    --dark2: #0a1931;
    --light-bg: #f0f4ff;
    --white: #ffffff;
    --text-muted-custom: #a8b5ce;
    --border-light: #d8e3f5;
}

* {
    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 {
    background: var(--primary);
    padding: 7px 0;
    font-size: 0.8rem;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        opacity: 0.92;
        transition: opacity 0.2s;
    }

        .top-bar a:hover {
            opacity: 1;
        }

    .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: 44px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    display: flex; /* center image */
    align-items: center;
    justify-content: center;
    background: #fff;
}

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




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

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

.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 16px !important;
    border-radius: 6px;
    transition: all 0.25s;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #fff !important;
        background: rgba(24, 119, 242, 0.25);
    }

.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: var(--primary) !important;
    border: 1px solid var(--primary);
    color: #fff !important;
    border-radius: 6px;
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.25s;
}

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

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

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

/* ─── HERO ─── */
.hero-section {
    /* background: linear-gradient(135deg, #36b3ac 0%, #36b3ac 60%, #1877f2 100%); */
    min-height: 62vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0 60px;
}

    .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 rgba(24,119,242,0.4);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

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




@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, 3.8rem);
    color: #fff;
    line-height: 1.18;
    margin-bottom: 18px;
}

    .hero-title span {
        color: var(--primary);
    }

.hero-subtitle {
    color: rgba(65, 65, 65, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
}

.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);
    }

/* Bus image floating section */
.bus-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bus-img-main {
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
    object-fit: cover;
}

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

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

.bus-badge {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bus-badge-gps {
    top: 20px;
    right: -20px;
}

.bus-badge-seats {
    bottom: 30px;
    left: -20px;
}

.bus-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

    .bus-badge-icon.green {
        background: #e6f0ff;
        color: #1877f2;
    }

    .bus-badge-icon.orange {
        background: #ddeeff;
        color: var(--secondary);
    }

/* ───────── 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;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-text {
    font-size: 0.9rem;
    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;
}

.feature-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

    .feature-card:hover {
        background: #fff;
        border-color: var(--primary);
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted-custom);
    line-height: 1.65;
    margin: 0;
}

/* ─── 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);
}

.accordion-item {
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    background: #fff !important;
    color: var(--dark) !important;
    box-shadow: none !important;
    padding: 18px 24px;
}

    .accordion-button:not(.collapsed) {
        color: var(--primary) !important;
    }

    .accordion-button::after {
        filter: invert(35%) sepia(90%) saturate(700%) hue-rotate(200deg);
    }

.accordion-body {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    padding: 0 24px 20px;
}

/* ─── 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 li a:hover {
                color: var(--secondary);
            }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.55);
    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: rgba(255,255,255,0.35);
    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: 60px 0 50px;
    }

    .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);
    }
