/* ═══════════════════════════════════════════════════════════════
   STYLE.CSS — Complete Theme for Rao Cabs
   ─────────────────────────────────────────────────────────────
   ★ ALL original theme variables, colors, and layout preserved
   ★ Route-page specific styles added at the bottom
   ═══════════════════════════════════════════════════════════════ */

/* ================= THEME (RAO CABS) ================= */
:root {
    --bg-deep: #020617;
    --bg-card: #0f2a52;
    --primary-gold: #eab308;
    --gold-glow: #facc15;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 42, 82, 0.4);
    --glass-border: rgba(234, 179, 8, 0.25);
    --glass-blur: blur(12px);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }

body { 
    background: linear-gradient(135deg, var(--bg-deep) 0%, #08142b 100%);
    color: var(--text-light); 
    min-height: 100vh;
    padding-top: 75px;
}
html { scroll-behavior: smooth; }
a, button, .route-card, details { transition: all 0.3s ease; }

/* ================= HEADER ================= */
header { 
    background: rgba(2, 6, 23, 0.85); 
    backdrop-filter: var(--glass-blur);
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0; 
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.logo-text { color: var(--text-light); font-size: 24px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; }
.logo-text span { color: var(--primary-gold); text-shadow: 0 0 10px rgba(234, 179, 8, 0.4); } 
.call-btn { 
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); 
    color: var(--bg-deep); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.9rem; 
    padding: 8px 20px; 
    border-radius: 50px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3); 
    text-transform: uppercase;
}
.call-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234, 179, 8, 0.6); }

/* Floating WhatsApp */
.float-wa { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); z-index: 9999; text-decoration: none; transition: 0.3s; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7); }

/* ================= HERO ================= */
.hero { 
    background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), var(--bg-deep)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=1000&auto=format&fit=crop'); 
    background-size: cover; 
    background-position: center; 
    padding: 50px 20px 100px; 
    text-align: center; 
}
.hero h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; color: var(--primary-gold); text-shadow: 0 4px 20px rgba(0,0,0,0.8); }
.hero-subtitle { color: var(--text-muted); margin-top: 10px; font-size: 1rem; font-weight: 500; }

/* ================= BOOKING FORM ================= */
.booking-container { 
    background: var(--glass-bg); 
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    margin: -70px 15px 30px; 
    padding: 25px 20px; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.6); 
    position: relative; 
    z-index: 10; 
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-gold);
}

.trip-type-selector { display: flex; background: rgba(0,0,0,0.4); border-radius: 12px; margin-bottom: 20px; padding: 5px; border: 1px solid rgba(255,255,255,0.05);}
.trip-type-selector label { flex: 1; text-align: center; padding: 12px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.trip-type-selector input { display: none; }
.trip-type-selector input:checked + label { background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); color: var(--bg-deep); box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4); }

.autocomplete-container, .form-group { position: relative; margin-bottom: 18px; }
.autocomplete-container label, .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--primary-gold); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;}

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper > i:first-child { position: absolute; left: 15px; color: var(--primary-gold); font-size: 16px; z-index: 5; }

.autocomplete-container input, .form-group input { 
    width: 100%; 
    padding: 14px 45px 14px 40px; 
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 12px; 
    font-size: 0.95rem; 
    color: var(--text-light); 
    font-weight: 500;
    transition: 0.3s;
    color-scheme: dark;
}
.form-group input { padding-left: 15px; }
.autocomplete-container input:focus, .form-group input:focus { border-color: var(--primary-gold); box-shadow: 0 0 15px rgba(234, 179, 8, 0.2); outline: none; background: rgba(0,0,0,0.5); }
.autocomplete-container input::placeholder, .form-group input::placeholder { color: #64748b; }

.map-pick-btn { position: absolute; right: 15px; color: var(--text-muted); cursor: pointer; font-size: 18px; z-index: 5; transition: 0.3s;}
.map-pick-btn:hover { color: var(--primary-gold); text-shadow: 0 0 10px rgba(234, 179, 8, 0.5); transform: scale(1.1); }

.autocomplete-items { position: absolute; border: 1px solid var(--glass-border); z-index: 99; top: 100%; left: 0; right: 0; background: var(--bg-card); border-radius: 0 0 12px 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.7); max-height: 220px; overflow-y: auto;}
.autocomplete-items div { padding: 14px 15px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-light); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px;}
.autocomplete-items div i { color: var(--primary-gold); }
.autocomplete-items div:hover { background: rgba(234, 179, 8, 0.1); color: var(--primary-gold); }

