@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Julong Blocksy child: header controls and quote modal only. */
:root {
  --jl-blue: #00417B;
  --jl-navy: #263140;
  --jl-navy-deep: #1D2633;
  --jl-green: #079B55;
  --jl-orange: #F39A24;
  --jl-orange-active: #DD8415;
  --jl-border: #E2E5E8;
}

/* Single max-width container for all header content */
body #header [data-row="middle"] > .ct-container {
  width: calc(100% - 40px) !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#header .header-main-content-wrapper {
  width: 100%;
}

#header .site-branding {
  flex: 0 0 auto;
}

#header .header-menu-1 {
  margin-left: auto;
}

#header .header-menu-1 > .menu {
  align-items: center;
}

#header .menu-item-21 { order: 20; }
#header .jl-search-control { order: 18; }
#header .jl-language-control { order: 19; }
#header .menu-item-40,
#header .menu-item-41 { order: 30; }

.jl-header-control {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

.jl-header-tool {
  width: 41px;
  height: 41px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}

.jl-header-tool:hover,
.jl-header-tool:focus-visible,
.jl-header-tool[aria-expanded="true"] {
  background: var(--jl-blue);
  border-color: var(--jl-blue);
  outline: none;
}

.jl-header-tool svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Search panel */
.jl-search-panel {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: min(380px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(27,37,50,.97);
  box-shadow: 0 14px 35px rgba(0,0,0,.28);
  z-index: 10050;
}

.jl-search-panel form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jl-search-panel input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 16px;
}

.jl-search-panel input::placeholder { color: rgba(255,255,255,.62); }
.jl-search-panel input:focus { outline: 2px solid rgba(255,255,255,.6); outline-offset: 1px; }
.jl-search-panel button { flex: 0 0 auto; height: 46px; border: 0; border-radius: 6px; cursor: pointer; }
.jl-search-submit { width: 48px; display: flex; align-items: center; justify-content: center; background: var(--jl-blue); color: #fff; }
.jl-search-submit svg { width: 19px; height: 19px; fill:none; stroke:currentColor; stroke-width:1.8; }
.jl-search-close { width: 34px; background: transparent; color: #fff; font-size: 27px; line-height: 1; }

/* Language panel */
.jl-language-panel {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: 230px;
  padding: 8px;
  border-radius: 10px;
  background: var(--jl-navy);
  box-shadow: 0 16px 38px rgba(0,0,0,.34);
  z-index: 10051;
}

.jl-language-panel ul { list-style: none; margin: 0; padding: 0; }
.jl-language-item { margin: 0 !important; padding: 0 !important; display: block !important; }
.jl-language-item a {
  display: block;
  padding: 9px 14px;
  border-radius: 5px;
  color: #fff !important;
  font-size: 16px;
  line-height: 24px;
  text-transform: none !important;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.jl-language-item a:hover,
.jl-language-item a:focus-visible,
.jl-language-item.is-current a {
  color: #fff !important;
  background: var(--jl-blue);
  outline: none;
}
.jl-language-item.is-current a { font-weight: 700; }

/* Quote modal */
body.jl-quote-open { overflow: hidden; }
.jl-quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.jl-quote-overlay[hidden] { display: none !important; }
.jl-quote-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.jl-quote-content { padding: 48px 56px 42px; }
.jl-quote-content h2 {
  margin: 0 0 24px;
  color: #111;
  font-family: Poppins, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.8px;
}
.jl-quote-subtitle {
  margin: 0 auto 30px;
  color: #222;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
  max-width: 390px;
}
.jl-quote-form { display: grid; gap: 15px; }
.jl-form-row { display: block; }
.jl-form-row input,
.jl-form-row textarea {
  width: 100%;
  border: 1px solid var(--jl-border);
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.jl-form-row input { height: 52px; padding: 0 18px; }
.jl-form-row textarea { min-height: 118px; padding: 14px 18px; resize: vertical; }
.jl-form-row input:focus,
.jl-form-row textarea:focus { border-color: var(--jl-blue); box-shadow: 0 0 0 3px rgba(0,65,123,.10); }
.jl-quote-honeypot { position:absolute !important; left:-10000px !important; width:1px; height:1px; overflow:hidden; }
.jl-form-status { display:none; padding: 10px 12px; border-radius: 5px; font-size: 14px; line-height: 1.5; }
.jl-form-status.is-visible { display:block; }
.jl-form-status.is-success { background:#e8f8ef; color:#08783f; }
.jl-form-status.is-error { background:#fff0ef; color:#b22a20; }
.jl-quote-overlay .jl-quote-submit {
  width: 100% !important;
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #00417b !important;
  color: #fff !important;
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  cursor: pointer !important;
  transition: all .3s ease !important;
}
.jl-quote-overlay .jl-quote-submit:hover { background: #5da413 !important; color:#fff !important; }
.jl-quote-overlay .jl-quote-submit:active { background: #5da413 !important; color:#fff !important; }
.jl-quote-submit:focus-visible { outline: 3px solid rgba(7,155,85,.32); outline-offset: 3px; }
.jl-quote-submit:disabled { opacity:.72; cursor:wait; }
.jl-quote-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: #111;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
.jl-quote-close:hover { background: rgba(0,0,0,.12); }
.jl-quote-media { position:relative; min-height: 600px; overflow:hidden; background:#dbe3ea; }
.jl-quote-media-inner { position:absolute; inset:-18px; transition:transform .25s ease-out; }
.jl-quote-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  animation: jlKenBurns 18s ease-in-out infinite alternate;
  transform-origin:center center;
}
@keyframes jlKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Mobile menu uses the same controls */
#offcanvas .menu { display:flex; flex-direction:column; }
#offcanvas .jl-search-control,
#offcanvas .jl-language-control { order: 18; width:100%; margin-top:12px !important; }
#offcanvas .jl-language-control { order:19; }
#offcanvas .menu-item-21 { order:20; }
#offcanvas .menu-item-40 { order:30; }
#offcanvas .menu-item-41 { order:31; }
#offcanvas .jl-header-tool { margin-left:auto; background:var(--jl-blue); color:#fff; }
#offcanvas .jl-search-panel,
#offcanvas .jl-language-panel { position:static; width:100%; margin-top:10px; box-shadow:none; }
#offcanvas .jl-search-panel { background:#fff; border-color:#d9dee3; }
#offcanvas .jl-search-panel input { color:#111; background:#fff; border-color:#cfd5db; }
#offcanvas .jl-search-panel input::placeholder { color:#7b8793; }
#offcanvas .jl-search-close { color:#111; }
#offcanvas .jl-language-panel { background:var(--jl-navy); }

@media (max-width: 991px) {
  #header .ct-container { width:calc(100% - 32px) !important; }
  #header .jl-header-control { display:none !important; }
  #header .header-menu-1 .menu > li:not(.menu-item-21) { gap:12px; }
}

@media (max-width: 767px) {
  .jl-quote-overlay { padding: 12px; align-items:flex-start; }
  .jl-quote-dialog { display:block; max-height:calc(100vh - 24px); }
  .jl-quote-content { padding: 42px 24px 28px; }
  .jl-quote-content h2 { font-size: 30px; }
  .jl-quote-subtitle { font-size: 15px; margin-bottom:22px; }
  .jl-quote-media { min-height: 260px; }
  .jl-quote-media-inner { position:absolute; inset:-12px; }
}

@media (prefers-reduced-motion: reduce) {
  .jl-quote-media img { animation:none !important; }
  .jl-quote-media-inner { transform:none !important; transition:none !important; }
  .jl-header-tool,
  .jl-language-item a,
  .jl-quote-submit { transition:none !important; }
}

/* Readable solid header on all non-home views. The homepage keeps its transparent overlay. */
body:not(.page-id-8) #header::before { display: none !important; }
body:not(.page-id-8) #header [data-row="middle"] { background-color: #fff !important; }
body:not(.page-id-8) #header .site-title a { filter: none !important; }
body:not(.page-id-8) #header .site-title { color: var(--jl-ink) !important; }
body:not(.page-id-8) #header .header-menu-1 .menu > li:not(.menu-item-21) > a { color: var(--jl-ink) !important; }
body:not(.page-id-8) #header .menu-item-21 > a { color: #fff !important; background: var(--jl-blue) !important; border-color: var(--jl-blue) !important; }
body:not(.page-id-8) #header .jl-header-tool { color: var(--jl-blue); background: rgba(0,65,123,.08); border-color: rgba(0,65,123,.18); }
body:not(.page-id-8) #header .jl-header-tool:hover,
body:not(.page-id-8) #header .jl-header-tool:focus-visible,
body:not(.page-id-8) #header .jl-header-tool[aria-expanded="true"] { color: #fff; background: var(--jl-blue); border-color: var(--jl-blue); }
body:not(.page-id-8) #header .ct-header-trigger,
body:not(.page-id-8) #header .ct-header-trigger svg { color: var(--jl-blue) !important; fill: var(--jl-blue) !important; }

/* Use the complete drawer below the desktop width required by the full navigation. */
@media (max-width: 1279px) {
  #header > [data-device="desktop"] { display: none !important; }
  #header > [data-device="mobile"] { display: block !important; }
  #offcanvas .ct-panel-content[data-device="desktop"] { display: none !important; }
  #offcanvas .ct-panel-content[data-device="mobile"] { display: flex !important; }
  body #header [data-row="middle"] > .ct-container {
    width: calc(100% - 40px) !important;
    max-width: 1400px !important;
  }
}

/* Header navigation refinements: navigation, tools, and language hover */
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link {
  color: #000000 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color .2s ease !important;
}

html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:hover,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:focus-visible {
  color: #00417B !important;
}

html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:hover,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:focus-visible,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:active {
  color: #FFFFFF !important;
}

html body #header .jl-search-control > .jl-search-toggle,
html body #header .jl-language-control > .jl-language-toggle,
html body #offcanvas .jl-header-tool {
  color: #00417B !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body #header .jl-search-control > .jl-search-toggle svg,
html body #header .jl-language-control > .jl-language-toggle svg,
html body #offcanvas .jl-header-tool svg {
  stroke: currentColor !important;
  color: inherit !important;
}

html body #header .jl-search-control > .jl-search-toggle:hover,
html body #header .jl-search-control > .jl-search-toggle:focus-visible,
html body #header .jl-language-control > .jl-language-toggle:hover,
html body #header .jl-language-control > .jl-language-toggle:focus-visible,
html body #header .jl-language-control > .jl-language-toggle[aria-expanded="true"],
html body #offcanvas .jl-header-tool:hover,
html body #offcanvas .jl-header-tool:focus-visible,
html body #offcanvas .jl-header-tool[aria-expanded="true"] {
  color: #002E59 !important;
  background: transparent !important;
  border-color: transparent !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1280px) {
  html body #header .jl-language-control::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 230px;
    height: 12px;
    transform: translateX(-50%);
    z-index: 10050;
  }

  html body #header .jl-language-control > .jl-language-panel {
    top: calc(100% + 8px) !important;
    right: auto !important;
    left: 50% !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  html body #header .jl-language-control:hover > .jl-language-panel[hidden] {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    animation: jlLanguageHoverIn .18s ease-out both;
  }

  html body #header .jl-language-control > .jl-language-panel:not([hidden]) {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  @keyframes jlLanguageHoverIn {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }
}

/* Homepage Header state: transparent at top, solid white when sticky */
html body.page-id-8 #header [data-transparent-row="yes"] {
  background-color: transparent !important;
}

html body.page-id-8 #header [data-transparent-row="no"] {
  background-color: #FFFFFF !important;
}

html body.page-id-8 #header [data-transparent-row="yes"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link {
  color: #FFFFFF !important;
  transition: color .25s ease, opacity .25s ease !important;
}

html body.page-id-8 #header [data-transparent-row="yes"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:hover,
html body.page-id-8 #header [data-transparent-row="yes"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:focus-visible {
  color: #FFFFFF !important;
  opacity: .76;
}

