
/* ============================================================
   MotionIQ Brand Theme
   Palette: Navy Blue / Burgundy / White
   Applied site-wide without changing the existing page structure.
   ============================================================ */

:root {
  --brand-navy: #0B1F3A;
  --brand-navy-2: #102A43;
  --brand-navy-3: #163A5F;
  --brand-burgundy: #7F1734;
  --brand-burgundy-dark: #651229;
  --brand-burgundy-soft: #F6E9ED;
  --brand-white: #FFFFFF;
  --brand-ink: #203040;
  --brand-muted: #5D6B78;

  --background-color: #FFFFFF;
  --default-color: var(--brand-ink);
  --heading-color: var(--brand-navy);
  --accent-color: var(--brand-burgundy);
  --surface-color: #FFFFFF;
  --contrast-color: #FFFFFF;

  --nav-color: #FFFFFF;
  --nav-hover-color: #D9A4B3;
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: var(--brand-navy);
  --nav-dropdown-hover-color: var(--brand-burgundy);

  --bs-primary: var(--brand-burgundy);
  --bs-primary-rgb: 127, 23, 52;
  --bs-link-color: var(--brand-burgundy);
  --bs-link-hover-color: var(--brand-burgundy-dark);
}

/* Core typography / surfaces */
html, body {
  background: var(--brand-white);
}

body {
  color: var(--brand-ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy);
}

a {
  color: var(--brand-burgundy);
}

a:hover {
  color: var(--brand-burgundy-dark);
}

.text-primary {
  color: var(--brand-burgundy) !important;
}

.bg-primary {
  background-color: var(--brand-burgundy) !important;
}

.border-primary {
  border-color: var(--brand-burgundy) !important;
}

/* Header / brand */
.header {
  --background-color: var(--brand-navy);
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  background: var(--brand-navy);
  padding: 12px 0;
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.12);
}

.header .logo {
  min-width: 170px;
}

.header .logo img {
  width: 176px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  margin-right: 0;
}

.header .logo h1 {
  display: none;
}

.header .cta-btn,
.header .cta-btn:focus {
  background: var(--brand-burgundy);
  border: 2px solid var(--brand-burgundy);
  color: #FFFFFF;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: .8px;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--brand-navy);
}

.scrolled .header {
  --background-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.18);
}

.navmenu .active,
.navmenu .active:focus {
  color: #FFFFFF !important;
}

.navmenu .active:before,
.navmenu a:hover:before,
.navmenu li:hover > a:before {
  background: var(--brand-burgundy) !important;
}

