/* ============================================
   CORAL AGRI TRADING COMPANY LIMITED
   Premium Corporate Agriculture Website
   ============================================ */

:root {
  --primary-green: #1B5E20;
  --secondary-green: #2E7D32;
  --light-green: #81C784;
  --accent-orange: #F9A825;
  --earth-brown: #6D4C41;
  --white: #FFFFFF;
  --bg: #F7FAF5;
  --text: #263238;
  --muted: #5a6b70;
  --shadow-sm: 0 4px 14px rgba(27, 94, 32, 0.08);
  --shadow-md: 0 10px 30px rgba(27, 94, 32, 0.12);
  --shadow-lg: 0 20px 50px rgba(27, 94, 32, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Padauk', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--primary-green); letter-spacing: -0.01em; }
h1 { font-weight: 800; }

.section { padding: 100px 0; }
.section-title { font-size: 2.4rem; margin-bottom: 12px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 50px; max-width: 720px; }
.text-orange { color: var(--accent-orange); }
.bg-soft { background: var(--bg); }
.bg-leaf {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.leaf-loader {
  width: 60px; height: 60px; position: relative;
}
.leaf-loader::before, .leaf-loader::after {
  content: ''; position: absolute; inset: 0; border-radius: 50% 0;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  animation: leafSpin 1.4s ease-in-out infinite;
}
.leaf-loader::after { animation-delay: -0.7s; opacity: .5; }
@keyframes leafSpin { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(0.7);} }

/* ---------- Navbar ---------- */
.navbar {
  padding: 15px 0;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(27,94,32,0.06);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.95) !important;
  box-shadow: var(--shadow-sm);
}
.navbar-brand {
  font-weight: 800; font-size: 1.35rem;
  color: var(--primary-green) !important;
  display: flex; align-items: center; gap: 10px;
}
.navbar-brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.1; }
.navbar-brand > span:last-child { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.brand-logo {
  width: 52px; height: 52px; aspect-ratio: 1 / 1;
  background: transparent;
  display: grid; place-items: center; overflow: visible;
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.footer-brand .brand-logo { width: 44px; height: 44px; }

.brand-sub { display:block; font-size:.72rem; font-weight:500; color: var(--muted); letter-spacing:.02em; text-transform: none; }

/* Give the nav row a little more breathing room on wide screens so a
   full 8-item menu (plus CTA + language switch) never has to shrink
   items down to the point where their text wraps. */
@media (min-width: 1200px) {
  .navbar .container { max-width: 1260px; }
}
@media (min-width: 1400px) {
  .navbar .container { max-width: 1420px; }
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500; margin: 0 4px;
  padding: 8px 10px !important;
  font-size: .96rem;
  white-space: nowrap;
  transition: var(--transition);
}
/* Underline sits on the text label itself (not the link box), so it only
   ever spans the width of the word — the link box can stretch full-width
   in the mobile menu without the underline stretching along with it. */
.navbar-nav .nav-link .nav-label {
  position: relative; display: inline-block;
  white-space: nowrap;
}
.navbar-nav .nav-link .nav-label::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent-orange);
  transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.navbar-nav .nav-link:hover { color: var(--primary-green) !important; }
.navbar-nav .nav-link:hover .nav-label::after { transform: scaleX(1); transform-origin: left; }
.navbar-nav .nav-link.active { color: var(--primary-green) !important; }
.navbar-nav .nav-link.active .nav-label::after { transform: scaleX(1); transform-origin: left; }
.btn-nav-cta {
  background: var(--primary-green); color: #fff !important;
  padding: 10px 18px !important; border-radius: 50px; margin-left: 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.navbar-nav .nav-link.btn-nav-cta,
.navbar-nav .nav-link.btn-nav-cta.active { color: #fff !important; }
.btn-nav-cta:hover { background: var(--accent-orange); transform: translateY(-2px); }
.btn-nav-cta::after { display: none !important; }

/* Myanmar script has no spaces to guide line-breaking, so browsers can
   otherwise split nav labels mid-word. Slightly tighter tracking plus
   the nowrap rules above keep every item on a single line. */
html[lang="my"] .navbar-nav .nav-link { font-size: .92rem; letter-spacing: -0.01em; }
html[lang="my"] .btn-nav-cta { padding-left: 16px !important; padding-right: 16px !important; }

/* ---------- Language toggle (EN / MM) ---------- */
.lang-switch-item { margin-left: 12px; display: flex; align-items: center; }
.lang-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 4px; cursor: pointer;
  border-radius: 50px; transition: var(--transition);
}
.lang-toggle-btn:focus-visible { outline: 2px solid var(--primary-green); outline-offset: 2px; }
.lang-toggle-track {
  position: relative; display: flex; align-items: center;
  width: 68px; height: 32px; padding: 3px; box-sizing: border-box;
  background: rgba(27,94,32,0.08); border: 1px solid rgba(27,94,32,0.15);
  border-radius: 50px; transition: var(--transition);
}
.lang-toggle-btn:hover .lang-toggle-track { border-color: var(--primary-green); }
.lang-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 30px; height: 24px;
  background: var(--primary-green); border-radius: 50%;
  box-shadow: 0 2px 6px rgba(27,94,32,0.35);
  transition: transform .25s ease;
}
.lang-toggle-btn.is-mm .lang-toggle-thumb { transform: translateX(32px); }
.lang-toggle-track .lang-opt {
  position: relative; z-index: 1; flex: 1; text-align: center;
  font-weight: 700; font-size: .74rem; letter-spacing: .02em;
  line-height: 24px; color: var(--muted); transition: color .25s ease;
  pointer-events: none;
}
.lang-toggle-track .lang-opt.active { color: #fff; }
@media (max-width: 991px) {
  .lang-switch-item { margin: 10px 4px 4px; justify-content: center; }
}

/* ---------- Navbar Toggler (hamburger) ---------- */
.navbar-toggler {
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1;
  transition: background-color .25s ease;
}
/* Bootstrap adds a focus ring box-shadow that lingers for as long as the
   button holds focus — i.e. the whole time the mobile menu is open — which
   reads as a stray box drawn around the icon. Remove it and use a soft
   green tint instead so the open state still reads clearly. */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}
.navbar-toggler[aria-expanded="true"] {
  background-color: rgba(27, 94, 32, 0.08);
}
.navbar-toggler i { transition: transform .3s ease; }
.navbar-toggler[aria-expanded="true"] i { transform: rotate(90deg); }
/* Swap the bars glyph for an X while the menu is open */
.navbar-toggler[aria-expanded="true"] i.fa-bars::before { content: "\f00d"; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 140px 0 40px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/rice-field.jpg') center/cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.15);} }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,94,32,0.85) 0%, rgba(0,0,0,0.65) 60%, rgba(249,168,37,0.3) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1; margin-bottom: 20px; font-weight: 800;
}
.hero h1 .accent { color: var(--accent-orange); }

/* Myanmar script runs visually larger than Latin at the same font-size —
   stacked vowel signs and diacritics need more vertical room, or they
   collide with the line above/below. Standard practice is to render
   Myanmar text roughly 2pt smaller than the Latin equivalent (e.g. 14px
   Latin ≈ 12px Myanmar) and give it extra line-height to breathe. */
html[lang="my"] .hero h1 { font-size: clamp(1.9rem, 4.3vw, 3.4rem); line-height: 1.45; }
.hero p.lead {
  font-size: 1.15rem; max-width: 640px; color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  padding: 8px 18px; border-radius: 50px; font-size: .85rem;
  border: 1px solid rgba(255,255,255,0.2); margin-bottom: 24px;
}
.hero-badge i { color: var(--accent-orange); }
.btn-primary-custom {
  background: var(--accent-orange); border: none; color: #fff;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  box-shadow: 0 10px 25px rgba(249,168,37,0.4);
  transition: var(--transition);
}
.btn-primary-custom:hover { background: #f57f17; transform: translateY(-3px); color:#fff; box-shadow: 0 15px 30px rgba(249,168,37,0.5);}
.btn-outline-custom {
  background: rgba(255,255,255,0.1); border: 2px solid #fff; color: #fff;
  padding: 12px 30px; border-radius: 50px; font-weight: 600;
  backdrop-filter: blur(10px); transition: var(--transition);
}
.btn-outline-custom:hover { background: #fff; color: var(--primary-green); transform: translateY(-3px);}

/* Floating icons */
.floating-icons { position: absolute; inset: 0; pointer-events: none; z-index: 1;}
.floating-icons i {
  position: absolute; color: rgba(255,255,255,0.18); font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}
.floating-icons i:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 70%; left: 12%; animation-delay: 1.5s; font-size: 2.5rem;}
.floating-icons i:nth-child(3) { top: 25%; right: 10%; animation-delay: 3s; }
.floating-icons i:nth-child(4) { top: 65%; right: 15%; animation-delay: 4.5s; font-size: 3rem;}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0);}
  50% { transform: translateY(-25px) rotate(10deg);}
}

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 90px;
  margin-left: 0; margin-right: 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
}
.hero-stat {
  padding: 14px 10px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-stat:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 1px; height: 56%; background: rgba(255,255,255,0.25);
}
.hero-stat .stat-num { color: var(--accent-orange); font-size: 2rem; margin: 0; font-weight: 800; line-height: 1; }
.hero-stat p { color: rgba(255,255,255,0.85); margin: 6px 0 0; font-size: .9rem;}

