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



/* 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;
}



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

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

#apolloPrimaryNav .apollo-nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

#apolloPrimaryNav .apollo-mobile-toggle {
  display: none;
}

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

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

#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: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  /* text-transform: uppercase; */
  text-decoration: none;
  padding: 18px 0;
  cursor: pointer;
  white-space: nowrap;
}

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

#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: 100000;
}

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


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

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

#apolloPrimaryNav .apollo-menu-parent {
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

#apolloPrimaryNav .apollo-menu-child {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
}

#apolloPrimaryNav .apollo-menu-grandchild {
    display: block;
    padding: 8px 20px 8px 42px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

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

#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;

  border: 0;
  background: transparent;

  padding: 10px 18px;
  margin: 0;

  color: #334155;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

#apolloPrimaryNav .apollo-menu-toggle span {
    margin-left: auto;
}

#apolloPrimaryNav .apollo-menu-toggle::before {
  content: "+ ";
  color: var(--apollo-teal);
  font-weight: 500;
  margin-right: 6px;
}

#apolloPrimaryNav .apollo-submenu {
  display: none;

}

#apolloPrimaryNav .apollo-dropdown .apollo-submenu.is-open {
  display: block;
  padding: 0 42px;
}

#apolloPrimaryNav .apollo-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--apollo-teal);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  /* text-transform: uppercase; */
  white-space: nowrap;
}

#apolloPrimaryNav button:focus-visible,
#apolloPrimaryNav a:focus-visible {
  outline: 3px solid var(--apollo-teal);
  outline-offset: 3px;
}



@media (max-width: 980px) {
  #apolloPrimaryNav .apollo-nav-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 18px;
  }

  #apolloPrimaryNav .apollo-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
  }

  #apolloPrimaryNav .apollo-nav-links {
    display: none;
    width: 100%;
    flex: 0 0 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-item {
    width: 100%;
  }

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

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

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

  #apolloPrimaryNav .apollo-submenu.is-open {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
  }

  #apolloPrimaryNav .apollo-nav-cta {
    display: flex;
    width: 100%;
    margin: 14px 0 0;
  }
}

.apollo-page-hero {
  position: relative;
  padding: 92px 20px 82px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
    url('/images/city-building-230.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.apollo-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.24), transparent 58%);
  pointer-events: none;
}

.apollo-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.apollo-page-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d9f99d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apollo-page-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.apollo-page-hero p {
  max-width: 860px;
  margin: 0 auto;
  color: #e2e8f0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.apollo-content-section {
  padding: 72px 20px;
  background: #f8fafc;
}

.apollo-content-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.apollo-content-card,
.apollo-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.apollo-content-card {
  padding: clamp(26px, 4vw, 46px);
}

.apollo-feature-image {
  width: min(340px, 100%);
  float: right;
  margin: 0 0 24px 28px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.apollo-content-card h2,
.apollo-content-card h3 {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.apollo-content-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
}

.apollo-content-card h3 {
  margin: 34px 0 14px;
  font-size: 24px;
}

.apollo-content-card p,
.apollo-content-card li {
  color: #475569;
  font-size: 17px;
  line-height: 1.72;
}

.apollo-lead {
  color: #0d9488;
  font-size: 20px;
  font-weight: 800;
}

.apollo-topic-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.apollo-topic {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
}

.apollo-topic h3 {
  margin-top: 0;
  color: #0f172a;
}

.apollo-topic a {
  color: #0d9488;
  font-weight: 800;
  text-decoration: none;
}

.apollo-topic a:hover {
  text-decoration: underline;
}

.apollo-check-link {
  display: inline-block;
  margin-top: 4px;
  color: #0d9488;
  font-weight: 900;
  text-decoration: none;
}

.apollo-side-card {
  position: sticky;
  top: 102px;
  padding: 26px;
}

.apollo-side-card h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}

.apollo-side-card p {
  color: #475569;
  line-height: 1.6;
}

.apollo-side-card .eco-btn-primary {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.apollo-timeline-image {
  max-width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}


@media (max-width: 720px) {
  .apollo-feature-image {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 24px;
  }
}

@media (min-width: 981px) and (hover: hover) {
  #apolloPrimaryNav .apollo-has-dropdown:hover > .apollo-dropdown {
    display: block;
  }
}