.navmenu .dropdown ul {
  border-top: none !important;
  border-radius: 0 0 8px 8px;
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover > a {
  color: var(--brand-burgundy) !important;
  background: #FBF7F8;
}

.mobile-nav-toggle {
  color: #FFFFFF !important;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #FFFFFF !important;
}

.mobile-nav-active .navmenu {
  background: rgba(11, 31, 58, .92) !important;
}

.mobile-nav-active .navmenu > ul {
  border-top: 4px solid var(--brand-burgundy);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

/* Hero */
.hero {
  min-height: 88vh;
  padding-top: 120px;
  padding-bottom: 90px;
}

.hero:before {
  background: linear-gradient(90deg, rgba(11,31,58,.86) 0%, rgba(11,31,58,.67) 48%, rgba(11,31,58,.38) 100%) !important;
}

.hero .container {
  max-width: 980px;
}

.hero h2 {
  max-width: 900px;
  color: #FFFFFF !important;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  text-transform: none;
  letter-spacing: -.8px;
  text-shadow: 0 5px 25px rgba(0,0,0,.22);
}

.hero h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 24px auto 0;
  background: var(--brand-burgundy);
  border-radius: 10px;
}

.hero p {
  max-width: 820px;
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.6;
  margin-top: 22px !important;
}

.hero .btn-get-started {
  background: var(--brand-burgundy);
  border: 2px solid var(--brand-burgundy);
  color: #FFFFFF;
  border-radius: 5px;
  font-weight: 700;
  padding: 12px 32px;
  box-shadow: 0 10px 26px rgba(127,23,52,.28);
}

.hero .btn-get-started:hover {
  background: #FFFFFF;
  color: var(--brand-navy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Section titles */
.section-title h2 {
  color: var(--brand-burgundy) !important;
  font-weight: 700;
}

.section-title h2::after {
  background: var(--brand-burgundy) !important;
}

.section-title p {
  color: var(--brand-navy) !important;
  text-transform: none;
}

/* Common buttons / Bootstrap overrides */
.btn-primary,
.btn.btn-primary,
.custom-btn {
  background-color: var(--brand-burgundy) !important;
  border-color: var(--brand-burgundy) !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.custom-btn:hover {
  background-color: var(--brand-burgundy-dark) !important;
  border-color: var(--brand-burgundy-dark) !important;
  color: #FFFFFF !important;
}

.btn-outline-primary,
.btn.btn-outline-primary {
  color: var(--brand-burgundy) !important;
  border-color: var(--brand-burgundy) !important;
  font-weight: 700;
}

.btn-outline-primary:hover,
.btn.btn-outline-primary:hover {
  color: #FFFFFF !important;
  background-color: var(--brand-burgundy) !important;
  border-color: var(--brand-burgundy) !important;
}

/* Icons / active controls */
i.bi,
.features .nav-link i,
.services-2 .service-item .icon,
.contact .info-item i,
.about .content ul i {
  color: var(--brand-burgundy);
}

.features .nav-link {
  border-color: rgba(11,31,58,.12);
  color: var(--brand-navy);
  border-radius: 6px;
}

.features .nav-link:hover {
  color: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  background: #FBF7F8;
}

.features .nav-link.active {
  background: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(127,23,52,.18);
}

.features .nav-link.active h4,
.features .nav-link.active i {
  color: #FFFFFF !important;
}

/* Cards / content */
.services .details,
.services-2 .service-item,
.stats .stats-item,
.contact-card {
  border: 1px solid rgba(11,31,58,.10);
  box-shadow: 0 12px 35px rgba(11,31,58,.08);
}

.services .details .icon {
  background: var(--brand-burgundy);
}

.services .service-item:hover .details h3,
.services .service-item:hover .details .icon i {
  color: var(--brand-burgundy);
}

.about h3,
.features .tab-pane h3,
.services-2 .service-item .title a {
  color: var(--brand-navy);
}

.about .content ul i,
.features .tab-pane ul i {
  color: var(--brand-burgundy);
}

/* Form controls */
.custom-input,
.form-control {
  border-color: rgba(11,31,58,.16);
}

.custom-input:focus,
.form-control:focus {
  border-color: var(--brand-burgundy) !important;
  box-shadow: 0 0 0 .2rem rgba(127,23,52,.12) !important;
}

/* Contact */
.contact .info-item {
  background: #FFFFFF;
  border: 1px solid rgba(11,31,58,.09);
  border-top: 3px solid var(--brand-burgundy);
  box-shadow: 0 10px 28px rgba(11,31,58,.07);
}

.contact .info-item h3 {
  color: var(--brand-navy);
}

.contact .info-item i {
  color: var(--brand-burgundy);
}

/* Footer */
.footer {
  color: rgba(255,255,255,.84);
  background: var(--brand-navy) !important;
}

.footer .footer-top,
.footer .copyright {
  border-color: rgba(255,255,255,.12);
}

.footer .footer-about .logo img {
  width: 151px;
  max-height: 42px;
  height: auto;
}

.footer .footer-about .logo span,
.footer h4 {
  color: #FFFFFF !important;
}

.footer .footer-links ul a,
.footer .footer-contact p,
.footer .footer-industry li {
  color: rgba(255,255,255,.78);
}

.footer .footer-links ul i,
.footer .footer-industry li i {
  color: #D9A4B3;
}

.footer .footer-links ul a:hover {
  color: #FFFFFF;
}

.footer .social-links a {
  color: #FFFFFF;
  border-color: rgba(255,255,255,.32);
}

.footer .social-links a:hover {
  color: #FFFFFF;
  background: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
}

.footer .copyright {
  color: rgba(255,255,255,.68);
}

.footer .sitename {
  color: #FFFFFF !important;
}

/* Floating WhatsApp - fixed to the viewport */
.whatsapp-float-left {
  position: fixed !important;
  left: 24px !important;
  right: auto !important;
  bottom: 24px !important;
  top: auto !important;
  z-index: 2147483000 !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: var(--brand-burgundy) !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(11,31,58,.28) !important;
  transform: translateZ(0);
  isolation: isolate;
  will-change: transform;
  pointer-events: auto;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-float-left i {
  display: block !important;
  color: #FFFFFF !important;
  font-size: 27px !important;
  line-height: 1 !important;
}

.whatsapp-float-left:hover,
.whatsapp-float-left:focus-visible {
  transform: translateY(-3px) scale(1.04);
  background: var(--brand-burgundy-dark) !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(11,31,58,.34) !important;
}

.whatsapp-float-left::before {
  content: none !important;
}

/* Map */
.footer-map {
  background: var(--brand-navy);
}

.footer-map iframe {
  filter: grayscale(100%) contrast(1.05);
}

/* Scroll top */
.scroll-top {
  background: var(--brand-burgundy) !important;
}

.scroll-top:hover {
  background: var(--brand-burgundy-dark) !important;
}

/* Page titles / dark sections */
.dark-background {
  --background-color: var(--brand-navy);
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: var(--brand-navy-2);
  --contrast-color: #FFFFFF;
  background-color: var(--brand-navy) !important;
}

.page-title {
  background-color: var(--brand-navy);
}

.page-title h1 {
  color: #FFFFFF !important;
}

.page-title .breadcrumbs ol li+li::before {
  color: rgba(255,255,255,.55);
}

/* Prevent accidental horizontal overflow from existing content */
img, iframe, video {
  max-width: 100%;
}

iframe {
  max-width: 100%;
}

/* Responsive polish */
@media (max-width: 1199px) {
  .header {
    padding: 10px 0;
  }

  .header .logo img {
    width: 151px;
  }

  .header .cta-btn {
    margin-left: 0;
  }
}

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

  .hero {
    min-height: 82vh;
    padding: 120px 18px 70px;
  }

  .hero h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.12;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero .btn-get-started {
    padding: 11px 24px;
  }

  .section-title {
    padding-bottom: 38px;
  }

  .section-title p {
    font-size: 25px;
    line-height: 1.25;
  }

  .footer .footer-about .logo img {
    width: 151px;
  }

  .whatsapp-float-left {
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }
}

@media (max-width: 480px) {
  .header .logo img {
    width: 145px;
  }

  .header .cta-btn {
    font-size: 11px;
    padding: 6px 10px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero h2::after {
    width: 52px;
    margin-top: 18px;
  }

  .contact-card {
    padding: 18px !important;
  }
}

/* Home feature navigation responsiveness */
#featureTabs .nav-item {
  flex: 0 0 25%;
  max-width: 25%;
}

#featureTabs .nav-link {
  min-height: 94px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  #featureTabs .nav-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 767px) {
  #featureTabs .nav-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #featureTabs .nav-link {
    min-height: 78px;
    padding: 12px 8px;
  }

  #featureTabs .nav-link i {
    font-size: 30px;
  }
}


/* ============================================================
   Final MotionIQ UI corrections
   - White responsive header matching the supplied reference
   - Reliable raster logo assets
   - Consistent controls/icons
   - Responsive map and navigation
   ============================================================ */
.header {
  --background-color: #FFFFFF;
  --default-color: #0B1F3A;
  --heading-color: #0B1F3A;
  background: #FFFFFF !important;
  color: #0B1F3A;
  padding: 9px 0;
  min-height: 64px;
  box-shadow: 0 3px 18px rgba(11,31,58,.10);
}

.header .logo {
  min-width: 150px;
  height: 46px;
  display: flex;
  align-items: center;
}

.header .logo img {
  width: 151px;
  max-width: 151px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  margin: 0;
}

.header .navmenu {
  margin-left: auto;
}

@media (min-width: 1200px) {
  .navmenu > ul > li { padding: 15px 12px; }
  .navmenu a,
  .navmenu a:focus {
    color: #0B1F3A !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #7F1734 !important;
  }
  .navmenu > ul > li > a:before,
  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    background: #7F1734 !important;
  }
  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    color: #0B1F3A !important;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover > a,
  .navmenu .dropdown ul .active:hover {
    color: #7F1734 !important;
  }
}

