
/* ============================================================
   IND2 — Industries Figma Redesign
   ============================================================ */

/* ---------- Section wrapper ---------- */
.exl-ind2 {
  background: linear-gradient(90deg, #FEF7F4 0.01%, #D9CFC8 64.4%);
  padding: 60px 0;
  overflow: hidden;
}

.ind2-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* ---------- LEFT column (fixed, no scroll) ---------- */
.ind2-left {
  width: 250px;
}

.ind2-left h2 {
  color: #004f70;
  font-size: 55px;
  font-weight: 700;
  line-height: 46px;
  margin-bottom: 30px;
  text-transform: uppercase;
  position: absolute;
  left: 60px;
  top: 0;
  max-width: 450px;
}

.ind2-heading {
  display: flex;
  flex-direction: column;
  margin: 0 0 32px;
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}

.ind2-heading-top {
  color: #E8490F;
}

.ind2-heading-bottom {
  color: #1a1a1a;
}

.ind2-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0 !important;
  min-width: 211px;
  padding: 110px 0 0 0 !important;
  width: max-content;
}

.ind2-tab {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid #384D6A;
  border-radius: 29px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 285px;
  line-height: 18px;
}

.ind2-tab:hover {
  background: rgba(26,26,26,0.08);
}

.ind2-tab.active {
  background: linear-gradient(89deg, #F74D0C 1.1%, #FFA82B 212.29%);
  border: 1px solid var(--Orange, #FB4E0B);
  color: #fff;
  font-weight: 600;
}

/* ---------- RIGHT column (slider) ---------- */
.ind2-right {
  flex: 1;
  min-width: 0;
  position: relative;
}

/* Panel visibility */
.ind2-panel {
  display: none;
}

.ind2-panel.active {
  display: block;
}

/* Slider track wrapper — clips overflow */
.ind2-slider-track-wrap {
  overflow: hidden;
  width: 100%;
}

/* Slider track — flex row of slides */
.ind2-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slide */
.ind2-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: stretch;
  min-height: 440px;
  justify-content: flex-start;
}

/* Content card (left half of slide) */
.ind2-content-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  padding: 100px 50px 0 75px;
}

.ind2-kicker {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: #172F50;
  line-height: 29px;
  margin: 0 0 16px;
}

.ind2-challenge {
  color: #172F50;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.25px;
  line-height: 20px;
  margin: 0 0 28px;
}

.ind2-solve-label {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: #172F50;
  line-height: 27px;
}

.ind2-solve-body {
  font-size: 16px;
  font-weight: 400;
  color: #172F50;
  margin: 0 0 28px;
  line-height: 20px;
  letter-spacing: -0.25px;
  flex: 1;
}

.ind2-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8490F;
  text-decoration: none;
  line-height: initial;
}

.ind2-cta:hover {
  color: #c03a09;
}

.ind2-cta-arrow {
  height: 19px;
  width: 6px;
}

/* Row that pairs the CTA link with the prev/next arrows, pinned to the bottom of the content column */
.ind2-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
}