/* ---------- Welcome ---------- */
.welcome-card {
  background: #fff; padding: 60px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); text-align: center;
  border-top: 5px solid var(--accent-orange);
  margin-top: 40px; position: relative; z-index: 3;
}
.welcome-card h2 { font-size: 2rem; margin-bottom: 20px; }
.welcome-card p { color: var(--muted); font-size: 1.05rem; max-width: 860px; margin: 0 auto;}

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-img img { width: 100%; height: 500px; object-fit: cover; display: block; transition: transform .8s;}
.about-img:hover img { transform: scale(1.05);}
.about-badge {
  position: absolute; bottom: -25px; right: -25px;
  background: var(--accent-orange); color: #fff;
  padding: 24px 30px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-badge .badge-num { color:#fff; margin:0; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge p { margin:0; font-size:.85rem; opacity:.95;}

.stat-block {
  background: #fff; padding: 28px 14px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(27,94,32,0.06);
}
.stat-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.stat-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat-block:hover::before { transform: scaleX(1); }
.stat-block .stat-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(27,94,32,0.08); color: var(--primary-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-bottom: 12px; transition: var(--transition);
}
.stat-block:hover .stat-icon { background: var(--primary-green); color: #fff; }
.stat-block .stat-num {
  height: 38px; width: 100%; font-weight: 800; color: var(--primary-green); line-height: 1;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 1.8rem;
}
.stat-block .stat-num-sm { font-size: 1.05rem; }
.stat-block .stat-label { color: var(--muted); font-size: .8rem; margin-top: 8px; line-height: 1.3; }

#about .section-title { font-size: 1.9rem; line-height: 1.3; }

.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-orange);
  color: #fff;
  font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  padding: 8px 18px 8px 14px; border-radius: 50px;
  margin-bottom: 10px;
}
.eyebrow-tag i { font-size: .75rem; }

/* ---------- Vision Mission ---------- */
.vm-card {
  padding: 45px 40px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-md);
  transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.vm-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}
