/* ================================================
   INDUSTRIES SECTION — CSS
   industries-section.css
================================================ */

/* ── Section wrapper ── */
.industries-section-body {
  padding: 80px 0;
  background: #f7f7f7;
}
.ind-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 0 3.5rem;
}
.ind-top .ind-header { width: 700px; }
.ind-top .small-text {
  color: #B8963E; font-size: 14.2px !important; font-weight: 600;
  text-transform: uppercase; padding-bottom: 1.5rem;
}
.ind-top .heading {
  color: #0B2C4D; font-size: 47px !important; font-weight: 600; padding-bottom: 1.5rem;
}
.ind-top p { color: #5a6a7a; }

.ind-layout {
  display: grid;
  grid-template-columns: 500px 1fr;
  min-height: 520px;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}

/* ── Left panel ── */
.ind-left {
  padding-left: 3rem;
  background: #0B2C4D;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 3rem;
}
.ind-left-header {
  padding: 20px 20px 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}
.ind-left-label {
  padding-top: 1rem;
  font-size: 18px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8963E;
  margin: 0 0 4px;
}
.ind-left-title {
  font-size: 15px !important;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

/* ── Industry list ── */
.ind-list { list-style: none; padding: 8px 0; margin: 0; }
.ind-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 17px !important;
  color: rgba(255, 255, 255, 0.7);
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ind-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}
.ind-item.active {
  background: rgba(184, 150, 62, 0.1);
  border-left-color: #B8963E;
  color: #ffffff;
}
.ind-item svg { flex-shrink: 0; color: #B8963E; }

/* ── Right panel ── */
.ind-right {
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
}
.ind-right-header {
  padding: 24px 28px 16px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  margin: 0 4.5rem;
}
.ind-right-label {
  padding-top: 5rem !important;
  font-size: 16px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7F1619;
  margin: 0 0 4px;
  padding-bottom: 12px;
}
.ind-right-title {
  font-size: 20px !important;
  font-weight: 500;
  color: #0B2C4D;
  margin: 0 0 6px;
}
.ind-right-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #5a6a7a;
  margin: 0;
}

/* ── Clients area ── */
.ind-clients-area {
  padding: 20px 28px 24px;
  margin: 0 4.5rem;
  flex: 1;
}
.ind-clients-label {
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e3e6ee;
  background: #7F1619;
  font-weight: 500;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 5px;
  margin: 0 0 1rem;
}
.ind-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 3fr));
  gap: 10px;
}

/* ── Client tile ── */
.client-tile {
  align-items: center;
  display: inline-flex;
  padding: 5px 18px;
  background: #f7f7f7;
  border: 1.5px solid #ede8df;
  border-radius: 8px;
  font-size: 0.82rem !important;
  font-weight: 600;
  color: #5a6a7a;
  transition: all 0.18s;
  cursor: default;
  letter-spacing: 0.01em;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(13, 27, 42, 0.06);
}
.client-tile:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(43, 27, 42, 0.06);
}
.client-logo {
  width: 110px;
  height: 44px;
  border-radius: 1px;
  background: #f1f1f1;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 500;
  color: #0B2C4D;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  overflow: hidden;
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.client-name {
  font-size: 12px !important;
  color: #333;
  text-align: left;
  line-height: 1.4;
}
.ind-empty {
  font-size: 13px;
  color: #9aa5b0;
  padding: 20px 0;
  margin: 0;
}

/* ════════════════════════════════════════
   MOBILE SLIDER
   ════════════════════════════════════════ */
.ind-mobile-slider { display: none; }

@media (max-width: 768px) {

  /* hide desktop, show mobile */
  .ind-layout { display: none; }
  .ind-mobile-slider { display: block; padding: 0 0 2rem; }

  /* tighten the top header on mobile */
  .ind-top {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 1.25rem 2rem;
    gap: 0;
  }
  .ind-top .ind-header { width: 100%; }
  .ind-top .heading { font-size: 28px !important; }
  .ind-top .small-text { padding-bottom: 0.75rem; }
  .ind-top p { font-size: 14px; }

  /* ── Slider track ── */
  .ind-slider-overflow {
    overflow: hidden;
    width: 100%;
  }

  .ind-slider-track {
    display: flex;
    gap: 14px;
    padding: 0 1.25rem 4px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .ind-slider-track.is-dragging {
    cursor: grabbing;
    transition: none;
  }

  /* ── Each card ── */
  .ind-slide-card {
    flex: 0 0 calc(100vw - 3.5rem);
    background: #ffffff;
    border: 1.5px solid #ede8df;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 44, 77, 0.07);
    display: flex;
    flex-direction: column;
  }

  /* card top bar — same dark navy as desktop left panel */
  .ind-slide-card-header {
    background: #0B2C4D;
    padding: 1.1rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .ind-slide-card-header svg { color: #B8963E; flex-shrink: 0; }
  .ind-slide-card-industry-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B8963E;
    margin: 0 0 2px;
  }
  .ind-slide-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
  }

  /* card body */
  .ind-slide-card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
  .ind-slide-card-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: #5a6a7a;
    margin: 0 0 1rem;
    border-bottom: 0.5px solid #ede8df;
    padding-bottom: 1rem;
  }

  /* clients inside card */
  .ind-slide-clients-label {
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e3e6ee;
    background: #7F1619;
    font-weight: 600;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
  }
  .ind-slide-clients-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .ind-slide-client-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: #f7f7f7;
    border: 1.5px solid #ede8df;
    border-radius: 8px;
  }
  .ind-slide-client-logo {
    width: 72px;
    height: 36px;
    border-radius: 4px;
    background: #f1f1f1;
    border: 0.5px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #0B2C4D;
    flex-shrink: 0;
    overflow: hidden;
  }
  .ind-slide-client-logo img {
    width: 100%; height: 100%; object-fit: contain; padding: 3px;
  }
  .ind-slide-client-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.35;
  }

  /* ── Nav bar ── */
  .ind-slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0;
  }
  .ind-slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .ind-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8c8c8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s, background 0.25s, border-radius 0.25s;
  }
  .ind-slider-dot.active {
    background: #0B2C4D;
    width: 20px;
    border-radius: 3px;
  }
  .ind-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .ind-slider-counter {
    font-size: 12px;
    color: #9aa5b0;
    font-variant-numeric: tabular-nums;
    min-width: 32px;
    text-align: center;
  }
  .ind-slider-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #ede8df;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0B2C4D;
    transition: background 0.15s, border-color 0.15s;
  }
  .ind-slider-btn:hover { background: #f0f0f0; border-color: #ccc; }
  .ind-slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }
}
.ind-slider-nav--top {
  margin-bottom: 0.75rem;
}
.ind-slider-nav--bot {
  margin-top: 0.75rem;
}