@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Modern steel-industry palette: maroon, yellow, light grey, and blue. */
:root {
  --mst-navy: #24334f;
  --mst-navy-2: #25344f;
  --mst-blue: #2c4971;
  --mst-steel: #617891;
  --mst-cool: #eef1f3;
  --mst-cool-2: #dfe5e9;
  --mst-offwhite: #f7f8f9;
  --mst-yellow: #dba12c;
  --mst-yellow-soft: #f6e4b8;
  --mst-maroon: #70200c;
  --mst-maroon-2: #632024;
  --mst-coffee: #6f4d38;
  --mst-wine: #70200c;
  --mst-text: #202a38;
  --mst-muted: #5b6775;
  --mst-border: #ccd8df;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--mst-offwhite);
  color: var(--mst-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

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

@keyframes mstFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mstSubtleSlide {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }
}

body > .container-fluid:first-of-type {
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
}

p,
li,
td,
label,
input,
textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--mst-text);
}

.container-fluid > h1,
.container-fluid > h2,
.container-fluid > h3,
.contact-section h2 {
  color: var(--mst-navy) !important;
}

.container-fluid > h1::after,
.container-fluid > h2::after,
.contact-section h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--mst-yellow);
  border-radius: 4px;
}

.container-fluid {
  max-width: 100%;
}

.navbar.bg-dark,
nav.navbar {
  background: var(--mst-blue) !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 28px rgba(24, 41, 69, .2);
}

.navbar .nav-link,
.navbar .dropdown-toggle,
.navbar span {
  color: #fff !important;
}

.navbar a,
.navbar i {
  color: #fff !important;
}

.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover,
.navbar .nav-link.active {
  color: var(--mst-yellow-soft) !important;
}

#mobile-view,
#mobile-view a,
#mobile-view i {
  color: var(--mst-maroon) !important;
}

.btn,
button,
.btn-warning {
  border-radius: 4px !important;
}

.btn[style*="background:#ffcc66"],
button[style*="background:#ffcc66"],
.btn-warning {
  background: var(--mst-yellow) !important;
  border: 1px solid #bd8521 !important;
  color: #1d2940 !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(219, 161, 44, .28);
}

.btn[style*="background:#ffcc66"]:hover,
button[style*="background:#ffcc66"]:hover,
.btn-warning:hover {
  background: var(--mst-maroon) !important;
  border-color: var(--mst-maroon) !important;
  color: #fff !important;
}

.btn a {
  color: inherit !important;
}

#carouselExampleIndicators {
  border-bottom: 5px solid var(--mst-cool-2);
  overflow: hidden;
}

#carouselExampleIndicators img {
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  animation: mstSubtleSlide 18s ease-in-out infinite;
}

h1[style*="color:#953c30"],
h2[style*="color:#953c30"],
h3[style*="color:#953c30"],
h4[style*="color:#953c30"],
h6[style*="color:#953c30"],
[style*="color:#953c30"] display {
  color: var(--mst-navy) !important;
}

a[style*="color:#953c30"],
i[style*="color:#953c30"] {
  color: var(--mst-maroon) !important;
}

div[style*="background-color:#953c30"],
.card-header[style*="background-color:#953c30"] {
  background: var(--mst-maroon) !important;
  color: #fff !important;
}

div[style*="background-color:#953c30"] h1,
div[style*="background-color:#953c30"] h2,
div[style*="background-color:#953c30"] h3,
div[style*="background-color:#953c30"] h4,
div[style*="background-color:#953c30"] h5,
div[style*="background-color:#953c30"] h6,
div[style*="background-color:#953c30"] p,
div[style*="background-color:#953c30"] li,
div[style*="background-color:#953c30"] span,
div[style*="background-color:#953c30"] a {
  color: #fff !important;
}

div[style*="background-color:#ffcc66"] {
  background: var(--mst-cool) !important;
  color: var(--mst-text) !important;
}

