:root {
    --wc-red: #dc2626;
    --wc-red-dark: #b91c1c;
    --wc-blue: #1e3a8a;
     --paper:#FBF8F2;
    --paper-dim:#F3EEE1;
    --ink:#12181F;
    --ink-soft:#4B5563;
    --red:#D6402C;
    --red-dark:#B22F1F;
    --navy:#17264D;
    --navy-soft:#2A3B66;
    --teal:#0F8C82;
    --teal-soft:#E4F3F1;
    --gold:#E8A33D;
    --line:#E4DDCB;
    --white:#FFFFFF;
    --radius-lg:22px;
    --radius-md:14px;
    --radius-sm:9px;
    --shadow-soft:0 10px 30px rgba(23,38,77,0.08);
    --shadow-pop:0 18px 44px rgba(23,38,77,0.16);
}

 



.fw-black {
    font-weight: 900;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

body.rtl {
    direction: rtl;
}

.top-banner {
    background-color: #b91c1c;
    font-size: 0.75rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.logo-box {
    width: 56px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
}

.brand-wc { color: var(--wc-red); }
.brand-assist { color: var(--wc-blue); }

.search-input { padding-right: 3.5rem; }
body.rtl .search-input {
    padding-right: 0.75rem;
    padding-left: 3.5rem;
}

.search-btn {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    z-index: 5;
}

body.rtl .search-btn {
    right: auto;
    left: 4px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--wc-blue), #2563eb);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}

.btn-get-listed {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wc-red), var(--wc-red-dark));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-get-listed:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.38);
}

.btn-get-listed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.75rem;
}

.header-user-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    max-width: 100%;
}

.header-user-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1px;
}

.header-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.2;
}

.header-user-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.header-user-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.header-user-signout {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    cursor: pointer;
}

.header-user-signout:hover {
    color: var(--wc-red);
}

@media (max-width: 767.98px) {
    .btn-get-listed span:not(.btn-get-listed-icon) {
        display: none;
    }

    .btn-get-listed {
        padding: 0.5rem 0.65rem;
    }
}

.category-section {
    position: relative;
    z-index: 2;
}

