html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  padding-bottom: 58px;
}

img, video, iframe, table {
  max-width: 100% !important;
}

img {
  height: auto !important;
}

.container,
.content,
.row,
[class*="col-"] {
  min-width: 0;
}

p, li, h1, h2, h3, h4, h5, a {
  overflow-wrap: anywhere;
}

.navbar-brand {
  display: block;
  max-width: 100%;
  height: auto;
}

.contact-form .iti__country-list {
  width: min(400px, calc(100vw - 48px)) !important;
}

.iti--container {
  z-index: 11000000 !important;
}

.iti--container .iti__country-list {
  max-width: calc(100vw - 20px) !important;
  max-height: min(300px, 45vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 991px) {
  .content-box .col-md-8,
  .content-box .col-md-4 {
    width: 100%;
    float: none;
  }
}

@media (max-width: 767px) {
  .container {
    width: 100% !important;
    padding-inline: 14px !important;
  }

  .navbar-header,
  .navbar-brand {
    width: 100%;
  }

  .navbar,
  .navbar-default {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
  }

  .navbar-header {
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    overflow: hidden;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-brand {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar-brand img {
    display: block;
    width: 100% !important;
    max-width: 484px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }

  .content-box,
  .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  h1 {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.12 !important;
  }

  h2 {
    font-size: clamp(23px, 6.5vw, 31px) !important;
    line-height: 1.18 !important;
  }

  h3 {
    font-size: clamp(20px, 5.5vw, 27px) !important;
  }

  p, li, h4, h5 {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  .media {
    display: flex;
    align-items: flex-start;
  }

  .media-left {
    flex: 0 0 48px;
    padding-right: 10px !important;
  }

  .media-object {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
  }

  .lead-modal {
    padding: 8px !important;
    align-items: flex-start !important;
    overflow-y: auto;
  }

  .lead-card {
    width: 100% !important;
    max-height: none !important;
    margin: 8px 0;
    padding: 44px 16px 20px !important;
  }

  body > a[style*="position:fixed"] {
    min-height: 52px;
    padding: 0 12px;
    font-size: 15px !important;
    line-height: 52px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 9px !important;
  }

  .lead-card {
    padding-inline: 12px !important;
  }
}
