/* Paragon Education */
:root {
  --cream: #F3EDE1;
  --cream-soft: #F9F5EB;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --ink: #241B16;
  --body-c: #57493E;
  --muted: #6E635A;
  --faint: #9C8F82;
  --maroon: #A6302A;
  --maroon-deep: #7E1F18;
  --gold: #C9A25C;
  --line: #DDD3BE;
  --line-soft: #E8E0CE;
  --espresso: #241B18;
  --espresso-text: #C4B8A3;
  --on-maroon: #FFF6E8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', 'Avenir Next', Helvetica, sans-serif;
  --mm: 'Walone', 'Noto Sans Myanmar', 'Myanmar Text', sans-serif;
}

@font-face {
  font-family: 'Walone';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/walone-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Walone';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/walone-700.woff2') format('woff2');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="my"] body { font-family: var(--mm); line-height: 2; }
html[lang="en"] body { line-height: 1.7; }

/* ဘာသာစကား ခလုတ်ကြောင့် html[lang] ပြောင်းသွားသော်လည်း၊ lang="my" တပ်ထားသည့်
   အပိုင်း (ဥပမာ မြန်မာလို ရေးထားသော ဆောင်းပါး) က Walone ဖြင့်သာ ဆက်ပေါ်ရမည်။ */
[lang="my"] { font-family: var(--mm); line-height: 2; }
[lang="en"] { font-family: var(--sans); line-height: 1.7; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ───── header ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-badge img { width: 28px; height: auto; }
.brand-name { display: flex; align-items: baseline; gap: 8px; font-family: var(--sans); }
.brand-name b { font-size: 16px; font-weight: 700; letter-spacing: 2px; color: var(--maroon); }
.brand-name span { font-size: 12px; letter-spacing: 2px; font-weight: 600; color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; color: #4A4038; }
.main-nav a { white-space: nowrap; }
.main-nav a:hover { color: var(--maroon); }
.main-nav .active { color: var(--maroon); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; font-size: 12.5px; font-weight: 700; font-family: var(--sans);
}
.lang-switch a { padding: 7px 12px; color: var(--muted); white-space: nowrap; }
.lang-switch .active { background: var(--espresso); color: var(--cream); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; border-radius: 6px; cursor: pointer; border: 0;
}
.btn-maroon { background: var(--maroon); color: var(--on-maroon); }
.btn-maroon:hover { background: var(--maroon-deep); }
.btn-outline {
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
}
.btn-outline:hover { background: rgba(36,27,22,0.05); }
.btn-pill { font-size: 13.5px; padding: 10px 18px; }
.btn-lg { font-size: 15px; padding: 14px 26px; }
.btn-light { background: var(--paper); color: var(--maroon-deep); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { border: 1.5px solid rgba(255,246,232,0.75); color: var(--on-maroon); background: transparent; }
.btn-outline-light:hover { background: rgba(255,246,232,0.08); }

.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-btn span { width: 18px; height: 2px; background: var(--ink); }

/* ───── hero ───── */
.hero { background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.hero-inner {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 56px; align-items: center; padding: 64px 0 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-size: 38px; font-weight: 700; color: var(--ink); }
html[lang="my"] .hero-title { line-height: 1.75; }
html[lang="en"] .hero-title { font-family: var(--serif); font-size: 44px; line-height: 1.3; }
.hero-title .hl { font-family: var(--serif); color: var(--maroon); }
.hero-title .hl-underline { border-bottom: 3px solid var(--gold); padding-bottom: 2px; }
.hero-sub { font-size: 16px; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-creds { font-size: 14px; font-weight: 700; color: var(--body-c); }

.hero-photo img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.hero-photo figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); font-family: var(--sans); }

/* ───── stats ───── */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 26px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat b { font-size: 26px; font-weight: 700; color: var(--maroon); font-family: var(--sans); }
.stat span { font-size: 13px; color: var(--muted); }

/* ───── sections ───── */
.section { padding: 64px 0; }
.section-soft { background: var(--cream-soft); border-bottom: 1px solid var(--line-soft); }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-title { font-size: 26px; font-weight: 700; color: var(--ink); }
.section-sub { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* journey */
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 6px; padding: 24px 22px;
}
.step-num { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--maroon); margin-bottom: 10px; }
.step-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* courses */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: 6px;
}
.course-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; flex-grow: 1; }
.course-level { font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--maroon); }
.course-card h3 { font-size: 19px; color: var(--ink); }
.course-desc { font-size: 13.5px; color: var(--muted); }
.course-meta { border-top: 1px solid var(--line-soft); padding-top: 14px; font-size: 13px; color: var(--body-c); }
.course-meta div { padding: 3px 0; }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; border-top: 1px solid var(--line-soft); padding-top: 15px; gap: 10px; }
.price small { display: block; font-size: 11.5px; color: var(--faint); }
.price b { font-size: 17px; color: var(--ink); font-family: var(--sans); }
.course-link { font-size: 13.5px; font-weight: 700; color: var(--maroon); }
.course-link:hover { color: var(--maroon-deep); }

