/* ============================================================
   WM INDUSTRIES SECTION
   ============================================================ */

.wm-industries-section {
  background: radial-gradient(circle at 75% 50%, rgba(220, 214, 207, 0.75), transparent 40%),#f5f2ef;
  overflow: hidden;
  width: 100%;
}
.wm-industries-container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 60px 68px 100px;
  width: 100%;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */

.wm-section-title {
  margin-bottom: 48px;
}

.wm-section-title h2 {
  margin: 0;
  display: inline-block;
  position: relative;
  font-size: 44px;
  line-height: 38px;
  font-weight: 700;
  text-transform: uppercase;
  color: #172F50;
}

.wm-section-title h2 span {
  color: #ef4f23;
  position: relative;
  z-index: 1;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */

.wm-industries-layout {
  display: grid;
  gap: 145px;
  grid-template-columns: 290px minmax(0, 1fr);
}


/* ============================================================
   LEFT MENU
   ============================================================ */

.wm-industries-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wm-industry-menu-item {
  width: 100%;
  height: 40px;
  padding: 10px 18px;
  border: 1px solid #9ca6b2;
  border-radius: 999px;
  background: transparent;
  color: #384D6A;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wm-industry-menu-item:hover, .wm-industry-menu-item.is-active {
  background: linear-gradient(89deg, #F74D0C 1.1%, #FFA82B 212.29%);
  border-radius: 29px;
  border: 1px solid var(--Orange, #FB4E0B);
  color: #ffffff;
}

.exl-accent-bar {
  position: relative;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%);
  width: 115px;
  height: 4px;
  display: block;
  margin-bottom: 24px;
}


/* ============================================================
   RIGHT SIDE
   ============================================================ */

.wm-industries-content {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  position: relative;
}


/* ============================================================
   CARD STACK
   ============================================================ */

.wm-card-stack {
  align-items: center;
  display: flex;
  justify-content: center;
  max-width: 800px;
  position: relative;
  width: 100%;
}


/* ============================================================
   BACKGROUND CARDS
   ============================================================ */

.wm-bg-card {
  position: absolute;
  width: calc(100% - 95px);
  max-width: 720px;
  height: 382px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

.wm-bg-card--1 {
  background: #A6A7B2;
  height: 342px;
  transform: translateX(-35px) translateY(0);
  z-index: 1;
}

.wm-bg-card--2 {
  background: #D9CFC8;
  height: 284px;
  transform: translateX(-55px) translateY(0);
  z-index: 0;
}

/* .wm-bg-card:hover {
  transform: translateX(0) translateY(5px);
} */


/* ============================================================
   MAIN CARD
   ============================================================ */

.wm-main-card {
  position: relative;
  width: calc(100% - 60px);
  max-width: 755px;
  height: 382px;
  display: grid;
  grid-template-columns: 42% 58%;
  background: #1d3557;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(20, 35, 55, 0.18);
  z-index: 5;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.wm-main-card.is-changing {
  opacity: 0.2;
  transform: translateX(15px);
}


/* ============================================================
   CARD INFORMATION
   ============================================================ */

.wm-card-information {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 45px 35px 35px;
  position: relative;
}

.wm-card-number {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  display: none;
}

.wm-card-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.25px;
  line-height: 24px;
  margin: 0 0 10px;
  max-width: 240px;
  text-transform: uppercase;
}

.wm-card-description {
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
}


/* ============================================================
   CARD ACTIONS
   ============================================================ */

.wm-card-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.wm-card-cta {
  align-items: center;
  border-radius: 18px;
  border: 1px solid #FEF7F4;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  height: 30px;
  justify-content: center;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.wm-card-cta:hover {
  background: #d94118;
  border: 1px solid #d94118;
  color: #ffffff;
}

.wm-image-text-link {
  align-items: center;
  color: #FEF7F4;
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  gap: 8px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.wm-image-text-link::after {
  border-bottom: 8px solid transparent;
  border-left: 7px solid #ffffff;
  border-top: 8px solid transparent;
  content: '';
  position: relative;
  right: 0;
  top: -1px;
  z-index: 1;
}

.wm-image-text-link:hover, .wm-image-text-link:visited, .wm-image-text-link:focus, .wm-card-cta:hover, .wm-card-cta:visited, .wm-card-cta:focus {
  color: #ffffff;
}


/* ============================================================
   CARD MEDIA
   ============================================================ */

.wm-card-media {
  position: relative;

  min-height: 350px;

  overflow: hidden;

  background: #68768b;
}

.wm-card-image-wrapper {
  width: 100%;
  height: 100%;
}

.wm-card-image-wrapper img,
.wm-industry-card-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.5s ease;
}

.wm-main-card:hover .wm-card-image-wrapper img {
  transform: scale(1.03);
}

.wm-card-media::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.35));

  pointer-events: none;
}


/* ============================================================
   HIDDEN MEDIA
   ============================================================ */

.wm-industry-hidden-media {
  display: none !important;
}


/* ============================================================
   ARROWS
   ============================================================ */

.wm-slider-arrows {
  bottom: -50px;
  display: flex;
  gap: 12px;
  position: absolute;
  right: 30px;
  z-index: 10;
}

.wm-slider-arrow {
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wm-main-card.is-learn-more-clickable {
  cursor: pointer;
}

.wm-main-card {
  position: relative;
}

.wm-main-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  text-decoration: none;
}

.wm-card-actions {
  position: relative;
  z-index: 20;
}

.wm-main-card.is-learn-more-clickable {
  cursor: pointer;
}

.mobile-btns {
  flex-direction: column;
  gap: 16px;
}

.wm-industry-stepper {
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

   @media (min-width: 1200px) and (max-width: 1800px) {
    .wm-card-information {
      padding: 25px;
    }
    .wm-card-heading {
      margin: 0 20px 10px 0;
    }
    .wm-card-description {
      font-size: 15px;
      margin: 0 25px 0 0;
    }
    .wm-card-actions {
      justify-content: space-between;
    }
    .wm-industry-menu-item {
      font-size: 12px;
    }
  }

@media (max-width: 1199.98px) { 
  .wm-industries-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .mobile-btns {
    gap: 11px;
    margin-right: -24px;
    overflow-x: auto;
    padding-right: 24px;
    flex-direction: row;
  }
  .mobile-btns .wm-industry-menu-item{
    min-width: max-content;
  }
  .wm-card-stack {
    max-width: 100%;
  }
}
@media (max-width: 1000px) {

  .wm-industries-section {
    padding: 60px 30px;
  }
  .wm-main-card {
    grid-template-columns:
      45% 55%;
  }

  .wm-card-heading {
    font-size: 21px;
  }

  .wm-card-description {
    font-size: 14px;
  }

}


@media (max-width: 768px) {

  .wm-industries-section {
    padding: 44px 24px 76px;
  }

  .wm-section-title h2 {
    font-size: 34px;
  }

  .wm-industries-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wm-industries-menu {
    gap: 11px;
    margin-right: -24px;
    width: 100%;
  }

  .wm-section-title {
    margin-bottom: 30px;
  }
  
  .wm-industry-menu-item {
    height: 35px;
    padding: 0 20px;
  }

  .wm-main-card {
    grid-template-columns: 1fr;
    grid-template-rows: 43% 57%;
    height: 480px;
    width: calc(100% - 30px);
  }

  .wm-card-information {
    height: 100%;
  }

  .wm-card-media {
    height: 100%;
    min-height: auto;
  }

  .wm-bg-card {
    width: calc(100% - 70px);
    height: 410px;
  }

  .wm-slider-arrows {
    right: 0;
    bottom: -35px;
  }
  .wm-industries-container {
    padding: 0;
  }

  .wm-bg-card--1 {
    transform: translateX(32px) translateY(0);
    height: 430px;
  }
  .wm-bg-card--2 {
    transform: translateX(45px) translateY(0);
    height: 382px;
  }
  .mobile-btns {
    margin-left: -24px;
    padding-left: 20px;
  }
  .wm-industries-content {
    margin-left: -15px;
  }
  .wm-slider-arrows {
    display: none;
  }
  .wm-card-information {
    padding: 20px;
  }

  .wm-slider-arrows {
    display: none;
  }

  .wm-industry-stepper {
    align-items: center;
    bottom: -42px;
    display: flex;
    gap: 12px;
    left: 20px;
    position: absolute;
    width: max-content;
  }

  .wm-industry-step {
    border-radius: 2px;
    border: 2px solid #384D6A;
    border-width: 0 0 2px 0;
    cursor: pointer;
    height: 2px;
    padding: 5px 0;
    width: 28px;
  }

  .wm-industry-step span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
  }

  .wm-industry-step.is-active {
    border-image: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%) 1;
    border-style: solid;
    border-width: 0 0 2px 0;
  }
  .wm-card-actions {
    justify-content: space-between;
  }
}


@media (max-width: 480px) {

  .wm-section-title h2 {
    font-size: 28px;
  }

  .wm-card-heading {
    font-size: 20px;
  }

  .wm-card-actions {
    flex-wrap: wrap;
  }

}