/* ═══════════════════════════════════════════════════════════════════
   BLU Platform — Public CSS
   Fonts: Plus Jakarta Sans (headings EN), Inter (body EN), Tajawal (AR)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A1628;
  --navy-2:  #0f1f38;
  --blue:    #1A56DB;
  --blue-h:  #1648c0;
  --blue-lt: #EFF6FF;
  --gold:    #F59E0B;
  --gold-h:  #D97706;
  --white:   #FFFFFF;
  --text:    #374151;
  --text-2:  #6B7280;
  --text-3:  #9CA3AF;
  --border:  #E5E7EB;
  --bg:      #F9FAFB;
  --bg-2:    #F3F4F6;
  --green:   #10B981;
  --red:     #EF4444;
  --radius:  10px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text); background: var(--white); line-height: 1.6; }
body[dir="rtl"] { font-family: 'Tajawal', sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); line-height: 1.25; }
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3 { font-family: 'Tajawal', sans-serif; }

/* ── Container ─────────────────────────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm{ max-width: 800px;  margin: 0 auto; padding: 0 24px; }

/* ── Navigation ────────────────────────────────────────────────────── */
.blu-nav {
  background: var(--navy); height: 68px;
  display: flex; align-items: center; position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.blu-nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px; width: 100%;
}
.blu-nav__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.blu-nav__logo-mark {
  width: 38px; height: 38px; background: var(--blue); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--white);
}
.blu-nav__logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--white); }
.blu-nav__link {
  color: rgba(255,255,255,.65); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: all .15s; white-space: nowrap;
}
.blu-nav__link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.blu-nav__cta {
  background: var(--blue); color: var(--white) !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: background .15s; white-space: nowrap;
}
.blu-nav__cta:hover { background: var(--blue-h); }
.blu-nav__lang {
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px; cursor: pointer; border: 1px solid rgba(255,255,255,.15);
  transition: all .15s; background: none;
}
.blu-nav__lang:hover { color: var(--white); border-color: rgba(255,255,255,.35); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.blu-hero {
  background: var(--navy); padding: 72px 24px 64px;
  position: relative; overflow: hidden;
}
.blu-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,86,219,.25) 0%, transparent 65%);
  pointer-events: none;
}
.blu-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.blu-hero__eyebrow {
  display: inline-block; background: rgba(245,158,11,.15); color: var(--gold);
  border: 1px solid rgba(245,158,11,.25); padding: 5px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: .03em;
}
.blu-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -.02em;
}
.blu-hero h1 span { color: var(--gold); }
.blu-hero__sub { color: rgba(255,255,255,.6); font-size: clamp(15px,2vw,18px); max-width: 560px; margin: 0 auto 36px; }

/* ── Search Bar ────────────────────────────────────────────────────── */
.blu-search-bar {
  background: var(--white); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  padding: 8px; display: flex; flex-wrap: wrap; gap: 6px;
  max-width: 900px; margin: 0 auto;
}
.blu-search-field {
  flex: 1; min-width: 160px; display: flex; flex-direction: column;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: background .15s;
}
.blu-search-field:hover { background: var(--bg); }
.blu-search-field label { font-size: 11px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; cursor: pointer; }
.blu-search-field select,
.blu-search-field input[type=date],
.blu-search-field input[type=text] {
  border: none; outline: none; background: transparent; font-size: 14px; font-weight: 500;
  color: var(--navy); padding: 0; cursor: pointer; width: 100%;
}
.blu-search-field select option { color: var(--text); }
.blu-search-divider { width: 1px; background: var(--border); align-self: stretch; margin: 8px 0; }
.blu-search-btn {
  background: var(--blue); color: var(--white); border: none; border-radius: 9px;
  padding: 14px 28px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: background .15s; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.blu-search-btn:hover { background: var(--blue-h); }

/* ── Section ───────────────────────────────────────────────────────── */
.blu-section { padding: 64px 0; }
.blu-section--gray { background: var(--bg); }
.blu-section--navy { background: var(--navy); }
.blu-section__header { text-align: center; margin-bottom: 40px; }
.blu-section__eyebrow { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.blu-section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.blu-section__sub { color: var(--text-2); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ── Vehicle Card ──────────────────────────────────────────────────── */
.blu-vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.blu-vehicle-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: all .2s; display: flex; flex-direction: column;
}
.blu-vehicle-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blu-vehicle-card__img {
  height: 200px; background: var(--bg-2); overflow: hidden; position: relative;
}
.blu-vehicle-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blu-vehicle-card:hover .blu-vehicle-card__img img { transform: scale(1.04); }
.blu-vehicle-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--navy); padding: 3px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.blu-vehicle-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blu-vehicle-card__company { font-size: 12px; color: var(--text-2); margin-bottom: 4px; font-weight: 500; }
.blu-vehicle-card__name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.blu-vehicle-card__specs { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.blu-vehicle-card__spec { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-2); }
.blu-vehicle-card__rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.blu-vehicle-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.blu-vehicle-card__price-from { font-size: 11px; color: var(--text-2); }
.blu-vehicle-card__price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); }
.blu-vehicle-card__price span { font-size: 13px; font-weight: 500; color: var(--text-2); }

