/* -----------------------------------------------------------------------*/
/* CSS stying for production  (navigation.css)                            */
/* -----------------------------------------------------------------------*/
.card-hover:hover { transform: translateY(-5px); transition: all 0.3s ease; }

:root {
  --apollo-dark: #0f172a;
  --apollo-teal: #0d9488;
  --apollo-gold: #f5c542;
  --apollo-copy: #475569;
  --apollo-border: #e2e8f0;
  --apollo-bg: #f8fafc;
}

body {
  background: #fff;
  color: var(--apollo-dark);
  font-family: Arial, sans-serif;
}

#apolloPrimaryNav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(10px);
  width: 100%;
}

#apolloPrimaryNav .apollo-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

#apolloPrimaryNav .apollo-nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  max-width: 180px;
}

#apolloPrimaryNav .apollo-logo-img {
  display: block;
  width: auto;
  height: 54px;
  max-height: 54px;
  max-width: 160px;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

/* #apolloPrimaryNav .apollo-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
} */
#apolloPrimaryNav .apollo-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

#apolloPrimaryNav .apollo-nav-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

#apolloPrimaryNav .apollo-nav-link,
#apolloPrimaryNav .apollo-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #475569;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

#apolloPrimaryNav .apollo-nav-link:hover,
#apolloPrimaryNav .apollo-nav-button:hover {
  color: var(--apollo-teal);
  text-decoration: none;
}

#apolloPrimaryNav .apollo-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 12px 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
  z-index: 10000;
  text-align: left;
}

#apolloPrimaryNav .apollo-nav-item:hover > .apollo-dropdown,
#apolloPrimaryNav .apollo-nav-item:focus-within > .apollo-dropdown,
#apolloPrimaryNav .apollo-dropdown.is-open {
  display: block;
}

#apolloPrimaryNav .apollo-dropdown a {
  display: block;
  color: #334155;
  text-decoration: none;
  line-height: 1.25;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 18px;
  border: 0;
  background: transparent;
  white-space: normal;
}

#apolloPrimaryNav .apollo-dropdown a:hover {
  background: #f8fafc;
  color: var(--apollo-teal);
  text-decoration: none;
}

#apolloPrimaryNav .apollo-menu-parent {
  padding-left: 20px;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a !important;
  text-transform: none;
  letter-spacing: 0.05em;
}

#apolloPrimaryNav .apollo-menu-child {
  padding-left: 42px;
  font-size: 13px;
  font-weight: 800;
}

#apolloPrimaryNav .apollo-menu-grandchild {
  padding-left: 68px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b !important;
}

#apolloPrimaryNav .apollo-menu-child::before,
#apolloPrimaryNav .apollo-menu-grandchild::before {
  content: "+ ";
  color: var(--apollo-teal);
  font-weight: 900;
}

#apolloPrimaryNav .apollo-menu-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 10px 0;
}

#apolloPrimaryNav .apollo-menu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #334155;
  text-align: left;
  line-height: 1.25;
  padding: 10px 18px 10px 42px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#apolloPrimaryNav .apollo-menu-toggle::before {
  content: "+ ";
  color: var(--apollo-teal);
  font-weight: 900;
}

#apolloPrimaryNav .apollo-menu-toggle:hover {
  background: #f8fafc;
  color: var(--apollo-teal);
}

#apolloPrimaryNav .apollo-submenu {
  display: none;
}

#apolloPrimaryNav .apollo-submenu.is-open {
  display: block;
}

@media (max-width: 980px) {
  body {
    font-family: Arial, sans-serif;
  }
  #apolloPrimaryNav .apollo-nav-inner {
    flex-wrap: wrap;
  }

  #apolloPrimaryNav .apollo-mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  #apolloPrimaryNav .apollo-nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
  }

  #apolloPrimaryNav .apollo-nav-links.is-open {
    display: flex;
  }

  #apolloPrimaryNav .apollo-nav-link,
  #apolloPrimaryNav .apollo-nav-button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }

  #apolloPrimaryNav .apollo-dropdown {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 14px;
    margin-bottom: 10px;
  }

  #apolloPrimaryNav .apollo-nav-item:hover > .apollo-dropdown {
    display: none;
  }

  #apolloPrimaryNav .apollo-dropdown.is-open {
    display: block;
  }

  #apolloPrimaryNav .apollo-submenu {
    display: none;
  }

  #apolloPrimaryNav .apollo-submenu.is-open {
    display: block;
  }

  #apolloPrimaryNav .apollo-nav-cta {
    order: 4;
    width: 100%;
    margin-left: 0;
  }
}

/* Apollo RetroCore Video Callout */
.retrocore-video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--apollo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.retrocore-video-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6; /* Dims the video so the text is readable */
}

.retrocore-video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.3));
}

.retrocore-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.retrocore-content h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.retrocore-content p {
  color: #e2e8f0;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 500;
  margin: 0;
}

