.navbar .megamenu{padding:0}.has-megamenu .dropdown-menu.megamenu{position:fixed!important;left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;top:0;transform:none!important;z-index:9999;border-left:0;border-right:0;max-height:85vh!important;overflow-y:auto}.megamenu-item{border-radius:.5rem;transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease}.megamenu-item:focus,.megamenu-item:hover{background-color:rgba(255,255,255,.15);transform:translateX(2px);box-shadow:0 .25rem .75rem rgba(0,0,0,.12)}.megamenu-tab-item.active{background-color:rgba(255,255,255,.08)}.megamenu-link-title{color:#fff;transition:color .2s ease}.dropdown-item.active .megamenu-link-title,.megamenu-item:focus .megamenu-link-title,.megamenu-item:focus-visible .megamenu-link-title,.megamenu-item:hover .megamenu-link-title,.megamenu-tab-item.active .megamenu-link-title{color:var(--logo-orange)}.megamenu-arrow,.megamenu-icon{display:flex;align-items:center;justify-content:center;align-self:center;flex-shrink:0}.megamenu-icon{width:2.5rem;min-width:2.5rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.megamenu-icon i{line-height:1}.megamenu-arrow{min-width:1.5rem;transition:transform .2s ease,opacity .2s ease}.megamenu-item:focus .megamenu-arrow,.megamenu-item:hover .megamenu-arrow{transform:translateX(2px)}.megamenu .dropdown-item{white-space:normal}.industry-card{min-height:6.75rem;border-radius:.25rem;border:1px solid rgba(255,255,255,.06);background-color:rgba(255,255,255,.04)}.industry-card:focus,.industry-card:hover{border-color:rgba(255,255,255,.4)}.industry-card:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px}.industry-card-img{transition:transform .25s ease,opacity .25s ease;opacity:.9}.industry-card-overlay::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,.7) 0,rgba(0,0,0,.5) 38%,rgba(0,0,0,.2) 65%,rgba(0,0,0,.12) 100%)}.industry-card:focus::before,.industry-card:hover::before{background:linear-gradient(to bottom,rgba(0,0,0,.9) 0,rgba(0,0,0,.68) 45%,rgba(0,0,0,.3) 75%,rgba(0,0,0,.18) 100%)}.industry-card-content{min-height:6rem;padding:.5rem!important}.industry-card-content .small,.industry-card-content p,.industry-card-cta{text-shadow:0 1px 3px rgba(0,0,0,.6)}.industry-card-cta{display:inline-flex;align-items:center;font-size:.75rem;text-transform:uppercase;color:rgba(255,255,255,.92);letter-spacing:.03em}.industry-card-cta i{transition:transform .2s ease}.industry-card:focus .industry-card-img,.industry-card:hover .industry-card-img{transform:scale(1.1);opacity:.82}.industry-card:focus .industry-card-cta,.industry-card:hover .industry-card-cta{color:rgba(255,255,255,1)}.industry-card:focus .industry-card-cta i,.industry-card:hover .industry-card-cta i{transform:translateX(2px)}.news-headline-block{border-left:3px solid var(--logo-orange);padding-left:1rem;max-width:32rem}.news-feature-card{min-height:11rem}.white-paper-card-overlay::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,.85) 0,rgba(0,0,0,.75) 38%,rgba(0,0,0,.65) 85%,rgba(0,0,0,.55) 100%)}.white-paper-card:focus::before,.white-paper-card:hover::before{background:linear-gradient(to bottom,rgba(0,0,0,.95) 0,rgba(0,0,0,.85) 30%,rgba(0,0,0,.75) 90%,rgba(0,0,0,.7) 100%)}.event-highlight-cta{transition:background-color .2s ease,color .2s ease,border-color .2s ease}.event-highlight-card:focus .event-highlight-cta,.event-highlight-card:focus-visible .event-highlight-cta,.event-highlight-card:hover .event-highlight-cta{background-color:var(--logo-orange);color:#fff;border-color:var(--logo-orange)}.outlook-icon{width:.85rem;min-width:.85rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}@media (max-width:991.98px){.navbar .has-megamenu{position:relative!important}.has-megamenu .border-bottom{border-bottom:0!important}.has-megamenu .dropdown-menu.megamenu{position:static!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:100%!important;transform:none!important;background-color:transparent;box-shadow:none;max-height:none;overflow-y:auto;overflow-x:hidden;margin-top:.5rem;border-left:0;border-right:0}.navbar .megamenu-2{padding:.25rem 0 1rem 0;backdrop-filter:none}.header-mobile-megamenu-left{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:1rem!important;margin-bottom:.25rem}.header-mobile-megamenu-right{padding-left:0!important}.header-mobile-megamenu-subcol{border-left:0!important;padding-left:0!important}.header-mobile-megamenu-subcol+.header-mobile-megamenu-subcol{border-top:1px solid rgba(255,255,255,.15);margin-top:1rem;padding-top:1rem!important}.header-mobile-megamenu-tabs .megamenu-tab-item{padding-top:.875rem!important;padding-bottom:.875rem!important}.header-mobile-megamenu-tabs .megamenu-arrow{display:none}.navbar .megamenu .tab-pane.fade{transition:none}.has-megamenu .nav-link>span>span:first-child{position:relative;color:#fff;transition:color .2s ease}.has-megamenu .nav-link>span>span:first-child::after{content:'';position:absolute;left:0;bottom:-.2rem;width:100%;height:2px;background-color:var(--logo-orange);transform:scaleX(0);transform-origin:left center;transition:transform .25s ease}.has-megamenu.mobile-submenu-open .nav-link>span>span:first-child{color:var(--logo-orange)!important}.has-megamenu.mobile-submenu-open .nav-link>span>span:first-child::after{transform:scaleX(1)}.has-megamenu .nav-link>span>span:first-child{position:relative;color:#fff;transition:color .2s ease}.has-megamenu .nav-link>span>span:first-child::after{content:'';position:absolute;left:0;bottom:-.2rem;width:100%;height:2px;background-color:var(--logo-orange);transform:scaleX(0);transform-origin:left center;transition:transform .25s ease}.has-megamenu.mobile-submenu-open .nav-link>span>span:first-child{color:var(--logo-orange)!important}.has-megamenu.mobile-submenu-open .nav-link>span>span:first-child::after{transform:scaleX(1)}.header-mobile-pane-slot{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;transition:grid-template-rows .3s ease,opacity .2s ease,margin-top .3s ease}.header-mobile-pane-slot.is-open{grid-template-rows:1fr;opacity:1;margin-top:.25rem}.header-mobile-pane-slot>.tab-pane{min-height:0;display:block}.header-mobile-toggle-tabs .megamenu-tab-item .megamenu-arrow i{transition:transform .25s ease,opacity .2s ease}.header-mobile-toggle-tabs .megamenu-tab-item.mobile-tab-open .megamenu-arrow i{transform:rotate(180deg)}.header-mobile-pane-slot>.tab-pane.fade:not(.show){opacity:0}.header-mobile-pane-slot>.tab-pane.fade.show{opacity:1}.header-mobile-pane-slot .border-start{border-left:0!important;border-top:1px solid rgba(255,255,255,.15);margin-top:1rem;padding-top:1rem!important;padding-left:0!important}}
/* Hero */

.hero-wrapper {
  height: calc(100vh - 6.5rem);
}

.hero-container {
  background: linear-gradient(to right, #01070caf, #01070c30);
  backdrop-filter: blur(5px);
}

/* Solutions */

.intelligence-platform {
  background: url('https://media.industrialinfo.com/images/bg-white-abstract-2.webp') no-repeat top
    center;
  background-size: cover;
}

/* Coverage Map */

#home-coverage-map-container {
  min-height: 300px;
}

#home-coverage-map-container .highcharts-background {
  fill: none !important;
}

