﻿/* ===================================================================
   Sangamam Travels - Modern Drop Taxi & Outstation Travel Stylesheet
   Theme: Executive Royal Sapphire Blue & Obsidian Slate Theme
   Mobile: 100% Solid Surfaces, High-Contrast, Touch-Optimized UI (No Glass Blur)
   =================================================================== */

:root {
    /* Executive Royal Sapphire Blue Theme */
    --brand-blue: #1d4ed8;
    --brand-blue-hover: #1e40af;
    --brand-blue-dark: #1e3a8a;
    --brand-blue-light: #3b82f6;
    --brand-blue-subtle: #eff6ff;
    --brand-blue-border: #bfdbfe;
    --brand-blue-glow: 0 4px 18px rgba(29, 78, 216, 0.28);
    --brand-blue-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --brand-blue-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);

    /* Aliases for backwards compatibility with any orange/gold markup */
    --brand-orange: var(--brand-blue);
    --brand-orange-hover: var(--brand-blue-hover);
    --brand-orange-dark: var(--brand-blue-dark);
    --brand-orange-light: var(--brand-blue-light);
    --brand-orange-subtle: var(--brand-blue-subtle);
    --brand-orange-border: var(--brand-blue-border);
    --brand-orange-glow: var(--brand-blue-glow);
    --brand-orange-gradient: var(--brand-blue-gradient);
    --brand-orange-gradient-hover: var(--brand-blue-gradient-hover);

    --brand-gold: var(--brand-blue);
    --brand-gold-hover: var(--brand-blue-hover);

    /* Obsidian Slate & Navy Luxury Contrast */
    --brand-navy: #0f172a;
    --brand-navy-surface: #1e293b;
    --brand-silver: #f8fafc;
    --brand-silver-border: #cbd5e1;

    /* Accents & Status */
    --brand-green: #10b981;
    --brand-whatsapp: #25d366;
    --text-main: #0f172a;
    --text-muted: #334155;

    /* Modern Crisp Shadows (Solid, High Visibility) */
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --hover-shadow: 0 12px 28px -4px rgba(29, 78, 216, 0.22);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ================= Navbar & Prominent Branding ================= */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1.5px solid #e2e8f0;
}

.navbar-brand {
    padding: 0;
    margin-right: 1.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}

.brand-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--brand-blue);
    box-shadow: 0 3px 10px rgba(29, 78, 216, 0.25);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

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

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
    flex: 1;
}

/* Big, bold, clean header title */
.brand-title {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    color: var(--brand-navy);
    text-transform: uppercase;
    line-height: 1.1;
    display: block;
    white-space: nowrap;
}

.brand-title-blue,
.brand-title-gold,
.brand-title-orange {
    color: var(--brand-blue);
    font-weight: 900;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--brand-blue);
    text-transform: uppercase;
    line-height: 1;
    margin-top: 3px;
    display: block;
    white-space: nowrap;
}

/* Custom Hamburger Icon with 100% visible solid blue bars */
.navbar-toggler.custom-toggler,
.navbar-toggler {
    border: 1.5px solid var(--brand-blue-border) !important;
    background-color: var(--brand-blue-subtle) !important;
    border-radius: 10px !important;
    padding: 0.4rem 0.6rem !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231d4ed8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.footer-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    border: 2.5px solid var(--brand-blue);
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.96rem;
    color: #334155 !important;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-blue) !important;
    background-color: var(--brand-blue-subtle);
}

/* ================= Buttons ================= */
.btn-brand-blue,
.btn-brand-gold,
.btn-brand-orange {
    background: var(--brand-blue-gradient);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 1.5rem;
    box-shadow: var(--brand-blue-glow);
    transition: all 0.25s ease;
}

.btn-brand-blue:hover,
.btn-brand-gold:hover,
.btn-brand-orange:hover {
    background: var(--brand-blue-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.38);
    color: #ffffff !important;
}

.btn-brand-navy {
    background-color: var(--brand-navy);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 1.4rem;
    transition: all 0.25s ease;
}

