.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.primary-gradient {
  background: linear-gradient(135deg, #005bae 0%, #5fa1ff 100%);
}

/* Active nav link */
.nav-link {
  position: relative;
}

.nav-link.active {
  color: #005bae !important;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #005bae;
  border-radius: 9999px;
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 300px;
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/* Offset scroll for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* ═══════════════ TECH BUBBLES ═══════════════ */
.tech-bubbles-wrap {
  position: relative;
  width: 100%;
  height: 520px;
}

.tech-bubble {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  width: var(--size);
  height: var(--size);
  background: #ffffff;
  border-radius: 9999px;
  box-shadow:
    0 8px 32px rgba(32, 45, 81, 0.10),
    0 1px 4px rgba(32, 45, 81, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: techFloat 4s ease-in-out infinite;
  animation-delay: var(--delay);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.tech-bubble:hover {
  transform: translateY(-8px) scale(1.08) !important;
  box-shadow:
    0 16px 40px rgba(0, 91, 174, 0.18),
    0 2px 8px rgba(32, 45, 81, 0.08);
  z-index: 10;
}

.tech-bubble img {
  width: 48%;
  height: 48%;
  object-fit: contain;
}

.tech-bubble span {
  font-size: 9px;
  font-weight: 700;
  color: #4d5a81;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

@keyframes techFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Mobile: flatten into grid on small screens */
@media (max-width: 1024px) {
  .tech-bubbles-wrap {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 16px 0;
  }

  .tech-bubble {
    position: static;
    width: 76px !important;
    height: 76px !important;
    animation: none;
  }
}

/* ═══════════════ LOADING SPINNER ═══════════════ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}