#home-coverage-map-container .highcharts-axis-labels text {
  color: #fff !important;
  fill: #fff !important;
}

@media (min-width: 768px) {
  #home-coverage-map-container {
    min-height: 400px !important;
  }
}

@media (min-width: 1200px) {
  #home-coverage-map-container {
    min-height: 700px !important;
  }
}

/* Platform Cards */
.platform-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 110%);
}

.platform-card ul {
  list-style: none;
  padding-left: 0.25rem;
}

.platform-card ul li {
  margin-top: 0.75rem;
}

/* Coverage */

.coverage-box {
  height: 6rem !important;
  border-radius: 4px;
  /* Optional but makes the shadow look cleaner */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition:
    box-shadow 0.25s ease,
    outline 0.25s ease,
    outline-offset 0.25s ease;
}

.coverage-box:hover {
  outline: 2px solid #ff7a00;
  outline-offset: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
  transition: transform 250ms ease;
}

.coverage-box,
.coverage-card {
  border-radius: inherit;
}

.coverage-card.platform {
  background: rgba(0, 0, 0, 0.5);
}

.non-featured-wrapper hr:last-of-type {
  display: none;
}

.why-icon.fa-light,
.why-icon.fa-thin {
  text-shadow: 0 2px 6px rgb(0, 0, 0);
}

/* Research Layers */

.research-layer {
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.research-layer .research-layer-item {
  pointer-events: all;
  cursor: pointer;
}

/* ── Section wrapper ── */
.iir-solutions-section {
  padding: 60px 0 72px;
  background: #f4f6f9;
}

/* ── Section label ── */
.iir-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── Heading ── */
.iir-solutions-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* ── Subtitle ── */
.iir-subtitle {
  font-size: 1rem;
  color: #4a5568;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ── Card ── */
.iir-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #0d1b2e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  width: 100%;
}

.iir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.26);
}

.iir-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 28, 0.88) 0%,
    rgba(4, 12, 28, 0.55) 45%,
    rgba(4, 12, 28, 0.82) 100%
  );
  z-index: 1;
}

