/* ==========================================================================
   INFO HUB MYANMAR — Design Tokens
   Palette: deep indigo-navy (trust) + warm gold (achievement) + a disciplined
   crimson accent lifted straight from the company's own logo mark.
   Signature element: the "bridge arc" — two suns (Myanmar & Japan) joined by
   a rising arc — used in the hero and as a recurring section divider.
   ========================================================================== */
:root {
  --navy: #0B1F3A;
  --navy-2: #12294D;
  --navy-3: #0A1830;
  --gold: #C9A227;
  --gold-light: #E4C765;
  --crimson: #A61C1C;
  --paper: #F7F6F1;
  --paper-2: #EFEDE4;
  --ink: #1B1E24;
  --muted: #5B6472;
  --line: #E3E0D5;
  --white: #FFFFFF;

  --font-display: 'Zen Kaku Gothic New', 'Padauk', sans-serif;
  --font-body: 'Inter', 'Padauk', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Padauk', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, .12);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Myanmar text needs its own script rendering — Padauk is loaded as a
   fallback across every font stack above, so mixed mm/en/ja content still
   renders crisply without extra markup. */

h1,
h2,
h3,
h4,
h5,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--crimson);
  display: inline-block;
}

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

::selection {
  background: var(--gold-light);
  color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--navy-3);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  padding: .45rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.topbar-contact a {
  color: rgba(255, 255, 255, .78);
  margin-right: 1.25rem;
  transition: color .15s;
}

.topbar-contact a:hover {
  color: var(--gold-light);
}

.topbar-contact i {
  margin-right: .35rem;
  color: var(--gold);
}

.lang-switch {
  display: flex;
  gap: .35rem;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: all .15s;
}

.lang-pill:hover {
  border-color: var(--gold);
  color: var(--white);
}

.lang-pill.active {
  background: var(--gold);
  color: var(--navy-3);
  border-color: var(--gold);
}

.flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.flag-mm {
  background: linear-gradient(180deg, #FECB00 0 33%, #34B233 33% 66%, #EA2839 66% 100%);
}

.flag-gb {
  background:
    linear-gradient(45deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(#00247D, #00247D);
}

.flag-jp {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.flag-jp::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #BC002D;
}



/* ==========================================================================
   Navbar
   ========================================================================== */
.main-nav {
  background: var(--white);
  padding: .55rem 0;
  box-shadow: var(--shadow-sm);
  z-index: 1030;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-line1 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--crimson);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.brand-line2 {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--navy);
  font-weight: 600;
}

.main-nav .nav-link {
  font-weight: 600;
  color: var(--navy);
  padding: .55rem 1rem !important;
  font-size: .93rem;
  position: relative;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .3rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1);
}

.main-nav .nav-link.active {
  color: var(--crimson);
}

.btn-cta {
  background: var(--crimson);
  color: var(--white) !important;
  font-weight: 700;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  font-size: .88rem;
  box-shadow: 0 6px 16px rgba(166, 28, 28, .28);
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-cta:hover {
  background: #8A1717;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(166, 28, 28, .34);
  color: var(--white) !important;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .15s;
  border: 1px solid var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-3);
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .15s;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-3);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  padding: .68rem 1.55rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .15s;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==========================================================================
   Hero + signature "bridge arc" motif
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, #16305A 0%, var(--navy) 55%, var(--navy-3) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 6.5rem 0 8rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

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

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p.lead {
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  color: var(--gold-light);
}

.hero-stat span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
}

/* The bridge-arc SVG panel */
.bridge-panel {
  position: relative;
  z-index: 2;
}

.bridge-panel svg {
  width: 100%;
  height: auto;
}

.bridge-caption {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
}

/* Arc section divider used between sections site-wide */
.arc-divider {
  width: 100%;
  height: 60px;
  display: block;
  margin-top: -2px;
}

/* ==========================================================================
   Sections / layout
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin: .6rem 0 1rem;
}

.section-sub {
  color: var(--muted);
  max-width: 60ch;
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--white);
}

.bg-paper-2 {
  background: var(--paper-2);
}

/* Service / feature cards */
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  height: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.svc-card h3 {
  font-size: 1.12rem;
  margin-bottom: .55rem;
}