.header .cta-btn,
.header .cta-btn:focus {
  background: #7F1734 !important;
  border: 1px solid #7F1734 !important;
  color: #FFFFFF !important;
  border-radius: 5px;
  padding: 8px 18px;
  margin-left: 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  box-shadow: 0 6px 15px rgba(127,23,52,.18);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  background: #651229 !important;
  border-color: #651229 !important;
  color: #FFFFFF !important;
}

.scrolled .header {
  background: #FFFFFF !important;
  --background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(11,31,58,.13);
}

.mobile-nav-toggle {
  color: #0B1F3A !important;
  font-size: 28px !important;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #FFFFFF !important;
}

@media (max-width: 1199px) {
  .header { min-height: 62px; }
  .header .logo { min-width: 130px; height: 42px; }
  .header .logo img { width: 142px; max-width: 142px; max-height: 38px; }
  .header .cta-btn { margin-right: 8px; padding: 7px 12px; }
  .mobile-nav-active .navmenu { background: rgba(11,31,58,.76) !important; }
  .mobile-nav-active .navmenu > ul {
    top: 66px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: #FFFFFF !important;
    border-top: 3px solid #7F1734;
    border-radius: 8px;
  }
  .mobile-nav-active .navmenu > ul a { color: #0B1F3A !important; }
  .mobile-nav-active .navmenu > ul a:hover,
  .mobile-nav-active .navmenu > ul .active { color: #7F1734 !important; }
}

/* Footer logo */
.footer .footer-about .logo img {
  width: 220px !important;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Map: use the complete width and a predictable responsive height. */
.footer-map {
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
  background: #0B1F3A;
}
.footer-map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 360px;
  border: 0 !important;
  filter: none !important;
}

/* Scroll-to-top button: stable size, centered icon and brand styling. */
.scroll-top {
  width: 46px !important;
  height: 46px !important;
  right: 18px !important;
  bottom: 18px !important;
  border-radius: 50% !important;
  background: #7F1734 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(11,31,58,.25);
}
.scroll-top i {
  color: #FFFFFF !important;
  font-size: 28px !important;
  line-height: 1 !important;
}
.scroll-top:hover { background: #651229 !important; }

/* Prev / Next controls on the home page */
#prevTab, #nextTab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 40px;
  border: 1px solid #7F1734 !important;
  color: #7F1734 !important;
  background: #FFFFFF !important;
  border-radius: 6px !important;
  font-weight: 700;
}
#prevTab i, #nextTab i { color: #7F1734 !important; font-size: 16px; }
#prevTab:hover:not(:disabled), #nextTab:hover:not(:disabled) {
  background: #7F1734 !important;
  color: #FFFFFF !important;
}
#prevTab:hover:not(:disabled) i, #nextTab:hover:not(:disabled) i { color: #FFFFFF !important; }
#prevTab:disabled, #nextTab:disabled { opacity: .42; cursor: not-allowed; }

/* Specification tables: preserve the original values/content while making the table readable. */
.service-details .table-responsive { width: 100%; overflow-x: auto; }
.service-details table { min-width: 620px; }
.service-details table th { background: #0B1F3A !important; color: #FFFFFF !important; }
.service-details table td { vertical-align: middle; }
.service-details table tbody tr:nth-child(even) td { background: #F6F8FA; }

@media (max-width: 767px) {
  .footer-map, .footer-map iframe { height: 280px; min-height: 280px; }
  .footer .footer-about .logo img { width: 190px !important; }
  .scroll-top { width: 42px !important; height: 42px !important; right: 14px !important; bottom: 14px !important; }
  #prevTab, #nextTab { min-width: 82px; min-height: 38px; }
  .service-details table { min-width: 560px; }
}

@media (max-width: 480px) {
  .header .logo img { width: 128px; max-width: 128px; }
  .header .cta-btn { font-size: 11px; padding: 6px 9px; }
}

/* ============================================================
   MotionIQ final polish - October 2026
   ============================================================ */

/* Header: use the full MotionIQ wordmark + tagline and a more readable menu. */
.header .logo img {
  width: 176px !important;
  max-width: 176px !important;
  max-height: 48px !important;
  height: auto !important;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .navmenu > ul > li { padding: 13px 13px !important; }
  .navmenu a,
  .navmenu a:focus {
    color: #0B1F3A !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35;
  }
  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    font-size: 13px !important;
    font-weight: 500 !important;
  }
  .header .cta-btn,
  .header .cta-btn:focus {
    font-size: 13px !important;
    padding: 9px 20px !important;
    margin-left: 14px !important;
  }
}

/* All inner-page title/breadcrumb content remains white on the dark hero. */
.page-title,
.page-title h1,
.page-title p,
.page-title .breadcrumbs,
.page-title .breadcrumbs ol,
.page-title .breadcrumbs li,
.page-title .breadcrumbs a,
.page-title .breadcrumbs .current {
  color: #FFFFFF !important;
}
.page-title .breadcrumbs a:hover {
  color: #FFFFFF !important;
  opacity: .88;
}
.page-title .breadcrumbs ol li + li::before {
  color: rgba(255,255,255,.72) !important;
}

/* Camera/edge-device side navigation: active item must have white text on burgundy. */
.service-details .services-list a.active,
.services-list a.active,
.services-list .parent-link.active {
  color: #FFFFFF !important;
  background: #7F1734 !important;
  border-left-color: #7F1734 !important;
  border-radius: 2px;
}

.service-details .services-list a:hover {
  color: #7F1734 !important;
}
.service-details .services-list a.active:hover,
.services-list a.active:hover {
  color: #FFFFFF !important;
}

/* Professional content headers used across the camera/edge pages. */
.title-header {
  background: #FFFFFF !important;
  padding: 8px 20px 24px !important;
  border-bottom: 1px solid rgba(11,31,58,.08);
  margin-bottom: 22px;
}
.title-title {
  color: #7F1734 !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  font-weight: 650 !important;
  line-height: 1.2;
}
.title-subtitle {
  color: #4E6072 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Home hero: clean, premium hierarchy instead of an oversized multi-line heading. */
#hero.hero {
  min-height: calc(100vh - 64px);
}
#hero.hero .container {
  max-width: 980px;
  padding-top: 20px;
}
#hero.hero h2 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 58px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.5px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
#hero.hero p {
  max-width: 820px;
  font-size: clamp(17px, 2vw, 21px) !important;
  line-height: 1.55 !important;
}