/* card images */
.iir-card--pecweb {
  background-image: url('https://media.industrialinfo.com/home/product-promo-pec-web.webp');
  background-size: cover;
  background-position: center;
}
.iir-card--labor {
  background-image: url('https://media.industrialinfo.com/home/product-promo-labor-analytics.webp');
  background-size: cover;
  background-position: center;
}
.iir-card--forecasting {
  background-image: url('https://media.industrialinfo.com/home/product-promo-forecast-analytics.webp');
  background-size: cover;
  background-position: center;
}

/* ── Card body ── */
.iir-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 26px 0;
}

/* Thin blue accent line above the title */
.iir-card__body::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #1a7ab5;
  border-radius: 2px;
  margin-bottom: 14px;
}

.iir-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.iir-card__tagline {
  font-size: 0.88rem;
  font-weight: 400;
  font-style: italic;
  color: #b8cfe8;
  margin-bottom: 18px;
  line-height: 1.45;
}

.iir-card__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 16px;
}

.iir-card__desc {
  font-size: 0.83rem;
  color: #dde5f0;
  line-height: 1.6;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.iir-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.iir-card__bullets li {
  font-size: 0.83rem;
  font-weight: 500;
  color: #dde5f0;
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.iir-card__bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #4da3d9;
  font-size: 0.65rem;
  top: 5px;
}

/* ── CTA bar ── */
.iir-card__cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: rgba(26, 122, 181, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.iir-card__cta:hover {
  background: rgba(26, 122, 181, 0.5);
  color: #fff;
}

.iir-card__cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.iir-card__cta:hover .iir-card__cta-arrow {
  transform: translateX(4px);
}

/* ── Row gutter ── */
.iir-cards-row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.iir-cards-row > [class*='col'] {
  display: flex;
}

/* ------------------------------------------------------------------ */
/* Tab nav container                                                    */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 0;
    flex-wrap: wrap;
    /* allow wrapping on small screens    */
}

/* ------------------------------------------------------------------ */
/* Individual tab buttons                                               */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 1rem 0.5rem 0.75rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;

    color: rgba(255, 255, 255, 0.45);
    /* inactive: muted white    */
    font-size: 0.75rem;
    line-height: 1.2;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;

    cursor: pointer;
    min-width: 0;
    /* flex shrink              */
}

/* Icon inside each button */
#homepage-industry-tabs .nav-link i {
    transition: color 0.2s ease;
}

/* ------------------------------------------------------------------ */
/* Hover state                                                          */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs .nav-link:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(248, 141, 43, 0.4);
    /* orange tint      */
    background-color: rgba(255, 255, 255, 0.04);
}

/* ------------------------------------------------------------------ */
/* Active / selected state                                              */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs .nav-link.active {
    color: #f88d2b;
    /* brand orange     */
    border-bottom-color: #f88d2b;
    background-color: rgba(248, 141, 43, 0.08);
}

#homepage-industry-tabs .nav-link.active i {
    color: #f88d2b;
}

/* ------------------------------------------------------------------ */
/* Industry label text                                                  */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs .industry-label {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.85;
}

#homepage-industry-tabs .nav-link.active .industry-label {
    opacity: 1;
}

/* ------------------------------------------------------------------ */
/* Coverage count badge                                                 */
/* ------------------------------------------------------------------ */

#homepage-industry-tabs .industry-count {
    margin-top: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.01em;
    min-height: 1em;
    /* reserve space while loading           */
    transition: color 0.2s ease;
}

#homepage-industry-tabs .nav-link.active .industry-count {
    color: rgba(248, 141, 43, 0.75);
}

/* ------------------------------------------------------------------ */
/* KPI region tag — shown when a world region is selected on the map   */
/* ------------------------------------------------------------------ */

.homepage-kpi-region-tag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1em 0.5em;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f88d2b;
    border: 1px solid rgba(248, 141, 43, 0.45);
    border-radius: 3px;
    vertical-align: middle;
    white-space: nowrap;
}



#home-coverage-map-container {
    min-height: 400px;
    transition: opacity 0.3s ease;
}

/* ------------------------------------------------------------------ */
/* Map spinner                                                          */
/* ------------------------------------------------------------------ */

.homepage-map-spinner {
    pointer-events: none;
    z-index: 10;
}

/* ------------------------------------------------------------------ */
/* KPI row — subtle fade-in on switch                                   */
/* ------------------------------------------------------------------ */

.homepage-map-kpis {
    transition: opacity 0.25s ease;
}

/* ------------------------------------------------------------------ */
/* Responsive — smaller screens                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 991.98px) {
    #homepage-industry-tabs {
        justify-content: flex-start;
    }

    #homepage-industry-tabs .nav-link {
        flex: 0 0 calc(20% - 1px);
        /* 5 per row on tablet            */
        min-width: 60px;
    }
}

@media (max-width: 575.98px) {
    #homepage-industry-tabs .nav-link {
        flex: 0 0 calc(25% - 1px);
        /* 4 per row on mobile            */
        padding: 0.75rem 0.25rem 0.6rem;
    }

    #homepage-industry-tabs .industry-label {
        font-size: 0.6rem;
    }

    #homepage-industry-tabs .industry-count {
        font-size: 0.55rem;
    }
}