/* =============================================
   pages/industries.css — Industries Hero, Industries Grid, CTA
   ============================================= */
/* ============================= */
/* INDUSTRIES HERO               */
/* ============================= */

.ind-hero {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Background */
.ind-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #0a1228 0%, #122246 55%, #1a3060 100%);
}

/* Grid overlay */
.ind-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Ambient orbs */
.ind-hero::before,
.ind-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: indOrbDrift 14s ease-in-out infinite;
}
.ind-hero::before {
  width: 320px;
  height: 320px;
  background: #1e4fd8;
  opacity: 0.13;
  top: -80px;
  right: 80px;
}
.ind-hero::after {
  width: 200px;
  height: 200px;
  background: #f19839;
  opacity: 0.09;
  bottom: -40px;
  right: 20px;
  animation-delay: -7s;
}
@keyframes indOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-16px, 14px);
  }
}

/* Layout */
.ind-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

/* ---- LEFT ---- */
.ind-hero-text {
  color: #fff;
}

/* Eyebrow */
.ind-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f19839;
  margin-bottom: 18px;
  opacity: 0;
  animation: indFadeUp 0.5s ease forwards;
  animation-delay: 0.1s;
}

.ind-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #f19839;
  border-radius: 50%;
  flex-shrink: 0;
  animation: indBlink 1.6s ease-in-out infinite;
}

@keyframes indBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

/* Title */
.ind-hero-title {
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  opacity: 0;
  animation: indFadeUp 0.55s ease forwards;
  animation-delay: 0.2s;
}

.ind-hero-title span {
  color: #f19839;
}

/* Subtitle */
.ind-hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 28px;
  opacity: 0;
  animation: indFadeUp 0.55s ease forwards;
  animation-delay: 0.3s;
}

/* Divider */
.ind-hero-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #f19839, #f58220);
  border-radius: 2px;
  margin-bottom: 28px;
  opacity: 0;
  animation: indFadeUp 0.4s ease forwards;
  animation-delay: 0.38s;
}

/* Button — reuses your existing .hero-btn-primary, just animate it in */
.ind-hero-text .hero-btn-primary {
  opacity: 0;
  animation: indFadeUp 0.5s ease forwards;
  animation-delay: 0.46s;
}

@keyframes indFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- RIGHT — NETWORK VIZ ---- */
.ind-hero-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: indFadeUp 0.7s ease forwards;
  animation-delay: 0.5s;
}

.ind-network-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ind-network {
  position: relative;
  width: 420px;
  height: 440px;
  flex-shrink: 0;
}

/* SVG lines */
.ind-net-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ind-net-line {
  stroke: rgba(241, 152, 57, 0.25);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 4 4;
  animation: indDashFlow 3s linear infinite;
}

.ind-net-line:nth-child(1) {
  animation-delay: 0s;
}
.ind-net-line:nth-child(2) {
  animation-delay: -0.5s;
}
.ind-net-line:nth-child(3) {
  animation-delay: -1s;
}
.ind-net-line:nth-child(4) {
  animation-delay: -1.5s;
}
.ind-net-line:nth-child(5) {
  animation-delay: -2s;
}
.ind-net-line:nth-child(6) {
  animation-delay: -2.5s;
}

@keyframes indDashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

/* Hub */
.ind-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(8, 18, 48, 0.9);
  border: 2px solid rgba(241, 152, 57, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  padding: 8px;
  animation: indHubPulse 3s ease-in-out infinite;
}

.ind-hub img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes indHubPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(13, 59, 136, 0.2),
      0 0 0 14px rgba(13, 59, 136, 0.07);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(13, 59, 136, 0.28),
      0 0 0 20px rgba(13, 59, 136, 0.05);
  }
}

/* Industry nodes */
.ind-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
  opacity: 0;
  animation: indNodeIn 0.4s ease forwards;
  animation-delay: calc(var(--i) * 0.1s + 0.7s);
}

@keyframes indNodeIn {
  to {
    opacity: 1;
  }
}

/* Hexagonal positions — spread wider for bigger container */
.ind-node[data-i="0"] {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.ind-node[data-i="1"] {
  top: 14%;
  right: 0;
}
.ind-node[data-i="2"] {
  bottom: 14%;
  right: 0;
}
.ind-node[data-i="3"] {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.ind-node[data-i="4"] {
  bottom: 14%;
  left: 0;
}
.ind-node[data-i="5"] {
  top: 14%;
  left: 0;
}

.ind-node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 20, 52, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.ind-node:hover .ind-node-circle {
  border-color: rgba(241, 152, 57, 0.6);
  background: rgba(241, 152, 57, 0.12);
  transform: scale(1.12);
}

.ind-node-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.ind-node:hover .ind-node-lbl {
  color: rgba(255, 255, 255, 0.9);
}

/* Tagline */
.ind-tagline {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

.ind-tagline span {
  color: #f19839;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 992px) {
  .ind-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .ind-hero-sub {
    max-width: 100%;
  }

  .ind-eyebrow,
  .ind-hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .ind-hero-text .hero-btn-primary {
    display: inline-flex;
    margin: 0 auto;
  }

  .ind-hero-viz {
    margin-top: 10px;
  }
}
/* Tablet */
@media (max-width: 992px) {
  .ind-network {
    width: 340px;
    height: 360px;
  }
  .ind-hub {
    width: 76px;
    height: 76px;
  }
  .ind-node-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .ind-network {
    width: 270px;
    height: 290px;
  }
  .ind-hub {
    width: 60px;
    height: 60px;
  }
  .ind-node-circle {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .ind-node[data-i="0"] {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .ind-node[data-i="1"] {
    top: 14%;
    right: 0;
  }
  .ind-node[data-i="2"] {
    bottom: 14%;
    right: 0;
  }
  .ind-node[data-i="3"] {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .ind-node[data-i="4"] {
    bottom: 14%;
    left: 0;
  }
  .ind-node[data-i="5"] {
    top: 14%;
    left: 0;
  }
}
/* ============================= */
/* INDUSTRIES SECTION */
/* ============================= */

.industries-section {
  padding: 90px 20px;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #0f172a;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #475569;
}

/* ============================= */
/* GRID */
/* ============================= */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ============================= */
/* CARD */
/* ============================= */

.industry-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(138, 21, 21, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Accent line */
.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #f19839;
}

.industry-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0f172a;
}

.industry-card p {
  color: #475569;
  line-height: 1.6;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* ============================= */
/* CTA SECTION */
/* ============================= */

.page-cta {
  background: #0f172a;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-cta h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.page-cta p {
  opacity: 0.85;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}
