.topcard {
  position: relative;
  display: flex;
  width: 100%;
  height: clamp(18rem, 70vh, 44rem);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#topimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.topcard::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  content: "";
}

#topcard-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1.5rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.osc-content {
  box-sizing: border-box;
  width: min(100%, 60rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
  color: #2f597b;
  text-align: center;
}

.osc-content > p {
  max-width: 52rem;
  margin: 0 auto 1.5rem;
}

.osc-content .intro {
  font-size: clamp(1.125rem, 0.55vw + 1rem, 1.4rem) !important;
  font-weight: 600;
}

.contact-card {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1rem;
  background: #eef6fb;
  box-shadow: 0 0.5rem 2rem rgba(47, 89, 123, 0.1);
}

.contact-card h2 {
  margin: 0 0 1rem;
}

.contact-card p {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.brightpath-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.5rem;
  background: #2f597b;
  color: #fff;
  font-size: var(--text-button);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.brightpath-link:hover {
  background: #36a9e0;
  transform: translateY(-2px);
}

.brightpath-link:focus-visible {
  outline: 3px solid #36a9e0;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .topcard {
    height: 18rem;
  }

  #topimg {
    object-position: center;
  }

  .brightpath-link {
    justify-content: center;
  }
}