/* Home feature tabs: JS controls visibility; CSS must not hide every item. */
#featureTabs .nav-item {
  display: block;
}

#prevTab, #nextTab {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  user-select: none;
}

@media (max-width: 1199px) {
  .header .logo img {
    width: 160px !important;
    max-width: 160px !important;
    max-height: 44px !important;
  }
  .navmenu a,
  .navmenu a:focus {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .header .logo img {
    width: 148px !important;
    max-width: 148px !important;
    max-height: 42px !important;
  }
  #hero.hero {
    min-height: 82vh;
  }
  #hero.hero h2 {
    font-size: clamp(32px, 9vw, 44px) !important;
  }
  #hero.hero p {
    font-size: 17px !important;
  }
  .title-header {
    padding: 6px 14px 20px !important;
  }
  .title-title {
    font-size: 28px !important;
  }
}



/* ============================================================
   MotionIQ final visual refinements - supplied logo / alignment
   ============================================================ */

/* Header: match the supplied 140 x 50 MotionIQ logo and keep a
   predictable fixed height so page content begins at the correct point. */
.header {
  height: 70px !important;
  min-height: 70px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  box-sizing: border-box;
}

.header .container-xl {
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
}

.header .logo {
  width: 140px !important;
  min-width: 140px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  line-height: 0;
}