.form-row { display: flex; gap: 15px; margin-bottom: 20px;}

.go-btn, .search-btn { 
    width: 100%; 
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); 
    color: var(--bg-deep); 
    border: none; 
    padding: 16px; 
    border-radius: 12px; 
    font-size: 1.1rem; 
    font-weight: 800; 
    cursor: pointer; 
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3); 
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.go-btn:hover, .search-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5); }
.go-btn:disabled, .search-btn:disabled { background: #334155; color: #94a3b8; cursor: not-allowed; box-shadow: none; transform: none; }

#time-error { color: #ef4444; font-size: 0.85rem; font-weight: 600; text-align: center; margin-bottom: 15px; display: none; background: rgba(239, 68, 68, 0.1); padding: 10px; border-radius: 8px; border: 1px solid rgba(239, 68, 68, 0.3);}

/* ================= SECTION HEADER ================= */
.section-header { text-align: center; padding: 40px 20px 20px; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; color: var(--primary-gold); text-transform: uppercase; margin-bottom: 10px; }
.section-header h2 { font-size: 1.7rem; font-weight: 900; color: var(--text-light); margin-bottom: 10px; }
.section-header p { font-size: 0.9rem; color: var(--text-muted); max-width: 400px; margin: 0 auto; line-height: 1.6; }
.gold-line { width: 50px; height: 3px; background: var(--primary-gold); margin: 14px auto 0; border-radius: 2px; }

/* ================= CHOOSE YOUR RIDE ================= */
.ride-section { padding: 0 15px 30px; }

.ride-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.ride-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); border-color: rgba(234, 179, 8, 0.5); }
.ride-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary-gold), transparent); }

.ride-card-body { display: flex; align-items: center; padding: 20px; gap: 15px; }

.ride-img-wrap {
    flex-shrink: 0;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 14px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ride-img-wrap img { width: 115px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6)); transition: transform 0.4s ease; display: block; }
.ride-card:hover .ride-img-wrap img { transform: scale(1.06) translateY(-3px); }

.ride-info { flex: 1; min-width: 0; }
.ride-badge { display: inline-block; background: rgba(234, 179, 8, 0.12); color: var(--primary-gold); font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(234,179,8,0.3); margin-bottom: 6px; }
.ride-name { font-size: 1.25rem; font-weight: 900; color: var(--text-light); line-height: 1.2; }
.ride-sub { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 3px; }

.ride-features { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.rf { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 600; color: var(--text-light); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 5px 9px; border-radius: 6px; }
.rf i { color: var(--text-muted); font-size: 0.7rem; }
.rf-gold { background: rgba(234, 179, 8, 0.1); border-color: rgba(234, 179, 8, 0.35); color: var(--primary-gold); }
.rf-gold i { color: var(--primary-gold); }

.ride-footer { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
}
.ride-price-block { }
.ride-rate { font-size: 1.6rem; font-weight: 900; color: var(--primary-gold); line-height: 1; }
.ride-rate-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.ride-book-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow));
    color: var(--bg-deep);
    border: none;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
    white-space: nowrap;
    transition: 0.3s;
}
.ride-book-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5); }

/* ================= SERVICES SECTION ================= */
.services-section { padding: 0 15px 10px; }

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary-gold), transparent); opacity: 0; transition: 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.service-card:hover::after { opacity: 1; }

