/* ================================================================
   Animated Nav Buttons — Special highlighted entries in the header
   Colors are taken directly from the WB brand palette:
     • Primary blue  #1a56db  →  Internship button
     • Gold accent   #FBB50E  →  Naveen Avsar button
   ================================================================ */


/* ╔══════════════════════════════════════════════════════════════╗
   ║  NAVEEN AVSAR BUTTON  —  Gold shimmer  (#FBB50E accent)     ║
   ╚══════════════════════════════════════════════════════════════╝ */

.wb-nav-naisc {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 7px 13px !important;
  border-radius: 7px;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-decoration: none !important;
  background: linear-gradient(
    90deg,
    #FBB50E 0%,
    #fcd34d 18%,
    #FBB50E 36%,
    #f59e0b 54%,
    #FBB50E 72%,
    #fcd34d 90%,
    #FBB50E 100%
  );
  background-size: 280% auto;
  animation: naisc-shimmer 3s linear infinite, naisc-glow 2.2s ease-in-out infinite;
  white-space: nowrap;
  letter-spacing: 0.01em;
  margin-left: 6px;
  position: relative;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Remove separator */
.wb-nav .wb-nav-naisc::before,
.wb-nav .wb-nav-link ~ .wb-nav-naisc::before,
.wb-nav .wb-nav-intern ~ .wb-nav-naisc::before {
  content: none !important;
  display: none !important;
}

/* Hover */
.wb-nav-naisc:hover {
  color: #111 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(251,181,14,0.65) !important;
  animation: naisc-shimmer 1.2s linear infinite !important;
}

@keyframes naisc-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 280% center; }
}

@keyframes naisc-glow {
  0%, 100% {
    box-shadow:
      0 0 0 0   rgba(251,181,14,0.75),
      0 2px 8px rgba(251,181,14,0.25);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(251,181,14,0),
      0 2px 16px rgba(251,181,14,0.45);
  }
}

/* Red live-indicator dot */
.naisc-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  animation: naisc-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes naisc-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.2; transform: scale(0.55); }
}

/* NJF mini-logo */
.naisc-njf-mini {
  height: 16px;
  width: auto;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 1px;
}

/* Mobile: full-width gold card */
@media (max-width: 900px) {
  .wb-nav-naisc {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: calc(100% - 32px) !important;
    margin: 6px 16px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 9px;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 14px rgba(251,181,14,0.45);
    animation: naisc-shimmer 3s linear infinite;
  }

  .naisc-live-dot {
    width: 9px;
    height: 9px;
  }
}


/* ╔══════════════════════════════════════════════════════════════╗
   ║  INTERNSHIP BUTTON  —  Blue shimmer  (#1a56db primary)      ║
   ╚══════════════════════════════════════════════════════════════╝ */

.wb-nav-intern {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 7px 13px !important;
  border-radius: 7px;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(
    90deg,
    #1a56db 0%,
    #3b82f6 18%,
    #1a56db 36%,
    #1e40af 54%,
    #1a56db 72%,
    #60a5fa 90%,
    #1a56db 100%
  );
  background-size: 280% auto;
  animation: intern-shimmer 3s linear infinite, intern-glow 2.2s ease-in-out infinite;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Remove separator */
.wb-nav .wb-nav-intern::before,
.wb-nav .wb-nav-link ~ .wb-nav-intern::before,
.wb-nav .wb-nav-dropdown ~ .wb-nav-intern::before {
  content: none !important;
  display: none !important;
}

/* Hover */
.wb-nav-intern:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26,86,219,0.55) !important;
  animation: intern-shimmer 1.2s linear infinite !important;
}

@keyframes intern-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 280% center; }
}

@keyframes intern-glow {
  0%, 100% {
    box-shadow:
      0 0 0 0   rgba(26,86,219,0.70),
      0 2px 8px rgba(26,86,219,0.22);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(26,86,219,0),
      0 2px 16px rgba(26,86,219,0.40);
  }
}

/* Gold dot — ties into the site's accent colour */
.intern-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FBB50E;
  flex-shrink: 0;
  animation: intern-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes intern-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.2; transform: scale(0.55); }
}

/* Mobile: full-width blue card */
@media (max-width: 900px) {
  .wb-nav-intern {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: calc(100% - 32px) !important;
    margin: 10px 16px 4px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 9px;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 14px rgba(26,86,219,0.35);
    animation: intern-shimmer 3s linear infinite;
  }

  .intern-live-dot {
    width: 9px;
    height: 9px;
  }
}
