:root {
  --navy-darkest: #1e3152;
  --navy-mid: #2b446d;
  --navy-light: #3f557a;
  --cream: #dfd9cd;
  --cream-alt: #e0e0db;
  --mauve: #b98cc4;
  --white: #ffffff;
  --text-dark: #1e3152;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'EB Garamond', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.btn {
  display: inline-block;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header {
  background: var(--navy-darkest);
  color: var(--white);
  padding: 1.5rem 2rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  max-height: 90px;
  width: auto;
}

.student-login {
  position: absolute;
  right: 0;
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: 0.7em 1.5em;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  position: absolute;
  left: 0;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5em;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.main-nav a {
  font-weight: 500;
  font-size: 1.05rem;
}

.main-nav a:hover {
  opacity: 0.8;
}

.hero {
  background: var(--cream);
  text-align: center;
  padding: 3rem 1.5rem 4rem;
}

.hero h1 {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.hero-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.about {
  background: var(--navy-light);
  padding: 3.5rem 1.5rem;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.about-media {
  flex: 0 0 260px;
  background: var(--white);
  padding: 1rem;
  position: relative;
}

.about-media img:first-child {
  width: 100%;
}

.play-btn {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-darkest);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-btn img {
  width: 14px;
}

.about-text {
  flex: 1;
  color: var(--white);
  font-size: 1.1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.testimonials {
  background: var(--cream-alt);
  padding: 3.5rem 1.5rem;
}

.carousel {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem;
  min-width: 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: var(--white);
  flex: 0 0 clamp(260px, 24vw, 320px);
  padding: 2.5rem 1.8rem;
  text-align: center;
}

.quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-darkest);
  color: var(--white);
  font-size: 2.6rem;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.quote-text {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.quote-author {
  color: var(--mauve);
  font-weight: 500;
  margin: 0;
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--navy-light);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: var(--navy-mid);
}

.process {
  background: var(--navy-mid);
  padding: 3.5rem 1.5rem 0;
}

.process-graphic {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.process-buttons {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0 3rem;
}

.contact-split {
  border-top: 2px solid var(--cream-alt);
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  padding: 3.5rem 0 4rem;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1 1 480px;
  color: var(--white);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.req {
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.9em;
}

.field-note {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.field-label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.name-fields {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.name-fields > div {
  flex: 1 1 200px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.9em 1.3em;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-dark);
}

textarea {
  border-radius: 22px;
  resize: vertical;
}

.contact-form button {
  margin-top: 1.6rem;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.contact-copy {
  flex: 1 1 380px;
  color: var(--white);
}

.contact-copy h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-copy p {
  font-size: 1.05rem;
}

.subscribe-connect {
  background: var(--navy-darkest);
  padding: 4rem 1.5rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--white);
}

.subscribe,
.connect {
  flex: 1 1 420px;
  max-width: 560px;
}

.subscribe {
  text-align: center;
}

.subscribe h2,
.connect h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 360px;
  margin: 1.5rem auto 1rem;
}

.subscribe-form input::placeholder {
  color: #8a93a6;
}

.subscribe-form button {
  align-self: flex-start;
  margin: 0.4rem auto 0;
}

.privacy-note {
  font-size: 0.85rem;
  opacity: 0.85;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.social-icons a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-darkest);
}

.map-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0db;
  height: 220px;
  border-radius: 4px;
}

.map-pin {
  font-size: 2.2rem;
  filter: hue-rotate(0deg);
}

.location-name {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin: 1.2rem 0 0.6rem;
}

.location-address {
  text-align: center;
  margin-bottom: 1.6rem;
}

.connect .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.site-footer {
  background: var(--navy-mid);
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-logo {
  flex: 0 0 220px;
  text-align: center;
}

.footer-logo img {
  background: var(--white);
  padding: 0.6rem;
  margin: 0 auto 0.8rem;
  width: 180px;
}

.footer-accreditation {
  flex: 1 1 480px;
}

.footer-accreditation img {
  background: var(--white);
  padding: 0.8rem 1.2rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 320px;
}

.footer-accreditation p {
  margin: 0;
}

.photo-credit {
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 3rem 0 0;
}

@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-media {
    flex: 0 0 auto;
    width: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1.2rem 1rem 0;
  }

  .header-inner {
    justify-content: center;
    padding: 0 3rem;
  }

  .logo img {
    max-height: 52px;
  }

  .nav-toggle {
    display: flex;
    left: 1rem;
  }

  .student-login {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .contact-split {
    gap: 2rem;
  }

  .subscribe-connect {
    gap: 2.5rem;
  }
}