.header .logo img {
  display: block !important;
  width: 140px !important;
  height: 50px !important;
  max-width: 140px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

@media (min-width: 1200px) {
  .navmenu > ul > li {
    padding: 15px 11px !important;
  }
  .navmenu a,
  .navmenu a:focus {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  .header .cta-btn,
  .header .cta-btn:focus {
    font-size: 13px !important;
    padding: 9px 18px !important;
    margin-left: 14px !important;
  }
}

/* Footer: the supplied logo has a white background, so preserve that
   background instead of allowing the navy footer to swallow the logo. */
.footer .footer-about .footer-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 170px !important;
  height: 61px !important;
  padding: 5px 10px !important;
  margin-bottom: 22px !important;
  background: #FFFFFF !important;
  border-radius: 3px !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
}

.footer .footer-about .footer-brand-logo img {
  display: block !important;
  width: 140px !important;
  height: 50px !important;
  max-width: 140px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* Social icons: white circular treatment requested for the footer. */
.footer .social-links {
  gap: 10px;
}

.footer .social-links a {
  width: 40px !important;
  height: 40px !important;
  margin-right: 0 !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  border-radius: 50% !important;
  color: #FFFFFF !important;
  background: transparent !important;
  box-sizing: border-box;
}

.footer .social-links a i {
  color: #FFFFFF !important;
}

.footer .social-links a:hover {
  color: #FFFFFF !important;
  background: #7F1734 !important;
  border-color: #7F1734 !important;
}

.footer .social-links a:hover i {
  color: #FFFFFF !important;
}

/* Contact cards: keep the lead phrase together so it never breaks after
   'Reach out to' on desktop. The remaining description may wrap naturally. */
.contact .info-item .contact-lead-nowrap {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .contact .info-item p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 1199px) {
  .header,
  .header .container-xl {
    height: 66px !important;
    min-height: 66px !important;
  }
  .header .logo {
    width: 140px !important;
    min-width: 140px !important;
    height: 50px !important;
  }
  .header .logo img {
    width: 140px !important;
    height: 50px !important;
    max-width: 140px !important;
    max-height: 50px !important;
  }
}

@media (max-width: 767px) {
  .header,
  .header .container-xl {
    height: 64px !important;
    min-height: 64px !important;
  }
  .header .logo,
  .header .logo img {
    width: 140px !important;
    height: 50px !important;
    max-width: 140px !important;
    max-height: 50px !important;
  }
  .footer .footer-about .footer-brand-logo {
    width: 160px !important;
    height: 58px !important;
  }
  .contact .info-item .contact-lead-nowrap {
    white-space: nowrap;
  }
}


/* ============================================================
   MotionIQ refinement V4 - hero/header fit, high-resolution logo,
   readable navigation and breadcrumb link treatment
   ============================================================ */

/* Use the supplied high-resolution 700x150 logo rather than the
   low-resolution 140x50 copy. */
.header .logo,
.header .logo img {
  width: 210px !important;
  max-width: 210px !important;
  height: 45px !important;
  max-height: 45px !important;
}
.header .logo {
  min-width: 210px !important;
}

/* Keep the fixed header compact while giving the logo enough room. */
.header,
.header .container-xl {
  height: 70px !important;
  min-height: 70px !important;
}

@media (min-width: 1200px) {
  .navmenu > ul > li {
    padding: 15px 11px !important;
  }
  .navmenu a,
  .navmenu a:focus {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }
  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    font-size: 14px !important;
  }
  .header .cta-btn,
  .header .cta-btn:focus {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}

/* The homepage hero fills the remaining viewport below the fixed header,
   eliminating the visible white gap at the bottom. */
#hero.hero {
  height: calc(100vh - 70px) !important;
  min-height: 0 !important;
  margin-top: 70px !important;
}

#hero.hero .hero-image-wrapper,
#hero.hero .hero-img {
  height: 100% !important;
}

