/* Base colors picked to match the screenshot */
:root {
  --bg: #0f1c34;
  --bg-2: #0d1a30;
  --panel: #0f223f;
  --text: #ced6ff;
  --text-strong: #ffffff;
  --brand: #3b5bf9;
  --brand-2: #2b48e8;
  --muted: #8ea3ff;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text);
  background: radial-gradient(1200px 700px at 70% 30%, #2f43c4 0%, #142043 40%, var(--bg) 70%) fixed;
  background-color: var(--bg);
}
body.is-burmese {
  font-family: "Noto Sans Myanmar", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(15,28,52,0.9) 0%, rgba(15,28,52,0.7) 100%);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: visible;
}
.site-header.scrolled {
  background: #0f1c34;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.nav__left,
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__left {
  justify-self: start;
}

.nav__right {
  justify-self: end;
}

.nav__logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  height: 22px;
  display: block;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
}
.icon--chev {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  display: block;
  filter: drop-shadow(0 0 0 transparent);
  transition: transform 160ms ease;
}

.courses-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  color: var(--text-strong);
  background: transparent;
  border: none;
  padding: 4px 6px;
  border-radius: 12px;
  font-family: "Whitemont", "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
}
.courses-toggle:hover,
.courses-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.06);
}
.courses-toggle[aria-expanded="true"] .icon--chev {
  transform: rotate(180deg);
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-strong);
  padding: 4px;
  border-radius: 12px;
  cursor: pointer;
}
.icon-btn:hover {
  background: rgba(255,255,255,0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn--primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 91, 249, 0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(59, 91, 249, 0.45);
}

.sign-in img {
  height: 34px;
  display: block;
}
.sign-in {
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Courses dropdown panel */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  background: #0b1830;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px var(--shadow);
  border-radius: 14px;
  padding: 10px;
  min-width: 300px;
  display: none;
  z-index: 100;
}
.menu.open {
  display: grid;
}
.menu__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.menu__item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-strong);
}
.menu .arrow {
  color: var(--muted);
  font-size: 18px;
}

/* Menu is positioned by JS so it doesn't affect navbar height */

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
}

.hero__title {
  margin: 0 0 14px;
  line-height: 0.95;
  font-weight: 500;
  font-size: clamp(64px, 9vw, 180px);
  color: #4a66ff;
}
.hero__title .dot {
  color: #4770ff;
}
.hero__subtitle {
  margin: 16px 0 26px;
  font-size: clamp(16px, 1.5vw, 22px);
  color: #cdd6ff;
  max-width: 620px;
}
.hero__cta {
  width: fit-content;
}

.hero__art {
  margin: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}
.hero__art img {
  width: min(640px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  filter: none;
}

/* COURSES */
.courses {
  background: #ffffff;
  color: #25345a;
  padding: 72px 20px 90px;
}
.courses__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.courses__title {
  margin: 0 0 36px;
  text-align: center;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 62px);
  color: #3a4f8f;
}
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.course-card {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.course-card__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #334b83;
}
.course-card__text {
  margin: 0;
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.6;
  color: #3e4f7a;
}
.course-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  background: #3d5bf4;
  color: #fff;
  box-shadow: 0 10px 24px rgba(61, 91, 244, 0.25);
}
.course-card__btn:hover {
  transform: translateY(-1px);
}

/* APPROACH */
.approach {
  background: #ffffff;
  color: #2d3d67;
  padding: 70px 20px 40px;
}
.approach__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.approach__title {
  margin: 0 0 18px;
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 58px);
  color: #3a4f8f;
}
.approach__text {
  margin: 0;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.7;
  color: #3f4f79;
}

/* COMMUNITY */
.community {
  background: #ffffff;
  color: #2d3d67;
  padding: 30px 20px 70px;
}
.community__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 30px;
}
.community__art {
  display: flex;
  justify-content: center;
}
.community__art img {
  width: min(420px, 100%);
  height: auto;
  display: block;
}
.community__title {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  color: #3a4f8f;
}
.community__text {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.6;
  color: #3f4f79;
}
.community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  background: #3d5bf4;
  color: #fff;
  box-shadow: 0 10px 24px rgba(61, 91, 244, 0.25);
}

/* FOOTER */
.site-footer {
  background: #111f3a;
  color: #8ba0da;
  padding: 26px 20px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.footer__logo {
  height: 26px;
  display: block;
}
.footer__line {
  height: 2px;
  background: rgba(90, 120, 220, 0.5);
  border-radius: 999px;
}
.footer__meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr 1fr;
  }
  .nav__logo {
    justify-self: start;
    order: -1;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
    gap: 22px;
  }
  .hero__art {
    order: -1;
  }
  .menu {
    min-width: 260px;
  }
  .courses__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .community__inner {
    grid-template-columns: 1fr;
  }
  .footer__meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 540px) {
  .btn {
    height: 42px;
    padding: 0 16px;
  }
  .nav {
    padding: 8px 12px;
  }
  .hero {
    padding: 40px 16px 64px;
  }
  .courses {
    padding: 56px 16px 70px;
  }
  .approach,
  .community {
    padding-left: 16px;
    padding-right: 16px;
  }
}

