
/* =========================================================
   SwatTransport Master Blue MRFlow v266
   Clean MR BUS-inspired header system
   Solid premium blue background • relaxed spacing • no red line
   ========================================================= */
:root{
  --swat-adminbar-h:0px;
  --swat-header-h:138px;
  --swat-header-body-gap:56px;
  --swat-mr-blue-900:#063b70;
  --swat-mr-blue-800:#075fa8;
  --swat-mr-blue-700:#0874c7;
  --swat-mr-blue-600:#1294df;
  --swat-mr-sky-200:#c9e4f5;
  --swat-mr-sky-100:#e5f5ff;
  --swat-mr-ink:#0b2947;
  --swat-mr-muted:#38536d;
  --swat-mr-orange:#ff6a00;
  --swat-mr-white:#ffffff;
}
body.admin-bar{--swat-adminbar-h:32px;}
@media(max-width:782px){body.admin-bar{--swat-adminbar-h:46px;}}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--swat-header-h) + var(--swat-adminbar-h) + var(--swat-header-body-gap))!important;}
body{margin:0!important;padding-top:0!important;}
.swat-master-header-wrap,.swat-master-header-wrap *{box-sizing:border-box;}
.swat-master-header-wrap{
  position:fixed!important;
  top:var(--swat-adminbar-h)!important;
  left:0!important;right:0!important;width:100%!important;
  z-index:2147482500!important;
  font-family:Arial,Helvetica,sans-serif!important;
  color:var(--swat-mr-ink)!important;
  background:
    radial-gradient(circle at 10% -18%, rgba(255,255,255,.18), transparent 30%),
    radial-gradient(circle at 88% -20%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(100deg,#b8d8eb 0%,#cae2f0 30%,#d8eaf4 58%,#b6d4e7 100%)!important;
  background-color:#c7e0ef!important;
  border-bottom:4px solid #0b72bd!important;
  box-shadow:0 15px 38px rgba(4,57,105,.18)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  overflow:visible!important;
}
.swat-master-header-wrap:before,
.swat-master-header-wrap:after{content:none!important;display:none!important;}
.swat-master-header-wrap.is-scrolled{box-shadow:0 18px 44px rgba(4,57,105,.24)!important;background:linear-gradient(100deg,#b2d2e7 0%,#c4deee 34%,#d4e8f3 58%,#afcfe4 100%)!important;}
.swat-master-header-spacer{display:block!important;height:calc(var(--swat-header-h) + var(--swat-header-body-gap))!important;min-height:calc(var(--swat-header-h) + var(--swat-header-body-gap))!important;visibility:hidden!important;pointer-events:none!important;}
.swat-header-shell{width:calc(100% - 2cm)!important;max-width:1920px!important;margin:0 auto!important;padding:0!important;}
.swat-topbar,.swat-header{display:block!important;position:relative!important;background:transparent!important;border:0!important;margin:0!important;padding:0!important;overflow:visible!important;}
.swat-topbar-inner{
  min-height:42px!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) auto auto!important;
  align-items:center!important;gap:18px!important;padding:8px 0!important;color:var(--swat-mr-muted)!important;font-size:13px!important;line-height:1.4!important;
}
.swat-topbar-left,.swat-topbar-mid,.swat-topbar-right{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;min-width:0!important;}
.swat-topbar-mid{justify-content:center!important;gap:28px!important;font-weight:950!important;color:#062d58!important;white-space:nowrap!important;}
.swat-topbar-mid a{color:#062d58!important;text-decoration:none!important;}
.swat-topbar-right{justify-content:flex-end!important;gap:9px!important;}
.swat-header-pill{
  display:inline-flex!important;align-items:center!important;gap:7px!important;padding:7px 12px!important;border-radius:999px!important;
  background:#fff!important;border:1px solid rgba(127,181,217,.92)!important;color:#183b5b!important;text-decoration:none!important;font-weight:900!important;
  box-shadow:0 8px 18px rgba(5,80,140,.08)!important;white-space:nowrap!important;line-height:1.15!important;
}
.swat-header-pill:hover{color:#075fb0!important;transform:translateY(-1px)!important;}
.swat-social{
  width:35px!important;height:35px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:13px!important;
  background:#fff!important;border:1px solid rgba(127,181,217,.92)!important;color:#075fb0!important;text-decoration:none!important;font-weight:950!important;
  box-shadow:0 8px 18px rgba(5,80,140,.08)!important;transition:.2s ease!important;
}
.swat-social:hover{transform:translateY(-2px)!important;color:#fff!important;background:linear-gradient(135deg,#075fb0,#13a8ee)!important;border-color:transparent!important;}
.swat-header-main{
  min-height:92px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;
  padding:12px 0 18px!important;position:relative!important;
}
.swat-brand{display:inline-flex!important;align-items:center!important;gap:13px!important;min-width:max-content!important;text-decoration:none!important;color:inherit!important;}
.swat-brand-image-shell{
  width:66px!important;height:66px!important;flex:0 0 66px!important;border-radius:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
  background:#fff!important;border:1px solid rgba(127,181,217,.94)!important;box-shadow:0 14px 30px rgba(5,80,140,.14)!important;padding:5px!important;
}
.swat-brand-image-shell img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:16px!important;}
.swat-brand-fallback{display:none!important;}
.swat-brand-text{display:flex!important;flex-direction:column!important;line-height:1!important;min-width:0!important;}
.swat-logo-line{
  display:inline-flex!important;align-items:baseline!important;gap:7px!important;font-weight:950!important;font-size:22px!important;letter-spacing:-.4px!important;white-space:nowrap!important;
  background:#fff!important;border:1px solid rgba(127,181,217,.90)!important;border-radius:17px!important;padding:8px 14px!important;box-shadow:0 10px 22px rgba(5,80,140,.08)!important;
}
.swat-logo-line:after{content:none!important;display:none!important;}
.swat-brand-primary{color:#075fb0!important;}
.swat-brand-secondary{color:#ff6200!important;}
.swat-tagline{margin-top:8px!important;margin-left:5px!important;color:#38536d!important;font-size:13px!important;font-weight:900!important;letter-spacing:.15px!important;line-height:1.2!important;transform:none!important;}
.swat-mobile-button{display:none!important;width:48px!important;height:48px!important;border-radius:15px!important;background:#fff!important;border:1px solid rgba(127,181,217,.9)!important;box-shadow:0 8px 18px rgba(5,80,140,.08)!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;cursor:pointer!important;}
.swat-mobile-button span{width:22px!important;height:2px!important;background:#063b70!important;border-radius:4px!important;display:block!important;}
.swat-mobile-button em{display:none!important;}
.swat-nav{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;padding:7px!important;border-radius:22px!important;
  background:rgba(255,255,255,.82)!important;border:1px solid rgba(127,181,217,.88)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px rgba(5,80,140,.07)!important;
}
.swat-nav a{position:relative!important;display:inline-flex!important;align-items:center!important;padding:11px 12px!important;border-radius:15px!important;color:#143855!important;font-size:13.5px!important;font-weight:950!important;line-height:1.2!important;text-decoration:none!important;transition:.2s ease!important;border:0!important;white-space:nowrap!important;}
.swat-nav a:hover,.swat-nav a:focus{color:#075fb0!important;background:#fff!important;box-shadow:0 10px 20px rgba(5,80,140,.10)!important;transform:translateY(-1px)!important;outline:none!important;}
.swat-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;white-space:nowrap!important;}
.swat-header-btn{
  min-height:50px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:0 24px!important;border-radius:18px!important;text-decoration:none!important;font-size:14px!important;font-weight:950!important;line-height:1!important;transition:.2s ease!important;border:1px solid transparent!important;box-shadow:0 12px 26px rgba(5,80,140,.11)!important;
}
.swat-header-btn:hover{transform:translateY(-2px)!important;}
.swat-header-btn-secondary{background:#fff!important;color:#075fb0!important;border-color:rgba(127,181,217,.92)!important;}
.swat-header-btn-whatsapp{background:linear-gradient(135deg,#10bf5e,#079b48)!important;color:#fff!important;box-shadow:0 14px 28px rgba(7,155,72,.21)!important;}
.swat-btn-wa-icon{width:22px!important;height:22px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.swat-btn-wa-icon svg{width:20px!important;height:20px!important;display:block!important;}
body.swat-master-blue-sticky-active #swat-site-header-v21,body.swat-master-blue-sticky-active #swat-header-spacer-v21,.swat-header-v21{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;}
@media(max-width:1560px){.swat-header-shell{width:calc(100% - 72px)!important}.swat-header-main{gap:16px!important}.swat-logo-line{font-size:19px!important}.swat-nav a{font-size:13px!important;padding:10px 9px!important}.swat-header-btn{padding:0 19px!important}.swat-topbar-mid{gap:20px!important}}
@media(max-width:1320px){.swat-topbar-inner{grid-template-columns:1fr auto!important}.swat-topbar-right{grid-column:2!important;grid-row:1!important}.swat-topbar-mid{grid-column:1/-1!important;justify-content:flex-start!important}.swat-header-main{grid-template-columns:1fr auto!important}.swat-brand{min-width:0!important}.swat-mobile-button{display:inline-flex!important;justify-self:end!important}.swat-nav{position:absolute!important;left:0!important;right:0!important;top:100%!important;display:none!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;padding:14px!important;background:#fff!important;box-shadow:0 22px 54px rgba(5,80,140,.18)!important;border-radius:24px!important;z-index:10!important}.swat-nav.is-open{display:flex!important}.swat-nav a{width:100%!important;justify-content:space-between!important;padding:14px 16px!important}.swat-header-actions{grid-column:1/-1!important;justify-content:flex-start!important}.swat-header-btn{min-height:48px!important}.swat-brand-image-shell{width:62px!important;height:62px!important;flex-basis:62px!important}}
@media(max-width:960px){.swat-header-shell{width:calc(100% - 32px)!important;padding:0!important}.swat-topbar-inner{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:8px 0!important}.swat-topbar-left,.swat-topbar-mid,.swat-topbar-right{justify-content:center!important;text-align:center!important}.swat-header-main{display:flex!important;min-height:82px!important;padding:10px 0 13px!important}.swat-header-actions{display:none!important}.swat-logo-line{font-size:16px!important;padding:8px 11px!important}.swat-tagline{font-size:11px!important}.swat-brand-image-shell{width:58px!important;height:58px!important;flex-basis:58px!important}.swat-nav{top:calc(100% - 4px)!important;left:8px!important;right:8px!important}.swat-master-header-spacer{height:calc(var(--swat-header-h) + 42px)!important;min-height:calc(var(--swat-header-h) + 42px)!important;}}
@media(max-width:640px){.swat-header-shell{width:calc(100% - 22px)!important}.swat-header-pill{font-size:12px!important;padding:7px 10px!important;white-space:normal!important}.swat-topbar-left{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.swat-topbar-mid{gap:10px!important}.swat-sales-line{font-size:12px!important}.swat-social{width:32px!important;height:32px!important}.swat-header-main{min-height:74px!important;gap:10px!important}.swat-brand{gap:9px!important}.swat-brand-image-shell{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:16px!important}.swat-logo-line{font-size:13px!important;gap:4px!important;padding:7px 9px!important;border-radius:13px!important}.swat-tagline{font-size:10px!important;margin-top:5px!important}.swat-brand-text{max-width:230px!important}.swat-mobile-button{width:44px!important;height:44px!important}.swat-master-header-spacer{height:calc(var(--swat-header-h) + 34px)!important;min-height:calc(var(--swat-header-h) + 34px)!important;}}


/* SWAT v270: reduce oversized blank space after sticky header */
:root{--swat-header-body-gap:16px!important;}
.swat-master-header-spacer{
  height:calc(var(--swat-header-h) + 16px)!important;
  min-height:calc(var(--swat-header-h) + 16px)!important;
}
@media(max-width:960px){
  .swat-master-header-spacer{
    height:calc(var(--swat-header-h) + 14px)!important;
    min-height:calc(var(--swat-header-h) + 14px)!important;
  }
}
@media(max-width:640px){
  .swat-master-header-spacer{
    height:calc(var(--swat-header-h) + 10px)!important;
    min-height:calc(var(--swat-header-h) + 10px)!important;
  }
}


/* =========================================================
   SWAT MRFLOW v2.7.1 HEADER BLEND + SMALLER WORDMARK
   - Decrease contrast between header background and white text areas.
   - Keep the header solid, premium and non-transparent.
   - Make WADI SWAT BUSES RENTAL LLC wordmark slightly smaller.
   ========================================================= */

.swat-master-header-wrap{
  background:
    linear-gradient(100deg,#c2ddeb 0%,#cfe6f3 34%,#d8edf7 60%,#c0dceb 100%)!important;
  background-color:#cce4f1!important;
  border-bottom:3px solid #0a71b8!important;
  box-shadow:0 14px 34px rgba(4,57,105,.15)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Blue-tinted glass, not hard white */
.swat-header-pill,
.swat-social,
.swat-logo-line,
.swat-brand-image-shell,
.swat-nav,
.swat-header-btn-secondary{
  background:
    linear-gradient(135deg,#eef7fd 0%,#e7f2f9 100%) padding-box,
    linear-gradient(135deg,#8cb8d5 0%,#d8edf8 50%,#9dc5df 100%) border-box!important;
  border:1px solid transparent!important;
  box-shadow:0 8px 18px rgba(5,80,140,.075), inset 0 1px 0 rgba(255,255,255,.70)!important;
}

/* Softer navigation field so it belongs to the header background */
.swat-nav{
  background:
    linear-gradient(135deg,#eef7fd 0%,#e6f2fa 100%) padding-box,
    linear-gradient(135deg,#8fbad7 0%,#d8edf8 48%,#8fbad7 100%) border-box!important;
  border-color:transparent!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 8px 20px rgba(5,80,140,.07)!important;
}

.swat-nav a{
  color:#0b2f50!important;
}

.swat-nav a:hover,
.swat-nav a:focus{
  background:linear-gradient(135deg,#dceef9,#cfe5f4)!important;
  color:#075fb0!important;
  box-shadow:inset 0 0 0 1px rgba(7,95,176,.10)!important;
}

/* Smaller and cleaner wordmark */
.swat-logo-line{
  font-size:19px!important;
  letter-spacing:-.25px!important;
  gap:6px!important;
  padding:8px 13px!important;
  border-radius:16px!important;
}

.swat-brand-primary{color:#075aa9!important;}
.swat-brand-secondary{color:#f56300!important;}

.swat-tagline{
  margin-top:7px!important;
  font-size:12.5px!important;
  color:#3c5a72!important;
}

/* Request button should not look detached from the header */
.swat-header-btn-secondary{
  color:#075aa9!important;
}

/* Keep WhatsApp premium but visually softer against the blue header */
.swat-header-btn-whatsapp{
  background:linear-gradient(135deg,#14bd60 0%,#079a48 100%)!important;
  box-shadow:0 11px 23px rgba(7,155,72,.18)!important;
}

/* Responsive wordmark scaling */
@media(max-width:1560px){
  .swat-logo-line{font-size:17.5px!important;padding:8px 12px!important;}
  .swat-tagline{font-size:12px!important;}
}
@media(max-width:960px){
  .swat-logo-line{font-size:15.5px!important;padding:7px 10px!important;}
  .swat-tagline{font-size:11px!important;}
}
@media(max-width:640px){
  .swat-logo-line{font-size:12.5px!important;padding:7px 8px!important;gap:4px!important;}
  .swat-tagline{font-size:10px!important;}
}


/* =========================================================
   SWAT MRFLOW v2.7.2 ADMIN-BAR SAFE HEADER FIX
   Purpose: logged-in/admin-bar view must match incognito view.
   No design/body/footer changes.
   ========================================================= */

/* WordPress adds html margin-top only for logged-in users. That can visually
   distort fixed custom headers. We neutralize it and handle the admin bar
   offset ourselves only when the admin toolbar exists. */
html:has(body.admin-bar){
  margin-top:0!important;
}

body.admin-bar{
  --swat-adminbar-h:32px!important;
  padding-top:0!important;
  margin-top:0!important;
}

@media screen and (max-width:782px){
  body.admin-bar{
    --swat-adminbar-h:46px!important;
  }
}

/* Keep admin toolbar above everything, then place Swat header below it. */
body.admin-bar #wpadminbar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:2147483647!important;
}

/* The active MRFlow header must be identical in shape while signed in. */
body.admin-bar .swat-master-header-wrap{
  top:var(--swat-adminbar-h)!important;
  transform:none!important;
  margin:0!important;
}

/* Prevent old plugin/header patches from changing only the logged-in state. */
body.admin-bar .swat-master-header-wrap .swat-topbar,
body.admin-bar .swat-master-header-wrap .swat-header,
body.admin-bar .swat-master-header-wrap .swat-header-main,
body.admin-bar .swat-master-header-wrap .swat-topbar-inner{
  transform:none!important;
}

/* Spacer compensates for header + WordPress toolbar so homepage starts correctly
   in both signed-in and incognito views. */
body.admin-bar .swat-master-header-spacer{
  height:calc(var(--swat-header-h) + var(--swat-adminbar-h) + var(--swat-header-body-gap))!important;
  min-height:calc(var(--swat-header-h) + var(--swat-adminbar-h) + var(--swat-header-body-gap))!important;
}

/* Make sure toolbar CSS cannot affect header buttons or logo line. */
body.admin-bar .swat-master-header-wrap a,
body.admin-bar .swat-master-header-wrap button,
body.admin-bar .swat-master-header-wrap span{
  text-decoration:none!important;
}

@supports not selector(:has(*)){
  /* Safe fallback for older browsers: keep normal WP margin but avoid double top shift. */
  body.admin-bar .swat-master-header-wrap{
    top:32px!important;
  }
  @media screen and (max-width:782px){
    body.admin-bar .swat-master-header-wrap{
      top:46px!important;
    }
  }
}