.service-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.service-body { flex: 1; }
.service-body h4 { font-size: 1rem; font-weight: 800; color: var(--text-light); margin-bottom: 6px; }
.service-body p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.service-link { color: var(--primary-gold); font-size: 0.82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.service-link:hover { gap: 10px; }
.service-link i { font-size: 0.7rem; }

/* ================= STATS BAR ================= */
.stats-bar { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--glass-border);
    margin: 30px 15px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.stat-item { 
    background: var(--glass-bg);
    padding: 20px 15px;
    text-align: center;
}
.stat-num { font-size: 1.7rem; font-weight: 900; color: var(--primary-gold); line-height: 1; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ================= ROUTES SECTION ================= */
.routes-section { padding: 0 15px 30px; }
.routes-section h2 { font-size: 1.4rem; margin-bottom: 5px; color: var(--primary-gold); font-weight: 800; text-align: center;}
.routes-section p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; text-align: center; }
.scroll-container { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 15px; scroll-snap-type: x mandatory;}
.scroll-container::-webkit-scrollbar { display: none; }

.route-card { 
    min-width: 200px; 
    background: var(--glass-bg); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05); 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); 
    display: flex; 
    flex-direction: column; 
    scroll-snap-align: start; 
    border-bottom: 3px solid transparent;
    text-decoration: none;
}
.route-card:hover { transform: translateY(-8px); border-bottom: 3px solid var(--primary-gold); box-shadow: 0 12px 30px rgba(0,0,0,0.6); }
.route-card img { width: 100%; height: 120px; object-fit: cover; filter: brightness(0.85); transition: 0.3s;}
.route-card:hover img { filter: brightness(1); }
.route-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.route-info h4 { font-size: 1rem; margin-bottom: 12px; color: var(--text-light); font-weight: 700; text-align: center;}
.route-btn { 
    background: transparent; 
    color: var(--primary-gold); 
    border: 1px solid var(--primary-gold); 
    padding: 8px 15px; 
    border-radius: 50px; 
    font-weight: 700; 
    cursor: pointer; 
    width: 100%; 
    font-size: 0.85rem;
    transition: 0.3s;
}
.route-card:hover .route-btn { background: var(--primary-gold); color: var(--bg-deep); }

/* ================= WHY CHOOSE US ================= */
.why-choose-us { background: var(--glass-bg); border: 1px solid var(--glass-border); margin: 20px 15px; padding: 25px 20px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.why-choose-us h3 { color: var(--primary-gold); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 1.3rem; font-weight: 800;}
.why-list { list-style: none; }
.why-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; color: var(--text-light); font-size: 0.95rem; font-weight: 500;}
.why-list li i { color: var(--primary-gold); margin-top: 4px; font-size: 1.1rem; }

/* ================= FAQs ================= */
.faq-section { padding: 20px 15px 40px; }
.faq-section h2 { text-align: center; font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-gold); font-weight: 800;}
details { background: rgba(0,0,0,0.3); margin-bottom: 12px; border-radius: 12px; padding: 15px; cursor: pointer; border: 1px solid rgba(255,255,255,0.05);}
summary { font-weight: 600; color: var(--text-light); outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--primary-gold); font-size: 1rem; }
details[open] summary::after { content: '\f068'; }
details p { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05);}

/* ================= MAP MODAL ================= */
#mapModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; padding: 15px; backdrop-filter: blur(5px);}
.map-box { background: var(--bg-card); width: 100%; max-width: 500px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0,0,0,0.8);}
.map-header { padding: 20px; background: var(--bg-deep); color: var(--primary-gold); display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05);}
.map-footer { padding: 20px; text-align: center; background: var(--bg-deep);}
.map-footer p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px;}

/* ================= PRICING / FARE PAGE ================= */
.route-header { background: rgba(2, 6, 23, 0.9); backdrop-filter: var(--glass-blur); padding: 20px; position: relative; z-index: 999; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-bottom: 1px solid var(--glass-border);}
.rh-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; gap: 8px; overflow: hidden; }
.back-icon, .edit-icon { font-size: 20px; color: var(--text-light); cursor: pointer; padding: 5px; background: rgba(255,255,255,0.05); border-radius: 50%; width: 40px; height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; transition: 0.3s; flex-shrink: 0; text-decoration: none; }
.back-icon:hover, .edit-icon:hover { background: var(--primary-gold); color: var(--bg-deep); }

