/* ═══════════════════════════════════════════════════════════
   JosraCab — Responsive & UI Enhancement Stylesheet
   Covers: mobile nav, skeleton loaders, vehicle hover CTA,
   booking progress bar, WhatsApp float, CTA contrast,
   form errors, confirmation page, and all breakpoints.
═══════════════════════════════════════════════════════════ */

/* ── 1. Mobile Navigation Hamburger ─────────────────────── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1.5px solid var(--line);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.ham-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand-green);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.mobile-menu-toggle.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 40, 25, 0.58);
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: fadeInOverlay 0.25s ease;
}
.nav-overlay.active { display: block; }

@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }

/* Sticky header shadow */
.header--scrolled {
    box-shadow: 0 4px 20px rgba(3, 40, 25, 0.1);
}

/* ── 2. Skeleton Loaders ─────────────────────────────────── */
@keyframes skeletonShimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: skeletonShimmer 1.4s infinite linear;
    border-radius: 6px;
}

.skeleton-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.skeleton-img { height: 200px; width: 100%; }
.skeleton-body { padding: 18px; display: grid; gap: 10px; }
.skeleton-title { height: 22px; width: 70%; }
.skeleton-text { height: 14px; width: 90%; }
.skeleton-text-sm { height: 14px; width: 50%; }
.skeleton-btn { height: 40px; width: 100%; border-radius: 6px; }

/* ── 3. Vehicle Card Hover Quick-Book Overlay ────────────── */
.vehicle-card { overflow: hidden; position: relative; }

.vehicle-quick-book {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(3,40,25,0.97) 0%, rgba(3,40,25,0.75) 100%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
}

.vehicle-card:hover .vehicle-quick-book {
    opacity: 1;
    transform: translateY(0);
}

.vehicle-quick-book .btn {
    flex: 1;
    font-size: 0.82rem;
    padding: 10px 8px;
    border-radius: 6px;
    font-weight: 800;
    min-height: 38px;
}

.vehicle-quick-book .btn-gold {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    border: none;
}

.vehicle-quick-book .btn-gold:hover { background: #e8c04a; }

.vehicle-quick-book .btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.6);
}

.vehicle-quick-book .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ── 4. Booking Form Step Progress Bar ───────────────────── */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(3,40,25,0.05);
}

.bp-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bp-step.active { color: var(--brand-green); }

.bp-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--muted);
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.bp-step.active .bp-step-num {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 12px rgba(6,78,43,0.35);
}

.bp-connector {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
    min-width: 30px;
    transition: background 0.3s ease;
}

.bp-connector.active { background: var(--brand-green); }

/* ── 5. Social Links already in footer — enhance ─────────── */
.pf-socials a[aria-label="WhatsApp"] { background: rgba(37,211,102,0.15); }
.pf-socials a[aria-label="WhatsApp"]:hover { background: #25D366; color: white; }

/* ── 6. WhatsApp Floating Button (enhance existing) ─────── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 990;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.6);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 8px 36px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.12); }
}

.whatsapp-float-label {
    position: absolute;
    left: 70px;
    background: white;
    color: #075e54;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-label { opacity: 1; }

/* ── 8. Form Error Messages with Icons ───────────────────── */
.alert {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    border-left: 4px solid;
}

.alert-danger {
    background: #fff5f5;
    border-color: #b42318;
    color: #7c1a12;
}

.alert-danger p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
}

.alert-danger p::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #b42318;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.alert-success {
    background: #f0fff4;
    border-color: #0f7a43;
    color: #064e2b;
}

/* ── 9. Blog Post Featured Image ─────────────────────────── */
.blog-post-featured-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(3,40,25,0.1);
}

/* ── 10. Admin Dashboard Charts ──────────────────────────── */
.dashboard-charts-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(3,40,25,0.05);
}

.chart-card h3 {
    margin: 0 0 20px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-green-deep);
}

/* ── 12. Consistent Vehicle Spec Icons ───────────────────── */
.vehicle-specs span,
.vehicle-specs-large span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: #555;
    font-weight: 600;
}

.vehicle-specs .fa-fw,
.vehicle-specs-large .fa-fw {
    color: var(--brand-gold);
    width: 16px;
    text-align: center;
}

/* ── 13. CTA Section Mobile Contrast Fix ─────────────────── */
.cta-section {
    background: linear-gradient(135deg, #032819 0%, #064e2b 60%, #0f7a43 100%);
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cta-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
    border-radius: 999px;
    margin: 14px auto 0;
}

.cta-section p {
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

/* ── 14. Booking Confirmation Page Enhancements ──────────── */
.confirmation-section {
    min-height: 80vh;
    display: grid;
    place-items: center;
    padding: 60px 0;
    background: var(--soft);
}

.confirmation-panel {
    max-width: 680px;
    width: 100%;
    padding: 48px 40px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(3,40,25,0.1);
}

.confirmation-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f7a43, #064e2b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: confPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 30px rgba(6,78,43,0.4);
}

.confirmation-icon i {
    font-size: 2.2rem;
    color: white;
    animation: confCheck 0.5s ease 0.3s both;
}

@keyframes confPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes confCheck {
    0% { transform: scale(0) rotate(-20deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.confirmation-panel h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--brand-green-deep);
    margin-bottom: 12px;
}

.confirmation-panel > p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.booking-summary {
    background: var(--soft);
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    margin-bottom: 28px;
}

.booking-summary div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-summary span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.booking-summary strong {
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 700;
}

/* Next-steps timeline */
.conf-next-steps {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 24px;
    margin-bottom: 28px;
    text-align: left;
}

.conf-next-steps h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.conf-next-steps h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--brand-gold);
    border-radius: 2px;
}

