
/* Maysky responsive header, navigation and footer fixes */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, iframe, video, table { max-width: 100%; }
.header { min-height: 76px; padding: 8px 0; z-index: 1030; }
.header .container > .row { display: flex; align-items: center; margin-left: -15px; margin-right: -15px; }
.header .container > .row > [class*="col-"] { float: none; }
.header .container > .row > .col-md-2 { flex: 0 0 auto; }
.header .container > .row > .col-md-10 { flex: 1 1 auto; min-width: 0; }
.header-left, .header-right, .main-navigation, .main-navigation .navbar { margin: 0; }
.logo { display: flex; align-items: center; }
.logo a { display: inline-flex; align-items: center; }
#logo { width: auto !important; max-width: 145px !important; max-height: 58px !important; height: auto !important; }
.main-navigation .navbar-default { background: transparent; border: 0; }
.main-navigation .navbar-nav > li > a { white-space: nowrap; }
.footer-social-links { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; }
.footer-social-links img { width: 36px; height: 36px; object-fit: contain; }
.footer-policy-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 18px; padding: 0 15px; text-align: center; }
.footer-policy-links a { color: #fff !important; text-decoration: underline; font-size: 14px; line-height: 1.5; }
.footer-policy-links a:hover, .footer-policy-links a:focus { color: #dce5ff !important; }

@media (max-width: 991px) {
  .header { min-height: 68px; padding: 6px 0; }
  #logo { max-width: 120px !important; max-height: 50px !important; }
  .header .container > .row > .col-md-10 { margin-left: auto; }
  .main-navigation .navbar-header { float: right; }
  .main-navigation .navbar-toggle { display: block; margin: 7px 0 7px 12px; padding: 9px 10px; border-color: #343c90; border-radius: 6px; }
  .main-navigation .navbar-toggle .icon-bar { background-color: #343c90; }
  .main-navigation .navbar-collapse.collapse { display: none !important; }
  .main-navigation .navbar-collapse.collapse.in { display: block !important; }
  .main-navigation .navbar-collapse { position: fixed; top: 68px; left: 0; right: 0; width: 100%; max-height: calc(100vh - 68px); overflow-y: auto; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 10px 24px rgba(0,0,0,.12); padding: 8px 15px 14px; }
  .main-navigation .navbar-nav { float: none !important; margin: 0; }
  .main-navigation .navbar-nav > li { float: none; }
  .main-navigation .navbar-nav > li > a { padding: 12px 10px; line-height: 20px; border-bottom: 1px solid #eef0f4; }
  .main-navigation .dropdown-menu { position: static; float: none; width: 100%; margin: 0; border: 0; box-shadow: none; }
  .dropdown-menu.custom-dropdown::before { display: none; }
  .banner, .banner[style] { min-height: 560px !important; height: auto !important; }
  .banner-caption { position: relative !important; top: auto !important; left: auto !important; transform: none !important; padding: 135px 0 70px; }
  .caption-data { position: relative !important; top: auto !important; right: auto !important; transform: none !important; width: 100%; margin: 0 !important; padding: 0 15px; text-align: center !important; }
  .caption-data h1, .caption-data h3, .caption-data .cta-button { text-align: center !important; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .header .container { padding-left: 15px; padding-right: 15px; }
  .header .container > .row { margin: 0; justify-content: space-between; }
  .header .container > .row > [class*="col-"] { padding: 0; width: auto; }
  #logo { max-width: 105px !important; max-height: 44px !important; }
  .main-navigation .navbar-toggle { margin: 5px 0; }
  h1 { font-size: 30px; line-height: 1.2; overflow-wrap: anywhere; }
  h2 { font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
  h3 { font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
  .container { max-width: 100%; }
  .row { margin-left: -10px; margin-right: -10px; }
  [class*="col-"] { padding-left: 10px; padding-right: 10px; }
  .banner, .banner[style] { min-height: 520px !important; background-position: center center !important; }
  .banner-caption { padding: 115px 0 55px; }
  .caption-data { padding: 0 5px; }
  .caption-data h1 { font-size: 31px; margin: 7px 0; }
  .caption-data h3 { font-size: 17px; }
  .caption-data .cta-button { width: auto; max-width: 100%; padding: 12px 22px !important; }
  .client-img { width: 100% !important; height: auto !important; }
  .subfooter { padding: 28px 0 22px; }
  .footer-policy-links { gap: 8px 12px; margin-bottom: 15px; }
  .footer-policy-links a { flex: 0 1 auto; font-size: 13px; }
}

@media (max-width: 380px) {
  #logo { max-width: 94px !important; }
  .caption-data h1 { font-size: 27px; }
  .footer-policy-links { flex-direction: column; gap: 7px; }
}

/* Three-column client logo grid */
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 12px 18px !important;
}
.client-logo-item .client-img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  max-height: 120px;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .client-logo-item {
    min-height: 100px;
    padding: 8px !important;
  }
  .client-logo-item .client-img {
    max-height: 82px;
  }
}
