/* Industry cards — shared across all regional pages */

/* ── Title link: professional animated arrow ── */
#industries .industry-card h3,
.industry-card h3 {
  margin-bottom: 6px;
}

#industries .industry-title-link,
.industry-card h3 .industry-title-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: inherit;
  transition: color 0.2s ease;
}

#industries .industry-title-link::after,
.industry-card h3 .industry-title-link::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a65f6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}

#industries .industry-card:hover .industry-title-link,
.industry-card:hover h3 .industry-title-link {
  color: #2a65f6;
}

#industries .industry-card:hover .industry-title-link::after,
.industry-card:hover h3 .industry-title-link::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Glass cards ── */
#industries .industry-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(190, 215, 255, 0.52);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom-color: rgba(120, 160, 255, 0.25);
  border-right-color:  rgba(120, 160, 255, 0.18);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    0 2px  6px  rgba(0,   0,   0,   0.07),
    0 8px  24px rgba(42,  101, 246, 0.14),
    0 20px 48px rgba(42,  101, 246, 0.10);
  transition: transform  0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
              box-shadow 0.28s ease,
              background 0.28s ease,
              border-color 0.28s ease;
}

/* Top-left specular highlight */
#industries .industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.00) 56%
  );
  pointer-events: none;
  z-index: -1;
}

#industries .industry-card:hover {
  background: rgba(200, 222, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(100, 150, 255, 0.28);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    0 4px  12px rgba(0,   0,   0,   0.09),
    0 16px 40px rgba(42,  101, 246, 0.20),
    0 28px 64px rgba(42,  101, 246, 0.12);
  transform: translateY(-6px);
}

/* Icon halo */
#industries .industry-icon {
  box-shadow: 0 4px 14px rgba(42, 101, 246, 0.38);
}

/* Demo call button — frosted glass pill */
#industries .demo-call-btn {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid rgba(42, 101, 246, 0.2);
  color: #2a65f6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(42, 101, 246, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

#industries .demo-call-btn:hover {
  background: rgba(42, 101, 246, 0.82);
  backdrop-filter: blur(16px) saturate(220%);
  -webkit-backdrop-filter: blur(16px) saturate(220%);
  border-color: rgba(120, 160, 255, 0.55);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 20px rgba(42, 101, 246, 0.35);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  #industries .industry-card,
  #industries .demo-call-btn,
  #industries .industry-title-link::after,
  .industry-card h3 .industry-title-link::after {
    transition: none;
  }
}