.vm-card.mission::before { background: linear-gradient(90deg, var(--accent-orange), #ffcc80);}
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg);}
.vm-icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  display: grid; place-items: center; color: #fff; font-size: 1.6rem;
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.vm-card.mission .vm-icon { background: linear-gradient(135deg, var(--accent-orange), #f57f17);}
.vm-card h3 { margin-bottom: 15px;}
.vm-card p { color: var(--muted); margin-bottom: 12px; }

/* ---------- Values ---------- */
.value-card {
  background: #fff; padding: 40px 30px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: var(--transition); height: 100%;
  border: 1px solid rgba(27,94,32,0.05);
}
.value-card:hover {
  transform: translateY(-10px); box-shadow: var(--shadow-lg);
  border-color: var(--light-green);
}
.value-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: var(--primary-green); font-size: 2rem;
  display: grid; place-items: center; margin: 0 auto 22px;
  transition: var(--transition);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: #fff; transform: rotateY(360deg);
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 12px;}
.value-card p { color: var(--muted); font-size: .95rem; margin: 0;}

/* ---------- Products ---------- */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg);}
.product-image { height: 220px; overflow: hidden; position: relative;}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s;}
.product-card:hover .product-image img { transform: scale(1.1);}
.product-image::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(27,94,32,0.4), transparent 50%);
}
.product-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--accent-orange); color:#fff; padding: 6px 14px;
  border-radius: 50px; font-size: .75rem; font-weight: 600;
}
.product-card { display: flex; flex-direction: column; }
.product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { margin-bottom: 12px; font-size: 1.3rem;}
.product-body p { color: var(--muted); font-size: .95rem; margin-bottom: 16px;}
.product-list { list-style: none; padding: 0; margin: 0 0 16px 0;}
.product-list li {
  padding: 6px 0; font-size: .9rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.product-list li i { color: var(--secondary-green);}
.product-cta {
  margin-top: auto; padding-top: 16px; margin-top: auto;
  border-top: 1px solid rgba(0,0,0,.06);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--primary-green, #2E7D32);
}
.product-cta .cta-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(46,125,50,.12); color: var(--primary-green, #2E7D32);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.product-card:hover .product-cta .cta-icon { transform: translateX(4px); background: var(--primary-green, #2E7D32); color: #fff; }

/* ---------- Services ---------- */
.service-card {
  background: #fff; padding: 36px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  height: 100%; position: relative; overflow: hidden;
}
.service-card::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width: 4px;
  background: var(--accent-orange); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s;
}
.service-card:hover::before { transform: scaleY(1); transform-origin: top;}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md);}
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: var(--primary-green); font-size: 1.5rem;
  display: grid; place-items: center; margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color:#fff;
}
.service-card h5 { margin-bottom: 10px; font-size: 1.1rem;}
.service-card p { color: var(--muted); font-size: .9rem; margin: 0;}

