:root {
  --ink: #172033;
  --muted: #667085;
  --line: #dbe3ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #164b7a;
  --blue-2: #2368a2;
  --green: #2f7d5c;
  --gold: #c48a2c;
  --yellow: #FFD700;
  --crimson: #FF5F1F;
  --shadow: 0 18px 45px rgba(22, 75, 122, 0.12);
  --radius: 8px;
  --site-max-width: 1520px;
  --site-gutter: 20px;
  --site-mobile-gutter: 24px;

  /* Hero background controls */
  --hero-bg-x: 68%;
  --hero-bg-y: 42%;
  --hero-min-height: calc(100vh - 76px);
  --hero-overlay-start: rgba(8, 20, 35, 0.84);
  --hero-overlay-end: rgba(8, 20, 35, 0.22);
  --hero-title-size: clamp(2.05rem, 4.4vw, 4.65rem);
  --hero-copy-width: 760px;
  --hero-copy-offset-x: 0px;
  --hero-copy-offset-y: 10px;
  --hero-title-offset-x: 0px;
  --hero-title-offset-y: 0px;
  --hero-eyebrow-size: 1.4rem;
  --hero-eyebrow-offset-x: 0px;
  --hero-eyebrow-offset-y: 0px;
  --hero-subheading-size: clamp(1.5rem, 2.5vw, 5rem);
  --hero-subheading-offset-x: 0px;
  --hero-subheading-offset-y: 0px;
  --hero-subheading-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--site-max-width), calc(100% - var(--site-gutter)));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 236, 0.85);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 75, 122, 0.2);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #344054;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: #eef6fc;
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--blue);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: 82px 0;
}

.hero {
  position: relative;
  min-height: var(--hero-min-height);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, var(--hero-overlay-start) 0%, rgba(8, 20, 35, 0.74) 34%, var(--hero-overlay-end) 74%),
    url("../images/hero-placeholder.jpg");
  background-position: var(--hero-bg-x) var(--hero-bg-y);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(8, 20, 35, 0), rgba(8, 20, 35, 0.5));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: start;
  padding-top: 52px;
  padding-bottom: 52px;
  text-align: left;
}

.hero-copy {
  width: min(100%, var(--hero-copy-width));
  position: relative;
  left: var(--hero-copy-offset-x);
  top: var(--hero-copy-offset-y);
}

.hero .eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  left: var(--hero-eyebrow-offset-x);
  top: var(--hero-eyebrow-offset-y);
  font-family: "Oswald", "Inter", sans-serif;
  font-size: var(--hero-eyebrow-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  
  /* Text shine effect */
  color: transparent;
  background: linear-gradient(
    110deg,
    var(--crimson) 35%,
    #ffffff 50%,
    var(--crimson) 65%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: text-shine 4s infinite linear;
}

@keyframes text-shine {
  0% {
    background-position: 100% center;
  }

  100% {
    background-position: -150% center;
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: var(--hero-eyebrow-size);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  margin-bottom: 20px;
  max-width: 720px;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.03;
}

.hero-title {
  display: block;
  position: relative;
  left: var(--hero-title-offset-x);
  top: var(--hero-title-offset-y);
  max-width: var(--hero-copy-width);
  margin-right: 0;
  margin-left: 0;
  font-size: var(--hero-title-size);
  line-height: 1.01;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.36);
}

.hero-title-line {
  display: block;
  white-space: normal;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-subtitle,
.lead,
.page-hero p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 28px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
}

.hero-subheading {
  position: relative;
  left: var(--hero-subheading-offset-x);
  top: var(--hero-subheading-offset-y);
  max-width: 760px;
  margin: 18px 0 30px;
  color: var(--crimson);
  font-family: "Oswald", "Inter", sans-serif;
  font-size: min(var(--hero-subheading-size), 5vw);
  font-weight: var(--hero-subheading-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.hero-quote {
  max-width: 640px;
  margin: 0 0 32px 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--crimson);
  color: var(--yellow);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(22, 75, 122, 0.22);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
}

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.rounded-media {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-band {
  background: var(--blue);
  color: #fff;
}

.intro-band .eyebrow,
.intro-band .lead {
  color: #d8efe7;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-grid,
.service-grid,
.value-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.program-card,
.testimonial,
.value-card,
.service-card,
.contact-panel,
.contact-form,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.feature-card,
.program-card,
.value-card,
.service-card {
  padding: 24px;
}

.feature-card p,
.program-card p,
.value-card p,
.service-card p,
.course-row p,
.timeline-item p,
.testimonial blockquote,
.contact-panel li,
.form-note {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
  background: var(--green);
  border-radius: var(--radius);
}

.soft-section {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 50px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.mission-list {
  display: grid;
  gap: 14px;
}

.mission-list div,
.timeline-item,
.course-row {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mission-list strong,
.mission-list span {
  display: block;
}

.mission-list span {
  color: var(--muted);
}

.program-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.program-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.testimonial-section {
  background: linear-gradient(180deg, #fff, #f4f8f6);
}

.testimonial {
  margin: 0;
  padding: 26px;
}

.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--soft);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
}

.testimonial-author-title {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.image-grid,
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-grid img,
.gallery-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.image-grid img,
.gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 512 / 341;
}

.gallery-tile {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.gallery-tile figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.section-action {
  justify-content: center;
  margin-top: 28px;
}

.contact-band {
  padding-top: 0;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #143b55 58%, var(--green));
  border-radius: var(--radius);
}

.contact-cta p {
  max-width: 690px;
  color: #d7e8f4;
}

.contact-cta .button.primary {
  color: var(--blue);
  background: #fff;
}

.page-hero {
  padding: 96px 0 72px;
  background: linear-gradient(135deg, #f5f8fb, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
}

.timeline,
.course-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item span,
.course-row span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(23, 32, 51, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
  border-color: var(--gold) !important;
}

.course-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: rgba(196, 138, 44, 0.1);
  border-radius: 14px;
}

.course-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.course-row h3 {
  margin: 0 0 8px 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.course-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

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

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.site-footer {
  padding: 54px 0 20px;
  color: #d7e8f4;
  background: #111d2b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, 0.7fr));
  gap: 34px;
}

.footer-brand {
  color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer small {
  color: #b7c6d4;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  margin-top: 36px;
  color: #b7c6d4;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.compact-footer {
  padding-top: 24px;
}

.compact-footer .footer-bottom {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {

  .intro-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .feature-grid,
  .service-grid,
  .program-strip,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .container,
  .narrow {
    width: min(100% - var(--site-mobile-gutter), 1120px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(8, 20, 35, 0.74), rgba(8, 20, 35, 0.5)),
      url("../images/hero-placeholder.jpg");
    background-position: var(--hero-bg-x) var(--hero-bg-y);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-content {
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    width: min(100%, 760px);
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-title {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.9rem, 7.5vw, 3.8rem);
  }

  .hero-subheading {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-quote {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--crimson);
    padding-top: 16px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-stats,
  .feature-grid,
  .service-grid,
  .program-strip,
  .testimonial-grid,
  .value-grid,
  .image-grid,
  .gallery-page-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.38rem, 7.2vw, 2.05rem);
  }

  .hero .eyebrow {
    min-height: auto;
    padding: 8px 10px;
    font-size: var(--hero-eyebrow-size);
  }

  .course-row {
    grid-template-columns: 1fr;
  }
}