div[style*="background-color:#ffcc66"] h1,
div[style*="background-color:#ffcc66"] h2,
div[style*="background-color:#ffcc66"] h3,
div[style*="background-color:#ffcc66"] h4,
div[style*="background-color:#ffcc66"] h5,
div[style*="background-color:#ffcc66"] h6,
div[style*="background-color:#ffcc66"] p,
div[style*="background-color:#ffcc66"] span,
div[style*="background-color:#ffcc66"] a {
  color: var(--mst-text) !important;
}

div[style*="background-color:#ffcc00"],
div[style*="background:#ffcc00"] {
  background: var(--mst-yellow) !important;
}

.card-header[style*="background-color:#953c30"] *,
div[style*="background-color:#953c30"] .btn:hover,
footer .btn:hover {
  color: #fff !important;
}

.jumbotron {
  background: var(--mst-cool);
  border: 1px solid var(--mst-border);
  border-radius: 6px;
  margin-left: 0;
  margin-right: 0;
}

.card,
.single_service,
.accordion .card {
  border: 1px solid var(--mst-border);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(24, 41, 69, .12) !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover,
.single_service:hover,
.accordion .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 41, 69, .16) !important;
}

.card-body,
.form-control,
.table,
.table-responsive {
  color: var(--mst-text);
}

.form-control {
  border: 1px solid var(--mst-border);
  border-radius: 4px;
}

.form-control:focus {
  border-color: var(--mst-blue);
  box-shadow: 0 0 0 .15rem rgba(44, 73, 113, .14);
}

.accordion .card-header {
  border-bottom: 1px solid var(--mst-border);
  background: #f9fbfc !important;
}

.mst-products-menu {
  background: #fff !important;
  border: 1px solid var(--mst-border);
  box-shadow: 0 16px 34px rgba(37, 52, 79, .16);
}

.mst-products-menu .dropdown-menu {
  background: #fff !important;
  border: 1px solid var(--mst-border);
}

.mst-products-menu a,
.mst-products-menu .dropdown-item,
.mst-products-menu .mst-submenu-toggle {
  color: var(--mst-text) !important;
  font-weight: 600;
}

.mst-products-menu .dropdown-item:hover,
.mst-products-menu .dropdown-submenu:hover > .mst-submenu-toggle {
  background: var(--mst-cool) !important;
  color: var(--mst-maroon) !important;
}

.service_area.bg-dark,
section.bg-dark.service_area {
  background: var(--mst-cool) !important;
}

.service_area,
.service_active,
.owl-carousel,
.owl-stage-outer {
  max-width: 100%;
  overflow: hidden !important;
}

.owl-stage {
  will-change: transform;
}

.service_area .single_service {
  background: #fff;
  overflow: hidden;
  border-top: 4px solid var(--mst-maroon);
}

.service_area .single_service img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease;
}

.service_area .single_service:hover img {
  transform: scale(1.05);
}

.service_area .service_info h3 a {
  color: var(--mst-navy) !important;
}

.service_area .service_info h3 a:hover {
  color: var(--mst-wine) !important;
}

.contact-section .card,
.group-company-card {
  background: #fff;
}

.contact-section .card {
  border-top: 4px solid var(--mst-blue);
}

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

iframe,
video,
canvas {
  max-width: 100%;
}

table {
  width: 100%;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.map-container-section,
#map-container-section {
  border: 1px solid var(--mst-border);
  border-radius: 6px;
  overflow: hidden;
}

.map-container-section iframe,
#map-container-section iframe {
  display: block;
  width: 100% !important;
}

footer > .container-fluid,
footer div[style*="background-color:#953c30"] {
  background: var(--mst-maroon) !important;
}

footer,
footer p,
footer li,
footer span,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: #fff !important;
}

footer h6 {
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

footer hr {
  border-top-color: var(--mst-yellow) !important;
}

footer a,
footer a i {
  color: #fff !important;
}

footer a:hover {
  color: var(--mst-yellow-soft) !important;
}

.mst-home-priority {
  background: var(--mst-cool);
  border-bottom: 1px solid var(--mst-border);
  padding: 46px 18px;
}

.mst-home-priority .mst-priority-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.mst-landing-stack {
  display: grid;
  gap: 18px;
}

.mst-landing-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--mst-border);
  border-left: 5px solid var(--mst-blue);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(24, 41, 69, .12);
}