/* ---------- Capacity Gallery ---------- */
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 280px; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-lg);}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s;
}
.gallery-item:hover img { transform: scale(1.15);}
.gallery-item .caption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px; color: #fff;
  background: linear-gradient(to top, rgba(27,94,32,0.85) 0%, transparent 60%);
}
.gallery-item .caption h5 { color:#fff; margin: 0; font-size: 1.15rem;}
.gallery-tall { height: 580px;}

.capacity-text {
  background: #fff; padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); margin-top: 40px;
}
.capacity-text p { color: var(--muted); font-size: 1.05rem;}

/* ---------- Promise ---------- */
.promise-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.promise-section::before {
  content:''; position:absolute; top:-100px; right:-100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(249,168,37,0.15);
}
.promise-section h2 { color:#fff;}
.promise-section .section-subtitle { color: rgba(255,255,255,0.85);}
.promise-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 20px; transition: var(--transition);
}
.promise-item:hover { background: rgba(255,255,255,0.15); transform: translateX(6px);}
.promise-check {
  min-width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-orange); color:#fff;
  display: grid; place-items: center; font-size: 1.2rem;
}
.promise-item h5 { color:#fff; margin-bottom:6px;}
.promise-item p { color: rgba(255,255,255,0.85); margin:0; font-size:.95rem;}

/* ---------- Timeline (CSR / PR) ---------- */
.timeline { position: relative; padding: 20px 0;}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--primary-green), var(--light-green));
  transform: translateX(-50%);
}
.tl-item {
  position: relative; width: 50%; padding: 30px 40px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right;}
.tl-item:nth-child(even) { left: 50%;}
.tl-content {
  background: #fff; padding: 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.tl-content:hover { box-shadow: var(--shadow-md); transform: translateY(-4px);}
.tl-content h5 { margin-bottom: 8px;}
.tl-content p { color: var(--muted); margin: 0; font-size: .95rem;}
.tl-icon {
  position: absolute; top: 40px; width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: #fff; display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--bg);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-icon { right: -25px;}
.tl-item:nth-child(even) .tl-icon { left: -25px;}
.pr .tl-icon { background: linear-gradient(135deg, var(--accent-orange), #f57f17);}

@media (max-width: 767px) {
  .timeline::before { left: 20px;}
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 60px; padding-right: 10px;}
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-item:nth-child(odd) .tl-icon, .tl-item:nth-child(even) .tl-icon { left: -5px; right: auto;}
}

/* ---------- Contact ---------- */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: #fff; padding: 45px 35px; border-radius: var(--radius-lg);
  height: 100%; box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color:#fff; margin-bottom: 30px;}
.contact-info-item { display:flex; gap:16px; margin-bottom: 24px; align-items:flex-start;}
.contact-info-item i {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15); display: grid; place-items: center;
  color: var(--accent-orange); font-size: 1.1rem; flex-shrink:0;
}
.contact-info-item h6 { color:#fff; margin:0 0 4px; font-size:.85rem; text-transform: uppercase; letter-spacing:.05em;}
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.9); margin:0; text-decoration:none; font-size:.95rem;}
.contact-info-item a:hover { color: var(--accent-orange);}

.contact-form-card {
  background: #fff; padding: 45px 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-control, .form-select {
  border: 1.5px solid #e0e6e0; border-radius: 12px;
  padding: 12px 16px; font-size: .95rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(27,94,32,0.1);
}
.form-label { font-weight: 500; color: var(--text); margin-bottom: 6px;}
.btn-submit {
  background: var(--primary-green); color:#fff; border:none;
  padding: 14px 40px; border-radius: 50px; font-weight: 600;
  transition: var(--transition); width: 100%;
}
.btn-submit:hover { background: var(--accent-orange); transform: translateY(-2px);}

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-top: 60px;
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border:0;}