.conf-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.conf-step:last-child { border-bottom: none; }

.conf-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-green);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.conf-step div h4 { margin: 0 0 3px; font-size: 0.92rem; color: var(--ink); }
.conf-step div p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.conf-ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-soft);
    border: 1px solid var(--brand-gold);
    color: var(--brand-green-deep);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */

/* ── Large tablet (max 1080px) ───────────────────────────── */
@media (max-width: 1080px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
    .dashboard-charts-grid { grid-template-columns: 1fr; }
    .pf-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet (max 900px) ──────────────────────────────────── */
@media (max-width: 900px) {
    .airport-pickup-layout,
    .billing-layout,
    .about-story-grid,
    .about-mission-grid { grid-template-columns: 1fr; }

    .guest-reviews-grid { grid-template-columns: repeat(2, 1fr); }

    .booking-progress { gap: 6px; }
    .bp-step-label { display: none; }
    .bp-connector { min-width: 20px; }
}

/* ── Mobile nav breakpoint (max 768px) ───────────────────── */
@media (max-width: 768px) {
    .header {
        z-index: 1200;
    }

    .header-info-content {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 74px;
        padding-left: 58px;
        padding-right: 16px;
    }

    .header-logo {
        justify-self: center;
        margin-inline: auto;
    }

    .header-logo .logo-img {
        margin-inline: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        left: 0;
        top: 50%;
        width: 46px;
        min-width: 46px;
        height: 46px;
        transform: translateY(-50%);
        border-color: rgba(6, 78, 43, .18);
        background: #fff;
        box-shadow: 0 8px 20px rgba(3, 40, 25, .08);
    }

    .mobile-menu-toggle:focus-visible {
        outline: 3px solid rgba(215, 173, 50, .45);
        outline-offset: 3px;
    }

    /* Slide-in drawer from the right — HIDDEN by default */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;          /* off-screen to the right */
        width: min(360px, 88vw);
        height: 100dvh;
        background: var(--brand-green-deep);
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;          /* always flex, position controls visibility */
        overflow-y: auto;
        box-shadow: -8px 0 40px rgba(0,0,0,0.3);
        visibility: hidden;     /* hide from screen readers when closed */
        overscroll-behavior: contain;
    }

    /* Slide IN when open */
    .nav.nav--open {
        right: 0;
        visibility: visible;
    }

    /* Drawer header with logo + close button */
    .nav::before { content: none; }

    /* Drawer header: close button injected by JS */
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 70px;
        padding: 18px 18px 18px 22px;
        background: rgba(255,255,255,0.035);
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
        cursor: pointer;
        flex-shrink: 0;
        color: rgba(255,255,255,0.82);
        font-size: 1.1rem;
        transition: color 0.2s;
    }
    .nav-close-btn span {
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--brand-gold);
    }
    .nav-close-btn i {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 8px;
        font-size: 1rem;
        color: rgba(255,255,255,0.76);
        transition: color 0.2s, transform 0.2s;
    }
    .nav-close-btn:hover i {
        color: white;
        transform: rotate(90deg);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 10px 14px 18px;
        flex: 1;
    }

    .nav-item { width: 100%; }

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        font-size: 0.98rem;
        font-weight: 800;
        padding: 12px 12px;
        color: rgba(255,255,255,0.78);
        border-radius: 8px;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
        letter-spacing: 0.01em;
    }

    .nav-link.active {
        color: var(--brand-gold);
        background: rgba(215,173,50,0.1);
        border-left-color: var(--brand-gold);
    }

    .nav-link:hover {
        color: white;
        background: rgba(255,255,255,0.06);
        border-left-color: rgba(215,173,50,0.5);
    }

    /* Book Now link — highlighted */
    .nav-link[href*="booking"] {
        margin: 10px 0 4px;
        width: 100%;
        background: var(--brand-gold);
        color: var(--brand-green-deep);
        border-radius: 8px;
        border-left: none;
        font-weight: 800;
        justify-content: center;
        padding: 14px 24px;
    }

    .nav-booking-link.active {
        color: var(--brand-green-deep) !important;
        background: var(--brand-gold) !important;
    }

    .nav-link[href*="booking"]:hover {
        background: #e8c04a;
        color: var(--brand-green-deep);
        border-left: none;
    }

    /* Contact info at bottom of drawer */
    .nav-list::after {
        content: '24/7 support: +254 746 230 366';
        display: flex;
        align-items: center;
        padding: 18px 12px 0;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.55);
        border-top: 1px solid rgba(255,255,255,0.08);
        margin-top: 12px;
    }

    /* Sections */
    section { padding: 50px 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    /* Grids */
    .features-grid,
    .services-grid,
    .service-areas-grid,
    .why-choose-grid,
    .vehicles-grid,
    .about-values-grid,
    .services-detail-grid,
    .guest-reviews-grid { grid-template-columns: 1fr; }

    /* Mobile Horizontal Sliders for Home Page */
    .home-vehicles-grid, 
    .home-services-grid, 
    .home-promo-grid, 
    .features-grid, 
    .why-choose-grid, 
    .guest-reviews-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .home-vehicles-grid::-webkit-scrollbar,
    .home-services-grid::-webkit-scrollbar,
    .home-promo-grid::-webkit-scrollbar,
    .features-grid::-webkit-scrollbar,
    .why-choose-grid::-webkit-scrollbar,
    .guest-reviews-grid::-webkit-scrollbar {
        display: none;
    }
    
    .home-vehicles-grid > *,
    .home-services-grid > *,
    .home-promo-grid > *,
    .features-grid > *,
    .why-choose-grid > *,
    .guest-reviews-grid > * {
        flex: 0 0 85%;
        scroll-snap-align: start;
        min-width: 0;
    }

    /* Forms */
    .form-grid,
    .form-row { grid-template-columns: 1fr; }
    .home-search-form { grid-template-columns: 1fr; }

    /* Booking */
    .booking-page-layout { grid-template-columns: minmax(0, 1fr); }
    .booking-side-panel { display: none; }
    .booking-form { padding: 22px 18px; }
    .booking-progress { flex-wrap: nowrap; overflow-x: auto; padding: 14px; }

    /* About */
    .about-stat-grid { grid-template-columns: 1fr; }
    .about-story-image img,
    .about-mission-image img { min-height: 240px; }

    /* Confirmation */
    .booking-summary { grid-template-columns: 1fr; }
    .confirmation-panel { padding: 32px 20px; }

    /* CTA */
    .cta-section h2::after { margin: 10px auto 0; }

    /* Routes section */
    .routes-hero-stats { flex-direction: column; gap: 20px; }

    /* Blog */
    .blog-post-layout { grid-template-columns: 1fr; }
    .blog-post-sidebar { display: none; }

    /* Dashboard */
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Small mobile (max 480px) ────────────────────────────── */
@media (max-width: 480px) {
    .container { width: calc(100% - 24px); }
    .nav { width: min(340px, 92vw); }
    .hero-title { font-size: 1.9rem; }
    .page-header h1 { font-size: 1.7rem; }
    .page-header { padding: 60px 0 46px; }

    .vehicle-quick-book { display: none; } /* too small for hover overlay */

    .btn-lg { min-height: 46px; padding: 11px 18px; font-size: 0.95rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    .booking-actions { flex-direction: column; }
    .booking-actions .btn { width: 100%; justify-content: center; }

    .pf-grid { grid-template-columns: 1fr; gap: 32px; }
    .pf-bottom { flex-direction: column; text-align: center; }

    .admin-stats-grid { grid-template-columns: 1fr; }
    .dashboard-charts-grid { grid-template-columns: 1fr; }

    /* Confirmation */
    .booking-summary { grid-template-columns: 1fr; gap: 12px; }
    .conf-next-steps { padding: 18px; }
}

/* =========================================
   Blog Post Single View UI Enhancements
========================================= */

/* Share Panel */
.share-panel { text-align: center; }
.share-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 15px; }
.share-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 1.1rem; transition: transform 0.2s, box-shadow 0.2s; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: white; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }

/* Author Panel */
.author-panel { display: flex; align-items: center; gap: 15px; background: rgba(215, 173, 50, 0.05); border: 1px solid rgba(215, 173, 50, 0.15); padding: 20px; border-radius: 8px; }
.author-avatar i { font-size: 2.8rem; color: var(--brand-gold); }
.author-info strong { display: block; font-size: 1.05rem; color: var(--brand-green-deep); margin-bottom: 2px; }
.author-info p { margin: 0; font-size: 0.85rem; color: #555; }

/* Sidebar Links Update */
.sidebar-links { list-style: none; padding: 0; margin: 15px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-links li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8f9fa; border-radius: 6px; color: #444; font-weight: 500; transition: 0.2s; text-decoration: none; border: 1px solid #eee; }
.sidebar-links li a i { color: var(--brand-gold); width: 16px; text-align: center; }
.sidebar-links li a:hover { background: white; border-color: var(--brand-gold); color: var(--brand-green-deep); transform: translateX(3px); }
.sidebar-links li a.btn-sidebar-book { background: var(--brand-gold); color: white; border-color: var(--brand-gold); justify-content: space-between; margin-top: 5px; }
.sidebar-links li a.btn-sidebar-book i { color: white; }
.sidebar-links li a.btn-sidebar-book:hover { background: #c59b28; color: white; transform: none; box-shadow: 0 4px 10px rgba(215, 173, 50, 0.3); }

/* =========================================
   Blog Post Responsive Breakpoints
========================================= */

@media (max-width: 960px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .blog-post-content {
        padding: 26px 28px;
    }

    .article-cta {
        padding: 28px 24px;
    }
}

@media (max-width: 640px) {
    .blog-post-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-post-hero {
        padding: 60px 0 44px;
    }

    .blog-post-content {
        padding: 22px 18px;
    }

    .article-cta {
        padding: 24px 18px;
    }

    .article-cta .cta-buttons {
        flex-direction: column;
    }

    .share-buttons {
        gap: 10px;
    }

    .related-posts .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Where We Serve — Interactive Map Section
========================================= */
.where-we-serve-section { padding: 80px 0; background: #f7f9f7; }

.serve-map-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(3, 40, 25, 0.14);
    border: 1px solid rgba(215, 173, 50, 0.2);
    margin-top: 40px;
    min-height: 520px;
}

.serve-area-list {
    background: #032819;
    overflow-y: auto;
    max-height: 520px;
    display: flex;
    flex-direction: column;
}

.serve-area-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
    text-align: left;
    transition: background 0.18s;
    width: 100%;
    color: rgba(255,255,255,0.7);
}

.serve-area-btn:hover,
.serve-area-btn.active { background: rgba(215,173,50,0.12); color: white; }
.serve-area-btn.active { border-left: 3px solid #d7ad32; }

.serve-area-pin {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 8px; background: rgba(215,173,50,0.15);
    display: grid; place-items: center; font-size: 0.85rem; color: #d7ad32;
}

.serve-area-btn.active .serve-area-pin,
.serve-area-btn:hover .serve-area-pin { background: rgba(215,173,50,0.3); }

.serve-area-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.serve-area-info strong { font-size: 0.9rem; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serve-area-info small { font-size: 0.72rem; color: rgba(255,255,255,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.serve-area-book {
    font-size: 0.72rem; font-weight: 700; color: #d7ad32;
    text-decoration: none; white-space: nowrap;
    opacity: 0; transition: opacity 0.18s;
    display: flex; align-items: center; gap: 4px;
}
.serve-area-btn:hover .serve-area-book,
.serve-area-btn.active .serve-area-book { opacity: 1; }

.serve-map-wrap { position: relative; background: #e5e5e5; flex: 1; }

.serve-map-badge {
    position: absolute; top: 14px; left: 14px; z-index: 10;
    background: #032819; color: #d7ad32;
    padding: 7px 14px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 800;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 14px rgba(3,40,25,0.3); pointer-events: none;
}

.serve-map-wrap iframe { width: 100%; height: 100%; min-height: 520px; display: block; border: 0; }

@media (max-width: 860px) {
    .serve-map-layout { grid-template-columns: 1fr; }
    .serve-area-list { max-height: 210px; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
    .serve-area-btn {
        flex-direction: column; text-align: center;
        min-width: 120px; border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.07); padding: 12px;
    }
    .serve-area-btn.active { border-left: none; border-top: 3px solid #d7ad32; }
    .serve-area-book { display: none; }
    .serve-map-wrap iframe { min-height: 360px; }
}

@media (max-width: 480px) {
    .serve-map-wrap iframe { min-height: 280px; }
    .where-we-serve-section { padding: 48px 0; }
}

/* =========================================
   JosraCab Premium Blog Post UI
========================================= */

/* Hero */
.blog-post-hero-tajipack {
    padding: 120px 0 90px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left;
    position: relative;
    border-bottom: 5px solid var(--brand-gold);
}
.blog-post-hero-tajipack::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 40, 25, 0.95) 0%, rgba(3, 40, 25, 0.7) 100%);
    z-index: 1;
}
.blog-post-hero-tajipack .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.blog-category-badge {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--brand-gold);
    margin-bottom: 18px;
    display: inline-block;
    background: rgba(215, 173, 50, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(215, 173, 50, 0.3);
}
.blog-post-hero-tajipack h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.blog-meta-tajipack {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.dot-separator { font-size: 0.6rem; opacity: 0.5; color: var(--brand-gold); }

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 24px 0;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}
.breadcrumb-nav a { color: var(--brand-green); text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: var(--brand-gold); }
.breadcrumb-nav i { font-size: 0.7rem; margin: 0 10px; color: #ccc; }

/* Layout */
.blog-post-section-tajipack {
    background: #f7f9f7;
    padding: 20px 0 90px;
}
.blog-post-layout-tajipack {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Main Content */
.blog-post-content-tajipack {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(3, 40, 25, 0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.blog-lead-tajipack {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--brand-green-deep);
    line-height: 1.7;
    margin-bottom: 35px;
    padding-left: 24px;
    border-left: 4px solid var(--brand-gold);
    font-style: italic;
    background: rgba(215, 173, 50, 0.04);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}
.blog-body-text p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #4a5550;
    margin-bottom: 28px;
}
.drop-cap::first-letter {
    float: left;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 0.85;
    color: var(--brand-green);
    margin: 8px 14px 0 0;
    text-shadow: 2px 2px 0px rgba(215, 173, 50, 0.3);
}

/* Share Panel */
.share-panel-tajipack {
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.share-label { font-weight: 700; color: var(--brand-green-deep); font-size: 1.05rem; }
.share-buttons-outline { display: flex; gap: 12px; }
.share-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #eaeaea;
    border-radius: 999px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background: white;
}
.share-btn-outline:hover { 
    background: var(--brand-green); 
    border-color: var(--brand-green); 
    color: white; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 78, 43, 0.15);
}

/* Sidebar */
.blog-sidebar-tajipack { 
    display: grid; 
    gap: 30px; 
    position: sticky;
    top: 100px;
}
.sidebar-widget-tajipack {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(3, 40, 25, 0.04);
}
.sidebar-widget-tajipack h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--brand-green-deep);
    position: relative;
    padding-bottom: 12px;
}
.sidebar-widget-tajipack h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--brand-gold);
    border-radius: 2px;
}

/* Categories List */
.category-list-tajipack { list-style: none; padding: 0; margin: 0; }
.category-list-tajipack li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #eaeaea;
}
.category-list-tajipack li:last-child { border-bottom: none; padding-bottom: 0; }
.category-list-tajipack a { 
    color: #555; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 1rem; 
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.category-list-tajipack a:hover { 
    color: var(--brand-gold); 
    transform: translateX(4px);
}
.cat-count {
    background: var(--gold-soft);
    color: var(--brand-green);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

/* More Resources List */
.more-resources-list { display: grid; gap: 20px; }
.more-resource-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 16px;
    text-decoration: none;
    align-items: center;
    group: hover;
}
.more-resource-item img {
    width: 85px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s;
}
.more-resource-item:hover img { transform: scale(1.05); }
.more-resource-text h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--brand-green-deep);
    margin: 0 0 6px;
    font-weight: 700;
    transition: color 0.2s;
}
.more-resource-item:hover h4 { color: var(--brand-gold); }
.more-resource-text span { 
    font-size: 0.75rem; 
    color: var(--brand-green); 
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Sidebar CTA */
.sidebar-cta-tajipack {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green) 100%);
    color: white;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sidebar-cta-tajipack::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(215, 173, 50, 0.1);
    border-radius: 50%;
}
.cta-eyebrow { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 800; 
    margin-bottom: 12px; 
    display: block; 
    color: var(--brand-gold); 
}
.sidebar-cta-tajipack h3 { 
    font-size: 1.4rem; 
    margin-bottom: 24px; 
    color: white; 
    line-height: 1.4;
    position: relative;
    z-index: 2;
}
.sidebar-cta-tajipack .btn { 
    background: var(--brand-gold); 
    color: white; 
    border: none; 
    width: 100%; 
    font-weight: 700; 
    padding: 14px;
    position: relative;
    z-index: 2;
}
.sidebar-cta-tajipack .btn:hover { background: #c59b28; box-shadow: 0 4px 15px rgba(215, 173, 50, 0.4); }

/* Related Resources */
.related-posts-tajipack { 
    margin-top: 80px; 
    padding-top: 60px; 
    border-top: 1px solid #eaeaea; 
}
.section-header-tajipack { margin-bottom: 40px; }
.section-header-tajipack .eyebrow-text { 
    color: var(--brand-gold); 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 1.5px; 
    display: block; 
    margin-bottom: 8px; 
}
.section-header-tajipack h2 { font-size: 2.2rem; color: var(--brand-green-deep); margin: 0; font-weight: 800; }
.related-grid-tajipack { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
}
.related-card-tajipack { 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(3, 40, 25, 0.05); 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.related-card-tajipack:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(3, 40, 25, 0.1);
}
.related-card-img { display: block; overflow: hidden; height: 220px; }
.related-card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.related-card-tajipack:hover .related-card-img img { transform: scale(1.08); }
.related-card-content { padding: 30px; }
.related-cat { 
    color: var(--brand-gold); 
    font-size: 0.75rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 12px; 
    display: inline-block; 
    background: rgba(215, 173, 50, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}
.related-card-content h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 15px; font-weight: 700; }
.related-card-content h3 a { color: var(--brand-green-deep); text-decoration: none; transition: color 0.2s; }
.related-card-content h3 a:hover { color: var(--brand-gold); }
.related-card-content p { color: #555; font-size: 0.95rem; margin: 0; line-height: 1.6; }

@media (max-width: 960px) {
    .blog-post-layout-tajipack { grid-template-columns: 1fr; gap: 30px; }
    .blog-sidebar-tajipack { position: static; }
}
@media (max-width: 640px) {
    .blog-post-hero-tajipack { padding: 80px 0 60px; }
    .share-panel-tajipack { flex-direction: column; align-items: stretch; gap: 20px; }
    .share-buttons-outline { flex-direction: column; }
    .share-btn-outline { justify-content: center; }
    .blog-post-content-tajipack { padding: 25px; }
}

/* =========================================
   Booking Page Hero
========================================= */
.booking-hero {
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--brand-gold);
    margin-bottom: -40px; /* Pull the form up slightly into the hero area */
}

.booking-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.booking-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.booking-hero p {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .booking-hero {
        padding: 80px 0 60px;
        margin-bottom: -20px;
    }
}

/* =========================================
   JosraCab Luxury Booking UI Overrides
========================================= */

/* The Progress Bar */
.booking-progress {
    position: relative;
    z-index: 5;
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(3, 40, 25, 0.06);
    padding: 24px 30px;
}
.bp-step.active { color: var(--brand-gold); }
.bp-step.active .bp-step-num {
    background: var(--brand-gold);
    color: white;
    box-shadow: 0 4px 12px rgba(215, 173, 50, 0.35);
}
.bp-connector { background: #eaeaea; height: 3px; border-radius: 2px; }

/* The Main Booking Form Card */
.booking-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(3, 40, 25, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    border-top: 5px solid var(--brand-gold);
}
.booking-step {
    padding: 0 0 35px;
    margin-bottom: 35px;
    border-bottom: 1px dashed #eaeaea;
}
.step-title span {
    background: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(215, 173, 50, 0.3);
}
.step-title h2 { color: var(--brand-green-deep); font-weight: 800; font-size: 1.5rem; }

/* Vehicle Selection Cards */
.vehicle-option {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 16px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.vehicle-option:hover {
    border-color: var(--brand-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(215, 173, 50, 0.15);
}
.vehicle-option:has(input:checked) {
    border-color: var(--brand-gold);
    background: rgba(215, 173, 50, 0.06);
    box-shadow: 0 0 0 2px var(--brand-gold);
}
.vehicle-option em { color: var(--brand-green-deep); font-weight: 900; }

/* Side Panels */
.booking-side-panel {
    gap: 24px;
}
.booking-side-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    border-top: 4px solid var(--brand-gold);
    box-shadow: 0 10px 30px rgba(3, 40, 25, 0.05);
}
.booking-side-card h2, .booking-side-card h3 {
    color: var(--brand-green-deep);
    font-weight: 800;
}
.booking-benefit-list div {
    background: rgba(215, 173, 50, 0.05);
    border: 1px solid rgba(215, 173, 50, 0.15);
    color: var(--brand-green-deep);
    border-radius: 8px;
}
.booking-benefit-list div::before {
    border-left: 2px solid var(--brand-gold);
    border-bottom: 2px solid var(--brand-gold);
}

/* Quote/Estimate Card Special Treatment */
.booking-estimate-card {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green) 100%);
    color: white;
    border-top: none;
    box-shadow: 0 15px 35px rgba(6, 78, 43, 0.2);
    position: relative;
    overflow: hidden;
}
.booking-estimate-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(215, 173, 50, 0.1);
    border-radius: 50%;
}
.booking-estimate-card .section-eyebrow { color: var(--brand-gold); }
.booking-estimate-card p, .booking-estimate-card span { color: rgba(255,255,255,0.8); }
.booking-estimate-card strong { color: white; display: block; font-size: 1.8rem; margin: 10px 0; }