.category-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-btn {
    flex-shrink: 0;
    min-width: 90px;
    border: 2px solid transparent;
    background: transparent;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.category-btn.active {
    border-color: var(--wc-red);
    background: rgba(220, 38, 38, 0.08);
    color: var(--wc-red);
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.category-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.category-nav-left { left: 0; }
.category-nav-right { right: 0; }

.hero-section {
    background: linear-gradient(to right, #0f172a, #172554, #0f172a);
    position: relative;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
}

.hero-carousel .carousel-item {
    position: relative;
    min-height: 280px;
}

.hero-carousel-indicators {
    margin-bottom: 0;
    z-index: 3;
}

.hero-carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
}

.hero-carousel-indicators .active {
    background-color: #fff;
}

.hero-carousel-control {
    width: 8%;
    z-index: 3;
}

.hero-slide-content {
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#e11d48 1px, transparent 1px);
    background-size: 16px 16px;
}

.hero-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.hero-pillars-row {
    max-width: 960px;
    margin: 0 auto;
}

.hero-pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .hero-pillar span {
        white-space: nowrap;
    }
}

.section-bar {
    width: 10px;
    height: 24px;
    border-radius: 2px;
}

.section-bar-red { background: var(--wc-red); }
.section-bar-blue { background: var(--wc-blue); }
.section-bar-green { background: #059669; }

.section-title-line {
    height: 4px;
    width: 64px;
    background: var(--wc-red);
    border-radius: 999px;
}

.vehicle-card {
    transition: all 0.3s;
    height: 100%;
}

.vehicle-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.vehicle-card-img-wrap {
    height: 192px;
    overflow: hidden;
    background: #f1f5f9;
}

.vehicle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vehicle-card:hover .vehicle-card-img {
    transform: scale(1.05);
}

.location-badge {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    font-size: 0.625rem;
}

.type-badge {
    background: rgba(220, 38, 38, 0.95);
    font-size: 0.5625rem;
}

.book-btn {
    border: 2px solid #059669;
    color: #059669;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.book-btn:hover {
    background: #059669;
    color: #fff;
}

.star-rating { color: #fbbf24; }

.plan-card {
    border-radius: 1.5rem;
    transition: all 0.3s;
}

.plan-card.popular {
    border-color: var(--wc-red) !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

@media (min-width: 768px) {
    .plan-card.popular { transform: translateY(-8px); }
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--wc-red);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.375rem 1rem;
    border-bottom-left-radius: 1rem;
}

body.rtl .popular-badge {
    right: auto;
    left: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 1rem;
}

.segment-toggle .btn-check:checked + .btn {
    background: #fff;
    color: #020617;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.footer-app-badge {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 0.375rem;
    padding: 0.5rem;
    color: #fff;
    text-decoration: none;
}

.footer-app-badge:hover {
    opacity: 0.85;
    color: #fff;
}

.ticket-card {
    border: 2px dashed #e2e8f0;
    border-radius: 1rem;
}

.image-preset {
    height: 56px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    border-radius: 0.5rem;
}

.image-preset.selected {
    border-color: var(--wc-red);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.image-preset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hidden-section { display: none !important; }

.auth-section {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
}

.auth-section .card {
    border-radius: 1rem;
}

/* ==========================================
   HOW WE WORK SECTION
========================================== */

.how-we-work-section {
    padding: 45px 0 50px;
    background: #fff;
}

.how-we-work-label {
    color: #BB2D3B;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.how-we-work-title {
    margin: 0;
    color: #000;
    
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.how-we-work-row {
    position: relative;
    margin-top: 55px;
}

/* Dotted connecting line */
.how-we-work-row::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 16.5%;
    right: 16.5%;
    border-top: 3px dashed #d3d3d3;
    z-index: 0;
}

.work-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

/* Circle */
.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #16234E;
    border-radius: 50%;

    color: #fff;
    font-size: 36px;

    position: relative;
    z-index: 2;
}

/* Step heading */
.work-step h3 {
    margin: 0 0 12px;
    color: #050505;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

/* Description */
.work-step p {
    margin: 0 auto;
    max-width: 430px;

    color: #606060;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 400;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991.98px) {

    .how-we-work-title {
        font-size: 2.2rem;
    }

    .how-we-work-label {
        font-size: 1.1rem;
    }

    .work-step {
        padding: 0 10px;
    }

    .work-step h3 {
        font-size: 1.3rem;
    }

    .work-step p {
        font-size: 0.95rem;
    }

    .step-icon {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .how-we-work-row {
        margin-top: 45px;
    }

    .how-we-work-row::before {
        top: 36px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .how-we-work-section {
        padding: 40px 0 45px;
    }

    .how-we-work-label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .how-we-work-title {
        font-size: 2rem;
        letter-spacing: -0.3px;
    }

    .how-we-work-row {
        margin-top: 40px;
    }

    .how-we-work-row::before {
        display: none;
    }

    .work-step {
        padding: 0 20px;
        margin-bottom: 45px;
    }

    .work-step:last-child {
        margin-bottom: 0;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
        margin-bottom: 18px;
    }

    .work-step h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .work-step p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

  /* ===== Route Browser (signature section) ===== */
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Public Sans', system-ui, sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{font-family:'Fraunces', serif; margin:0; letter-spacing:-0.01em;}
  p{margin:0;}
  a{color:inherit;}
  .container{max-width:1180px; margin:0 auto; padding:0 24px;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    font-weight:600;
    letter-spacing:0.14em;
    text-transform:uppercase;
  }
  :focus-visible{outline:2.5px solid var(--teal); outline-offset:3px;}
  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important;}
  }

  /* ===== Ribbon ===== */
  .ribbon{
    background:var(--navy);
    color:#DCE3F5;
    font-size:12.5px;
    padding:8px 0;
    text-align:center;
    letter-spacing:0.02em;
  }
  .ribbon strong{color:#fff;}

  /* ===== Header ===== */
  .site-header{
    position:sticky; top:0; z-index:50;
    background:rgba(251,248,242,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .header-row{display:flex; align-items:center; gap:28px; padding:14px 0;}
  .route-section{padding:64px 0 20px; position:relative;}
  .route-head{text-align:center; max-width:620px; margin:0 auto 40px;}
  .route-head .eyebrow{color:var(--red); display:flex; align-items:center; justify-content:center; gap:9px; margin-bottom:14px;}
  .route-head .eyebrow::before, .route-head .eyebrow::after{content:""; height:1px; width:30px; background:var(--line);}
  .route-head h2{font-size:clamp(26px,3.4vw,34px); font-weight:700; margin-bottom:10px;}
  .route-head p{color:var(--ink-soft); font-size:15px;}

  .route-board{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:30px;
  }

  /* state picker */
  .state-row{display:flex; align-items:center; gap:10px; margin-bottom:26px;}
  .state-row .label{
    font-family:'IBM Plex Mono', monospace; font-size:11px; font-weight:600; color:var(--ink-soft);
    text-transform:uppercase; letter-spacing:0.1em; flex-shrink:0; padding-right:6px;
  }
  .state-scroll{display:flex; gap:9px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none;}
  .state-scroll::-webkit-scrollbar{display:none;}
  .state-chip{
    flex-shrink:0; border:1.5px solid var(--line); background:var(--paper);
    padding:9px 17px; border-radius:999px; font-weight:700; font-size:13.5px; color:var(--ink-soft);
    cursor:pointer; white-space:nowrap; transition:all .15s ease; display:flex; align-items:center; gap:8px;
  }
  .state-chip .count{
    font-family:'IBM Plex Mono', monospace; font-size:10.5px; background:rgba(0,0,0,0.06);
    padding:1px 6px; border-radius:999px;
  }
  .state-chip:hover{border-color:var(--navy); color:var(--navy);}
  .state-chip.active{background:var(--navy); border-color:var(--navy); color:#fff;}
  .state-chip.active .count{background:rgba(255,255,255,0.18); color:#fff;}

  /* the route line: cities as dispatch stops */
  .route-line-wrap{
    position:relative;
    background:linear-gradient(180deg, var(--paper-dim), var(--paper));
    border:1px dashed var(--line);
    border-radius:var(--radius-md);
    padding:26px 22px 20px;
    margin-bottom:26px;
  }
  .route-line-title{
    display:flex; align-items:center; gap:8px;
    font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--teal); font-weight:600;
    text-transform:uppercase; letter-spacing:0.08em; margin-bottom:18px;
  }
  .live-dot{width:7px; height:7px; border-radius:50%; background:var(--teal); animation:pulse 2s infinite;}
  @keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.35;}}

  .stops{display:flex; align-items:flex-start; gap:0; overflow-x:auto; padding-bottom:6px; scrollbar-width:none;}
  .stops::-webkit-scrollbar{display:none;}
  .stop{
    display:flex; flex-direction:column; align-items:center; flex-shrink:0; width:140px;
    cursor:pointer; position:relative; padding-top:2px;
  }
  .stop:not(:last-child)::after{
    content:""; position:absolute; top:15px; left:calc(50% + 20px); width:calc(100% - 20px);
    height:2px; background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  }
  .stop-pin{
    width:30px; height:30px; border-radius:50%; background:#fff; border:2.5px solid var(--line);
    display:flex; align-items:center; justify-content:center; z-index:1; transition:all .15s ease;
    font-family:'IBM Plex Mono', monospace; font-size:11px; font-weight:700; color:var(--ink-soft);
  }
  .stop:hover .stop-pin{border-color:var(--teal); color:var(--teal);}
  .stop.active .stop-pin{background:var(--red); border-color:var(--red); color:#fff; box-shadow:0 0 0 5px rgba(214,64,44,0.15);}
  .stop-city{font-size:13px; font-weight:700; margin-top:10px; text-align:center;}
  .stop-count{font-size:11px; color:var(--ink-soft); margin-top:2px;}
  .stop.active .stop-city{color:var(--red);}

  /* category filter chips */
  .cat-row{display:flex; flex-wrap:wrap; gap:8px;}
  .cat-chip{
    border:1px solid var(--line); background:#fff; padding:7px 14px; border-radius:999px;
    font-size:12.5px; font-weight:600; color:var(--ink-soft); cursor:pointer; display:flex; align-items:center; gap:6px;
    transition:all .15s ease;
  }
  .cat-chip i{font-size:13px;}
  .cat-chip:hover{border-color:var(--teal); color:var(--teal);}
  .cat-chip.active{background:var(--teal-soft); border-color:var(--teal); color:var(--teal);}

  /* results */
  .results-head{display:flex; align-items:baseline; justify-content:space-between; margin:36px 0 18px;}
  .results-head h3{font-size:19px; font-weight:700;}
  .results-head h3 span{color:var(--red);}
  .results-head .count-pill{
    font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--ink-soft);
    background:var(--paper-dim); padding:5px 12px; border-radius:999px;
  }
  .results-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(255px,1fr)); gap:20px;}
  .empty-state{
    text-align:center; padding:50px 20px; color:var(--ink-soft); font-size:14px;
    border:1px dashed var(--line); border-radius:var(--radius-md); background:var(--paper-dim);
  }

  .v-card{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden;
    transition:transform .18s ease, box-shadow .18s ease; display:flex; flex-direction:column;
  }
  .v-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-pop);}
  .v-thumb{
    height:132px; position:relative; display:flex; align-items:center; justify-content:center; font-size:40px; color:#fff;
  }
  .v-thumb i{opacity:0.92;}
  .v-badge{
    position:absolute; top:10px; left:10px; background:rgba(255,255,255,0.92); color:var(--ink);
    font-size:10.5px; font-weight:700; padding:4px 9px; border-radius:999px; display:flex; align-items:center; gap:5px;
  }
  .v-badge i{color:var(--teal); font-size:11px;}
  .v-loc{
    position:absolute; bottom:10px; left:10px; background:rgba(18,24,31,0.72); color:#fff;
    font-size:10.5px; padding:4px 9px; border-radius:999px; display:flex; align-items:center; gap:4px;
  }
  .v-body{padding:16px; display:flex; flex-direction:column; gap:8px; flex:1;}
  .v-body h4{font-family:'Fraunces', serif; font-size:16px; font-weight:700;}
  .v-meta{display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--gold); font-weight:700;}
  .v-meta span{color:var(--ink-soft); font-weight:500;}
  .v-foot{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:6px;}
  .v-price{font-size:13.5px; font-weight:700;}
  .v-price small{font-weight:500; color:var(--ink-soft);}
  .v-book{
    border:1.5px solid var(--teal); color:var(--teal); background:transparent; font-size:11px; font-weight:800;
    letter-spacing:0.05em; padding:8px 14px; border-radius:999px; cursor:pointer; transition:all .15s ease;
  }
  .v-book:hover{background:var(--teal); color:#fff;}
