  /* ===== Base & Utilities ===== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; }
  img, video { max-width: 100%; height: auto; }
  a { text-decoration: none; }
  button { cursor: pointer; border: none; background: none; }
  ul, ol { list-style: none; padding: 0; margin: 0; }

  ::selection { background: rgba(20, 184, 166, 0.3); color: #f1f5f9; }

  /* ===== Scroll Reveal ===== */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== Navbar ===== */
  #navbar {
    background: transparent;
  }
  #navbar.scrolled {
    background: rgba(12, 19, 33, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 1px 0 rgba(0,0,0,0.3);
  }
  #navbar.scrolled .navbar-logo span:first-child {
    background: #0f766e;
  }

  /* ===== Mobile Menu ===== */
  #mobile-menu {
    animation: slideDown 0.25s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  #mobile-menu.open {
    display: block;
  }
  #mobile-menu.hidden {
    display: none;
  }

  /* ===== Custom Scrollbar ===== */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0f172a; }
  ::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #475569; }

  /* ===== Focus Styles ===== */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== Subtle pattern overlay for sections ===== */
  .section-pattern {
    background-image: radial-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  /* ===== Card hover glow ===== */
  .card-glow:hover {
    box-shadow: 0 0 40px -12px rgba(20, 184, 166, 0.15);
  }

  /* ===== Hero image pulse ===== */
  @keyframes slowPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.32; }
  }
  .hero-bg-img {
    animation: slowPulse 8s ease-in-out infinite;
  }
