:root {
  --green: #064b3b;
  --green-2: #08704f;
  --green-deep: #04362b;
  --gold: #f4b51b;
  --gold-deep: #c48a08;
  --ink: #163128;
  --muted: #5d6e66;
  --line: #d5e2d8;
  --mist: #f3f7f2;
  --white: #ffffff;
  --danger: #8d2b2b;
  --shadow: 0 18px 40px rgba(6, 75, 59, 0.08);
  --radius: 18px;
  --max: 1120px;
}

@font-face {
  font-family: Pyidaungsu;
  src: url("../fonts/Pyidaungsu-Regular.ttf") format("truetype");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Pyidaungsu;
  src: url("../fonts/Pyidaungsu-Bold.ttf") format("truetype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, Pyidaungsu, "Myanmar Text", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-block;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 46rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--green); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a[aria-current="page"] { color: var(--green-2); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; margin-left: auto; font-weight: 800; color: var(--green); cursor: pointer; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  background: var(--gold);
  color: var(--green-deep);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn.green { background: var(--green); color: white; }
.btn.outline {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.btn.outline-green {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn.small { padding: 0.45rem 0.8rem; font-size: 0.86rem; }

.hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 181, 27, 0.22), transparent 28%),
    linear-gradient(160deg, var(--green-deep), var(--green) 55%, var(--green-2));
  color: white;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 78px;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 12ch; margin: 14px 0 18px; }
.hero .lede { color: rgba(255, 255, 255, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.journey {
  background: var(--mist);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.journey h2 { font-size: 1.35rem; margin-bottom: 16px; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.journey li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.journey em {
  font-style: normal;
  font-weight: 800;
  color: var(--green);
  background: white;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
}

.band { padding: 72px 0; }
.band.mist { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -34px;
  position: relative;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.stat strong { display: block; color: var(--green); font-size: 1.05rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.card-grid, .format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .format, .step, .pathway {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; text-decoration: none; color: inherit; transition: transform 0.15s ease, border-color 0.15s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--green-2); }
.tag {
  display: inline-flex;
  align-self: flex-start;
  background: #e7f3ec;
  color: var(--green);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}
.card h3, .pathway h3, .step h3, .format h3 { font-size: 1.15rem; }
.card p, .pathway p, .format p, .step p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 800; color: var(--green-2); }

.pathway { position: relative; overflow: hidden; }
.pathway .meta { color: var(--green); font-weight: 800; font-size: 0.86rem; }
.offer {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 18px;
  align-items: center;
  background: var(--green);
  color: white;
  border-radius: 24px;
  padding: 26px 28px;
}
.offer p { color: rgba(255, 255, 255, 0.86); margin-top: 6px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.category-link strong { display: block; font-size: 1.12rem; margin-bottom: 8px; }
.category-link span { color: var(--green-2); font-weight: 800; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.why-panel {
  background: var(--green);
  color: white;
  border-radius: 28px;
  padding: 36px;
}
.why-panel .kicker { color: var(--gold); }
.why-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 14px; }
.why-panel p { color: rgba(255, 255, 255, 0.86); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step em { font-style: normal; color: var(--gold-deep); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }

.faq { display: grid; gap: 10px; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--green); }
.faq p { color: var(--muted); margin-top: 8px; }

.cta {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background: var(--mist);
  border-radius: 28px;
  padding: 36px;
}
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.audience div { background: white; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); }
.audience strong { display: block; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.filters a, .filters span {
  text-decoration: none;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 700;
  font-size: 0.88rem;
  background: white;
}
.filters a.active, .filters span.active { background: var(--green); color: white; border-color: var(--green); }
.search { display: flex; gap: 8px; }
.search input, .form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--green); }
.form .optional { font-weight: 600; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: var(--danger); font-size: 0.86rem; font-weight: 700; }
.alert { background: #e7f6ee; color: var(--green); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.hp { position: absolute; left: -9999px; }

.page-hero { padding: 48px 0 10px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 16ch; margin: 8px 0 12px; }
.catalog { display: grid; gap: 34px; }
.catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 14px; }
.breadcrumb { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.breadcrumb a { color: var(--green); font-weight: 700; text-decoration: none; }
.course-layout, .contact-layout, .about-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start; }
.panel { background: var(--mist); border-radius: 24px; padding: 22px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 8px; }
.note { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vision article { background: var(--green); color: white; border-radius: 24px; padding: 26px; }
.vision article:last-child { background: white; color: var(--ink); border: 1px solid var(--line); }
.vision p { margin-top: 10px; }
.certificate { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: 28px; align-items: start; }
.certificate h2 { margin: 8px 0 14px; }
.certificate img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.certificate .detail-list a { font-weight: 700; }

.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.82); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: white; text-decoration: none; display: block; margin-top: 8px; }
.site-footer p.address { margin: 12px 0 0; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); }

.adminbar { background: var(--green-deep); color: white; }
.adminbar .wrap { display: flex; gap: 16px; align-items: center; min-height: 42px; font-size: 0.9rem; }
.adminbar a, .adminbar button { color: white; background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.status { font-weight: 800; text-transform: capitalize; }
.status.new { color: var(--gold-deep); }
.status.reviewed { color: var(--green-2); }
.status.closed { color: var(--muted); }
.login-card { max-width: 440px; margin: 48px auto 72px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.detail-list { display: grid; gap: 10px; margin: 18px 0; }
.detail-list div { display: grid; grid-template-columns: 160px 1fr; gap: 10px; }
.detail-list dt { font-weight: 800; color: var(--green); }
.message { white-space: pre-wrap; background: white; border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.pager { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.pager a { font-weight: 800; }
.pager-disabled { color: var(--muted); }
.lang { display: inline-flex; gap: 6px; align-items: center; }
.lang a { border-radius: 999px; padding: 4px 8px; }
.lang a[aria-current="true"] { background: var(--green); color: white; }
.price-line { margin-top: 14px; color: var(--green); font-size: 1.05rem; }
.prose p { margin: 0 0 1rem; max-width: 68ch; }
.form label.check { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.check input { width: auto; }
html[lang="my"] body { line-height: 1.75; }
html[lang="my"] h1,
html[lang="my"] h2,
html[lang="my"] h3,
html[lang="my"] h4 { letter-spacing: 0; line-height: 1.45; }

@media (max-width: 900px) {
  .hero-grid, .split, .cta, .course-layout, .contact-layout, .about-grid, .offer, .footer-grid, .vision, .certificate { grid-template-columns: 1fr; }
  .stats, .card-grid, .format-grid, .category-grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav-burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .two, .detail-list div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats, .card-grid, .format-grid, .category-grid, .steps, .audience { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-bottom: 20px; }
  .hero-grid { padding-top: 36px; }
}
