
/* Brand colours sampled from the official logo PNGs (solid fills):
   Navy  #0f314c  (15, 49, 76)
   Copper #c67b44 (198, 123, 68)
   Copper buttons are darkened to #9e6236 so white text meets WCAG AA (4.94:1). */
:root {
  --mx-navy: #0f314c;
  --mx-copper: #c67b44;
  --mx-copper-btn: #9e6236;
  --mx-copper-dark: #8b5530;
  --mx-navy-deep: #0b283e;
}

.top-bar {
  background: var(--mx-navy);
  color: #fff;
}
.top-bar a,
.top-bar .info-text,
.top-bar .top-links a {
  color: #fff;
}
.top-bar a:hover,
.top-bar .top-links a:hover {
  color: var(--mx-copper);
}
.top-bar ul.top-info li i {
  color: var(--mx-copper);
}

.header-one .site-navigation,
.site-navigation,
.navbar-fixed {
  background: var(--mx-navy) !important;
}
.site-navigation .navbar-nav > li > a {
  color: #fff;
}
.site-navigation .navbar-nav > li.active > a,
.site-navigation .navbar-nav > li > a:hover,
.site-navigation .navbar-nav > li > a:focus {
  color: var(--mx-copper);
}
.dropdown-menu {
  border-top-color: var(--mx-copper);
}

h1, h2, h3, h4,
.column-title,
.section-title,
.section-sub-title,
.into-title,
.into-sub-title,
.banner-title {
  color: var(--mx-navy);
}
.banner-title,
.slide-title,
.slide-sub-title,
.slider-description,
.slider-description.lead {
  color: #fff;
}

.btn-primary,
.header-get-a-quote .btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
  border-color: var(--mx-copper-btn) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.header-get-a-quote .btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background: var(--mx-navy) !important;
  color: #fff !important;
  border-color: var(--mx-navy) !important;
}
.btn-dark {
  background: var(--mx-navy) !important;
  color: #fff !important;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
}
.slider.btn-primary.border {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
.slider.btn-primary.border:hover {
  background: var(--mx-copper-btn) !important;
  border-color: var(--mx-copper-btn) !important;
  color: #fff !important;
}

.call-to-action-box .action-style-box {
  background: var(--mx-navy);
}
.call-to-action-box .action-title {
  color: #fff;
}
.copyright {
  background: var(--mx-navy-deep);
  color: #e8eef3;
}
.copyright a {
  color: var(--mx-copper);
}
.copyright a:hover {
  color: #fff;
}
#footer.footer,
.footer {
  background-color: var(--mx-navy);
}
.footer .widget-title {
  border-left-color: var(--mx-copper);
}

.banner-carousel .banner-carousel-item::before {
  background: rgba(15, 49, 76, 0.50);
}
#banner-area.banner-area {
  /* keep photo, add a navy wash via the existing .banner-text overlay if present */
}

.mx-logo {
  display: inline-block;
  line-height: 0;
}
.mx-logo img {
  height: 54px;
  width: auto;
  max-width: 220px;
  display: block;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo-link img,
img.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  display: block;
}

.error-code {
  color: var(--mx-copper);
}

@media (max-width: 767px) {
  .mx-logo img {
    height: 46px;
    margin: 0 auto;
  }
}


/* Mingxu overrides on top of Constra. Keep the industrial template look.
   Do not introduce large serif heroes, pill badges, or yellow TODO boxes. */

.top-bar .top-info li {
  margin-right: 18px;
}
.top-bar a {
  color: inherit;
}
.top-bar a:hover {
  color: #c67b44;
}
.top-links {
  margin: 8px 0 0;
  padding: 0;
}
.top-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.top-links a:hover {
  color: #c67b44;
}

/* wordmark styles replaced by .mx-logo img rules in the brand override */

/* Darken slider photos so white type stays readable, especially on the container shot. */
.banner-carousel .banner-carousel-item {
  position: relative;
}
.banner-carousel .banner-carousel-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}
.banner-carousel .slider-content {
  position: relative;
  z-index: 2;
}
#banner-area.banner-area {
  background-size: cover;
  background-position: center;
}

.photo-note {
  font-size: 12px;
  line-height: 1.45;
  color: #777;
  margin: 6px 0 0;
}
.todo-note {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
  margin: 6px 0 10px;
  font-style: italic;
}

/* Hide the WhatsApp "number to be added" note once a number is configured. */
body.wa-ready .wa-fallback {
  display: none;
}

.disclaimer {
  font-size: 13px;
  color: #ddd;
  margin-top: 10px;
}