.mst-landing-section:nth-child(even) {
  border-left-color: var(--mst-maroon);
}

.mst-landing-section:nth-child(5) {
  border-left-color: var(--mst-yellow);
}

.mst-section-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mst-blue);
  color: #fff;
  font-size: 20px;
}

.mst-section-icon.maroon {
  background: var(--mst-maroon);
  color: #fff;
}

.mst-section-icon.yellow {
  background: var(--mst-yellow);
  color: var(--mst-navy);
}

.mst-section-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--mst-maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mst-section-copy h3 {
  margin: 0 0 8px;
  color: var(--mst-navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.mst-section-copy p {
  margin: 0;
  color: var(--mst-muted);
  line-height: 1.55;
}

.mst-section-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 260px;
}

.mst-section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
}

.mst-section-btn.primary {
  background: var(--mst-yellow);
  border: 1px solid #bd8521;
  color: var(--mst-navy) !important;
}

.mst-section-btn.primary:hover {
  background: var(--mst-maroon);
  border-color: var(--mst-maroon);
  color: #fff !important;
}

.mst-section-btn.secondary {
  background: #fff;
  border: 1px solid var(--mst-blue);
  color: var(--mst-blue) !important;
}

.mst-section-btn.secondary:hover {
  background: var(--mst-blue);
  color: #fff !important;
}

.mst-home-priority h2 {
  margin-bottom: 8px;
  color: var(--mst-navy);
  font-size: 34px;
  font-weight: 800;
}

.mst-home-priority h3 {
  margin-bottom: 8px;
  color: var(--mst-navy);
  font-size: 20px;
  font-weight: 800;
}

.mst-home-priority p {
  margin-bottom: 0;
  color: var(--mst-muted);
  line-height: 1.55;
}

.mst-home-priority .mst-priority-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--mst-muted);
  line-height: 1.6;
}

.mst-home-section {
  background: #fff;
  border: 1px solid var(--mst-border);
  border-radius: 6px;
  margin-bottom: 26px;
  padding: 32px;
  box-shadow: 0 14px 30px rgba(24, 41, 69, .08);
  animation: mstFadeUp .55s ease both;
  overflow: hidden;
}

.mst-home-section:nth-child(2) {
  animation-delay: .04s;
}

.mst-home-section:nth-child(3) {
  animation-delay: .08s;
}

.mst-home-section:nth-child(4) {
  animation-delay: .12s;
}

.mst-home-section:nth-child(5) {
  animation-delay: .16s;
}

.mst-home-section:last-child {
  margin-bottom: 0;
}

.mst-section-heading {
  max-width: 920px;
  margin-bottom: 24px;
}

.mst-section-heading h2,
.mst-home-section h2 {
  margin: 0 0 10px;
  color: var(--mst-navy);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.25;
}

.mst-section-heading p,
.mst-home-section > div > p,
.mst-home-section p {
  color: var(--mst-muted);
  line-height: 1.65;
}

.mst-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mst-product-card,
.mst-blog-card,
.mst-info-card {
  display: block;
  min-height: 100%;
  background: #f9fbfc;
  border: 1px solid var(--mst-border);
  border-top: 4px solid var(--mst-blue);
  border-radius: 6px;
  padding: 20px;
  color: var(--mst-text) !important;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.mst-product-card {
  padding: 0 0 20px;
}

.mst-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--mst-border);
  filter: saturate(.95) contrast(1.02);
  transition: transform .45s ease, filter .45s ease;
}

.mst-product-card strong,
.mst-product-card span {
  padding-left: 20px;
  padding-right: 20px;
}

.mst-product-card strong {
  padding-top: 18px;
}

.mst-product-card:nth-child(2n),
.mst-info-card:nth-child(2n),
.mst-blog-card:nth-child(2n) {
  border-top-color: var(--mst-maroon);
}

