/* Modern visual layer for the Bootstrap 5 rebuild. */
:root {
  --fia-ink: #17202a;
  --fia-muted: #667085;
  --fia-line: #e5e7eb;
  --fia-soft: #f5f7fb;
  --fia-panel: #ffffff;
  --fia-charcoal: #20242b;
  --fia-blue: #0b5f94;
  --fia-blue-dark: #074a78;
  --fia-red: #b31915;
  --fia-red-dark: #8f1411;
  --fia-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

html,
body {
  background: var(--fia-soft);
  color: var(--fia-ink);
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

a {
  color: var(--fia-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--fia-blue-dark);
}

.top-bg {
  background:
    radial-gradient(circle at 18% 0%, rgba(179, 25, 21, 0.34), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(11, 95, 148, 0.32), transparent 30%),
    linear-gradient(135deg, #151922 0%, #242b36 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  align-items: center;
}

.top-left,
.top-right li,
.top-right li.last,
address {
  padding-top: 10px;
  padding-bottom: 10px;
}

.top-bar-content a,
.top-bar-content li,
.top-bar-content adress,
.top-right .phone-automate {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

address a,
address a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.top-left img,
.top-right img {
  opacity: 0.88;
}

.top-left a,
.top-right > ul > li > a,
.top-right .phone-automate {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
}

.top-left a:hover,
.top-left a:focus,
.top-right > ul > li > a:hover,
.top-right > ul > li > a:focus {
  color: #fff;
}

.top-right ul.dropdown-menu {
  min-width: 210px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--fia-shadow);
}

.top-right ul.dropdown-menu a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--fia-ink) !important;
  text-align: left;
}

.top-right ul.dropdown-menu a:hover,
.top-right ul.dropdown-menu a:focus {
  background: var(--fia-soft);
}

.white-bg {
  position: relative;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 68%, rgba(245, 247, 251, 0.86) 100%),
    radial-gradient(circle at 50% 0%, rgba(11, 95, 148, 0.08), transparent 40%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.white-bg::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--fia-blue), var(--fia-red), var(--fia-blue));
  opacity: 0.92;
}

.logo-ht {
  position: relative;
  z-index: 2;
  padding-top: 12px;
}

.logo-region a {
  display: block;
  width: min(420px, 86vw);
  margin: 0 auto;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.08));
}

.center-block {
  padding: 22px 0 16px;
}

.navbar {
  position: relative;
  z-index: 40;
  display: flex;
  min-height: 0;
  justify-content: center;
  margin: 0 0 26px;
}

.nav-top {
  position: relative;
  z-index: 40;
  display: flex;
  width: 100%;
  justify-content: center;
}

.navbar .navbar-collapse {
  position: relative;
  z-index: 40;
  flex-grow: 0;
  justify-content: center;
}

.navbar-default .navbar-nav {
  position: relative;
  z-index: 40;
  gap: 3px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.navbar-default .navbar-nav > li > a {
  padding: 11px 15px;
  border-radius: 999px;
  color: #2d3642;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a.active {
  background: rgba(179, 25, 21, 0.1);
  color: var(--fia-red);
  text-decoration: none;
}

.navbar-default .dropdown-toggle::after {
  display: none;
}

.navbar-default .navbar-nav > li:last-child > a {
  background: linear-gradient(135deg, var(--fia-red), var(--fia-red-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(179, 25, 21, 0.18);
}

.navbar-default .navbar-nav > li:last-child > a:hover,
.navbar-default .navbar-nav > li:last-child > a:focus,
.navbar-default .navbar-nav > li:last-child > a.active {
  color: #fff;
  background: linear-gradient(135deg, #c92722, var(--fia-red-dark));
}

.navbar-default .dropdown-menu {
  z-index: 60;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: var(--fia-shadow);
}

.navbar-default .dropdown.show > .dropdown-menu,
.navbar-default .dropdown-menu.show {
  display: block;
}

.navbar-default .dropdown-menu > li > a {
  padding: 9px 12px;
  border-radius: 8px;
}

.content-bg {
  background: var(--fia-soft);
  border-top: 0;
  padding: 0 0 56px;
}

.quote-container {
  align-items: center;
  margin: 0 auto 34px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #20242b 0%, #303844 100%);
  box-shadow: var(--fia-shadow);
}

.quote-container h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.select-inner {
  margin: 0;
}

.select-style {
  height: auto;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.select-style select,
#ZipCode {
  min-height: 44px;
  padding: 0 42px 0 16px;
  border: 0;
  border-radius: 12px;
  color: var(--fia-ink);
  font-size: 14px;
  font-weight: 600;
}

#arrow-quote,
#arrow-quote1 {
  position: relative !important;
  top: auto;
  left: auto;
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fia-red) 0%, var(--fia-red-dark) 100%);
  box-shadow: 0 10px 24px rgba(179, 25, 21, 0.25);
}

#arrow-quote::before,
#arrow-quote::after,
#arrow-quote1::before,
#arrow-quote1::after {
  display: none;
}

#arrow-quote a,
#arrow-quote1 a {
  display: block;
  padding: 10px 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.arrow-sec {
  display: flex;
  min-height: 252px;
  margin: 8px auto 30px;
  padding: 0;
  align-items: stretch;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(179, 25, 21, 0.24), transparent 28%),
    linear-gradient(135deg, #222832 0%, #343c48 100%);
  box-shadow: var(--fia-shadow);
  overflow: hidden;
}

