@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,500i,600,600i,700,700i,800|Open+Sans:400,400i,600,600i,700,700i,800&display=swap);

.navbar-fixed {
  z-index: 9999;
  position: fixed;
  width: 100%;
  top: 0;
}

.navbar-fixed {
  background-color: #fff;
}

ul.navbar-nav > li > a {
  padding: 15px 0 !important;
  color: #fff;
}

@media (max-width: 991px) {
  ul.navbar-nav > li > a {
    padding: 1px 0 !important;
  }
  .navbar-nav {
    margin-bottom: 15px;
  }
}

ul.navbar-nav > li:hover > a,
ul.navbar-nav > li.active > a {
  color: #ffb600 !important;
}


.logo img {
  width: auto;
  height: 70px;
}


.navbar-toggler {
  float: left;
  margin-top: 10px;
  padding: 12px;
}

.navbar {
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
}

.navbar-toggler {
  margin: 10px 0;
  padding: 6px;
  border-radius: 0;
  font-size: 1rem;
  background: #ffb600;
}

.navbar-toggler:focus {
  outline: 0;
}

.navbar-dark .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

ul.navbar-nav > li:hover > a,
ul.navbar-nav > li.active > a {
  color: #ffb600;
  position: relative;
}

ul.navbar-nav > li {
  padding: 0 13px;
  position: relative;
}

@media (max-width: 1200px) {
  ul.navbar-nav > li {
    padding: 0 9px;
  }
  ul.navbar-nav > li .nav-link {
    font-size: 12px;
  }
}

.navbar-nav > .header-get-a-quote {
  top: -4px;
}

@media (max-width: 991px) {
  ul.navbar-nav > li {
    padding: 0;
    width: 100%;
  }
}

ul.navbar-nav > li:last-child {
  padding-right: 0;
}

ul.navbar-nav > li:last-child:after {
  background: none;
}

ul.navbar-nav > li > a:hover,
ul.navbar-nav > li > a:focus {
  background: none;
}

ul.navbar-nav > li > a i {
  font-weight: 700;
}

@media (max-width: 991px) {
  ul.navbar-nav > li > a i {
    float: right;
    padding: 6px 10px;
    margin-top: 7px;
  }
  .header-two ul.navbar-nav > li > a i {
    color: #fff;
  }
  .header-two ul.navbar-nav > li.active > a i,
  .header-two ul.navbar-nav > li > a.active i {
    color: #ffb600;
  }
}

ul.navbar-nav > li > a:after,
ul.navbar-nav > li > a:after {
  display: none;
}

ul.navbar-nav > li > a {
  font-family: "Montserrat", sans-serif;
  color: #0c2d62 !important;
  text-rendering: optimizeLegibility;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: -.2px;
  font-size: 14px;
  margin: 0;
  line-height: 40px;
  padding: 30px 0;
  transition: 350ms;
}

.navbar-light ul.navbar-nav > li > a {
  color: #000 !important;
  font-size: 13px;
}

/* Dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -2px;
  border-radius: 0;
}

.dropdown-submenu > a:after {
  display: block;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  float: right;
  margin-top: 0;
  margin-right: -5px;
  border: 0;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-menu {
  text-align: left;
  background: #fff;
  z-index: 100;
  min-width: 200px;
  border-radius: 0;
  border: 0;
  border-top: 2px solid #ffb600;
  padding: 0 20px;
  margin: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

@media (max-width: 991px) {
  .dropdown-menu {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  }
}

.dropdown-menu-large {
  min-width: 400px;
}

.dropdown-menu-large > li > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-menu-large > li > ul > li > a {
  padding-left: 0;
}

.dropdown-menu-large > li > ul > li.active > a {
  color: #ffb600 !important;
}

.navbar-nav > li > .dropdown-menu a {
  background: none;
}

.dropdown-menu li a {
  font-family: "Montserrat", sans-serif;
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  padding: 15px 0;
  letter-spacing: .3px;
  border-bottom: 1px solid #e5e5e5;
  color: #333333;
}

@media (max-width: 991px) {
  .dropdown-menu li a {
    padding: 12px 0;
  }
}

.dropdown-menu li:last-child > a {
  border-bottom: 0;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  color: #ffb600;
}

@media (min-width: 991px) {
  ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
  }
}

@media (min-width: 991px) {
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu {
    left: 100%;
    top: 0;
    display: none;
  }
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > .dropdown-menu > .active > a {
  background: none;
  color: #ffb600;
}

/* ==========================================================================
   Mobile slide-in navigation
   ========================================================================== */