html body.page-id-8 #header [data-transparent-row="no"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link {
  color: #000000 !important;
  opacity: 1;
}

html body.page-id-8 #header [data-transparent-row="no"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:hover,
html body.page-id-8 #header [data-transparent-row="no"] #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21) > a.ct-menu-link:focus-visible {
  color: #00417B !important;
}

html body.page-id-8 #header [data-transparent-row="yes"] .jl-search-control > .jl-search-toggle,
html body.page-id-8 #header [data-transparent-row="yes"] .jl-language-control > .jl-language-toggle {
  color: #FFFFFF !important;
  background: transparent !important;
  border-color: transparent !important;
  transition: color .25s ease, opacity .25s ease, background-color .25s ease, border-color .25s ease !important;
}

html body.page-id-8 #header [data-transparent-row="yes"] .jl-search-control > .jl-search-toggle:hover,
html body.page-id-8 #header [data-transparent-row="yes"] .jl-search-control > .jl-search-toggle:focus-visible,
html body.page-id-8 #header [data-transparent-row="yes"] .jl-language-control > .jl-language-toggle:hover,
html body.page-id-8 #header [data-transparent-row="yes"] .jl-language-control > .jl-language-toggle:focus-visible,
html body.page-id-8 #header [data-transparent-row="yes"] .jl-language-control > .jl-language-toggle[aria-expanded="true"] {
  color: #FFFFFF !important;
  opacity: .76;
  background: transparent !important;
  border-color: transparent !important;
}