/* ---------- Footer ---------- */
footer {
  background: #0f2e12; color: rgba(255,255,255,0.75);
  padding: 70px 0 20px;
}
footer h5 {
  color:#fff; margin-bottom: 22px; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .08em;
  position: relative; padding-bottom: 10px;
}
footer h5::after {
  content:''; position:absolute; left:0; bottom:0;
  width: 40px; height: 3px; background: var(--accent-orange); border-radius:2px;
}
footer .footer-brand {
  color:#fff; font-weight:800; font-size:1.25rem;
  display:flex; align-items:center; gap:10px; margin-bottom: 15px;
}
footer p { font-size:.9rem; line-height: 1.7;}
footer ul { list-style: none; padding: 0;}
footer ul li { margin-bottom: 10px;}
footer ul li a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: var(--transition); font-size:.92rem;
}
footer ul li a:hover { color: var(--accent-orange); padding-left: 6px;}
footer ul li a i { font-size:.7rem; margin-right: 6px; color: var(--accent-orange);}
.social-icons { display: flex; gap: 12px; margin-top: 18px;}
.social-icons a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.08); color:#fff;
  display: grid; place-items: center;
  transition: var(--transition); text-decoration: none;
}
.social-icons a:hover { background: var(--accent-orange); transform: translateY(-3px);}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  text-align: center; font-size:.85rem;
}

/* ---------- Scroll to top ---------- */
#scrollTop {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: var(--primary-green); color:#fff;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: var(--transition);
  cursor: pointer;
}
#scrollTop.show { opacity: 1; visibility: visible;}
#scrollTop:hover { background: var(--accent-orange); transform: translateY(-4px);}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 70px 0;}
  .section-title { font-size: 2rem;}
  .welcome-card { padding: 40px 25px; margin-top: 25px;}
  .about-badge { right: 20px; bottom: -20px;}
  .navbar-collapse {
    background: rgba(255,255,255,0.98); margin-top: 12px;
    padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  /* Thin dividers between the stacked menu links instead of a single dense
     block, plus room to breathe so items don't feel glued together. */
  .navbar-nav .nav-item:not(:last-child) { border-bottom: 1px solid rgba(27,94,32,0.08); }
  .navbar-nav .nav-link:not(.btn-nav-cta) { padding: 13px 10px !important; }
  /* The Contact CTA used the desktop pill (border-radius:50px) at full
     mobile width, which turned it into one long stretched oval. Give it a
     normal button shape, its own spacing, and a subtle divider so it reads
     as a call-to-action rather than another stacked link. */
  .navbar-nav .nav-link.btn-nav-cta {
    margin: 12px 4px 4px; padding: 13px 20px !important;
    border-radius: 12px; text-align: center;
    box-shadow: var(--shadow-sm);
  }
}
/* Hero stats become a 2-per-row grid below md (767px) — the big numbers
   were sitting almost edge-to-edge in each half-width column. Add
   breathing room, trim the type scale slightly, and add a thin
   cross-divider so the four figures read as a clear 2x2 grid instead of
   bleeding into the sides. */
