/* ==========================================================
   Raja Drop Taxi — Custom CSS
   Extracted from inline <style> blocks for browser caching.
   ========================================================== */

/* ----------------------------------------------------------
   1. HERO SECTION — Mobile Optimizations
---------------------------------------------------------- */
@media (max-width: 992px) {
    #section-hero { padding: 40px 0 20px 0 !important; background-position: center bottom !important; }
    #section-hero h1 { font-size: 28px !important; line-height: 1.2 !important; margin-bottom: 10px !important; text-align: center; }
    .owl-dots, .owl-thumbs { display: none !important; }
    .spacer-double.mobile-hide, .spacer-single.mobile-hide { display: none !important; }
    #section-hero .p-4 { padding: 1rem !important; margin-top: 5px !important; }
    .trip-type-wrapper-header { flex-direction: column; align-items: flex-start !important; gap: 15px; }
    .trip-type-wrapper { width: 100%; }
    .trip-type-btns { width: 100%; display: flex; }
    .trip-type-btn { flex: 1; text-align: center; }
    #section-hero .row>[class*="col-"]:not(.radio-img) { width: 100% !important; padding-bottom: 15px; }
    #section-hero .radio-img { width: 50% !important; padding: 5px !important; }
    #section-hero h5 { margin-bottom: 5px !important; }
}

/* ----------------------------------------------------------
   2. TRENDING ROUTES — Card Styles
---------------------------------------------------------- */
.de-route-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    border: 1px solid #eee !important;
    position: relative;
}
.de-route-card:hover {
    border-color: #28a745 !important;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2) !important;
    transform: translateY(-5px);
    background-color: #fff !important;
}
.de-route-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.de-route-card:hover::after { opacity: 1; }
.route-info h5 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.route-price h4 { font-size: 20px; font-weight: 800; white-space: nowrap; }
@media (max-width: 992px) { .route-info h5 { font-size: 14px; } .route-price h4 { font-size: 16px; } }
@media (max-width: 480px) {
    .de-route-card .p-4 { padding: 15px !important; }
    .route-info h5 { font-size: 13px; }
    .route-price h4 { font-size: 15px; }
    .route-price { min-width: 80px; }
}

/* ----------------------------------------------------------
   3. TRUST BADGES — Near booking form
---------------------------------------------------------- */
.trust-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 6px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fff4;
    border: 1px solid #28a745;
    color: #155724;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.trust-badge i { color: #28a745; font-size: 10px; }
@media (max-width: 768px) {
    .trust-badges-row { gap: 5px; }
    .trust-badge { font-size: 10px; padding: 3px 8px; }
}

/* ----------------------------------------------------------
   4. FARE CALCULATOR SECTION
---------------------------------------------------------- */
#section-fare-calculator {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
#section-fare-calculator::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(40,167,69,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0,123,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.fare-calculator-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    z-index: 1;
}
.fare-calculator-card .form-select,
.fare-calculator-card .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
}
.fare-calculator-card .form-select option { background: #1a1a2e; color: #fff; }
.fare-calculator-card .form-select:focus,
.fare-calculator-card .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.2);
    color: #fff;
    outline: none;
}
.fare-result-box {
    background: linear-gradient(135deg, rgba(40,167,69,0.2), rgba(0,123,255,0.15));
    border: 1px solid rgba(40,167,69,0.4);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: none;
    margin-top: 24px;
}
.fare-result-box.show { display: block; animation: fadeInUp 0.4s ease; }
.fare-amount { font-size: 42px; font-weight: 800; color: #28a745; line-height: 1; }
.fare-label { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 6px; }
.fare-details { color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 8px; }
.vehicle-type-selector { display: flex; gap: 12px; }
.vehicle-radio-card { flex: 1; cursor: pointer; }
.vehicle-radio-card input[type="radio"] { display: none; }
.vehicle-radio-card .card-body {
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}
.vehicle-radio-card input:checked + .card-body { border-color: #28a745; background: rgba(40,167,69,0.15); color: #fff; }
.vehicle-radio-card .card-body:hover { border-color: rgba(40,167,69,0.5); background: rgba(255,255,255,0.1); }
.vehicle-radio-card .car-icon { font-size: 28px; margin-bottom: 6px; display: block; }
.vehicle-radio-card .car-rate { font-size: 11px; opacity: 0.7; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .fare-calculator-card { padding: 24px 16px; } .fare-amount { font-size: 32px; } }

/* ----------------------------------------------------------
   5. FLOATING CTA — WhatsApp + Call
---------------------------------------------------------- */
.floating-cta-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    align-items: flex-end;
}
.cta-btn {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
    overflow: hidden;
    max-width: 250px;
}
.cta-label {
    padding: 0 4px 0 16px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.4s ease;
    max-width: 150px;
    display: inline-block;
}
.cta-icon-wrap { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.2); }
.cta-icon-wrap img { width: 24px; height: 24px; }
.whatsapp-btn { background: linear-gradient(135deg, #25D366, #128C7E); }
.call-btn     { background: linear-gradient(135deg, #007bff, #0056d2); }
.cta-btn:hover { transform: translateX(-5px) scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.pulse { animation: cta-pulse 2s infinite; }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.cta-btn.collapsed { max-width: 56px; padding: 6px; }
.cta-btn.collapsed .cta-label { opacity: 0; max-width: 0; padding: 0; margin: 0; pointer-events: none; }
/* Mobile: icon-only floating stack — labels are redundant (sticky bottom bar
   has labeled Call/WhatsApp) and expanded pills cover the booking form */
@media (max-width: 991px) {
    .floating-cta-container { bottom: 88px; right: 12px; gap: 10px; }
    .cta-label { display: none; }
    .cta-btn { max-width: 52px; padding: 4px; }
    .cta-icon-wrap { width: 42px; height: 42px; min-width: 42px; }
}

/* ----------------------------------------------------------
   6. STICKY MOBILE BOTTOM BAR
---------------------------------------------------------- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    display: flex;
    height: 60px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.mobile-sticky-bar.show { transform: translateY(0); }
.mobile-sticky-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: filter 0.2s;
}
.mobile-sticky-bar a:hover { filter: brightness(1.1); }
.mobile-sticky-bar a:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.2); }
.mobile-sticky-bar .msb-call     { background: linear-gradient(135deg, #007bff, #0056d2); }
.mobile-sticky-bar .msb-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.mobile-sticky-bar .msb-book     { background: linear-gradient(135deg, #28a745, #1a7a30); }
.mobile-sticky-bar i { font-size: 16px; }

/* ----------------------------------------------------------
   7. BOOKING PAGE FORM
---------------------------------------------------------- */
.mt-neg-100 { margin-top: -120px !important; position: relative; z-index: 10; }
@media (max-width: 992px) {
    #booking_form h4 { font-size: 14px !important; margin-bottom: 5px !important; }
    #booking_form h5 { font-size: 14px !important; margin-bottom: 5px !important; }
    .trip-type-btns { width: 100% !important; display: flex !important; }
    .trip-type-btn  { flex: 1; text-align: center; padding: 8px !important; font-size: 12px !important; }
}

#subheader {
    padding-top: 140px !important;
    padding-bottom: 70px !important;
}

@media (max-width: 992px) {
    #subheader {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }
}
#booking_form h4 { font-size: 18px; margin-bottom: 10px; }
#booking_form h5 { font-size: 14px; margin-bottom: 5px; }
#booking_form .col-lg-12, #booking_form .col-lg-6 { padding-bottom: 10px; }

/* Shared Vehicle Selection Card Styles */
.hfc-vehicles { margin-bottom: 16px; }
.hfc-vehicle-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}
.hfc-vehicle-card.active,
.hfc-vehicle-card:hover {
    border-color: #28a745;
    background: #f0fff4;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.12);
}
.hfc-vimg { width: 38px; height: 28px; object-fit: contain; transition: filter 0.2s ease; }
.hfc-vtitle { font-weight: 700; font-size: 0.9rem; color: #111; }
.hfc-vinfo { font-size: 0.72rem; color: #777; }

/* Filter to turn selected vehicle car icon green (#28a745) */
.hfc-vehicle-card.active .hfc-vimg {
    filter: invert(48%) sepia(79%) saturate(542%) hue-rotate(86deg) brightness(98%) contrast(92%) !important;
}

/* Chatbot Floating CTA Button Styles */
.chatbot-btn {
    background: linear-gradient(135deg, #10b981, #047857) !important;
    border: none;
    cursor: pointer;
}
.chatbot-btn .bot-icon {
    font-size: 22px;
    line-height: 1;
    display: block;
}

/* Global Breadcrumb Divider Fix to remove "madebyadmin.com" separator url */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
}

/* Force Date & Time inputs to stay side-by-side (in one row) on mobile screens */
#section-hero .row.datetime-row > [class*="col-"] {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-bottom: 0 !important;
}