.btn-brand-navy:hover {
    background-color: var(--brand-navy-surface);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-whatsapp {
    background-color: var(--brand-whatsapp);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 1.4rem;
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebd56;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.text-blue,
.text-orange {
    color: var(--brand-blue) !important;
}

/* ================= Hero Section (Solid Dark Executive Blue) ================= */
.hero-section {
    background: linear-gradient(135deg, #0a1128 0%, #111e38 50%, #1e3a8a 100%);
    color: #ffffff;
    padding: 3.25rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.22), transparent 55%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.4px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Solid Opaque Hero Badges - NO blur, NO faint translucency */
.hero-badges .badge-item {
    background: #1e293b;
    border: 1.5px solid #3b82f6;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ================= Booking Widget Card ================= */
.booking-widget-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.85rem;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.22);
    border: 1.5px solid #cbd5e1;
    position: relative;
    z-index: 10;
}

/* Form input heights & touch friendliness */
.booking-widget-card .form-control,
.booking-widget-card .form-select {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.booking-widget-card .form-control:focus,
.booking-widget-card .form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
    outline: none;
}

.booking-widget-card .input-group-text {
    border: 1.5px solid #cbd5e1;
    border-right: none;
    border-radius: 10px 0 0 10px;
    background-color: #f8fafc;
}

.booking-widget-card .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

/* Trip Type Tabs */
.trip-type-toggle-wrapper .btn-group {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.trip-type-toggle-wrapper .btn {
    height: 44px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px !important;
    border: none;
    color: #334155;
    background: transparent;
    transition: all 0.2s ease;
}

.trip-type-toggle-wrapper .btn-check:checked + .btn {
    background: var(--brand-blue-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.32);
}

/* ================= Vehicle Selection Cards ================= */
.vehicle-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.vehicle-radio-card {
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    padding: 0.9rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.vehicle-radio-card:hover {
    border-color: var(--brand-blue-light);
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.12);
}

.vehicle-radio-card.selected {
    border-color: var(--brand-blue) !important;
    background: var(--brand-blue-subtle) !important;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.18) !important;
}

.vehicle-radio-card .v-card-media-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.vehicle-radio-card img,
.vehicle-radio-card .v-thumb-img {
    height: 46px;
    width: auto;
    margin-bottom: 0.4rem;
    object-fit: contain;
}

.vehicle-radio-card .v-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brand-navy);
    line-height: 1.25;
}

.vehicle-radio-card .v-meta {
    font-size: 0.76rem;
    color: #475569;
    margin-top: 0.2rem;
    line-height: 1.25;
}

.vehicle-radio-card .v-card-pricing-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.45rem;
    width: 100%;
}

.vehicle-radio-card .v-rate {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}

.vehicle-radio-card .v-fare-est {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-top: 0.3rem;
    background: #dbeafe;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--brand-blue-border);
}

.vehicle-radio-card.selected .v-fare-est {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

/* ================= Real-time Fare Breakdown Box ================= */
.fare-estimate-box {
    background: #f0f7ff;
    border-radius: 14px;
    padding: 1.25rem;
    border: 1.5px solid var(--brand-blue-border);
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.08);
    margin-bottom: 1.25rem;
}

.fare-total-display {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-blue);
    line-height: 1.1;
}

.alert-extra-notice {
    font-size: 0.8rem;
    line-height: 1.45;
}

.fare-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.fare-chip {
    background: #ffffff;
    border: 1.5px solid var(--brand-blue-border);
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    text-align: center;
    font-size: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.fare-chip .chip-label {
    display: block;
    font-size: 0.7rem;
    color: #475569;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.fare-chip strong {
    font-size: 0.92rem;
    color: var(--brand-navy);
}

.tariff-note-alert {
    background-color: var(--brand-blue-subtle);
    border-left: 3.5px solid var(--brand-blue);
    color: #1e3a8a;
    padding: 0.75rem 0.95rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ================= Fleet Cards ================= */
.fleet-card {
    transition: transform 0.25s, box-shadow 0.25s;
    border-color: #cbd5e1 !important;
}

.fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow) !important;
    border-color: var(--brand-blue-border) !important;
}