/* Breadcrumb Home should visibly behave like a link. */
.page-title .breadcrumbs a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-burgundy) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}
.page-title .breadcrumbs a:hover {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* Footer uses the same high-resolution logo, presented on white so the
   navy wordmark and burgundy accent remain crisp against the navy footer. */
.footer .footer-about .footer-brand-logo {
  width: 220px !important;
  height: 58px !important;
  padding: 5px 8px !important;
}
.footer .footer-about .footer-brand-logo img {
  width: 210px !important;
  height: 45px !important;
  max-width: 210px !important;
  max-height: 45px !important;
  object-fit: contain !important;
}

/* Contact card requested text only. */
.contact .info-item .contact-lead-nowrap {
  white-space: nowrap !important;
}

@media (max-width: 1199px) {
  .header,
  .header .container-xl {
    height: 66px !important;
    min-height: 66px !important;
  }
  .header .logo,
  .header .logo img {
    width: 195px !important;
    max-width: 195px !important;
    height: 41px !important;
    max-height: 41px !important;
  }
  .header .logo {
    min-width: 190px !important;
  }
  #hero.hero {
    height: calc(100vh - 66px) !important;
    margin-top: 66px !important;
  }
}

@media (max-width: 767px) {
  .header,
  .header .container-xl {
    height: 64px !important;
    min-height: 64px !important;
  }
  .header .logo,
  .header .logo img {
    width: 175px !important;
    max-width: 175px !important;
    height: 38px !important;
    max-height: 38px !important;
  }
  .header .logo {
    min-width: 175px !important;
  }
  #hero.hero {
    height: calc(100vh - 64px) !important;
    margin-top: 64px !important;
  }
  .footer .footer-about .footer-brand-logo {
    width: 220px !important;
    height: 58px !important;
  }
}

