@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Golos+Text:wght@400;600;700&display=swap");

:root {
  --bg: #ecf8f8;
  --surface: #f8ffff;
  --ink: #1f2d35;
  --navy: #102a43;
  --navy-strong: #0b1f33;
  --muted: #556b79;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.site-header {
  width: 100%;
  padding: 0.4rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, white 10%);
  border-bottom: 1px solid #d9ecec;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-button {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-1px);
}

.home-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.pyramid {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.pyramid-row {
  display: flex;
  gap: 3px;
}

.block {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--navy);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dropdown {
  position: relative;
}

.nav-button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.nav-button--donate {
  background: #4cc9a4;
  color: #ffffff;
}

.nav-button--donate:hover,
.nav-button--donate:focus-visible {
  background: #39b794;
}

.nav-button:not(.nav-button--donate):hover,
.nav-button:not(.nav-button--donate):focus-visible,
.dropdown:hover > .nav-button:not(.nav-button--donate),
.dropdown:focus-within > .nav-button:not(.nav-button--donate) {
  background: var(--navy-strong);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid #d9ecec;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.16);
  padding: 0.35rem;
  display: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: #e8f6f8;
}

.main {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-page .main {
  max-width: none;
  margin: 0;
}

.main h1,
.main h2,
.main h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
}

.main p {
  font-family: "Golos Text", "Segoe UI", sans-serif;
}

.landing-hero {
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.2rem 4rem;
}

.landing-page .landing-hero {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5.4vw, 3.6rem);
}

.stem-highlight {
  color: #fe585a;
}

.landing-hero p {
  margin: 1rem auto 0;
  max-width: 780px;
  color: #415562;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
}

.feature-band {
  margin-top: 0;
  color: #f8fbff;
  padding: clamp(3.5rem, 8vw, 6rem) 1.2rem;
  min-height: 100vh;
  background: var(--navy);
}

.feature-band h2 {
  margin: 0 auto 3.2rem;
  font-size: clamp(2rem, 4.3vw, 3rem);
  text-align: center;
  white-space: nowrap;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(6, 18, 30, 0.25);
}

.feature-card {
  text-align: center;
  padding: 2.6rem 2.1rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.feature-card--teal {
  background: #4cc9a4;
}

.feature-card--red {
  background: #e75260;
}

.feature-card--blue {
  background: #5485e5;
}

.feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(145deg, #f1f7ff 0%, #d8e7fb 48%, #bdd4f5 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  margin: 0;
  letter-spacing: 0.02em;
  font-size: 1.9rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

.image-band {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 3.5rem) 1.2rem 2rem;
  background-image: linear-gradient(rgba(10, 20, 32, 0.38), rgba(10, 20, 32, 0.38)),
    url("images/children-learning.jpg");
  background-size: cover;
  background-position: center;
}

.image-band-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.image-band-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.about-page .main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-page-title {
  max-width: 980px;
  margin: 3rem auto 1.5rem;
  padding: 0 1.2rem;
  text-align: center;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--navy);
}

.about-intro {
  background-image: url("images/Howsystemrunsband.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f8fbff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.about-intro-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.2rem;
  text-align: center;
}

.about-content {
  max-width: 980px;
  margin: 3rem auto 2rem;
  padding: 0 1.2rem;
}


.about-title {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.about-copy {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  text-align: center;
}

.team-dropdown {
  background: var(--surface);
  border: 1px solid #d9ecec;
  border-radius: 14px;
  padding: 0.75rem 1rem 1rem;
  margin-bottom: 1rem;
}

.team-dropdown summary {
  list-style: none;
  cursor: pointer;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--navy);
  text-align: center;
}

.team-dropdown summary::-webkit-details-marker {
  display: none;
}

.team-dropdown summary::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.4rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23556b79' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.55em 0.55em;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.team-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.95rem;
}

.directors-grid {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

.profile-card {
  text-align: center;
}

.profile-image {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #d5e8ef;
  background: #f0f8fb;
}

.profile-name {
  margin: 0.65rem 0 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.course-page .main {
  max-width: 1020px;
  margin: 2.5rem auto 2.5rem;
  padding: 0 1.2rem;
}

.course-page-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.course-page-subtitle {
  margin: -1.2rem auto 2.2rem;
  text-align: center;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.course-list {
  display: grid;
  gap: 1.4rem;
}

.course-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: #f7ffff;
  border: 1px solid #d6e9ee;
  border-radius: 14px;
  padding: 0.85rem;
}

.course-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #c9dfe8;
}

.course-copy h2 {
  margin: 0 0 0.12rem;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

.course-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.course-semester {
  margin: 0 0 1.15rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.enroll-button {
  margin-top: 0.8rem;
  display: inline-block;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
}

.enroll-button:hover,
.enroll-button:focus-visible {
  background: var(--navy-strong);
}

.coming-soon {
  text-align: center;
  margin-top: 6rem;
}

.coming-soon h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.coming-soon p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

@media (max-width: 840px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .image-band-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-header {
    padding: 0.35rem 0.75rem;
  }

  .nav-button {
    padding: 0.52rem 0.82rem;
    font-size: 0.9rem;
  }
}

.contact-band {
  background: var(--bg);
  padding: 2.5rem 1.2rem;
  text-align: center;
  color: var(--navy);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
}

.contact-band p {
  margin: 0;
}

.contact-label {
  font-weight: 500;
  color: var(--navy);
}

.contact-email {
  font-weight: 400;
  color: #2f6fe5;
}


.about-mission {
  max-width: 880px;
  margin: 0 auto 3rem;
  padding: 0 1.2rem;
  text-align: center;
  color: #415562;
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  line-height: 1.6;
}

.title-navy {
  color: var(--navy);
}

.mission-highlight {
  font-weight: 600;
}

.mission-highlight--red {
  color: #e75260;
}

.mission-highlight--teal {
  color: #4cc9a4;
}

.mission-highlight--blue {
  color: #5485e5;
}



.hero-band {
  background-color: var(--bg);
  background-image: url("images/Homepersonband.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: clamp(14rem, 45vh, 24rem);
}