.mx-product-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mx-product-card .thumb {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #eee;
}
.mx-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mx-product-card .body {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mx-product-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.mx-product-card h3 a:hover {
  color: #c67b44;
}
.mx-product-card p {
  color: #555;
  font-size: 15px;
  flex: 1;
}
.mx-product-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.mx-why .ts-service-box {
  margin-bottom: 18px;
}
.mx-why .ts-service-box-content p {
  margin: 6px 0 0;
  color: #555;
  font-size: 14px;
}

.mx-process-teaser,
.mx-bottom-cta {
  padding: 60px 0;
}
.mx-step {
  background: #fff;
  border-top: 3px solid #c67b44;
  padding: 20px 18px 16px;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-top: 3px solid #c67b44;
}
.mx-step span {
  display: inline-block;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  color: #c67b44;
  font-size: 22px;
  margin-bottom: 6px;
}
.mx-step h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.mx-step p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.mx-cta-row {
  background: #252525;
  color: #fff;
  padding: 28px 30px;
}
.mx-cta-row h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 26px;
}
.mx-cta-row p {
  margin: 0;
  color: #ddd;
}
.mx-cta-row a:not(.btn) {
  color: #c67b44;
}

.mx-enquiry {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  padding: 22px 20px;
}
.mx-enquiry h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.mx-enquiry .btn {
  margin-top: 8px;
}
.mx-sidebar {
  position: sticky;
  top: 90px;
}
.mx-figure {
  margin: 0 0 16px;
}
.mx-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.mx-product-block {
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.mx-product-block:last-of-type {
  border-bottom: 0;
}

.mx-process-list {
  margin: 24px 0 8px;
}
.mx-process-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.mx-process-item > span {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #c67b44;
  color: #111;
  font-weight: 700;
  font-family: Montserrat, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mx-process-item h3 {
  margin: 4px 0 6px;
  font-size: 18px;
}
.mx-process-item p {
  margin: 0;
}

/* RFQ form */
.mx-rfq label {
  font-weight: 600;
  font-size: 14px;
}
.mx-rfq .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-status {
  display: none;
  margin-top: 12px;
  font-size: 14px;
}
.form-status.show {
  display: block;
}
.form-status.show.ok {
  color: #1b6b2a;
}
.form-status.show.err {
  color: #a32020;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 1040;
  background: #25d366;
  color: #fff;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.wa-float i {
  font-size: 22px;
}
.wa-float:hover,
.wa-float:focus {
  color: #fff;
  background: #1ebe5d;
  text-decoration: none;
}
.wa-float.is-unset {
  background: #3a3a3a;
}
.wa-float.is-unset:hover {
  background: #222;
}

.error-code {
  font-size: 72px;
  color: #c67b44;
  margin: 20px 0 10px;
}

/* Keep footer contact links readable on the dark footer. */
.footer .mx-contact-block a,
.footer .disclaimer {
  color: #ddd;
}
.footer .mx-contact-block a:hover {
  color: #c67b44;
}

@media (max-width: 767px) {
  .mx-text strong {
    font-size: 18px;
  }
  .wa-float-label {
    display: none;
  }
  .wa-float {
    padding: 12px 14px;
    border-radius: 50%;
    right: 16px;
  }
  .mx-product-card .thumb {
    height: 200px;
  }
}

.wa-fallback.todo-note {
  display: inline;
  margin-left: 6px;
}
body.wa-ready .wa-fallback {
  display: none !important;
}

/* On small screens the top bar already has email and WhatsApp.
   Hide the duplicate header info boxes so the hero can start sooner. */
@media (max-width: 991px) {
  .header-one .top-info-box li:not(.header-get-a-quote) {
    display: none;
  }
  .header-one .header-get-a-quote {
    padding: 0;
    margin: 0 auto 8px;
  }
  .header-one .logo {
    margin-bottom: 12px !important;
  }
  .call-to-action-box {
    margin-top: 0;
  }
}
.call-to-action-box .photo-note {
  padding-top: 8px;
}

@media (max-width: 991px) {
  .header-one .header-right,
  .header-one ul.top-info-box {
    float: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .banner-carousel .slider-content,
  .banner-carousel .slider-content.text-left,
  .banner-carousel .slider-content.text-right {
    text-align: center !important;
  }
  .banner-carousel .slider-content .col-md-12 {
    padding-left: 18px;
    padding-right: 18px;
  }
  .slide-sub-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }
  .slide-title {
    font-size: 16px !important;
  }
  .slider-description.lead {
    font-size: 15px;
    padding: 0 8px;
  }
  .banner-carousel .slider.btn {
    margin: 4px 3px;
  }
}

.call-to-action-box .btn-dark,
.call-to-action-box .btn {
  background: var(--mx-copper-btn) !important;
  color: #fff !important;
  border-color: var(--mx-copper-btn) !important;
}
.call-to-action-box .btn-dark:hover,
.call-to-action-box .btn:hover {
  background: #fff !important;
  color: #0f314c !important;
  border-color: #fff !important;
}

/* Copyright links already light; keep disclaimer readable on navy footer */
.footer .disclaimer {
  color: #d5dee6;
}
.footer .mx-contact-block a {
  color: #e8eef3;
}
.footer .mx-contact-block a:hover {
  color: var(--mx-copper);
}

.info-box-title {
  color: #6b7c8a;
}
.info-box-subtitle,
.info-box-subtitle a {
  color: var(--mx-navy);
}
.navbar-toggler {
  background: var(--mx-copper-btn) !important;
}