/* ================= Tariff Table ================= */
.tariff-table {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1.5px solid #cbd5e1;
}

.tariff-table thead {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
}

.tariff-table th {
    padding: 1rem;
    font-weight: 700;
    border: none;
}

.tariff-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
}

/* ================= Feature Box ================= */
.feature-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem;
    border: 1.5px solid #cbd5e1;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue-border);
}

.feature-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--brand-blue-subtle);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ================= Route Card ================= */
.route-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #cbd5e1;
    box-shadow: var(--card-shadow);
    height: 100%;
    padding: 1.45rem 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand-blue-border);
}

.route-arrow {
    color: var(--brand-blue);
    margin: 0 0.45rem;
    font-size: 1.05rem;
    vertical-align: middle;
}

/* ================= Confirmation Receipt Card ================= */
.confirmation-card {
    background: #ffffff;
    border-radius: 16px;
    border: 2px dashed var(--brand-blue-border);
    box-shadow: var(--card-shadow);
    padding: 2.25rem;
    max-width: 780px;
    margin: 0 auto;
}

.ref-pill {
    background: var(--brand-blue-subtle);
    border: 1.5px solid var(--brand-blue-border);
    color: var(--brand-blue-dark);
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 0.45rem 1.15rem;
    border-radius: 8px;
    display: inline-block;
    letter-spacing: 1px;
}

/* ================= Footer ================= */
.site-footer {
    background-color: #0b111e;
    color: #cbd5e1;
    padding: 3.5rem 0 2rem;
    margin-top: 3.5rem;
    border-top: 4px solid var(--brand-blue);
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* ================= Floating WhatsApp Button ================= */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--brand-whatsapp);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    text-decoration: none;
    transition: transform 0.25s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* ================= Mobile Sticky Action Bar ================= */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1.5px solid var(--brand-blue-border);
    padding: 0.45rem 0.85rem;
    z-index: 1040;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

/* ================= Map Styling ================= */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
}

#routeMap {
    height: 240px;
    width: 100%;
    z-index: 1;
}