.course-featured { background: var(--maroon); border: 0; }
.course-featured .course-level { color: var(--on-maroon); }
.course-featured h3 { color: var(--on-maroon); }
.course-featured .course-desc { color: #F2D9C8; }
.course-featured .course-meta { color: #F7E8D9; border-top-color: rgba(255,246,232,0.25); }
.course-featured .course-foot { border-top-color: rgba(255,246,232,0.25); }
.course-featured .price small { color: #E4B9A9; }
.course-featured .price b { color: var(--on-maroon); }

.course-note { margin-top: 32px; font-size: 14px; color: var(--body-c); text-align: center; }
.course-note b { color: var(--maroon); }

/* results */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.result-tile {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 26px 18px; text-align: center;
}
.result-band { font-family: var(--sans); }
.result-band small { font-size: 12px; font-weight: 600; color: var(--faint); margin-right: 5px; }
.result-band b { font-size: 32px; font-weight: 700; color: var(--maroon); }
.result-name { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.result-dest { font-size: 12px; color: var(--faint); margin-top: 3px; }
.result-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 6px; padding: 26px 18px;
  text-align: center; font-weight: 700; color: var(--ink); font-size: 14px;
}
.testimonial { max-width: 680px; margin: 40px auto 0; text-align: center; }
.testimonial blockquote { font-size: 15px; color: var(--body-c); }
.testimonial cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 700; color: var(--maroon); }

/* about */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 52px; align-items: center; }
.about-photo img { border: 1px solid var(--line); border-radius: 6px; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy .lede { font-size: 14.5px; color: var(--body-c); }
.cred-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cred-list li { list-style: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 9px; }
.text-link { font-size: 14px; font-weight: 700; color: var(--maroon); }
.text-link:hover { color: var(--maroon-deep); }

/* resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: 6px; padding: 22px; }
.res-cat { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--maroon); margin-bottom: 8px; }
.res-card h3 { font-size: 15.5px; color: var(--ink); }
.res-type { font-size: 12px; color: var(--faint); margin-top: 8px; }
.pdf-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--espresso); border-radius: 6px; padding: 28px 32px; margin-top: 30px;
}
.pdf-banner h3 { font-size: 16px; color: #F5EFE2; }
.pdf-banner p { font-size: 13px; color: var(--espresso-text); margin-top: 5px; }
.pdf-banner .btn { flex-shrink: 0; }

/* final CTA */
.final-cta { background: var(--maroon); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 54px 0; flex-wrap: wrap; }
.final-inner h2 { font-size: 24px; color: var(--on-maroon); }
.final-inner p { font-size: 14px; color: #F2D9C8; margin-top: 8px; max-width: 560px; }
.final-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: var(--espresso); color: var(--espresso-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 44px; padding: 50px 0 34px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand-badge { border: 0; }
.footer-brand .brand-name b { color: #D99C93; }
.footer-brand .brand-name span { color: var(--espresso-text); }
.footer-brand p { font-size: 13px; color: #A79A88; }
.footer-col h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; color: #F5EFE2; margin-bottom: 13px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-col a:hover { color: #F5EFE2; }
.footer-bottom {
  border-top: 1px solid rgba(196,184,163,0.25); padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: #8A7D6C; flex-wrap: wrap;
}

/* floating messenger */
.float-msgr {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--maroon-deep);
}
.float-msgr:hover { background: var(--maroon-deep); }

/* ───── responsive ───── */
@media (max-width: 1250px) {
  .main-nav { display: none; }
  .nav-toggle-btn { display: flex; }
  .nav-toggle:checked ~ .mobile-nav { display: flex; }
  .hero-inner { grid-template-columns: 1fr 340px; }
}
.mobile-nav {
  display: none; flex-direction: column; padding: 4px 0 14px;
  font-size: 15px; font-weight: 700; color: #4A4038;
}
.mobile-nav a { padding: 10px 4px; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 860px) {
  .style-switch { display: none; }
  .header-actions .btn { display: none; }
  .header-actions.keep .btn { display: inline-flex; font-size: 12.5px; padding: 9px 14px; }
  .container { padding: 0 18px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .brand { gap: 9px; }
  .brand-name b { font-size: 14px; letter-spacing: 2px; }
  .lang-switch { font-size: 11.5px; }
  .lang-switch a { padding: 6px 10px; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0 52px; gap: 32px; }
  .hero-photo { order: 2; max-width: 340px; }
  .hero-title { font-size: 26px; }
  html[lang="en"] .hero-title { font-size: 29px; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .journey-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-cta { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 300px; }
  .cred-list { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .pdf-banner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .final-inner { flex-direction: column; align-items: flex-start; }
  .final-btns { width: 100%; flex-direction: column; }
  .final-btns .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: flex-start; }
  .section { padding: 48px 0; }
  .brand-name span { display: none; }
}