@media (max-width: 767px) {
  .hero { min-height: auto; }
  /* Center just the CTA buttons on mobile; badge stays left-aligned. */
  .hero-content .d-flex.flex-wrap.gap-3 { justify-content: center; }
  .hero-stats { padding: 18px 12px; margin-top: 75px; }
  .hero-stat { padding: 14px 8px; }
  .hero-stat .stat-num { font-size: 1.6rem; }
  .hero-stat p { font-size: .78rem; }
  .hero-stat:nth-child(2)::after { display: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 18px; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { padding-top: 18px; }
}
@media (max-width: 575px) {
  .hero { padding: 120px 0 36px;}
  .hero h1 { font-size: 2rem;}
  html[lang="my"] .hero h1 { font-size: 1.7rem; line-height: 1.5; }
  .contact-form-card, .contact-info-card { padding: 30px 22px;}
}

/* ============================================
   INNER PAGE BANNER (multi-page layout)
   ============================================ */
.page-banner {
  position: relative;
  padding: 170px 0 90px;
  background: linear-gradient(135deg, rgba(27,94,32,0.92), rgba(46,125,50,0.85)),
              url('images/rice-field.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249,168,37,0.25), transparent 60%);
  pointer-events: none;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
  font-weight: 800;
}
.page-banner p {
  max-width: 720px;
  margin: 0 auto 18px;
  opacity: 0.95;
  font-size: 1.1rem;
}
/* Desktop: keep the subtitle on one continuous line — only let it wrap
   once we drop to tablet/mobile widths where a single line wouldn't fit. */
@media (min-width: 992px) {
  .page-banner p { max-width: none; white-space: nowrap; }
  html[lang="my"] .page-banner p { font-size: 1rem; }
}
@media (max-width: 991.98px) {
  .page-banner p { white-space: normal; max-width: 720px; }
}
.page-banner .crumbs {
  display: inline-flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.9rem; backdrop-filter: blur(6px);
}
.page-banner .crumbs a { color: #F9A825; text-decoration: none; font-weight: 500; }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs .sep { opacity: 0.6; }

/* ---------- Knowledge Section ---------- */
.knowledge-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  height: 100%; display: flex; flex-direction: column;
  border: 1px solid rgba(27,94,32,0.06);
}
.knowledge-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.knowledge-card .kc-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f1f8e9; }
.knowledge-card .kc-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.knowledge-card:hover .kc-image img { transform: scale(1.06); }
.knowledge-card .kc-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent-orange); color: #fff; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; font-size: 0.78rem; letter-spacing: 0.02em;
}
.knowledge-card .kc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.knowledge-card .kc-body h4 { font-size: 1.15rem; margin-bottom: 8px; }
.knowledge-card .kc-body .kc-sub { color: var(--accent-orange); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.knowledge-card .kc-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.knowledge-card .kc-cta {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-green); font-weight: 600; text-decoration: none;
}
.knowledge-card .kc-cta:hover { color: var(--accent-orange); }

/* Bilingual detail page */
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .bilingual { grid-template-columns: 1fr; } }
.lang-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--primary-green);
}
.lang-card.mm { border-top-color: var(--accent-orange); font-family: 'Padauk','Myanmar Text','Noto Sans Myanmar','Poppins',sans-serif; }
.lang-card .lang-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f1f8e9; color: var(--primary-green); font-weight: 600;
  padding: 6px 14px; border-radius: 100px; font-size: 0.82rem; margin-bottom: 18px;
}
.lang-card.mm .lang-flag { background: #fff3e0; color: #E65100; }
.lang-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.lang-card h3 { font-size: 1.1rem; margin-top: 26px; margin-bottom: 12px; color: var(--secondary-green); }
.lang-card .ai-list { list-style: none; padding: 0; margin: 0; }
.lang-card .ai-list li {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08); font-size: 0.95rem;
}
.lang-card .ai-list li:last-child { border-bottom: 0; font-weight: 700; color: var(--primary-green); }
.lang-card table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 6px; }
.lang-card th, .lang-card td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; vertical-align: top; }
.lang-card th { background: #f1f8e9; color: var(--primary-green); font-weight: 600; }
.lang-card.mm th { background: #fff3e0; color: #E65100; }
.lang-card .callout {
  background: #fff8e1; border-left: 4px solid var(--accent-orange);
  padding: 14px 16px; border-radius: 8px; margin-top: 18px; font-size: 0.92rem;
}
.lang-card ul.dot { padding-left: 20px; }
.lang-card ul.dot li { margin-bottom: 6px; font-size: 0.93rem; }

.product-hero {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.product-hero .badge-poison {
  display: inline-block; background: #c62828; color: #fff; font-weight: 700;
  padding: 4px 14px; border-radius: 4px; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 12px;
}
.product-hero h1 { font-size: 2rem; margin-bottom: 6px; }
.product-hero .subtitle { color: var(--accent-orange); font-weight: 600; margin-bottom: 14px; }
.product-hero .meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.product-hero .meta-chip {
  background: #f1f8e9; color: var(--primary-green); padding: 6px 14px;
  border-radius: 100px; font-size: 0.85rem; font-weight: 500;
}
.download-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary-green); color: #fff; padding: 12px 24px;
  border-radius: 100px; text-decoration: none; font-weight: 600;
  margin-top: 20px; transition: var(--transition);
}
.download-btn:hover { background: var(--accent-orange); color: #1a1a1a; transform: translateY(-2px); }


/* ---------- Utility chips ---------- */
.badge-tag {
  display: inline-block; background: #e8f5e9; color: var(--primary-green);
  padding: 6px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.stat-mini {
  background: #fff; border-radius: var(--radius); padding: 22px;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(27,94,32,0.06);
}
.stat-mini h3 { color: var(--accent-orange); font-size: 2rem; margin: 0 0 4px; }
.stat-mini p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Clickable product card wrapper */
.product-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.product-card-link:hover { text-decoration: none; color: inherit; }

/* =====================================================================
   Mobile overflow hardening (no sideways drag on any page)
   ---------------------------------------------------------------------
   AOS entry animations translate elements off-canvas before they play,
   and CSS grid tracks declared as `1fr` refuse to shrink below their
   min-content width (wide dose tables, long Myanmar strings). Both made
   the document wider than the viewport, which let phones drag left/right
   and pushed the fixed navbar — hamburger included — off screen.
   ===================================================================== */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }

.container, .container-fluid, .row, [class*="col-"] { min-width: 0; }
img, svg, video, iframe, canvas { max-width: 100%; }
table { max-width: 100%; }

/* Any table that genuinely needs more room scrolls inside its own box. */
.table-wrap {
  width: 100%; max-width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 6px 0 4px;
}

/* Grid tracks that must be allowed to shrink on narrow screens. */
.bilingual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .bilingual { grid-template-columns: minmax(0, 1fr); } }
.bilingual > *, .lang-card { min-width: 0; }
.lang-card { overflow-wrap: break-word; word-break: break-word; }

.product-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 800px) { .product-hero { grid-template-columns: minmax(0, 1fr); } }
.product-hero > * { min-width: 0; }

