/* ==========================================================================
   INDUSTRIES WE SERVE - 3D COVERFLOW SLIDER
   ========================================================================== */

.industries-slider-section {
  padding: 60px 0 20px 0;
  background-color: #ffffff; /* White background */
  position: relative;
  overflow: hidden;
}

.industries-slider-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.industries-slider-section .section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal, #00C6B5);
  margin-bottom: 12px;
}

.industries-slider-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #004D88; /* Navy Blue for contrast on white */
  margin: 0;
  line-height: 1.2;
}

/* Swiper Container */
.industries-swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
  height: 420px; /* 360px + 60px padding */
}

.industries-slider-section .swiper-pagination {
  bottom: 0 !important;
}

/* The Slide (Card) */
.industries-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 260px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden; /* Ensure nothing spills outside */
  box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Softer shadow for white bg */
  position: relative;
}

/* Dark overlay for contrast */
.industries-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 30, 0.4);
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
}

/* Gradient border using pseudo-element */
.industries-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 4px; /* Border thickness */
  background: linear-gradient(135deg, #00C6B5, #004D88);
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 5;
  pointer-events: none;
}

.industries-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Glassmorphism Content Area */
.ind-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

.ind-slide-content h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  line-height: 1.2;
}

.ind-slide-content p {
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
  .industries-swiper { height: 440px; }
  .industries-swiper .swiper-slide {
    width: 280px;
    height: 380px;
  }
}
@media (min-width: 1200px) {
  .industries-swiper { height: 460px; }
  .industries-swiper .swiper-slide {
    width: 320px;
    height: 400px;
  }
}

/* Regulatory Frameworks Card Top */
.industries-swiper .swiper-slide .reg-card-top {
  width: 100%;
  height: 220px;
  background: var(--grad, linear-gradient(135deg, #004D88 0%, #00C6B5 100%));
  border-bottom: 3px solid var(--teal, #00C6B5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
}