/* ============================================================
   MotionIQ refinement V5
   - Use the clear supplied logo treatment in header/footer.
   - Remove the burgundy rule above desktop dropdown menus.
   - Keep breadcrumb Home text white with a burgundy underline only.
   ============================================================ */

/* Clean dropdown panel: no burgundy strip above Products/Services menus. */
.navmenu .dropdown > ul,
.navmenu .dropdown .dropdown > ul {
  border-top: 0 !important;
}

/* Breadcrumb Home remains white; only the underline is burgundy. */
.page-title .breadcrumbs a {
  color: #FFFFFF !important;
  text-decoration-line: underline !important;
  text-decoration-color: var(--brand-burgundy) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px !important;
}

/* Supplied MotionIQ logo: crop transparent canvas so the mark and slogan
   remain crisp and proportionally visible at normal website sizes. */
.header .logo img {
  content: url('../img/motioniq-logo-current.png');
  width: 190px !important;
  height: auto !important;
  max-width: 190px !important;
  max-height: 64px !important;
  object-fit: contain !important;
}

.footer .footer-about .footer-brand-logo {
  background: #FFFFFF !important;
  width: 225px !important;
  height: 74px !important;
  padding: 7px 10px !important;
  border-radius: 2px !important;
}

.footer .footer-about .footer-brand-logo img {
  content: url('../img/motioniq-logo-current.png');
  width: 205px !important;
  height: auto !important;
  max-width: 205px !important;
  max-height: 64px !important;
  object-fit: contain !important;
}