.arrow-slider-pading,
.arrow-auto-bg,
.arrow-home-bg,
.arrow-other-bg {
  flex: 1 1 0;
  margin: 0;
  padding: 32px 28px !important;
  background: transparent !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.arrow-other-bg {
  border-right: 0;
}

.right-arrow,
.right-arrow-last,
.right-arrow-small,
.bg-mid,
.bg-last {
  display: none;
}

.auto-ins {
  padding-left: 0;
}

.arrow-content {
  position: relative;
  z-index: 2;
  font-size: 14px;
}

.arrow-text-auto h2,
.arrow-text-home h2,
.arrow-text-other h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.05;
}

.arrow-text-auto h2 span,
.arrow-text-home h2 span,
.arrow-text-other h2 span {
  font-size: inherit;
  text-transform: none;
}

.arrow-content p {
  max-width: 275px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.arrow-h-img {
  display: none !important;
}

.ins-nslider {
  margin: 6px 0 30px;
  padding: 12px 24px;
  height: auto;
  border: 1px solid var(--fia-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: visible;
}

.carrier-slider-relocated {
  margin-top: 24px;
  margin-bottom: 24px;
}

.nbs-flexisel-container,
.nbs-flexisel-inner {
  min-height: 76px;
}

.nbs-flexisel-inner {
  height: 76px;
  overflow: hidden;
}

.nbs-flexisel-item img {
  max-height: 46px;
  width: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  object-fit: contain;
}

.content-bg > .container {
  position: relative;
}

.main-content {
  margin-top: 0;
  padding: 34px 42px;
  border: 1px solid var(--fia-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.main-content h1 {
  margin-top: 0 !important;
  color: var(--fia-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  text-align: left !important;
}

.main-content h2 {
  margin-top: 30px;
  color: var(--fia-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 750;
  line-height: 1.25;
}

.main-content h3,
.main-content h4 {
  color: var(--fia-ink);
  font-weight: 750;
}

.main-content p,
.main-content li {
  color: #3f4a57;
  font-size: 16px;
  line-height: 1.78;
}

#arrow {
  position: relative;
  z-index: 1;
  left: auto;
  display: flex;
  width: 100%;
  max-width: 980px;
  height: 230px;
  margin: 8px auto 30px;
  align-items: center;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--fia-red) 0%, #d9473f 100%);
  box-shadow: var(--fia-shadow);
  overflow: hidden;
}

#arrow::before,
#arrow::after {
  display: none;
}

#arrow .arrow-text {
  margin-left: 0;
  padding-right: 42px;
  padding-left: 42px;
}

#arrow .arrow-text h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
}

#arrow .arrow-text h2 span {
  font-size: inherit;
}

.arrow-img {
  display: none !important;
}

.down-content-right,
.down-content-right2 {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--fia-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.down-content h3 {
  margin: 0 0 18px;
  color: var(--fia-ink);
  font-weight: 800;
}

.tick {
  width: 28px;
  margin: 2px 12px 18px 0;
}

.quote-btn,
.btn-xs {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fia-blue), var(--fia-blue-dark));
  box-shadow: 0 10px 20px rgba(11, 95, 148, 0.18);
}

.quote-btn {
  width: min(100%, 360px);
  padding: 12px 16px;
}

.contact-list-bdr,
.grid-divider,
.grid-divider-mob,
.grid-divider-tab {
  border-color: rgba(11, 95, 148, 0.26);
}

.shadowed {
  border: 1px solid var(--fia-line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  filter: none;
}

footer {
  padding: 44px 0 34px;
  background: linear-gradient(135deg, #171b22 0%, #262d38 100%);
}

.contact p,
.contact address,
.contact address a {
  color: #fff;
}

.footer-nav ul li a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
}

.footer-nav ul li a:hover,
.footer-nav ul li a:focus,
.footer-nav ul li a.selected {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.72);
}

.mobile-go,
.mobile-call {
  border: 1px solid var(--fia-line);
  border-radius: 12px;
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mobile-address {
  border-radius: 18px;
  background: linear-gradient(135deg, #20242b 0%, #303844 100%);
}

@media (max-width: 991.98px) {
  .navbar-default .navbar-nav > li > a {
    padding: 10px 9px;
    font-size: 11px;
  }

  .arrow-sec {
    min-height: 220px;
  }

  .arrow-content p {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .top-bg {
    height: auto;
    min-height: 52px;
  }

  .white-bg::before {
    height: 3px;
  }

  .logo-ht {
    padding-top: 8px;
  }

  .navbar {
    margin-top: -142px;
  }

  .navbar-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .navbar-toggle img {
    max-width: 21px;
  }

  .navbar .navbar-collapse {
    margin-top: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--fia-shadow);
  }

  .navbar-default .navbar-nav {
    display: block;
    padding: 10px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
  }

  .navbar-default .navbar-nav > li > a {
    border-radius: 10px;
    font-size: 13px;
  }

  .navbar-default .navbar-nav > li:last-child > a {
    margin-top: 4px;
  }

  .mobile-quote {
    background: var(--fia-soft);
  }

  .quote-container {
    padding: 18px;
  }

  .main-content {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .main-content h1 {
    font-size: 30px;
  }

  .main-content p,
  .main-content li {
    font-size: 15px;
  }

  #arrow {
    display: none;
  }
}