/* ================= Responsive Media Queries ================= */

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        padding: 1.25rem;
        margin-top: 0.75rem;
        border: 1.5px solid #cbd5e1;
    }
    .navbar-nav .nav-link {
        padding: 0.6rem 0.9rem !important;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-subtitle {
        font-size: 1.02rem;
    }
    .fare-breakdown-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Brand logo & title scaling on tablet & phone */
    .brand-logo-img {
        height: 44px;
        width: 44px;
    }
    .brand-title {
        font-size: 1.26rem;
    }
    .brand-tagline {
        font-size: 0.6rem;
        letter-spacing: 1.3px;
    }

    .hero-section {
        padding: 2.25rem 0 2.75rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }

    .booking-widget-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    /* Hide redundant floating whatsapp on mobile (avoid double buttons!) */
    .floating-whatsapp {
        display: none !important;
    }

    /* Clean, compact sticky mobile action bar */
    .mobile-action-bar {
        display: flex !important;
        gap: 0.45rem;
        padding: 0.45rem 0.75rem;
        height: 56px;
    }
    .mobile-action-bar .btn {
        font-size: 0.88rem;
        font-weight: 700;
        border-radius: 8px;
        padding: 0.45rem 0.2rem;
    }

    body {
        padding-bottom: 68px !important;
    }

    #routeMap {
        height: 180px !important;
    }

    /* Spacious, modern, solid vehicle cards on mobile (NO compressed or blurred view!) */
    .vehicle-selector-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        margin-bottom: 1.15rem;
    }

    .vehicle-radio-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        padding: 0.75rem 0.95rem !important;
        border-radius: 14px !important;
        border: 2px solid #cbd5e1 !important;
        background: #ffffff !important;
        gap: 0.5rem;
        transform: none !important;
    }

    .vehicle-radio-card.selected {
        border-color: var(--brand-blue) !important;
        background: #eff6ff !important;
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.16) !important;
    }

    .vehicle-radio-card .v-card-media-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .vehicle-radio-card .v-thumb-img,
    .vehicle-radio-card img {
        height: 40px !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        object-fit: contain !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .vehicle-radio-card .v-info-block {
        min-width: 100px !important;
        flex: 1 1 auto !important;
    }

    .vehicle-radio-card .v-name {
        font-size: 0.98rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        white-space: normal !important; /* CRITICAL: Never truncate or hide vehicle name on mobile! */
        word-break: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .vehicle-radio-card .v-meta {
        font-size: 0.76rem !important;
        color: var(--text-muted) !important;
        margin-top: 2px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        display: block !important;
    }

    .vehicle-radio-card .v-card-pricing-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        min-width: 80px !important;
    }

    .vehicle-radio-card .v-rate {
        font-size: 1.15rem !important;
        font-weight: 900 !important;
        color: var(--brand-blue) !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .vehicle-radio-card .v-fare-est {
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        padding: 0.18rem 0.55rem !important;
        margin-top: 0.2rem !important;
        border-radius: 50px !important;
        background: #dbeafe !important;
        color: var(--brand-blue-dark) !important;
        border: 1px solid var(--brand-blue-border) !important;
        white-space: nowrap !important;
    }

    .vehicle-radio-card.selected .v-fare-est {
        background: var(--brand-blue) !important;
        color: #ffffff !important;
        border-color: var(--brand-blue) !important;
    }

    .fare-breakdown-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .route-card {
        padding: 1.25rem 1.15rem !important;
    }
}

/* ================= Phones (<= 576px) ================= */
@media (max-width: 576px) {
    body {
        font-size: 14.5px;
    }

    .brand-logo-img {
        height: 40px;
        width: 40px;
    }
    .brand-title {
        font-size: 1.18rem;
    }
    .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 1.1px;
    }

    .hero-title {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }
    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    /* Date and time inputs fit comfortably without clipping */
    input[type="date"], input[type="time"] {
        padding: 0.45rem 0.6rem !important;
        font-size: 13.5px !important;
    }

    .fare-breakdown-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.45rem !important;
    }

    .fare-total-display {
        font-size: 1.65rem !important;
    }

    .fare-chip {
        padding: 0.4rem 0.5rem !important;
    }
    .fare-chip .chip-label {
        font-size: 0.68rem !important;
    }
    .fare-chip strong {
        font-size: 0.88rem !important;
    }
}

/* ================= Small Phones (<= 380px) ================= */
@media (max-width: 380px) {
    .brand-logo-img {
        height: 36px;
        width: 36px;
    }
    .brand-title {
        font-size: 1.08rem;
    }
    .brand-tagline {
        font-size: 0.5rem;
        letter-spacing: 0.8px;
    }
    .navbar-toggler {
        padding: 0.35rem 0.5rem !important;
    }
    .vehicle-radio-card {
        padding: 0.65rem 0.75rem !important;
        gap: 0.5rem !important;
    }
    .vehicle-radio-card .v-thumb-img,
    .vehicle-radio-card img {
        height: 36px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
    .vehicle-radio-card .v-info-block {
        min-width: 85px !important;
    }
    .vehicle-radio-card .v-name {
        font-size: 0.92rem !important;
        white-space: normal !important;
        overflow: visible !important;
        display: block !important;
    }
    .vehicle-radio-card .v-card-pricing-block {
        min-width: 75px !important;
    }
    .vehicle-radio-card .v-rate {
        font-size: 1.05rem !important;
    }
    .route-card {
        padding: 1.1rem 1rem !important;
    }
}

/* ================= Print Styles ================= */
@media print {
    .navbar-custom, .site-footer, .floating-whatsapp, .mobile-action-bar, .no-print {
        display: none !important;
    }
    body {
        background: #ffffff;
        color: #000000;
        padding: 0;
    }
    .confirmation-card {
        border: 1px solid #000;
        box-shadow: none;
        padding: 1rem;
    }
}