html body.page-id-8 #header [data-transparent-row="no"] .jl-search-control > .jl-search-toggle,
html body.page-id-8 #header [data-transparent-row="no"] .jl-language-control > .jl-language-toggle {
  color: #00417B !important;
  background: transparent !important;
  border-color: transparent !important;
  opacity: 1;
  transition: color .25s ease, opacity .25s ease, background-color .25s ease, border-color .25s ease !important;
}

html body.page-id-8 #header [data-transparent-row="no"] .jl-search-control > .jl-search-toggle:hover,
html body.page-id-8 #header [data-transparent-row="no"] .jl-search-control > .jl-search-toggle:focus-visible,
html body.page-id-8 #header [data-transparent-row="no"] .jl-language-control > .jl-language-toggle:hover,
html body.page-id-8 #header [data-transparent-row="no"] .jl-language-control > .jl-language-toggle:focus-visible,
html body.page-id-8 #header [data-transparent-row="no"] .jl-language-control > .jl-language-toggle[aria-expanded="true"] {
  color: #002E59 !important;
  background: transparent !important;
  border-color: transparent !important;
}

html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:hover,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:focus-visible,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:active {
  background-color: #00417B !important;
  color: #FFFFFF !important;
}

/* Slightly wider spacing between primary navigation items */
@media (min-width: 1280px) {
  html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item:not(.menu-item-21):not(.jl-header-control) {
    margin-right: 8px !important;
  }
}