.route-timeline { flex: 1; min-width: 0; border-left: 2px dashed var(--primary-gold); margin: 0 8px; padding-left: 12px; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; overflow: hidden; }
.route-timeline::before, .route-timeline::after { content: ''; position: absolute; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary-gold); box-shadow: 0 0 10px var(--primary-gold);}
.route-timeline::before { top: 0; }
.route-timeline::after { bottom: 0; }

.rt-text { font-size: 0.9rem; font-weight: 600; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.rh-bottom { display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05);}

#gmap-link { font-size: 0.8rem; background: rgba(234, 179, 8, 0.1); color: var(--primary-gold); padding: 8px 20px; border-radius: 50px; font-weight: 700; border: 1px solid rgba(234, 179, 8, 0.3); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: 0.3s; margin-top: 15px;}
#gmap-link:hover { background: var(--primary-gold); color: var(--bg-deep); }

.trust-bar { background: var(--glass-bg); color: var(--text-light); padding: 15px 10px; display: flex; justify-content: space-around; border-radius: 16px; margin: 20px 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); border: 1px solid var(--glass-border);}
.tb-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;}
.tb-icon { width: 35px; height: 35px; background: rgba(234, 179, 8, 0.1); color: var(--primary-gold); border: 1px solid var(--primary-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px;}

#disclaimer-box { background: rgba(234, 179, 8, 0.1); border: 1px solid var(--primary-gold); color: var(--primary-gold); margin: 0 15px 20px; padding: 15px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; display: none; line-height: 1.5;}

/* ===== CAR CARDS ===== */
.car-list-container { padding: 0 15px; max-width: 800px; margin: 0 auto; }

.car-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}
.car-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary-gold), transparent); }
.car-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); border-color: rgba(234, 179, 8, 0.5); }

.car-card-top { padding: 20px 20px 15px; display: flex; align-items: center; gap: 15px; }

.car-img-box {
    flex-shrink: 0;
    width: 130px;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.car-img { width: 115px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6)); display: block; transition: transform 0.4s ease; }
.car-card:hover .car-img { transform: scale(1.06) translateY(-3px); }

.car-info { flex: 1; }
.car-badge { display: inline-block; background: rgba(255,255,255,0.07); color: var(--text-muted); font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.car-name { font-size: 1.25rem; font-weight: 900; color: var(--text-light); line-height: 1.2; }
.car-sub { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 3px; }
.f-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.f-tag { font-size: 0.7rem; color: var(--text-light); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 5px 8px; border-radius: 6px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.f-tag i { color: var(--text-muted); }
.f-tag-gold { border-color: var(--primary-gold); background: rgba(234, 179, 8, 0.1); color: var(--primary-gold); }
.f-tag-gold i { color: var(--primary-gold); }

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
}
.car-price-block { }
.price { font-size: 1.7rem; font-weight: 900; color: var(--primary-gold); line-height: 1; text-shadow: 0 2px 10px rgba(234, 179, 8, 0.2); }
.price-row { display: flex; align-items: center; gap: 8px; }
.base-rate { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.parking-note { font-size: 0.68rem; color: #94a3b8; font-weight: 600; }
.est-km { font-size: 0.75rem; color: var(--primary-gold); font-weight: 700; background: rgba(234, 179, 8, 0.1); padding: 4px 8px; border-radius: 5px; margin-top: 4px; display: inline-block; }
.info-icon { width: 22px; height: 22px; background: rgba(234, 179, 8, 0.1); color: var(--primary-gold); border: 1px solid var(--primary-gold); border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.info-icon:hover { background: var(--primary-gold); color: var(--bg-deep); }
.book-btn { 
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); 
    color: var(--bg-deep); 
    border: none; 
    padding: 12px 22px; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 0.9rem; 
    cursor: pointer; 
    text-transform: uppercase; 
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3); 
    transition: 0.3s;
    white-space: nowrap;
}
.book-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5); }