.booking-whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1080;
    display: grid;
    justify-items: end;
    gap: 12px;
    pointer-events: none;
}

.booking-whatsapp-trigger,
.booking-whatsapp-popover {
    pointer-events: auto;
}

.booking-whatsapp-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font: inherit;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(37, 211, 102, .35);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.booking-whatsapp-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(37, 211, 102, .45);
}

.booking-whatsapp-trigger i {
    font-size: 1.35rem;
}

.booking-whatsapp-popover {
    position: relative;
    width: min(360px, calc(100vw - 32px));
    padding: 28px;
    border: 1px solid rgba(37, 211, 102, .22);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(3, 40, 25, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.98);
    transform-origin: right bottom;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.booking-whatsapp-widget.is-open .booking-whatsapp-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.booking-whatsapp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}

.booking-whatsapp-close:hover {
    color: var(--brand-green-deep);
    border-color: rgba(37, 211, 102, .35);
}

.booking-whatsapp-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(37, 211, 102, .12);
    color: #128C7E;
    font-size: 1.9rem;
}

.booking-whatsapp-eyebrow {
    margin: 0 0 6px;
    color: #128C7E;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.booking-whatsapp-popover h3 {
    margin: 0 0 8px;
    color: var(--brand-green-deep);
    font-size: 1.35rem;
    line-height: 1.15;
}