.svc-card p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 0;
}

/* Stacked sidebar cards (e.g. employer.php "Why Partner With Us"):
   split the available vertical space evenly so cards of different text
   lengths still render at the same height, and center their content. */
.side-cards {
  /* min-height: 100%; */
}

.side-cards .svc-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Number-tag mini index used only where order is real (process steps) */
.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  flex: 0 0 auto;
  width: 2.4rem;
}

.step h4 {
  font-size: 1.02rem;
  margin-bottom: .3rem;
}

.step p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

/* Country tabs (jobs page) */
.country-tabs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
  margin-bottom: 2rem;
}

.country-tab {
  padding: .6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  transition: all .15s;
}

.country-tab i {
  margin-right: .4rem;
  color: var(--gold);
}

.country-tab:hover {
  border-color: var(--gold);
}

.country-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.country-tab.active i {
  color: var(--gold-light);
}

.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: box-shadow .2s, border-color .2s;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.job-card h4 {
  font-size: 1.08rem;
  margin-bottom: .5rem;
}

.job-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted);
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.job-meta i {
  color: var(--crimson);
}

.job-badge {
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .03em;
}

/* Activities */
.activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.2rem;
}

.activity-filter {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
}

.activity-filter.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.activity-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 2rem;
  position: relative;
}

.activity-thumb::after {
  content: attr(data-tag);
  position: absolute;
  top: .7rem;
  left: .7rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: .25rem .6rem;
  border-radius: 999px;
  letter-spacing: .04em;
}

.activity-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.activity-date {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--crimson);
  font-weight: 600;
  letter-spacing: .04em;
}

.activity-body h4 {
  font-size: 1rem;
  margin: .5rem 0 .55rem;
  line-height: 1.4;
}

.activity-body p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}

/* Forms */
.form-panel {
  background: var(--white);
  border-radius: 18px;
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.form-label {
  font-weight: 600;
  color: var(--navy);
  font-size: .88rem;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  padding: .65rem .9rem;
  font-size: .93rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .18);
}

.form-section-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 600;
  margin: 1.6rem 0 .9rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

.form-panel .form-section-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.alert-success-soft {
  background: #EAF6EC;
  border: 1px solid #BFE3C4;
  color: #1F6B2C;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-weight: 600;
}

/* Page header (interior pages) */
.page-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 3.6rem 0 4.6rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.page-header .breadcrumb {
  --bs-breadcrumb-divider: '›';
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.page-header h1 {
  color: var(--white);
  margin: .5rem 0 0;
}

/* Quote / MD message */
.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
  opacity: .5;
}

.md-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .35);
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.md-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(228, 199, 101, .25), transparent 55%);
}

.md-signature {
  font-family: 'Zen Kaku Gothic New', cursive;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--crimson);
}

/* Footer */
.site-footer {
  background: var(--navy-3);
  color: rgba(255, 255, 255, .68);
  position: relative;
  padding-bottom: 1.6rem;
}

.footer-arc {
  height: 6px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.footer-brand .brand-line1 {
  color: var(--gold-light);
}

.footer-brand .brand-line2 {
  color: rgba(255, 255, 255, .7);
}

.footer-motto {
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
  max-width: 30ch;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  margin-right: .5rem;
  transition: all .15s;
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy-3);
  border-color: var(--gold);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .6rem;
}

.footer-links a {
  font-size: .88rem;
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  font-size: .85rem;
  margin-bottom: .8rem;
  display: flex;
  gap: .6rem;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--gold);
  margin-top: .2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}

/* Stat band */
.stat-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  text-align: center;
  padding: 2.2rem 1rem;
}

.stat-item b {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--navy);
  display: block;
}

.stat-item span {
  color: var(--muted);
  font-size: .85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 22px;
  padding: 3.2rem;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 199, 101, .25), transparent 70%);
}

.cta-band h2 {
  color: var(--white);
}

/* Utility */
.text-crimson {
  color: var(--crimson) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.mono {
  font-family: var(--font-mono);
}