/* ── Company Card ──────────────────────────────────────────────────── */
.blu-company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blu-company-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: all .2s;
}
.blu-company-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }
.blu-company-card--featured { border-color: var(--gold); border-width: 2px; }
.blu-company-card__logo {
  width: 52px; height: 52px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 12px;
}
.blu-company-card__name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.blu-company-card__meta { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.blu-company-card__rating { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); }

/* ── Filters ───────────────────────────────────────────────────────── */
.blu-filters-bar {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
}
.blu-filter-group { display: flex; flex-direction: column; gap: 4px; }
.blu-filter-group label { font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; }
.blu-filter-group select,
.blu-filter-group input { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 7px; font-size: 14px; color: var(--text); min-width: 140px; transition: border-color .15s; }
.blu-filter-group select:focus,
.blu-filter-group input:focus { outline: none; border-color: var(--blue); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 22px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; border: none; transition: all .15s; white-space: nowrap; }
.btn-primary   { background: var(--blue);  color: var(--white); }
.btn-primary:hover   { background: var(--blue-h); }
.btn-navy      { background: var(--navy);  color: var(--white); }
.btn-navy:hover      { background: var(--navy-2); }
.btn-gold      { background: var(--gold);  color: var(--navy); font-weight: 700; }
.btn-gold:hover      { background: var(--gold-h); }
.btn-outline   { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover   { border-color: var(--blue); color: var(--blue); }
.btn-lg  { padding: 13px 28px; font-size: 16px; }
.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-full{ width: 100%; }

/* ── Badges ────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-gold   { background: #FEF3C7; color: #78350F; }
.badge-blue   { background: #DBEAFE; color: #1E40AF; }
.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-gray   { background: var(--bg-2); color: var(--text-2); }

/* ── Pagination ────────────────────────────────────────────────────── */
.blu-pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 32px; }
.blu-page-btn {
  min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2);
  background: var(--white); border: 1px solid var(--border); cursor: pointer; transition: all .15s;
}
.blu-page-btn:hover, .blu-page-btn--active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Stars ─────────────────────────────────────────────────────────── */
.stars { color: var(--gold); letter-spacing: 1px; }
.stars--empty { color: var(--border); }

/* ── Footer ────────────────────────────────────────────────────────── */
.blu-footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 48px 0 28px;
}
.blu-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.blu-footer__brand .blu-nav__logo { margin-bottom: 12px; }
.blu-footer__brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.blu-footer__col h4 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: 'Plus Jakarta Sans', sans-serif; }
.blu-footer__col a { display: block; color: rgba(255,255,255,.55); font-size: 13.5px; margin-bottom: 8px; transition: color .15s; }
.blu-footer__col a:hover { color: var(--white); }
.blu-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

/* ── How It Works ──────────────────────────────────────────────────── */
.blu-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.blu-step { text-align: center; padding: 28px 20px; }
.blu-step__icon { width: 60px; height: 60px; background: var(--blue-lt); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; }
.blu-step__num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.blu-step h3 { font-size: 16px; margin-bottom: 8px; }
.blu-step p { font-size: 14px; color: var(--text-2); }

/* ── Review Card ───────────────────────────────────────────────────── */
.blu-review { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.blu-review__header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blu-review__avatar { width: 36px; height: 36px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.blu-review__name { font-weight: 600; font-size: 14px; }
.blu-review__date { font-size: 12px; color: var(--text-3); }
.blu-review__text { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ── Service Tabs ──────────────────────────────────────────────────── */
.blu-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; gap: 4px; }
.blu-tab { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .15s; background: none; border-left: none; border-right: none; border-top: none; }
.blu-tab:hover { color: var(--navy); }
.blu-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ── Custom Date/Time Input ────────────────────────────────────────── */
input[type=date], input[type=time], input[type=datetime-local] {
  padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text); background: var(--white); width: 100%;
}
input[type=date]:focus, input[type=time]:focus, input[type=datetime-local]:focus {
  outline: none; border-color: var(--blue);
}

/* ── Alerts ────────────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-info    { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blu-search-bar { flex-direction: column; }
  .blu-search-field { min-width: unset; }
  .blu-search-divider { display: none; }
  .blu-footer__grid { grid-template-columns: 1fr 1fr; }
  .blu-nav__link { display: none; }
  .blu-nav__cta { font-size: 13px; padding: 7px 14px; }
}
@media (max-width: 480px) {
  .blu-footer__grid { grid-template-columns: 1fr; }
}
