/* Site overrides loaded after the template bundle (main.*.css). */

img {
  max-width: 100%;
  height: auto;
}

/* Navbar logo: Linked X mark plus wordmark. */
.navbar-default .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand .navbar-logo-img {
  width: 36px;
  height: 36px;
  margin-top: 0;
}

.navbar-wordmark {
  font-family: "Space Grotesk", "Fira Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #0c0633;
  white-space: nowrap;
}

.navbar-wordmark span {
  color: #8b62ff;
}

/* Footer contact links should read like the surrounding text. */
footer a[href^="mailto:"],
footer a[href^="tel:"] {
  color: inherit;
  text-decoration: underline;
  word-break: break-word;
}

/* Contact page map: keyless Google Maps embed. */
.map-embed {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  overflow: hidden;
  background-color: #eee;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 404 page */
.not-found {
  padding: 100px 0;
}

.not-found-code {
  margin: 0;
  font-family: "Space Grotesk", "Fira Sans", sans-serif;
  font-size: 96px;
  font-weight: 600;
  line-height: 1;
  color: #8b62ff;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

#contact-form-status {
  margin-top: 15px;
}

/* Feature cards (home Specializations, Integration sectors). */
.feature-card {
  margin-bottom: 30px;
}

.feature-card .fa-container {
  margin-bottom: 10px;
}

.feature-card h3 {
  margin-top: 10px;
}

/* Tablet and up: cards in a row share a height, so uneven content never snags the float grid. */
@media (min-width: 768px) {
  .feature-row {
    display: flex;
    flex-wrap: wrap;
  }

  .feature-row:before,
  .feature-row:after {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-container {
    padding: 40px 0;
  }

  .background-image-container {
    padding: 60px 0;
  }

  .background-image-container h1 {
    font-size: 36px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  /* Template bullet icons sit 40px into the list's padding; keep them on screen. */
  .features {
    padding-left: 40px;
    padding-right: 0;
  }

  .section-container .col-md-7 + .col-md-5 {
    margin-top: 30px;
  }

  .footer-container [class*="col-md-"] + [class*="col-md-"] {
    margin-top: 20px;
  }

  .map-embed {
    height: 240px;
  }
}

.footer-legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #55506b;
}

.footer-legal p {
  margin: 0;
}