/* Hamburger trigger — only visible below the lg breakpoint */
.mnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  margin: 10px 0;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #ffb600;
  cursor: pointer;
}

.mnav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: #0c2d62;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.mnav-toggle:focus-visible {
  outline: 3px solid #0c2d62;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .mnav-toggle {
    display: flex;
  }
}

/* Overlay + panel shell (hidden until opened) */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden; /* clip the panel as it slides out — no horizontal spill */
  visibility: hidden;
  pointer-events: none;
  /* keep the layer visible through the close animation, then hide */
  transition: visibility 0s linear 0.35s;
}

.mnav.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.mnav-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(6, 31, 63, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mnav.is-open .mnav-overlay {
  opacity: 1;
}

/* The sliding panel */
.mnav-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 40px rgba(6, 31, 63, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mnav.is-open .mnav-panel {
  transform: translateX(0);
}

/* Panel header */
.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.mnav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.mnav-close {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0; /* override global button padding (main.css) that made it an oval */
  min-width: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.mnav-close:hover {
  background: #ffb600;
}

.mnav-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #0c2d62;
  border-radius: 2px;
}

.mnav-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mnav-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mnav-close:focus-visible {
  outline: 3px solid #0c2d62;
  outline-offset: 2px;
}

/* Links */
.mnav-links {
  padding: 8px 0;
  flex: 1 1 auto;
}

.mnav-link,
.mnav-acc {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 15px;
  color: #0c2d62;
}

.mnav-link {
  display: block;
  padding: 16px 22px;
  text-decoration: none;
  border-bottom: 1px solid #eef1f5;
  transition: color 0.2s ease, background 0.2s ease;
}

.mnav-link:active,
.mnav-link:hover {
  color: #ffb600;
  background: #fafbfc;
}

/* Accordion group */
.mnav-group {
  border-bottom: 1px solid #eef1f5;
}

.mnav-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.mnav-acc:hover {
  color: #ffb600;
}

.mnav-caret {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.mnav-group.open .mnav-acc {
  color: #ffb600;
}

.mnav-group.open .mnav-caret {
  transform: rotate(180deg);
}

.mnav-acc:focus-visible,
.mnav-link:focus-visible {
  outline: 3px solid #0c2d62;
  outline-offset: -3px;
}

/* Collapsible submenu (grid-rows animation) */
.mnav-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
  background: #f7f9fb;
}

.mnav-group.open .mnav-sub {
  grid-template-rows: 1fr;
}

.mnav-sub-inner {
  overflow: hidden;
  min-height: 0;
}

.mnav-sub-inner a {
  display: block;
  padding: 13px 22px 13px 34px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #45536b;
  border-top: 1px solid #e7ecf2;
  transition: color 0.2s ease, background 0.2s ease;
}

.mnav-sub-inner a:hover,
.mnav-sub-inner a:active {
  color: #ffb600;
  background: #eef2f7;
}

/* Footer: call CTA + socials */
.mnav-foot {
  padding: 20px 22px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid #eef1f5;
  background: #fff;
}

.mnav-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #ffb600;
  color: #0c2d62;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.mnav-call:hover {
  filter: brightness(0.95);
  color: #0c2d62;
}

.mnav-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.mnav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f4f7;
  color: #0c2d62;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mnav-social a:hover {
  background: #0c2d62;
  color: #fff;
}

/* Never show the drawer or trigger on desktop */
@media (min-width: 992px) {
  .mnav,
  .mnav-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mnav-panel,
  .mnav-overlay,
  .mnav-sub,
  .mnav-caret,
  .mnav-toggle span {
    transition: none;
  }
}