.mst-product-card:nth-child(3n),
.mst-blog-card:nth-child(3n) {
  border-top-color: var(--mst-yellow);
}

.mst-product-card strong,
.mst-blog-card strong,
.mst-info-card h3 {
  display: block;
  margin-bottom: 8px;
  color: var(--mst-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.mst-product-card span,
.mst-blog-card span,
.mst-info-card p {
  color: var(--mst-muted);
  line-height: 1.55;
}

.mst-product-card:hover,
.mst-blog-card:hover {
  border-color: var(--mst-blue);
  box-shadow: 0 16px 30px rgba(24, 41, 69, .14);
  transform: translateY(-4px);
}

.mst-product-card:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
}

.mst-section-actions.wide {
  justify-content: flex-start;
  margin-top: 22px;
}

.mst-home-quote {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: var(--mst-blue);
  border-color: var(--mst-blue);
}

.mst-quote-photo {
  min-height: 180px;
  border-radius: 6px;
  background: url("images/headers/main-banner-img2.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .25);
}

.mst-home-quote h2,
.mst-home-quote p,
.mst-home-quote .mst-section-label {
  color: #fff !important;
}

.mst-quote-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mst-home-quote .mst-section-btn.secondary {
  border-color: #fff;
  color: #fff !important;
  background: transparent;
}

.mst-home-quote .mst-section-btn.secondary:hover {
  background: #fff;
  color: var(--mst-blue) !important;
}

.mst-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mst-section-photo {
  margin: -8px -8px 26px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mst-border);
}

.mst-section-photo img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.mst-info-card i {
  color: var(--mst-maroon);
  font-size: 24px;
  margin-bottom: 14px;
}

.mst-home-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  align-items: center;
}

.mst-trust-list {
  display: grid;
  gap: 12px;
}

.mst-trust-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--mst-cool);
  border: 1px solid var(--mst-border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--mst-text);
  font-weight: 700;
}

.mst-trust-list i {
  color: var(--mst-maroon);
  margin-top: 4px;
}

.mst-home-trust .mst-section-actions {
  grid-column: 1 / -1;
}

.mst-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mst-blog-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--mst-maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: 16px;
  }

  .navbar .navbar-nav {
    padding: 8px 0;
  }

  .mst-product-grid,
  .mst-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mst-industry-grid,
  .mst-home-quote,
  .mst-home-trust {
    grid-template-columns: 1fr;
  }

  .mst-quote-photo {
    min-height: 220px;
  }

  .mst-home-section {
    padding: 28px 24px;
  }

  .mst-section-actions,
  .mst-section-actions.wide,
  .mst-quote-actions {
    justify-content: flex-start;
  }

  .mst-section-btn {
    min-width: 170px;
  }

  .collapsible-link,
  .accordion .card-header a,
  .accordion .card-header h6 {
    font-size: 14px !important;
    line-height: 1.4;
  }
}

@media (max-width: 767.98px) {
  .mst-home-priority {
    padding: 28px 12px 18px;
  }

  .mst-home-priority h2 {
    font-size: 25px;
  }

  .mst-home-section {
    padding: 24px 18px;
  }

  .mst-section-heading h2,
  .mst-home-section h2 {
    font-size: 25px;
  }

  .mst-product-grid,
  .mst-industry-grid,
  .mst-blog-grid,
  .mst-home-quote,
  .mst-home-trust {
    grid-template-columns: 1fr;
  }

  .mst-quote-actions {
    justify-content: flex-start;
  }

  .mst-landing-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .mst-section-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .mst-section-btn {
    width: 100%;
    min-width: 0;
  }

  #carouselExampleIndicators img {
    min-height: 170px;
  }

  .container-fluid > h1.display-4 {
    font-size: 30px !important;
  }

  .col-sm-12.px-5 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #mobile-view a {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .modal-dialog {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 420px) {
  .mst-home-priority {
    padding-left: 10px;
    padding-right: 10px;
  }

  .mst-home-section {
    padding: 22px 16px;
  }

  .mst-product-card,
  .mst-blog-card,
  .mst-info-card {
    padding: 18px 16px;
  }
}