/* Professional white social circles in the navy footer. */
.footer .social-links a {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border: 1.5px solid #FFFFFF !important;
  border-radius: 50% !important;
  color: #FFFFFF !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
}

.footer .social-links a i {
  color: #FFFFFF !important;
  font-size: 17px !important;
}

.footer .social-links a:hover {
  background: var(--brand-burgundy) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

.footer .social-links a:hover i {
  color: #FFFFFF !important;
}

@media (max-width: 767px) {
  .header .logo img {
    width: 185px !important;
    max-width: 185px !important;
    max-height: 44px !important;
  }

  .footer .footer-about .footer-brand-logo {
    width: 215px !important;
    height: 70px !important;
  }

  .footer .footer-about .footer-brand-logo img {
    width: 195px !important;
    max-width: 195px !important;
  }
}


/* V7 brand logo: supplied MotionIQ wordmark with Burgundy IQ. */
.header .logo img { width:195px !important; max-width:195px !important; height:auto !important; max-height:58px !important; object-fit:contain !important; }
.footer .footer-about .footer-brand-logo img { width:220px !important; max-width:220px !important; height:auto !important; max-height:58px !important; object-fit:contain !important; }
.navmenu .dropdown ul, .navmenu .dropdown .dropdown ul { border-top:none !important; }
.page-title .breadcrumbs a { text-decoration-color:var(--brand-burgundy) !important; }
#hero.hero .hero-img { transition:opacity 1.25s ease-in-out, transform 6s ease; transform:scale(1.015); filter:none !important; }
#hero.hero .hero-img.active { animation:heroKenBurns 6s ease-out both; }
#hero.hero .hero-img.fade-out { animation:none; transform:scale(1); }
@keyframes heroKenBurns { from { transform:scale(1.015); } to { transform:scale(1.06); } }

/* Final V7 navigation/brand sizing. */
@media (min-width: 1200px) {
  .header .logo { width: 180px !important; min-width: 180px !important; height: 58px !important; }
  .header .logo img { width: 180px !important; max-width: 180px !important; height: auto !important; max-height: 58px !important; }
  .navmenu a, .navmenu a:focus { font-size: 15px !important; font-weight: 600 !important; }
  .navmenu > ul > li { padding: 15px 10px !important; }
}
@media (max-width: 1199px) {
  .header .logo { width: 165px !important; min-width: 165px !important; }
  .header .logo img { width: 165px !important; max-width: 165px !important; max-height: 54px !important; }
}

/* MotionIQ customer-approved logo: keep the supplied wordmark and Burgundy i-dot.
   Use the high-resolution customer asset so the tagline remains readable. */
.header .logo img {
  content: url('../img/motioniq-logo-current.png') !important;
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 66px !important;
  object-fit: contain !important;
}
.footer .footer-about .footer-brand-logo img {
  content: url('../img/motioniq-logo-current.png') !important;
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 66px !important;
  object-fit: contain !important;
}
@media (max-width: 767.98px) {
  .header .logo img {
    width: 190px !important;
    max-width: 190px !important;
    max-height: 58px !important;
  }
  .footer .footer-about .footer-brand-logo img {
    width: 205px !important;
    max-width: 205px !important;
    max-height: 62px !important;
  }
}

/* V18: customer-approved MotionIQ logo treatment.
   The supplied reference artwork is retained, while the small slogan is
   rendered at high resolution so the logo can keep its previous display size. */
.header .logo img {
  content: url('../img/motioniq-logo-current.png') !important;
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
}
.footer .footer-about .footer-brand-logo img {
  content: url('../img/motioniq-logo-current.png') !important;
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
}
@media (max-width: 767.98px) {
  .header .logo img { width: 190px !important; max-width: 190px !important; max-height: 55px !important; }
  .footer .footer-about .footer-brand-logo img { width: 205px !important; max-width: 205px !important; max-height: 58px !important; }
}
