/* ============================================================
   INDUSTRIES.CSS — RIGHT SOURCE HR
   ============================================================ */

/* ─── Industries Hero ───────────────────────────────────────── */
.industries-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.industries-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}

.industries-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ─── Industries Grid ───────────────────────────────────────── */
.industries-section {
  padding: var(--space-24) 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

/* ─── Industry Card ─────────────────────────────────────────── */
.industry-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: all var(--transition-smooth);
  background: var(--navy-card);
}

/* Animated border glow */
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg,
      transparent 0%,
      rgba(201, 168, 76, 0.4) 50%,
      transparent 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

/* Glass overlay */
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 14, 26, 0.2) 0%,
      rgba(10, 14, 26, 0.7) 60%,
      rgba(10, 14, 26, 0.95) 100%);
  transition: background var(--transition-smooth);
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.4);
}

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

.industry-card:hover::after {
  background: linear-gradient(180deg,
      rgba(10, 14, 26, 0.3) 0%,
      rgba(10, 14, 26, 0.75) 50%,
      rgba(10, 14, 26, 0.97) 100%);
}

/* Background imagery / pattern */
.industry-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.08;
  transition: all var(--transition-smooth);
  z-index: 0;
  filter: blur(1px);
}

.industry-card:hover .industry-bg {
  opacity: 0.12;
  transform: scale(1.08);
  filter: blur(0px);
}

/* Card content */
.industry-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Icon badge */
.industry-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.08));
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.industry-card:hover .industry-icon-badge {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.35), rgba(201, 168, 76, 0.15));
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
  transform: scale(1.05);
}

.industry-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.industry-sub {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.industry-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 0;
}

.industry-card:hover .industry-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: var(--space-2);
}

.industry-arrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
  margin-top: var(--space-2);
}

.industry-card:hover .industry-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Industry Accent Colors ────────────────────────────────── */
.ind-healthcare .industry-icon-badge {
  border-color: rgba(52, 211, 153, 0.4);
}

.ind-aesthetic .industry-icon-badge {
  border-color: rgba(244, 114, 182, 0.4);
}

.ind-pharma .industry-icon-badge {
  border-color: rgba(96, 165, 250, 0.4);
}

.ind-trichology .industry-icon-badge {
  border-color: rgba(167, 139, 250, 0.4);
}

.ind-wellness .industry-icon-badge {
  border-color: rgba(251, 191, 36, 0.4);
}

.ind-bfsi .industry-icon-badge {
  border-color: rgba(201, 168, 76, 0.5);
}

.ind-bpo .industry-icon-badge {
  border-color: rgba(99, 202, 255, 0.4);
}

.ind-ecommerce .industry-icon-badge {
  border-color: rgba(251, 146, 60, 0.4);
}

/* ─── Industry Stats ─────────────────────────────────────────── */
.industry-stats {
  padding: var(--space-20) 0;
  background: rgba(8, 12, 22, 0.7);
  border-top: var(--border-subtle);
}

.industry-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.industry-stat {
  padding: var(--space-6) var(--space-4);
  border-right: var(--border-subtle);
}

.industry-stat:last-child {
  border-right: none;
}

.industry-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.industry-stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ─── Process Section ───────────────────────────────────────── */
.process-section {
  padding: var(--space-24) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(201, 168, 76, 0.3) 20%,
      rgba(201, 168, 76, 0.3) 80%,
      transparent);
  pointer-events: none;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.9);
  border: 2px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto var(--space-5);
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.process-step:hover .step-number {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .industry-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    height: 280px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .industry-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}