.booking-whatsapp-popover p:not(.booking-whatsapp-eyebrow) {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: .95rem;
}

.booking-whatsapp-actions {
    display: grid;
    gap: 10px;
}

.booking-whatsapp-actions .btn {
    width: 100%;
}

.booking-whatsapp-actions .btn-primary {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.booking-whatsapp-actions .btn-primary:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: #fff;
}

@media (max-width: 768px) {
    .booking-form { padding: 25px; }
    .booking-side-card { padding: 25px; }

    .booking-whatsapp-widget {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-items: stretch;
    }

    .booking-whatsapp-trigger {
        justify-content: center;
        width: 100%;
        min-height: 50px;
        padding: 12px 16px;
    }

    .booking-whatsapp-popover {
        width: 100%;
        padding: 24px;
        transform-origin: center bottom;
    }
}

/* =========================================
   Contact Page — Premium Styles
========================================= */

/* Hero */
.contact-hero {
    position: relative;
    padding: 120px 0 90px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--brand-gold);
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 40, 25, 0.95) 0%, rgba(3, 40, 25, 0.7) 100%);
    z-index: 1;
}
.contact-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}
.contact-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-gold);
    background: rgba(215, 173, 50, 0.15);
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(215, 173, 50, 0.3);
    margin-bottom: 18px;
}
.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.contact-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Layout */
.contact-main-section {
    background: #f7f9f7;
    padding: 20px 0 80px;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Form Card */
.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(3, 40, 25, 0.06);
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 5px solid var(--brand-gold);
}
.contact-form-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0 0 8px;
}
.contact-form-subtitle {
    color: #777;
    margin: 0 0 30px;
    font-size: 1rem;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-form-card .form-group { margin-bottom: 0; }
.contact-form-card label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 6px;
    display: block;
}
.contact-form-card .required { color: #e53935; }
.contact-form-card .form-control {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-card .form-control:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(215, 173, 50, 0.15);
    outline: none;
}
.contact-submit-btn {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Success Message */
.contact-success-msg {
    text-align: center;
    padding: 40px 20px;
}
.contact-success-icon {
    font-size: 3.5rem;
    color: var(--brand-green);
    margin-bottom: 20px;
}
.contact-success-msg h2 {
    color: var(--brand-green-deep);
    margin-bottom: 12px;
}
.contact-success-msg p {
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Sidebar Info Cards */
.contact-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}
.contact-info-card {
    display: flex;
    gap: 18px;
    padding: 26px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 6px 20px rgba(3, 40, 25, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(3, 40, 25, 0.08);
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: var(--brand-green);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}
.contact-info-icon.whatsapp { background: #25d366; }
.contact-info-icon.email { background: var(--brand-gold); color: white; }
.contact-info-icon.location { background: #064e2b; }
.contact-info-body h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-green-deep);
}
.contact-info-body p {
    margin: 0 0 6px;
    font-size: 0.88rem;
    color: #888;
    line-height: 1.5;
}
.contact-info-link {
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-info-link:hover { color: var(--brand-green); }

/* Social Card */
.contact-social-card {
    padding: 26px;
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green) 100%);
    border-radius: 12px;
    text-align: center;
}
.contact-social-card h3 {
    color: white;
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 800;
}
.contact-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}
.contact-socials a:hover {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    transform: translateY(-3px);
}

/* Map */
.contact-map-section {
    padding: 80px 0;
    background: white;
}
.contact-map-wrap {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(3, 40, 25, 0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

/* FAQ */
.contact-faq-section {
    padding: 80px 0;
    background: #f7f9f7;
}
.contact-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-faq-header .eyebrow-text {
    color: var(--brand-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}
.contact-faq-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0 0 16px;
    line-height: 1.2;
}
.contact-faq-header p {
    color: #666;
    line-height: 1.7;
    margin: 0 0 30px;
}

/* Accordion */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(3, 40, 25, 0.03);
    overflow: hidden;
}
.faq-question {
    padding: 22px 26px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-green-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
    transition: background 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(215, 173, 50, 0.04); }
.faq-chevron {
    font-size: 0.8rem;
    color: var(--brand-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}
details[open] .faq-chevron { transform: rotate(180deg); }
details[open] .faq-question {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--brand-gold);
}
.faq-answer {
    padding: 20px 26px;
}
.faq-answer p {
    color: #555;
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .contact-sidebar { position: static; }
    .contact-faq-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
    .contact-hero { padding: 80px 0 60px; }
    .contact-form-card { padding: 28px; }
    .contact-form-grid { grid-template-columns: 1fr; }
}


/* ========================================
   RESPONSIVE STYLES FOR NEW PAGES
   ======================================== */

@media (max-width: 1024px) {
    .routes-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-layout,
    .vehicle-details-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .vehicle-gallery {
        position: static;
    }
    
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .routes-hero-stats {
        grid-template-columns: 1fr;
    }
    
    .route-stat {
        padding: 16px;
    }
    
    .quick-quote-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .route-card {
        grid-template-columns: 1fr;
    }
    
    .route-icon {
        margin: 0 auto;
    }
    
    .pricing-info-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .services-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-layout {
        gap: 24px;
    }
    
    .service-detail-image img {
        height: 300px;
    }
    
    .why-choose-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-grid {
        justify-content: flex-start;
    }
    
    .vehicle-details-layout {
        gap: 24px;
    }
    
    .gallery-main img {
        height: 350px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .similar-vehicles .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb-nav .container {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .quick-quote-card {
        padding: 20px;
    }
    
    .route-card {
        padding: 16px;
    }
    
    .pricing-info-card,
    .faq-item,
    .service-overview-card,
    .why-choose-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .service-detail-image img {
        height: 250px;
    }
    
    .gallery-main img {
        height: 280px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-thumb {
        height: 70px;
    }
    
    .service-price-tag .price-amount {
        font-size: 2rem;
    }
    
    .vehicle-pricing-card {
        padding: 20px;
    }
}


/* ========================================
   HERO SLIDER RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-slide {
        min-height: 500px;
        padding-bottom: 60px;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-slider-prev {
        left: 10px;
    }
    
    .hero-slider-next {
        right: 10px;
    }
    
    .hero-slider-dots {
        bottom: 20px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   SERVICES SLIDER RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .services-slider .service-card {
        flex: 0 0 calc(50% - 11px);
        min-width: calc(50% - 11px);
    }
}

@media (max-width: 768px) {
    .services-slider-container {
        padding: 0 50px;
    }
    
    .services-slider .service-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .services-slider-prev,
    .services-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-slider-container {
        padding: 0 40px;
    }
    
    .services-slider-prev,
    .services-slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ========================================
   CUSTOMER REVIEWS RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .customer-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .customer-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .customer-review-card {
        padding: 22px;
    }
    
    .reviews-cta {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .customer-review-card {
        padding: 18px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ========================================
   SERVICES OVERVIEW SLIDER RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .services-overview-slider .service-overview-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .services-overview-slider-container {
        padding: 0 50px 40px;
    }
    
    .services-overview-slider .service-overview-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .services-overview-prev,
    .services-overview-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-overview-slider-container {
        padding: 0 40px 35px;
    }
    
    .services-overview-prev,
    .services-overview-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ========================================
   SERVICE DETAIL IMAGE SLIDER RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .service-image-slider {
        height: 300px;
    }
    
    .service-image-prev,
    .service-image-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-image-prev {
        left: 10px;
    }
    
    .service-image-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .service-image-slider {
        height: 250px;
    }
    
    .service-image-prev,
    .service-image-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .service-image-dots {
        bottom: 10px;
    }
    
    .service-image-dot {
        width: 8px;
        height: 8px;
    }
}

/* Professional mobile navigation drawer overrides. */
@media (max-width: 768px) {
    .mobile-menu-toggle.is-open {
        opacity: 0;
        pointer-events: none;
    }

    .nav-overlay {
        z-index: 1090;
    }

    .header-nav-row .nav {
        position: fixed;
        top: 10px;
        left: -110%;
        right: auto;
        width: min(360px, calc(100vw - 24px));
        height: calc(100dvh - 20px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        padding: 0;
        background: #fff;
        border: 1px solid rgba(3, 40, 25, .08);
        border-radius: 14px;
        box-shadow: 12px 18px 55px rgba(3, 40, 25, .28);
        visibility: hidden;
        z-index: 1210;
        overscroll-behavior: contain;
        transition: right .35s cubic-bezier(.4, 0, .2, 1);
    }

    .header-nav-row .nav.nav--open {
        left: 12px;
        visibility: visible;
    }

    .header-nav-row .nav::before {
        content: none;
    }

    .header-nav-row .nav-close-btn {
        display: flex;
        min-height: 68px;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 16px 16px 16px 20px;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: linear-gradient(135deg, #fff 0%, #fbf8ef 100%);
        color: var(--brand-green-deep);
        cursor: pointer;
    }

    .header-nav-row .nav-close-btn span {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: var(--brand-green-deep);
        font-size: .84rem;
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .header-nav-row .nav-close-btn span::before {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--brand-gold);
        box-shadow: 0 0 0 5px rgba(215, 173, 50, .14);
    }

    .header-nav-row .nav-close-btn i {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--brand-green);
        font-size: 1rem;
        transition: transform .2s ease, color .2s ease;
    }

    .header-nav-row .nav-close-btn:hover i {
        color: var(--brand-green-deep);
        transform: rotate(90deg);
    }

    .header-nav-row .nav-list {
        height: auto;
        width: 100%;
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 14px 14px 18px;
    }

    .header-nav-row .nav-item {
        width: 100%;
    }

    .header-nav-row .nav-link {
        width: 100%;
        height: auto;
        min-height: 50px;
        justify-content: flex-start;
        padding: 12px 14px;
        border-left: 3px solid transparent;
        border-radius: 8px;
        background: transparent;
        color: var(--brand-green-deep);
        font-size: .98rem;
        font-weight: 800;
        white-space: normal;
    }

    .header-nav-row .nav-link.active {
        color: var(--brand-green-deep);
        background: var(--gold-soft);
        border-left-color: var(--brand-gold);
    }

    .header-nav-row .nav-link:hover {
        color: var(--brand-green);
        background: #f7f9f7;
        border-left-color: rgba(215, 173, 50, .7);
    }

    .header-nav-row .nav-link[href*="booking"],
    .header-nav-row .nav-booking-link.active,
    .header-nav-row .nav-booking-link:hover {
        width: 100%;
        min-height: 50px;
        margin: 12px 0 8px;
        justify-content: center;
        border-left: 0;
        border-radius: 8px;
        background: var(--brand-gold) !important;
        color: var(--brand-green-deep) !important;
        font-weight: 900;
    }

    .header-nav-row .nav-list::after {
        content: '24/7 support: +254 746 230 366';
        display: flex;
        min-height: 46px;
        align-items: center;
        margin-top: 12px;
        padding: 14px 12px 0;
        border-top: 1px solid var(--line);
        color: var(--muted);
        font-size: .85rem;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .header-nav-row .nav {
        top: 8px;
        left: -110%;
        right: auto;
        width: calc(100vw - 20px);
        height: calc(100dvh - 16px);
    }

    .header-nav-row .nav.nav--open {
        left: 10px;
    }
}