/* Requested hover color for the primary GET A QUOTE button. */
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:hover,
html body #header #header-menu-1.header-menu-1 > ul.menu > li.menu-item-21 > a.ct-menu-link:focus-visible {
  background-color: #5da413 !important;
  border-color: #5da413 !important;
  color: #FFFFFF !important;
}
/* Global front-end typography */
html body,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body p,
html body a,
html body button,
html body input,
html body textarea,
html body select,
html body label,
html body li,
html body blockquote,
html body figcaption,
html body time,
html body th,
html body td,
html body strong,
html body em,
html body small,
html body .elementor-widget-container,
html body .ct-footer-copyright,
html body .ct-label,
html body .screen-reader-text {
  font-family: "Poppins", sans-serif !important;
}
/* Slightly smaller desktop dropdown menu text */
html body #header #header-menu-1.header-menu-1 .sub-menu li > a.ct-menu-link {
  font-size: 15px !important;
}
/* White language labels inside the responsive off-canvas panel */
@media (max-width: 1279px) {
  #offcanvas .jl-language-panel .jl-language-item a,
  #offcanvas .jl-language-panel .jl-language-item a:hover,
  #offcanvas .jl-language-panel .jl-language-item a:focus-visible,
  #offcanvas .jl-language-panel .jl-language-item.is-current a {
    color: #fff !important;
  }
}