/* Industry Tabs Custom Styles */
/* These styles complement the Wizen template CSS already loaded from public/assets/css */

/* ═══════════════════════════════════════════════════════
   DESKTOP STYLES (unchanged)
   ═══════════════════════════════════════════════════════ */

.industry-area.bg-light {
  background-color: #f5f5f5;
}

/* Tab Navigation */
.industry-tab-wrap {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.industry-tab-wrap .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  border: none;
}

.industry-tab-wrap .nav-pills .nav-link {
  padding: 15px 35px;
  border: none;
  background: #e8e9ec;
  color: var(--color-dark);
  border-radius: 20px 20px 0 0;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.industry-tab-wrap .nav-pills .nav-link:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.industry-tab-wrap .nav-pills .nav-link.active {
  background: var(--theme-bg-light);
  box-shadow: none;
  position: relative;
  z-index: 3;
  padding-bottom: 25px;
  margin-bottom: -10px;
}

/* Tab Content Area */
.tab-content {
  position: relative;
  z-index: 2;
}

.industry-tab-content {
  background: var(--theme-bg-light);
  border-radius: 0 20px 20px 20px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.industry-tab-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

/* Industry Content */
.industry-content {
  position: relative;
  z-index: 2;
  padding-right: 30px;
}

.industry-content .site-title {
  line-height: 1.2;
  margin-bottom: 0;
}

.industry-content p {
  line-height: 1.8;
}

/* Case Study Cards */
.case-study-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--theme-color2);
  position: relative;
  overflow: hidden;
}

.case-study-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.case-study-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-study-item:hover::before {
  opacity: 1;
}

/* Case Study Image */
.case-study-img {
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: transparent;
  overflow: hidden;
}

.case-study-img img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.case-study-item:hover .case-study-img img {
  transform: scale(1.05);
}

/* Case Study Content */
.case-study-content {
  position: relative;
  z-index: 2;
}

.case-study-title {
  margin-bottom: 15px;
  line-height: 1.3;
}

.case-study-title a {
  color: var(--theme-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.case-study-text {
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Custom Button Styling for Case Studies */
.case-study-item .theme-btn {
  font-size: 16px;
  color: var(--color-white);
  text-transform: capitalize;
  position: relative;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  box-shadow: var(--box-shadow);
  z-index: 1;
  padding: 10px 20px;
  transition: 0.5s;
  border-radius: 10px;
  overflow: hidden;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  background: var(--CTA-background);
}

.case-study-item .theme-btn:hover {
  background: #8E93E6;
  transform: scale(1.05);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(200, 180, 255, 0.3);
}

.case-study-item .theme-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.case-study-item .theme-btn:hover i {
  transform: translateX(3px);
}

/* Desktop responsive */
@media (max-width: 991px) {
  .industry-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .industry-tab-content {
    padding: 40px 30px;
  }

  .industry-content .site-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .industry-area.py-60 {
    padding: 60px 0;
  }

  .industry-tab-wrap .nav-pills {
    justify-content: center;
  }

  .industry-tab-wrap .nav-pills .nav-link {
    padding: 12px 25px;
    font-size: 14px;
  }

  .industry-tab-content {
    padding: 30px 20px;
    border-radius: 0 15px 15px 15px;
  }

  .industry-content .site-title {
    font-size: 24px;
  }

  .case-study-title {
    font-size: 20px;
  }

  .case-study-img {
    min-height: 100px;
  }

  .case-study-img img {
    max-height: 80px;
  }
}

@media (max-width: 575px) {
  .industry-tab-wrap .nav-pills .nav-link {
    padding: 10px 20px;
    font-size: 13px;
  }

  .case-study-item {
    padding: 20px 15px;
  }
}


/* ═══════════════════════════════════════════════════════
   MOBILE SLIDER STYLES
   All classes prefixed with m- to avoid any conflicts
   ═══════════════════════════════════════════════════════ */

.industry-area--mobile {
  padding: 60px 0;
  background-color: #f5f5f5;
}

/* ── Slider Header ── */
.m-slider-header {
  text-align: center;
  margin-bottom: 20px;
}

.m-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.m-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #00257e;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.m-slider-dot--active {
  background: #00257e;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(0, 37, 126, 0.4);
}

.m-slider-label {
  font-size: 13px;
  font-weight: 700;
  color: #00257e;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── Slider Viewport — THIS IS THE KEY ── */
.m-slider-viewport {
  overflow: hidden !important;
  position: relative;
  width: 100%;
  border-radius: 20px;
}

/* ── Slider Track ── */
.m-slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

/* ── Each Slide ── */
.m-slider-slide {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Slide Card (the blue gradient container) ── */
.m-slide-card {
  background: #0D497C;
  border-radius: 20px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.m-slide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

/* ── Slide Header (title + description) ── */
.m-slide-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 20px;
  padding: 0 4px;
}

.m-slide-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.m-slide-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── Case Studies Container ── */
.m-slide-cases {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Individual Case Card ── */
.m-case-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

/* ── Case Image ── */
.m-case-img {
  text-align: center;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 10px;
}

.m-case-img img {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

/* ── Case Body ── */
.m-case-body {
  overflow: hidden;
}

.m-case-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.m-case-title a {
  color: #ffffff;
  text-decoration: none;
}

.m-case-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── Case Button ── */
.m-case-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #B4B8F1;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.m-case-btn:hover {
  background: #8E93E6;
  color: #ffffff;
}

.m-case-btn i {
  font-size: 13px;
}

/* ── Swipe Hint ── */
.m-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: #7f8c9b;
  font-size: 13px;
  font-weight: 500;
  animation: m-hintPulse 2.5s ease-in-out infinite;
}

.m-swipe-hint i {
  font-size: 11px;
}

.m-swipe-hint i:first-child {
  animation: m-arrowLeft 2.5s ease-in-out infinite;
}

.m-swipe-hint i:last-child {
  animation: m-arrowRight 2.5s ease-in-out infinite;
}

@keyframes m-hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes m-arrowLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

@keyframes m-arrowRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.case-study-summary {
  padding-top: 30px;
  color: #2B3F55;
  
}

.case-study-summary-body {
  background-color: #F1F2FD;
  border-color: #F1F2FD;
  color: #2B3F55;
}