/* Case-study card (right half of slide): solid navy panel on the left, image on the right */
.ind2-cs-card {
  background: var(--Blue-Gradient, linear-gradient(90deg, #001632 0.06%, #254876 60.26%, #7C899A 99.98%));
  border-radius: 14px;
  display: flex;
  height: 489px;
  max-width: 543px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ind2-cs-card-mobile {
  border-radius: 14px;
  background: linear-gradient(124deg, #001632 46.26%, #254876 89.61%, #7C899A 118.21%);
  height: 550px;
  display: none;
}

.ind2-cs-card-mobile .ind2-cs-badge {
    box-sizing: border-box;
    color: #D9CFC8;
    font-size: 12px;
    font-weight: 700;
    inset: 0;
    line-height: 12.661px;
    padding: 0 22px;
    position: relative;
    height: 68px;
    width: 100%;
}

.ind2-cs-card-mobile .ind2-cs-badge .spacer {
   background: var(--Orange-Gradient, linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%));
   height: 2px;
   margin-bottom: 9px;
   width: 66.08px;
}

.ind2-watch-vdo-btn {
  color: #D9CFC8;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  height: 68px;
  letter-spacing: -0.14px;
  line-height: normal;
  padding: 0 22px;
  position: relative;
  z-index: 11;
}

.ind2-watch-vdo-btn a {
  color: #D9CFC8;
  text-decoration: underline; 
  text-transform: uppercase;
}
.ind2-watch-vdo-btn a:hover {
  color: #D9CFC8;
  text-decoration: none;
}

.ind2-cs-copy {
  flex: 0 0 50%;
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ind2-cs-card-mobile .ind2-cs-copy {
  bottom: 0;
  font-size: 28px;
  font-weight: 300;
  left: 0;
  line-height: 32px;
  padding: 0 22px 22px 22px;
  position: absolute;
  width: 100%;
}

.ind2-cs-card-mobile .ind2-cs-copy h4 {
  font-size: 28px;
  font-weight: 300;
  line-height: 32px;
  margin-bottom: 0;
}

.ind2-cs-card-mobile .ind2-cs-image {
  height: calc(100% - 136px);
  position: relative;
}

.ind2-cs-image {
  width: 100%;
}

.ind2-cs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ind2-cs-card:hover .ind2-cs-image img {
  transform: scale(1.04);
}

.ind2-cs-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  background: transparent;
  color: #FEF7F4;
  font-size: 14px;
  line-height: 12.661px;
  font-weight: 700;
  padding: 0;
}

.ind2-cs-copy h4 {
  color: #FEF7F4;
  font-size: 30px;
  line-height: 32px;
  font-weight: 300;
  margin: 0 0 16px;
}

.ind2-cs-arrow {
  color: #E8490F;
  font-size: 20px;
  line-height: 1;
}

/* ---------- Arrows ---------- */
.ind2-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ind2-arrow {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.ind2-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .ind2-cs-card {
    max-width: 450px;
  }
}

@media (max-width: 1199px) {
  .ind2-shell {
    padding: 0 32px;
  }

   .ind2-tabs li {
    flex: 0 0 auto;
  }
  
  .ind2-shell {
    flex-direction: column;
    padding: 0 20px 20px 20px;
    gap: 0;
  }

  .ind2-tab {
    color: #384D6A;
    flex-shrink: 0;
    font-size: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 18px; 
    min-width: 126px;
    padding: 8px 16px;
    text-transform: uppercase;
    white-space: nowrap;
    width: auto;
}

  .ind2-left {
    padding: 16px 0 39px 22px;
    width: 100%;
  }

  .ind2-heading {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }

  .ind2-tab {
    font-size: 13px;
    padding: 8px 14px;
    max-width: max-content;
  }

  .ind2-content-card {
    flex: 0 0 50%;
    padding: 32px 24px 28px;
  }

  .ind2-cs-card {
    flex: 0 0 55%;
    display: none;
  }

  .ind2-cs-card-mobile {
    display: block;
    width: 100%;
  }

  .ind2-left h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.368px;
    line-height: 30px;
    margin-bottom: 39px;
    position: relative;
    left: 0;
    max-width: 100%;
  }
  .ind2-right {
    width: 100%;
  }
  /* Horizontal scrollable tabs on mobile */
  .ind2-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    width: calc(100% + 40px);
    max-width: none;
    min-width: 0;
    margin: 0 0 !important;
    padding: 0 20px 4px 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
  }

  .ind2-tabs::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 768px) {
  /* Stack vertically on mobile */
  .exl-ind2 {
    padding: 40px 0 0;
  }
  .ind2-heading {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 20px;
  }

  .ind2-tab {
    flex-shrink: 0;
    width: auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 16px;
  }

  /* Slide stacks vertically on mobile */
  .ind2-slide {
    flex-direction: column;
    min-height: unset;
  }

  .ind2-content-card {
    flex: none;
    width: 100%;
    padding: 0 20px 30px;
  }

  .ind2-cs-card {
    flex: none;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    border-radius: 12px;
  }

  .ind2-solve-body {
    font-size: 15px;
    line-height: 21px;
  }

  .ind2-cta-row {
    padding-top: 16px;
  }

  .ind2-arrow {
    width: 26px;
    height: 26px;
  }

  .ind2-cs-copy h4 {
    font-size: 20px;
    line-height: 26px;
  }
}