/* =====================================================
   INDUSTRIES PAGE — PREMIUM STYLES v2.0
   hjLabs.in  |  Electric Violet + Neon Teal palette
   ===================================================== */

/* ─── COLOUR TOKENS ─── */
:root {
  --ind-primary: #6C63FF;
  /* electric violet      */
  --ind-teal: #00D4AA;
  /* neon teal            */
  --ind-pink: #FF6B9D;
  /* hot-pink accent      */
  --ind-amber: #FFBA08;
  /* warm amber           */
  --ind-dark: #06080F;
  /* near-black           */
  --ind-navy: #0c1221;
  --ind-glow-v: rgba(108, 99, 255, 0.55);
  --ind-glow-t: rgba(0, 212, 170, 0.5);
  --ind-glow-p: rgba(255, 107, 157, 0.45);
}

/* ─── BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f0f4ff;
  color: #1e1b4b;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #0a0d17;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ind-primary), var(--ind-teal));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ind-teal);
}

/* ─── SCROLL PROGRESS ─── */
#ind-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal), var(--ind-pink));
  z-index: 9999;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px var(--ind-glow-v), 0 0 20px var(--ind-glow-t);
  transition: width 0.1s linear;
}

/* ─── PAGE LOADER ─── */
#ind-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #06080F 0%, #0f0c2a 60%, #0b1525 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#ind-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ind-loader-ring {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(108, 99, 255, 0.2);
  border-top: 3px solid var(--ind-primary);
  border-right: 3px solid var(--ind-teal);
  border-radius: 50%;
  animation: ind-spin 0.9s linear infinite;
  box-shadow: 0 0 24px var(--ind-glow-v);
}

.ind-loader-text {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal), var(--ind-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ind-text-shimmer 2s linear infinite;
  letter-spacing: 3px;
}

@keyframes ind-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ind-text-shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ─── HERO SECTION ─── */
.ind-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 15% 50%, rgba(108, 99, 255, 0.3) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(0, 212, 170, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 55% 85%, rgba(255, 107, 157, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, #06080F 0%, #0f0c2a 40%, #0b1a32 70%, #080d16 100%);
  color: white;
  padding: 110px 0 90px;
  overflow: hidden;
}

/* Rotating aurora sweep */
.ind-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 200deg at 50% 45%,
      rgba(108, 99, 255, 0.14) 0deg,
      rgba(0, 212, 170, 0.10) 90deg,
      rgba(255, 107, 157, 0.07) 180deg,
      rgba(108, 99, 255, 0.06) 270deg,
      rgba(0, 212, 170, 0.10) 360deg);
  animation: ind-aurora-rotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes ind-aurora-rotate {
  from {
    transform: rotate(0deg) scale(1.5);
  }

  to {
    transform: rotate(360deg) scale(1.5);
  }
}

/* Animated blurred orbs */
.ind-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}

.ind-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.4), transparent 70%);
  top: -120px;
  left: -100px;
  animation: ind-orb-a 13s ease-in-out infinite;
}

.ind-orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.3), transparent 70%);
  top: 25%;
  right: -70px;
  animation: ind-orb-b 15s ease-in-out infinite;
}

.ind-orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.25), transparent 70%);
  bottom: 50px;
  left: 42%;
  animation: ind-orb-a 11s ease-in-out infinite reverse;
}

@keyframes ind-orb-a {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(32px, -22px) scale(1.12);
  }

  66% {
    transform: translate(-22px, 28px) scale(0.94);
  }
}

@keyframes ind-orb-b {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-28px, 22px) scale(1.1);
  }
}

.ind-hero-inner {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.ind-breadcrumb {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 8px 20px;
  display: inline-flex;
  gap: 6px;
}

.ind-breadcrumb .breadcrumb-item,
.ind-breadcrumb a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
}

.ind-breadcrumb .breadcrumb-item.active {
  color: white !important;
}

.ind-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Hero badge */
.ind-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108, 99, 255, 0.4);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 28px;
  animation: ind-badge-glow 3.5s ease-in-out infinite alternate;
  transition: transform 0.25s ease;
}

.ind-hero-badge:hover {
  transform: translateY(-3px) scale(1.04);
}

@keyframes ind-badge-glow {
  from {
    box-shadow: 0 0 0 rgba(108, 99, 255, 0);
  }

  to {
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.65), 0 0 40px rgba(108, 99, 255, 0.2);
  }
}

/* Hero title */
.ind-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

/* Gradient text — animated shimmer */
.ind-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 35%, var(--ind-teal) 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ind-grad-shimmer 4s linear infinite;
}

@keyframes ind-grad-shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.ind-hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.88;
  max-width: 680px;
  margin-bottom: 44px;
  font-weight: 400;
}

/* Stats row */
.ind-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ind-stat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 108px;
  position: relative;
  overflow: hidden;
}

.ind-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ind-stat:hover::before {
  transform: scaleX(1);
}

.ind-stat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--ind-glow-v);
}

.ind-stat-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 45%, var(--ind-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.4));
}