/* CSR timeline: content must stay inside the viewport on phones. */
.tl-item, .tl-content { min-width: 0; max-width: 100%; }

@media (max-width: 575.98px) {
  .lang-card { padding: 22px 18px; }
  .section-title { font-size: 1.7rem; }
  .page-banner h1 { word-break: break-word; }
}

/* =====================================================================
   MOBILE TYPOGRAPHY SCALE (single source of truth)
   ---------------------------------------------------------------------
   Audit findings this block fixes:
   1. Detail/knowledge pages carried desktop type on phones — the
      knowledge-*.html pages ship no @media rules at all, so 1.6rem H2s,
      2rem product H1s and 0.92rem tables stayed full size at 360px and
      broke into 3-4 ragged lines.
   2. Myanmar (Padauk) renders visually ~10% larger than Latin at the same
      font-size, so bilingual headings wrapped even earlier.
   3. Titles/subtitles, hero + stat numbers, cards, timeline, footer and
      contact type had no tablet tier at all (only 575px for a few).
   Selectors are prefixed with `body`/`html` so they beat the per-page
   <style> blocks without needing !important.
   ===================================================================== */

/* ---------- Tablet / small laptop ---------- */
@media (max-width: 991.98px) {
  .section-subtitle { font-size: 1rem; margin-bottom: 36px; }
  .welcome-card h2 { font-size: 1.7rem; }
  .welcome-card p { font-size: 1rem; }
  #about .section-title { font-size: 1.7rem; }
  .capacity-text p { font-size: 1rem; }
  .page-banner p { font-size: 1.02rem; }
  body .lang-card h2, body .doc-card h2 { font-size: 1.4rem; }
  body .lang-card h3, body .doc-card h3 { font-size: 1.08rem; margin-top: 22px; }
  body .product-hero h1 { font-size: 1.7rem; }
}

