:root {
  color-scheme: light;
  --navy: #00335f;
  --deep-navy: #002846;
  --teal: #1aa6a6;
  --coral: #f25f4c;
  --gold: #e9a93a;
  --cream: #f8f3e8;
  --soft-cream: #fffaf1;
  --white: #ffffff;
  --text: #102a37;
  --muted: #52636f;
  --shadow: 0 24px 60px rgba(16, 42, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--soft-cream);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: rgba(0, 51, 95, 0.96);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.14);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  text-decoration: none;
}

.site-logo {
  height: 86px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.site-header,
.nav-inner {
  min-height: 104px;
}

.nav-inner {
  display: flex;
  align-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .site-logo {
    height: 60px;
    max-width: 190px;
    padding: 5px;
  }

  .brand {
    gap: 0.6rem;
  }

  .site-header,
  .nav-inner,
  .site-nav {
    min-height: 78px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.75rem;
  }
}

.image-panel,
.soft-gradient-panel {
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 51, 95, 0.88), rgba(26, 166, 166, 0.72)),
    var(--deep-navy);
  box-shadow: 0 18px 45px rgba(0, 40, 70, 0.18);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.hero-card,
.soft-gradient-panel {
  min-height: auto;
  border-radius: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 34, 54, 0.14);
}

.hero-card h2,
.soft-gradient-panel h3,
.soft-gradient-panel p {
  color: var(--white);
}

.hero-card {
  min-height: auto;
  border-radius: 24px;
  padding: 28px;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 14, 32, 0.18);
}

.hero-card h2 {
  font-size: 1.4rem;
}

.provider-ready-card {
  background: linear-gradient(135deg, var(--deep-navy), var(--teal));
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(0, 40, 70, 0.18);
}

.provider-ready-card h3,
.provider-ready-card p {
  color: var(--white);
}

.landscape-panel {
  min-height: 260px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 51, 95, 0.9), rgba(26, 166, 166, 0.65)), var(--deep-navy);
  box-shadow: 0 18px 48px rgba(0, 40, 70, 0.18);
}

.landscape-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.landscape-fallback {
  background: linear-gradient(135deg, rgba(0, 51, 95, 0.92), rgba(26, 166, 166, 0.72)), var(--deep-navy);
}

.landscape-panel p {
  color: var(--white);
}

.hero-card h2 {
  color: var(--white);
  font-size: 1.25rem;
  margin-top: 0;
}

.bio-details {
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 51, 95, 0.12);
  padding-top: 0.85rem;
}

.bio-details summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.bio-details summary::-webkit-details-marker {
  display: none;
}

.bio-details summary::after {
  content: "→";
  transition: transform 0.2s ease;
}

.bio-details[open] summary::after {
  transform: rotate(90deg);
}

.bio-details-content {
  margin-top: 0.9rem;
  color: var(--text);
}

.bio-details-content p {
  margin-bottom: 0.85rem;
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  margin: 1rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 51, 95, 0.12), rgba(26, 166, 166, 0.14));
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 5px solid rgba(26, 166, 166, 0.22);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  padding: 0.6rem 0;
}

.hero {
  background: linear-gradient(135deg, #022342 0%, #06325a 48%, #082b47 100%);
  color: var(--white);
  padding: 54px 0 48px;
  min-height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 460px);
  gap: 26px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy h1,
.section-header h2 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  line-height: 1.02;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 22px;
  max-width: 850px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 640px;
}

.hero-text,
.section-header p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-primary {
  background: var(--teal);
  color: var(--deep-navy);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.button-link {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0, 51, 95, 0.15);
}

.hero-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-highlights div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.1rem;
  border-radius: 20px;
}

.hero-highlights strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.hero-visual {
  min-height: 420px;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(26, 166, 166, 0.22), transparent 38%),
    radial-gradient(circle at 20% 30%, rgba(242, 95, 76, 0.18), transparent 28%),
    linear-gradient(180deg, #12375a 0%, #0d2f4c 45%, #081f32 100%);
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
}

.hero-visual::before {
  width: 260px;
  height: 260px;
  background: rgba(255, 209, 109, 0.2);
  top: 20%;
  left: 10%;
}

.hero-visual::after {
  width: 420px;
  height: 420px;
  background: rgba(26, 166, 166, 0.16);
  bottom: -80px;
  right: -80px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--soft-cream);
}

.section-white {
  background: var(--white);
}

.section-header,
.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--coral);
  border-radius: 999px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
}

.section-header h2 {
  color: var(--navy);
  margin-top: 0.75rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
}

.about-grid,
.service-grid,
.eligibility-grid,
.team-grid,
.support-grid,
.resources-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card,
.service-card,
.info-card,
.note-card,
.team-card,
.support-card,
.resource-card,
.contact-card {
  background: var(--white);
  border: 1px solid rgba(0, 51, 95, 0.10);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(0, 40, 70, 0.08);
  padding: 2rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 240px;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(26, 166, 166, 0.16), rgba(242, 95, 76, 0.14));
  border-radius: 16px;
  margin-bottom: 1.2rem;
}

.service-card h3,
.info-card h3,
.note-card h3,
.team-card h3,
.support-card h3,
.resource-card h3,
.contact-card h3 {
  color: var(--navy);
  margin-top: 0;
}

.service-card p,
.info-card p,
.note-card p,
.support-card p,
.team-card p,
.resource-card p,
.contact-card p {
  color: var(--muted);
}

.eligibility-grid {
  grid-template-columns: 1fr 1fr;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.info-card li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text);
}

.info-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-size: 1.6rem;
  line-height: 1;
}

.note-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  position: relative;
  overflow: hidden;
}

.team-card-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.team-hero {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.team-photo,
.team-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 5px solid rgba(26, 166, 166, 0.22);
}

.team-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(26, 166, 166, 0.22);
  box-shadow: 0 12px 28px rgba(0, 40, 70, 0.18);
}

@media (max-width: 768px) {
  .team-photo {
    width: 112px;
    height: 112px;
  }
}

.team-badge {
  display: inline-flex;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.team-card h3 {
  margin-top: 0;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  padding: 2rem;
  border-left: 4px solid var(--teal);
}

.resources-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card a {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.contact-grid {
  grid-template-columns: 1.5fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-details strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card {
  width: 100%;
}

.site-footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  gap: 0.65rem;
}

.footer-nav a:hover,
.footer-grid a:hover {
  color: var(--teal);
}

.footer-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .service-grid,
  .eligibility-grid,
  .team-grid,
  .support-grid,
  .resources-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 48px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: rgba(0, 51, 95, 0.98);
    border-radius: 20px;
    padding: 1rem 1rem 1.2rem;
    margin-top: 0.75rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 1rem;
  }

  .site-nav {
    padding: 1rem;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }

  .button,
  .nav-toggle {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .hero-highlights div {
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