.ind-stat-label {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Wave bottom */
.ind-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.ind-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ─── GRID SECTION ─── */
.ind-grid-section {
  background: linear-gradient(160deg, #f0f4ff 0%, #eef6fb 35%, #f3f0ff 65%, #f0f4ff 100%);
  background-size: 400% 400%;
  animation: ind-grid-bg 22s ease infinite;
  padding: 80px 0 110px;
  position: relative;
}

/* Subtle grid dot pattern */
.ind-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(108, 99, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}

@keyframes ind-grid-bg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.ind-section-head {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.ind-section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #1e1b4b 0%, var(--ind-primary) 50%, var(--ind-teal) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ind-heading-shimmer 6s linear infinite;
}

.ind-section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal));
  border-radius: 3px;
}

@keyframes ind-heading-shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 300% center;
  }
}

.ind-section-sub {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── INDUSTRY CARDS ─── */
.industry-item {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 22px;
  overflow: hidden;
  background: white;
  border: 1.5px solid rgba(108, 99, 255, 0.1);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.07);
  position: relative;
  z-index: 1;
}

.industry-item.ind-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Animated gradient top bar */
.industry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ind-primary), var(--ind-teal), var(--ind-pink), var(--ind-primary));
  background-size: 300% auto;
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: ind-border-flow 4s linear infinite;
}

.industry-item:hover::before {
  opacity: 1;
}

@keyframes ind-border-flow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 300% center;
  }
}

/* Shine sweep */
.industry-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.industry-item:hover::after {
  left: 140%;
}

/* Card hover lift with violet glow */
.industry-item:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-10px) scale(1.01) !important;
  box-shadow:
    0 24px 48px rgba(108, 99, 255, 0.14),
    0 0 0 1px rgba(108, 99, 255, 0.12);
}

.industry-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  padding: 0;
}

/* Image */
.industry-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: brightness(0.95) saturate(1.05);
}

.industry-item:hover img {
  transform: scale(1.07);
  filter: brightness(1.05) saturate(1.15);
}

/* Image overlay */
.industry-item .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, transparent 50%, rgba(108, 99, 255, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
  opacity: 0;
}

.industry-item:hover .img-overlay {
  opacity: 1;
}

/* Card body */
.ind-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ind-card-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  filter: drop-shadow(0 2px 6px rgba(108, 99, 255, 0.1));
}

.industry-item:hover .ind-card-icon {
  transform: scale(1.28) rotate(-6deg);
  filter: drop-shadow(0 4px 12px rgba(108, 99, 255, 0.25));
}

.industry-item h3 {
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: #1e1b4b;
  transition: color 0.3s ease;
}

.industry-item:hover h3 {
  color: var(--ind-primary);
}

.industry-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  flex: 1;
}

/* Explore arrow */
.ind-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ind-primary);
  transition: gap 0.3s ease, color 0.3s ease;
}

.ind-card-arrow .material-icons {
  transition: transform 0.3s ease;
}

.industry-item:hover .ind-card-arrow {
  gap: 14px;
  color: var(--ind-teal);
}

.industry-item:hover .ind-card-arrow .material-icons {
  transform: translateX(4px);
}

/* ─── CTA SECTION ─── */
.ind-cta-section {
  position: relative;
  background:
    linear-gradient(145deg,
      #06080F 0%,
      #120d3a 30%,
      #0e2540 65%,
      #060c1a 100%);
  color: white;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

/* CTA background aurora */
.ind-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(108, 99, 255, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(0, 212, 170, 0.18) 0%, transparent 60%);
  animation: ind-cta-aurora 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ind-cta-aurora {
  from {
    opacity: 0.6;
    transform: scale(1);
  }

  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.ind-cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.ind-cta-orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.35), transparent 70%);
  top: -100px;
  right: -100px;
  animation: ind-orb-a 9s ease-in-out infinite;
}

.ind-cta-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.28), transparent 70%);
  bottom: -70px;
  left: -70px;
  animation: ind-orb-b 11s ease-in-out infinite;
}

.ind-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 45%, var(--ind-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ind-cta-lead {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* CTA Button */
.ind-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ind-primary), var(--ind-teal));
  color: white !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 28px var(--ind-glow-v), 0 4px 12px var(--ind-glow-t);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.3px;
}

/* Sheen sweep on button */
.ind-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  animation: ind-btn-sheen 2.8s ease-in-out infinite;
}

@keyframes ind-btn-sheen {
  0% {
    left: -100%;
  }

  60% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.ind-cta-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 44px var(--ind-glow-v), 0 0 32px var(--ind-glow-t);
  color: white !important;
}

/* ─── BACK TO TOP ─── */
#ind-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ind-primary), var(--ind-teal));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  box-shadow: 0 4px 18px var(--ind-glow-v);
}

#ind-back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#ind-back-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 32px var(--ind-glow-v), 0 0 20px var(--ind-glow-t);
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .ind-hero {
    padding: 80px 0 60px;
  }

  .ind-hero-title {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
  }

  .ind-stats-row {
    gap: 10px;
  }

  .ind-stat {
    padding: 12px 20px;
  }

  .ind-stat-num {
    font-size: 1.6rem;
  }

  .ind-wave svg {
    height: 50px;
  }

  .ind-cta-orb-1,
  .ind-cta-orb-2 {
    display: none;
  }

  #ind-back-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .ind-hero {
    padding: 70px 0 50px;
  }

  .ind-card-body {
    padding: 20px;
  }

  .industry-item img {
    height: 170px;
  }
}