/* ---------- Phones (portrait tablets included) ---------- */
@media (max-width: 767.98px) {
  .section-title { font-size: 1.8rem; line-height: 1.35; }
  .section-subtitle { font-size: .95rem; margin-bottom: 30px; }
  .welcome-card h2 { font-size: 1.5rem; }
  .welcome-card p,
  .capacity-text p { font-size: .95rem; }
  #about .section-title { font-size: 1.55rem; }

  .page-banner { padding: 140px 0 64px; }
  .page-banner h1 { font-size: 1.75rem; line-height: 1.35; }
  .page-banner p { font-size: .95rem; line-height: 1.7; }
  .page-banner .crumbs { font-size: .8rem; padding: 6px 14px; }

  .about-badge .badge-num,
  .stat-mini h3 { font-size: 1.6rem; }
  .about-badge p,
  .stat-mini p { font-size: .8rem; }
  .stat-block .stat-num { font-size: 1.5rem; }
  .stat-block .stat-num-sm { font-size: .98rem; }
  .stat-block .stat-label { font-size: .75rem; }

  .value-card h3 { font-size: 1.05rem; }
  .value-card p,
  .service-card p,
  .product-body p,
  .promise-item p,
  .tl-content p,
  .knowledge-card .kc-body p { font-size: .9rem; }
  .product-body h4 { font-size: 1.1rem; }
  .product-body ul li { font-size: .85rem; }
  .service-card h5 { font-size: 1rem; }
  .gallery-item .caption h5 { font-size: 1rem; }
  .knowledge-card .kc-body h4 { font-size: 1.05rem; }
  .knowledge-card .kc-body .kc-sub { font-size: .78rem; }
  .knowledge-card .kc-tag,
  .badge-tag,
  .product-hero .meta-chip { font-size: .74rem; }

  .contact-info-item p, .contact-info-item a,
  .form-control, .form-select,
  footer p, footer ul li a { font-size: .9rem; }
  footer h6 { font-size: .95rem; }
  .footer-bottom { font-size: .8rem; }

  /* Bilingual / label document cards (global + per-page overrides) */
  body .lang-card h2, body .doc-card h2 { font-size: 1.28rem; line-height: 1.4; }
  body .lang-card h3, body .doc-card h3 { font-size: 1rem; margin-top: 20px; }
  body .lang-card p, body .doc-card p,
  body .lang-card ul.dot li, body .doc-card ul.dot li,
  body .lang-card .ai-list li, body .doc-card ul.ai-list li,
  body .lang-card .callout, body .doc-card .callout { font-size: .88rem; }
  body .lang-card table, body .doc-card table { font-size: .8rem; }
  body .lang-card th, body .lang-card td,
  body .doc-card th, body .doc-card td { padding: 8px 6px; }
  body .lang-card .lang-flag { font-size: .78rem; }

  body .product-hero { padding: 24px 20px; }
  body .product-hero h1 { font-size: 1.45rem; line-height: 1.4; }
  body .product-hero .subtitle { font-size: .92rem; }
  body .product-hero .badge-poison { font-size: .72rem; }
  .download-btn { font-size: .9rem; padding: 11px 20px; }
  .lang-switch button { font-size: .85rem; padding: 7px 14px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .section-title { font-size: 1.55rem; }
  .page-banner h1 { font-size: 1.5rem; }
  body .product-hero h1 { font-size: 1.3rem; }
  body .lang-card h2, body .doc-card h2 { font-size: 1.18rem; }
  body .lang-card table, body .doc-card table { font-size: .76rem; }
  .hero-stat .stat-num { font-size: 1.4rem; }
}

/* ---------- Myanmar script trims ----------
   Padauk has a taller x-height and wider clusters, so the same rem value
   reads bigger and wraps sooner than Latin. */
@media (max-width: 767.98px) {
  html[lang="my"] .section-title,
  body[data-lang="mm"] .section-title { font-size: 1.65rem; line-height: 1.5; }
  html[lang="my"] .page-banner h1,
  body[data-lang="mm"] .page-banner h1 { font-size: 1.6rem; line-height: 1.5; }
  html[lang="my"] .page-banner p,
  body[data-lang="mm"] .page-banner p { font-size: .9rem; }
  body[data-lang="mm"] .doc-card h2,
  html[lang="my"] .lang-card h2,
  body .lang-card.mm h2 { font-size: 1.18rem; line-height: 1.55; }
  body[data-lang="mm"] .doc-card h3,
  body .lang-card.mm h3 { font-size: .96rem; line-height: 1.6; }
  body[data-lang="mm"] .doc-card p,
  body[data-lang="mm"] .doc-card ul.dot li,
  body[data-lang="mm"] .doc-card ul.ai-list li,
  body[data-lang="mm"] .doc-card .callout,
  body .lang-card.mm p,
  body .lang-card.mm ul.dot li,
  body .lang-card.mm .ai-list li,
  body .lang-card.mm .callout { font-size: .85rem; line-height: 1.75; }
  body[data-lang="mm"] .doc-card table,
  body .lang-card.mm table { font-size: .78rem; }
  body[data-lang="mm"] .product-hero h1 { font-size: 1.32rem; line-height: 1.5; }
}

/* Never let a long bilingual string force a horizontal scroll. */
.doc-card, .lang-card, .page-banner h1, .product-hero h1, .knowledge-card .kc-body h4 {
  overflow-wrap: break-word;
}