/* Modal */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px);}
.modal-content { background: var(--bg-card); padding: 25px; border-radius: 16px; max-width: 400px; width: 100%; position: relative; border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0,0,0,0.8);}
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: var(--text-muted); transition: 0.3s;}
.close-modal:hover { color: var(--primary-gold); }
.modal-content h3 { margin-bottom: 15px; color: var(--primary-gold); font-size: 1.2rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px;}
.modal-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 10px; font-weight: 500; line-height: 1.5;}
.modal-highlight { background: rgba(255,255,255,0.05) !important; border-left: 3px solid var(--primary-gold) !important; margin-top: 15px; padding: 12px; border-radius: 8px; color: var(--text-light) !important;}
.modal-highlight[style*="background:#fffcf0"] { background: rgba(234, 179, 8, 0.1) !important; color: var(--primary-gold) !important; }

/* Page 2 Extras */
.page2-extras { padding: 30px 20px 50px; background: transparent; margin-top: 20px;}
.p2-heading { font-size: 1.3rem; font-weight: 800; color: var(--primary-gold); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;}
.about-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 35px;}

.route-links { margin-bottom: 40px; background: var(--glass-bg); padding: 20px; border-radius: 16px; border: 1px solid var(--glass-border); }
.route-links ul { list-style: none; padding: 0; }
.route-links li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.route-links li:last-child { border-bottom: none; }
.route-links a { color: var(--text-light); font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-decoration: none;}
.route-links a::after { content: '\f061'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--primary-gold);}
.route-links a:hover { color: var(--primary-gold); }

/* ================= FOOTER ================= */
.footer-2 { background: var(--bg-deep); color: var(--text-light); padding: 50px 20px 20px; border-top: 1px solid var(--glass-border); position: relative;}
.footer-2::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-gold), transparent); }
.f-container { max-width: 800px; margin: 0 auto; }
.footer-2 h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 5px; color: var(--text-light); letter-spacing: 1px;}
.footer-2 h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--primary-gold);}
.footer-2 p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 25px; line-height: 1.8;}
.f-subtitle { font-size: 1rem; font-weight: 800; margin-bottom: 15px; margin-top: 30px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px;}
.f-social { display: flex; gap: 15px; margin-bottom: 30px; }
.f-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); color: var(--primary-gold); border: 1px solid rgba(234, 179, 8, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; text-decoration: none; transition: 0.3s;}
.f-social a:hover { background: var(--primary-gold); color: var(--bg-deep); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(234, 179, 8, 0.4);}
.f-contact { list-style: none; padding: 0; margin-bottom: 30px;}
.f-contact li { display: flex; align-items: flex-start; gap: 15px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.5;}
.f-contact li i { color: var(--primary-gold); font-size: 1.1rem; margin-top: 2px;}
.f-contact a { color: var(--text-light); text-decoration: none; font-weight: 600; transition: 0.3s;}
.f-contact a:hover { color: var(--primary-gold); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.5px;}

/* ── Toast notification ── */
#toast-msg {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: rgba(234,179,8,0.95); color: #020617; font-size: 0.85rem; font-weight: 700;
    padding: 10px 20px; border-radius: 50px; z-index: 9999;
    opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none;
    white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
#toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= PAGE TRANSITIONS ================= */
.page-fade { animation: pageFadeIn 0.4s ease-out; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* ================= SWAP BUTTON ================= */
.swap-btn-wrap { display: flex; justify-content: center; margin: -8px 0 10px; position: relative; z-index: 2; }
.swap-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--glass-border); background: rgba(0,0,0,0.5); color: var(--primary-gold); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.swap-btn:hover { background: var(--primary-gold); color: var(--bg-deep); transform: rotate(180deg); border-color: var(--primary-gold); }

/* ================= CLEAR BUTTON ================= */
.clear-inp { position: absolute; right: 45px; color: var(--text-muted); cursor: pointer; font-size: 14px; z-index: 5; transition: 0.3s; display: none; background:none; border:none; padding: 5px; }
.clear-inp:hover { color: #ef4444; }
.clear-inp.visible { display: block; }

/* ================= LOADING OVERLAY ================= */
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2,6,23,0.85); backdrop-filter: blur(8px); z-index: 5000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }
.loading-overlay.active { display: flex; }
.loading-spinner { width: 50px; height: 50px; border: 4px solid rgba(234,179,8,0.2); border-top: 4px solid var(--primary-gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--primary-gold); font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; }

