@keyframes jvGlow {
  0%, 100% { box-shadow: 0 20px 40px -12px rgba(0,76,137,0.25); }
  50% { box-shadow: 0 20px 48px -10px rgba(0,76,137,0.4); }
}
.jv-result { animation: jvGlow 3.5s ease-in-out infinite; }
@keyframes jvArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.jv-arrow svg { animation: jvArrowBounce 1.8s ease-in-out infinite; }

/* ============================================================
   NTM About Page — Page-Specific Styles
   Keyframe animations and classes that cannot be expressed
   with Tailwind utilities alone.
   ============================================================ */

/* MANUFACTURING IMAGE CROSSFADE
   Auto-cycles between two Kemet Industries facility photos
   in the Manufacturing section of the About page.
   Phase offset of -4s keeps the images alternating smoothly. */
@keyframes auto-crossfade {
  0%,  40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}

.img-crossfade-1 {
  animation: auto-crossfade 8s infinite ease-in-out;
}

.img-crossfade-2 {
  animation: auto-crossfade 8s infinite ease-in-out;
  animation-delay: -4s;
}















  :root {
    --gold: #96751f;
    --navy: #17325c;
    --navy-dark: #0d3d68;
    --red-accent: #c0392b;
    --card-bg: #f3f5f7;
    --text-muted: #6b7280;
    --label-muted: #98a1ab;
    --ring-color: #8fb3dd;
  }

 
  .jv-section {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }
 
  .jv-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--label-muted);
    text-transform: uppercase;
    margin-bottom: 40px;
  }
 
  .jv-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 240px;
  }
 
  /* Company cards */
  .jv-card {
    flex: 1;
    max-width: 260px;
    background: var(--card-bg);
    border: 1px solid rgba(23,50,92,0.05);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(23,50,92,0.05);
    transition: transform 0.7s cubic-bezier(.16,1,.3,1), opacity 0.6s ease, box-shadow 0.7s ease;
  }
  .jv-card.merging {
    opacity: 0;
    box-shadow: 0 20px 36px rgba(23,50,92,0.16);
    transition: transform 0.8s cubic-bezier(.55,0,.15,1), opacity 0.65s ease-in, box-shadow 0.8s ease;
  }
  #jvCardA.merging { transform: translate(calc(50% + 14px), -10px) scale(0.82) rotate(-7deg); }
  #jvCardB.merging { transform: translate(calc(-50% - 14px), -10px) scale(0.82) rotate(7deg); }
 
  .jv-kemet-name { font-size: 24px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; margin-bottom: 8px; }
  .jv-kemet-sub { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #9a8a63; text-transform: uppercase; margin-bottom: 20px; }
  .jv-caption { font-size: 13px; color: var(--text-muted); }
 
  .jv-tiba-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px; }
  .jv-tiba-triangle { width: 0; height: 0; border-style: solid; border-width: 0 7px 11px 7px; border-color: transparent transparent var(--red-accent) transparent; }
  .jv-tiba-name { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: 0.5px; }
  .jv-tiba-group { font-size: 13px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
  .jv-tiba-since { font-size: 11px; letter-spacing: 2px; color: #8b93a0; text-transform: uppercase; margin-bottom: 20px; }
 
  /* Plus sign between the two cards */
  .jv-plus {
    width: 42px;
    height: 42px;
    flex: none;
    border: 1.5px solid #ccd1d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #9aa1a9;
    transition: transform 0.65s cubic-bezier(.16,1,.3,1), opacity 0.5s ease;
  }
  .jv-plus.merging {
    transform: scale(0.3) rotate(130deg);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(.55,0,.15,1), opacity 0.4s ease-in;
  }
 .jv-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jv-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}
  /* Twin rings that pulse out from the merge point */
  .jv-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--ring-color);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
  }
  .jv-ring.show { animation: jvRingPulse 0.85s cubic-bezier(.2,.7,.3,1) forwards; }
  .jv-ring-b.show { animation-delay: 0.15s; }
  @keyframes jvRingPulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.85; border-width: 3px; }
    100% { transform: translate(-50%, -50%) scale(10); opacity: 0; border-width: 0.5px; }
  }
 
  /* Resulting NTM card */
  .jv-result {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    max-width: 90%;
    background: var(--navy-dark);
    border-radius: 18px;
    /* padding: 24px 20px; */
    text-align: center;
    box-shadow: 0 20px 40px rgba(13,61,104,0.22);
    transform: translate(-50%, -50%) scale(0.2) rotate(-5deg);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.32,0,.67,0), opacity 0.4s ease;
  }
  .jv-result.show {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
    transition: transform 0.75s cubic-bezier(.34,1.56,.64,1) 0.55s, opacity 0.45s ease 0.55s;
  }
 
  .jv-result-logo { background: #ffffff; border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; justify-content: center; gap: 12px;  opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .jv-result.show .jv-result-logo { opacity: 1; transform: translateY(0); transition-delay: 0.95s; }
  .jv-ntm-badge { background: #4f6c8c; color: #ffffff; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; padding: 8px 10px; border-radius: 6px; }
  .jv-divider { width: 1px; height: 30px; background: #dde2e7; }
  .jv-ntm-text { text-align: left; line-height: 1.3; }
  .jv-ntm-name { display: block; font-weight: 700; color: #123a63; font-size: 14px; letter-spacing: 1px; }
  .jv-ntm-sub { display: block; font-weight: 500; color: #5b7592; font-size: 12px; letter-spacing: 1px; }
 
  .jv-result-caption { font-size: 13px; color: #a9c0da; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .jv-result.show .jv-result-caption { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }
 
  @media (max-width: 560px) {
    .jv-stage { gap: 12px; }
    .jv-card { max-width: 150px; padding: 20px 12px; }
    .jv-kemet-name, .jv-tiba-name { font-size: 18px; }
    .jv-plus { width: 32px; height: 32px; font-size: 14px; }
    .jv-result { width: 280px; padding: 18px 14px; }
  }