/* Skills-to-opportunity page only (this file is not loaded elsewhere) */

/* Anchor jumps clear the fixed header */
html {
  scroll-padding-top: 100px;
}

main.page section[id],
main.page #journey,
main.page #contact,
main.page #paths,
main.page #why,
main.page #education,
main.page #home {
  scroll-margin-top: 100px;
}

/* Hide announcement strip on this page */
.abno-home-strip {
  display: none !important;
}

/* Keep site header/footer fonts intact */
#app-header,
#app-header a,
.footer-section,
.footer-section a {
  font-family: "BarlowCondensed-Medium", "Barlow Condensed", sans-serif;
  text-decoration: none;
}

#app-header a:hover,
.footer-section a:hover {
  text-decoration: none;
}

/* Remove old page-nav offset that left a gap under the site header */
main.page {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 0 !important;
}

/* Hide unused page-local navbar */
main.page > .navbar {
  display: none !important;
}

/* Prevent decorative SVGs from exploding if page CSS is delayed */
main.page svg.path-switch,
main.page svg.journey-arrow {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Journey product labels */
main.page .journey-step strong,
main.page .trust strong,
main.page .connect strong {
  font-weight: 400 !important;
  letter-spacing: 0pc !important;
}

/* Compact "THE IDEA" callout */
main.page .idea {
  gap: 20px !important;
  padding: 14px 20px !important;
  min-height: 0 !important;
  height: auto !important;
}

main.page .idea-title {
  width: auto !important;
  gap: 12px !important;
}

main.page .idea-title svg {
  width: 40px !important;
  height: 40px !important;
}

main.page .idea p {
  letter-spacing: 0pc;
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 1200px) {
  main.page .idea p {
    white-space: nowrap;
  }
}

/* Keep "See how it connects" below the CTA, width to its text */
main.page a.see-how {
  display: block;
  width: fit-content;
}

/* Journey icons use filled SVGs (override page stroke defaults) */
main.page .journey-icon svg {
  fill: none;
  stroke: none;
}

main.page .journey-icon svg path {
  fill: #fff;
  stroke: none;
}

/* Benefit icons use filled SVGs (override page stroke defaults) */
main.page .benefit-icon svg {
  fill: none;
  stroke: none;
}

main.page .benefit-icon svg path {
  fill: #0466C4;
  stroke: none;
}

/* Evidence stats */
main.page .stat strong {
  font-weight: 400;
}

/* Evidence stats icons from assets */
main.page .stat img {
  width: 63px;
  height: 63px;
  object-fit: contain;
  flex: none;
}

@media (max-width: 900px) {
  main.page .stat img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  main.page .stat img {
    width: 32px;
    height: 32px;
  }
}

/* Path cards — product logos + Learn More */
main.page .path-card {
  height: auto;
  min-height: 207px;
}

main.page .path-icon {
  background: #fff;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

main.page .path-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

main.page .experience .path-icon {
  background: #fff;
}

@media (max-width: 900px) {
  main.page .path-icon {
    width: 96px !important;
    height: 96px !important;
    padding: 6px;
  }
}

@media (max-width: 640px) {
  main.page .path-icon {
    width: 88px !important;
    height: 88px !important;
    padding: 10px;
  }
}

main.page a.path-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 14px 8px 12px;
  color: #072c61;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid rgba(7, 44, 97, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

main.page a.path-learn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

main.page a.path-learn:hover,
main.page a.path-learn:focus-visible {
  color: #fff;
  text-decoration: none;
  background: #072c61;
  border-color: #072c61;
  box-shadow: 0 8px 18px rgba(7, 44, 97, 0.22);
  transform: translateY(-1px);
}

main.page a.path-learn:hover svg,
main.page a.path-learn:focus-visible svg {
  transform: translateX(3px);
}

main.page a.path-learn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(7, 44, 97, 0.18);
}

@media (max-width: 900px) {
  main.page a.path-learn {
    margin-top: 8px;
    padding: 6px 10px 6px 9px;
    font-size: 14px;
    gap: 6px;
  }

  main.page a.path-learn svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 640px) {
  main.page a.path-learn {
    padding: 5px 9px 5px 8px;
    font-size: 13px;
    gap: 5px;
  }

  main.page a.path-learn svg {
    width: 13px;
    height: 13px;
  }
}

/* Contact section + form — room so the card isn't flush */
main.page .contact {
  height: auto !important;
  min-height: 302px;
  padding: 28px 0;
  align-items: center;
  box-sizing: border-box;
}

main.page .contact-photo {
  top: 0;
  bottom: 0;
  height: auto !important;
}

main.page .contact-form {
  height: auto;
  min-height: 271px;
  padding: 28px 28px 30px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

/* Phone/Email + Message span full width */
main.page .form-grid .field-phone,
main.page .form-grid .field-message {
  grid-column: 1 / -1;
}

main.page .field-message textarea {
  height: auto;
  min-height: 88px;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  main.page .form-grid {
    grid-template-columns: 1fr !important;
  }
}

main.page .send-button {
  margin-top: 18px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

main.page .send-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 43, 80, 0.28);
  background: linear-gradient(100deg, #08345f, #0a3d6a);
}

/* Hero CTA — keep white text on hover (beats Bootstrap a:hover) */
main.page a.primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

main.page a.primary svg {
  transition: transform 0.2s ease;
}

main.page a.primary:hover,
main.page a.primary:focus-visible {
  color: #fff;
  background: linear-gradient(115deg, #0a3d6c, #0e5a98 55%, #09406e);
  border-color: #0c4e7a;
  box-shadow: 0 12px 28px rgba(6, 43, 80, 0.35), inset 0 0 10px rgba(80, 150, 200, 0.35);
  transform: translateY(-2px);
}

main.page a.primary:hover svg,
main.page a.primary:focus-visible svg {
  transform: translateX(5px);
}

main.page a.primary:active {
  color: #fff;
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(6, 43, 80, 0.28), inset 0 0 8px rgba(40, 92, 124, 0.33);
}

@media (max-width: 640px) {
  main.page .journey-step h3 {
    font-size: 16px !important;
    margin: 0 0 2px;
  }

  main.page .journey-step strong,
  main.page .trust strong {
    font-size: 17px !important;
  }

  main.page .journey-step p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-top: 4px;
  }
}