/* ================= INLINE EDIT PANEL ================= */
.edit-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease; opacity: 0; background: rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.05); }
.edit-panel.open { max-height: 600px; opacity: 1; padding: 20px; }
.edit-panel .ep-group { margin-bottom: 14px; }
.edit-panel .ep-group label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--primary-gold); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.edit-panel .ep-group input, .edit-panel .ep-group select { width: 100%; padding: 11px 14px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; font-size: 0.88rem; color: var(--text-light); font-weight: 500; font-family: 'Poppins', sans-serif; color-scheme: dark; transition: 0.3s; }
.edit-panel .ep-group input:focus, .edit-panel .ep-group select:focus { border-color: var(--primary-gold); box-shadow: 0 0 12px rgba(234,179,8,0.2); outline: none; }
.edit-panel .ep-row { display: flex; gap: 10px; }
.edit-panel .ep-row .ep-group { flex: 1; }
.edit-panel .ep-trip-toggle { display: flex; gap: 8px; }
.edit-panel .ep-trip-btn { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); color: var(--text-muted); font-size: 0.82rem; font-weight: 600; cursor: pointer; text-align: center; transition: 0.3s; font-family: 'Poppins', sans-serif; }
.edit-panel .ep-trip-btn.active { background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); color: var(--bg-deep); border-color: var(--primary-gold); }
.edit-update-btn { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow)); color: var(--bg-deep); border: none; border-radius: 10px; font-size: 0.95rem; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; margin-top: 5px; font-family: 'Poppins', sans-serif; }
.edit-update-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234,179,8,0.4); }
.edit-icon.active { background: var(--primary-gold); color: var(--bg-deep); }

/* ================= ROUTE HEADER STICKY ================= */
.route-header { position: sticky; top: 75px; }

/* ================= VALIDATION SHAKE ================= */
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.shake { animation: shake 0.4s ease; }

/* ================= SEARCH BTN LOADING STATE ================= */
.search-btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.search-btn.loading::after { content: ''; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(2,6,23,0.3); border-top-color: var(--bg-deep); border-radius: 50%; animation: spin 0.7s linear infinite; top: 50%; left: 50%; margin-top: -11px; margin-left: -11px; }


/* ═══════════════════════════════════════════════════════════════
   ROUTE PAGE SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Route Page Hero */
.route-hero {
    background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.6), var(--bg-deep));
    background-size: cover;
    background-position: center;
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
}
.route-hero h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    line-height: 1.3;
    margin-bottom: 10px;
}
.route-hero .route-hero-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Route Summary Card */
.route-summary-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-gold);
    border-radius: 20px;
    margin: -30px 15px 30px;
    padding: 25px 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.route-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
.route-summary-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.route-summary-item .rs-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.route-summary-item .rs-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}
.route-summary-item .rs-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.route-book-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-glow));
    color: var(--bg-deep);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.route-book-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5); }

/* Route Content Sections */
.route-content { padding: 0 15px; max-width: 800px; margin: 0 auto; }
.route-content-section { margin-bottom: 35px; }
.route-content-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.route-content-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Fare Summary Table */
.fare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: var(--glass-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.fare-table th, .fare-table td {
    padding: 14px 15px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fare-table th {
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fare-table td { color: var(--text-light); font-weight: 500; }
.fare-table tr:last-child td { border-bottom: none; }
.fare-table strong { color: var(--primary-gold); }

/* Places to Visit Grid */
.places-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.place-item {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 18px;
    transition: 0.3s;
}
.place-item:hover {
    border-color: var(--glass-border);
    transform: translateY(-2px);
}
.place-item h4 {
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.place-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* All Routes Grid (View More section) */
.all-routes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 15px;
    margin-bottom: 30px;
}
.all-route-link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.all-route-link:hover {
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-gold);
    border-color: rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}
.all-route-link i {
    color: var(--primary-gold);
    font-size: 0.75rem;
}

/* View More Button */
.view-more-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 20px auto 30px;
    padding: 14px;
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}
.view-more-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-deep);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }
