/* =========================================================
   Bus Rental Dubai Master Theme v1 - Core CSS
   Preserves approved blue/red identity and shared base system.
   ========================================================= */
:root{
  --brd-blue:#001b4f;
  --brd-blue2:#0b3fad;
  --brd-red:#d40f1f;
  --brd-red2:#ff3b3b;
  --brd-light:#f6f9ff;
  --brd-light2:#eaf1ff;
  --brd-black:#06112d;
  --brd-ink:#111827;
  --brd-muted:#5e6980;
  --brd-line:rgba(0,27,79,.14);
  --brd-shadow:0 22px 65px rgba(0,27,79,.10);
  --brd-radius:28px;
  --brd-page-edge:2.5cm;
  --brd-shell:calc(100% - (var(--brd-page-edge) * 2));
  font-family:Inter,Arial,Helvetica,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--brd-ink);background:linear-gradient(180deg,#fbfdff,#fff);font-family:Inter,Arial,Helvetica,sans-serif}
img{max-width:100%;height:auto}
h1,h2,h3,p{margin-top:0}
a{color:inherit}
.brd-shell{width:var(--brd-shell);margin:auto}
.brd-home{overflow:hidden;background:linear-gradient(180deg,#fbfdff,#f6f9ff 20%,#fff 46%,#fbfdff)}
.brd-btn{border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 22px;border-radius:999px;font-weight:950;cursor:pointer;transition:.2s;font-family:inherit}
.brd-btn:hover{transform:translateY(-1px)}
.brd-btn-blue{background:linear-gradient(135deg,var(--brd-blue),var(--brd-blue2));color:#fff;box-shadow:0 18px 40px rgba(0,27,79,.25)}
.brd-btn-white{background:#fff;color:var(--brd-blue);box-shadow:0 16px 38px rgba(0,27,79,.10)}
.brd-btn-soft{background:#edf3ff;color:var(--brd-blue)}
.brd-btn-line{background:#edf3ff;color:var(--brd-blue);border:1px solid var(--brd-line)}
.brd-btn-redline{background:#fff3f4;color:var(--brd-red);border:1px solid rgba(212,15,31,.16)}
.brd-btn-line-light{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.brd-kicker,.brd-kicker-light,.brd-eyebrow{font-weight:950;text-transform:uppercase;letter-spacing:.05em;font-size:13px}
.brd-kicker{color:var(--brd-red)}
.brd-kicker-light{color:#fff}
@media(max-width:1100px){:root{--brd-shell:min(100% - 32px,1440px)}}
@media(max-width:680px){:root{--brd-shell:min(100% - 24px,1440px)}}


/* =========================================================
   Bottom-right AI Route Assistant
   ========================================================= */
.brd-ai-assistant{position:fixed;right:20px;bottom:22px;z-index:190;font-family:inherit}
.brd-ai-toggle{position:relative;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:12px 16px 12px 12px;background:linear-gradient(135deg,#001b4f,#0b3fad 62%,#d40f1f);color:#fff;box-shadow:0 18px 48px rgba(0,27,79,.28);cursor:pointer;font-weight:950}
.brd-ai-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#001b4f;font-size:14px;letter-spacing:-.02em}.brd-ai-label{white-space:nowrap}.brd-ai-pulse{position:absolute;inset:-4px;border-radius:999px;border:2px solid rgba(11,63,173,.25);animation:brdAiPulse 2.2s infinite;pointer-events:none}@keyframes brdAiPulse{0%{transform:scale(.98);opacity:.9}70%{transform:scale(1.08);opacity:0}100%{opacity:0}}
.brd-ai-panel{display:none;position:absolute;right:0;bottom:66px;width:min(360px,calc(100vw - 26px));background:#fff;border:1px solid rgba(0,27,79,.12);border-radius:28px;box-shadow:0 32px 90px rgba(0,27,79,.28);overflow:hidden;color:#111827}.brd-ai-panel.is-open{display:block}.brd-ai-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:linear-gradient(135deg,#001b4f,#0b3fad 64%,#d40f1f);color:#fff}.brd-ai-head small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#dbe9ff;font-weight:950}.brd-ai-head strong{display:block;font-size:20px}.brd-ai-head button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:24px;cursor:pointer}.brd-ai-body{padding:18px 20px 20px}.brd-ai-body p{margin:0 0 12px;color:#5e6980;line-height:1.55;font-size:14px}.brd-ai-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.brd-ai-quick button{border:1px solid #dce6fb;background:#f8fbff;color:#001b4f;border-radius:14px;padding:9px 10px;font-weight:900;cursor:pointer;text-align:left}.brd-ai-quick button:hover{border-color:#0b3fad;background:#edf3ff}.brd-ai-text{width:100%;min-height:96px;border:1px solid #dce6fb;border-radius:18px;padding:13px;background:#f8fbff;color:#111827;font:inherit;resize:vertical}.brd-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.brd-ai-actions button{border:0;border-radius:999px;padding:12px 10px;font-weight:950;cursor:pointer}.brd-ai-send{background:#25d366;color:#fff}.brd-ai-quote{background:#edf3ff;color:#001b4f}
@media(max-width:680px){.brd-ai-assistant{right:12px;bottom:76px}.brd-ai-label{display:none}.brd-ai-panel{bottom:58px}.brd-ai-quick{grid-template-columns:1fr}}


/* =========================================================
   v1.8 Global Width + Responsive Professional Foundation
   Desktop/tablet content edge = 2.5cm left and 2.5cm right.
   Mobile uses safe smaller gutters so the site stays usable.
   ========================================================= */
:root{--brd-page-edge:2.5cm;--brd-shell:calc(100% - (var(--brd-page-edge) * 2));}
.brd-shell,
.brd-head-shell,
.site-footer .brd-shell{width:var(--brd-shell)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
#content,.site-footer,.site-header{max-width:100%!important;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{overflow-x:hidden;}
@media(max-width:900px){:root{--brd-page-edge:18px;}}
@media(max-width:480px){:root{--brd-page-edge:14px;}}

/* =========================================================
   v1.9 Final Width Lock — Same Width as Footer
   Fixes hidden side text and accidental full-bleed content.
   Desktop content edge: 2.5cm left/right.
   Mobile/tablet use safe gutters.
   ========================================================= */
:root{
  --brd-content-max:1720px;
  --brd-page-edge:2.5cm;
  --brd-shell:min(calc(100% - (var(--brd-page-edge) * 2)), var(--brd-content-max));
}
.brd-shell,
.brd-head-shell,
.site-footer .brd-shell,
.brd-pro-footer .brd-shell{
  width:var(--brd-shell)!important;
  max-width:var(--brd-content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
.site-header,
.site-footer,
#content{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
@media(max-width:900px){
  :root{
    --brd-page-edge:18px;
    --brd-shell:calc(100% - 36px);
  }
}
@media(max-width:480px){
  :root{
    --brd-page-edge:14px;
    --brd-shell:calc(100% - 28px);
  }
}


/* =========================================================
   v2.0 Exact 2.5cm Website Width System
   User rule: desktop website/header/footer/body must keep exactly
   2.5cm from left and 2.5cm from right, with no extra max-width squeeze.
   Tablet/mobile use safe gutters only to avoid horizontal scrolling.
   ========================================================= */
@media (min-width: 1025px){
  :root{
    --brd-page-edge:2.5cm !important;
    --brd-shell:calc(100vw - 5cm) !important;
    --brd-content-max:none !important;
  }
}
@media (max-width: 1024px){
  :root{
    --brd-page-edge:22px !important;
    --brd-shell:calc(100vw - 44px) !important;
  }
}
@media (max-width: 680px){
  :root{
    --brd-page-edge:14px !important;
    --brd-shell:calc(100vw - 28px) !important;
  }
}
html,body{max-width:100%;overflow-x:hidden!important;}
.brd-shell,
.brd-head-shell,
.site-footer .brd-shell,
.brd-pro-footer .brd-shell,
.brd-home .brd-shell,
.brd-home .brd-section > .brd-shell,
.brd-home .brd-hero > .brd-shell,
.brd-home .brd-shortcuts > .brd-shell,
.brd-home .brd-final-cta > .brd-shell{
  width:var(--brd-shell)!important;
  min-width:0!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
.site-header,.site-footer,#content,.brd-home,.brd-home .brd-section,.brd-home .brd-hero,.brd-home .brd-shortcuts,.brd-home .brd-final-cta{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.brd-home .brd-section-head,
.brd-home .brd-topic-stack,
.brd-home .brd-topic-stack > div:first-child,
.brd-home .brd-topic-stack > div:first-child h2,
.brd-home .brd-topic-stack > div:first-child p,
.brd-home .brd-section-head h2,
.brd-home .brd-section-head p,
.brd-home .brd-card-grid,
.brd-home .brd-area-grid,
.brd-home .brd-band-grid,
.brd-home .brd-faq-grid,
.brd-home .brd-steps,
.brd-home .brd-feature-list,
.brd-home .brd-route-examples,
.brd-home .brd-route-points,
.brd-home .brd-trust-grid,
.brd-home .brd-fleet-ladder,
.brd-home .brd-price-table,
.brd-home .brd-final-box{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.brd-home .brd-section-head,
.brd-home .brd-topic-stack > div:first-child{
  text-align:left!important;
}
.brd-home .brd-section-head .brd-kicker,
.brd-home .brd-section-head .brd-kicker-light,
.brd-home .brd-topic-stack > div:first-child .brd-kicker,
.brd-home .brd-topic-stack > div:first-child .brd-kicker-light{
  justify-content:flex-start!important;
  text-align:left!important;
}
.brd-home .brd-section-head h2,
.brd-home .brd-topic-stack > div:first-child h2{
  text-align:left!important;
  max-width:100%!important;
  letter-spacing:-.04em!important;
}
.brd-home .brd-section-head p,
.brd-home .brd-topic-stack > div:first-child p,
.brd-home p,
.brd-home li,
.brd-home td,
.brd-home th{
  max-width:100%!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:none!important;
}
.brd-home .brd-quote-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(18px,2vw,30px)!important;
}
.brd-home .brd-two-col,
.brd-home .brd-feature-layout{
  grid-template-columns:1fr!important;
  gap:clamp(22px,2.6vw,34px)!important;
}
@media (min-width:1281px){
  .brd-home .brd-grid-4,
  .brd-home .brd-feature-list,
  .brd-home .brd-route-examples,
  .brd-home .brd-route-points,
  .brd-home .brd-trust-grid,
  .brd-home .brd-faq-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .brd-home .brd-area-grid,
  .brd-home .brd-band-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .brd-home .brd-fleet-ladder,
  .brd-home .brd-steps{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}
@media (max-width:1280px){
  .brd-home .brd-quote-grid{grid-template-columns:1fr!important;}
  .brd-home .brd-grid-4,
  .brd-home .brd-feature-list,
  .brd-home .brd-route-examples,
  .brd-home .brd-route-points,
  .brd-home .brd-trust-grid,
  .brd-home .brd-faq-grid,
  .brd-home .brd-area-grid,
  .brd-home .brd-band-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .brd-home .brd-fleet-ladder,
  .brd-home .brd-steps{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:680px){
  .brd-home .brd-grid-4,
  .brd-home .brd-feature-list,
  .brd-home .brd-route-examples,
  .brd-home .brd-route-points,
  .brd-home .brd-trust-grid,
  .brd-home .brd-faq-grid,
  .brd-home .brd-area-grid,
  .brd-home .brd-band-grid,
  .brd-home .brd-fleet-ladder,
  .brd-home .brd-steps{
    grid-template-columns:1fr!important;
  }
  .brd-home .brd-price-table{overflow-x:auto!important;}
  .brd-home .brd-price-table table{min-width:680px!important;}
}
