/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --green-dark:    #1B5E37;
  --green-primary: #2D6A4F;
  --green-mid:     #52B788;
  --green-light:   #B7E4C7;
  --green-pale:    #F0F7F3;
  --blue-primary:  #1565C0;
  --blue-light:    #E3F2FD;
  --white:         #FFFFFF;
  --gray-50:       #FAFAFA;
  --gray-100:      #F5F5F5;
  --gray-200:      #EEEEEE;
  --gray-600:      #757575;
  --gray-800:      #424242;
  --text-primary:  #1A2B1F;
  --text-secondary:#4A5C52;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --max-width:  1200px;
  --section-v:  80px;
  --section-h:  24px;
  --font-stack: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei',
                'Helvetica Neue', Arial, system-ui, sans-serif;
  --transition: 0.3s ease;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* =============================================
   Language Switching
   Toggled via html[lang] attribute
   ============================================= */
html[lang="zh-CN"] .lang-en { display: none !important; }
html[lang="en"]    .lang-cn { display: none !important; }

/* =============================================
   Typography Helpers
   ============================================= */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.section-body {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 720px;
}
.section-header { margin-bottom: 48px; }

/* =============================================
   Navigation
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
}
#site-header.scrolled .nav-brand { color: var(--green-primary); }

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.18);
}
#site-header.scrolled .nav-links a { color: var(--text-secondary); }
#site-header.scrolled .nav-links a:hover,
#site-header.scrolled .nav-links a.active {
  color: var(--green-primary);
  background: var(--green-pale);
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 5px 13px;
  border-radius: 20px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.lang-btn:hover { background: rgba(255,255,255,0.15); }
#site-header.scrolled .lang-btn { color: var(--green-primary); border-color: var(--green-primary); }
#site-header.scrolled .lang-btn:hover { background: var(--green-pale); }

.nav-toggle {
  display: none;
  color: white;
  font-size: 1.3rem;
  padding: 4px 8px;
  margin-left: auto;
  line-height: 1;
}
#site-header.scrolled .nav-toggle { color: var(--text-primary); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .lang-btn { order: 10; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 8px 0 16px;
    box-shadow: var(--shadow-md);
    gap: 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: var(--text-secondary) !important;
    padding: 11px 24px !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
  }
  .nav-links a:hover {
    background: var(--green-pale) !important;
    color: var(--green-primary) !important;
  }
}

/* =============================================
   Hero
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('used-assets/00-header-footer/0-1-banner.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 28, 16, 0.62) 0%,
    rgba(10, 28, 16, 0.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
  color: white;
}
.hero-award {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(183, 228, 199, 0.5);
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.75;
  opacity: 0.87;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '↓';
  font-size: 1rem;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* =============================================
   Section Base
   ============================================= */
section {
  padding: var(--section-v) var(--section-h);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt  { background: var(--gray-50); }
.section-dark {
  background: var(--green-primary);
  color: white;
}
.section-dark .section-label { color: var(--green-light); }
.section-dark .section-title { color: white; }
.section-dark .section-lead,
.section-dark .section-body  { color: rgba(255,255,255,0.85); }

/* =============================================
   Two-column layout
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reversed { }   /* used with order on children */

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* =============================================
   Image Cards & Grids
   ============================================= */
.img-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.img-card:hover img { transform: scale(1.04); }
.img-caption {
  padding: 7px 12px;
  font-size: 0.7rem;
  color: var(--gray-600);
  background: var(--gray-50);
  line-height: 1.45;
}

.img-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.img-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.img-row-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.img-display-full {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-display-full img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .img-grid-2x2 { grid-template-columns: 1fr; }
  .img-row-3    { grid-template-columns: 1fr 1fr; }
  .img-card img { height: 180px; }
}

/* =============================================
   Challenge section
   ============================================= */
.challenge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.pain-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: white;
  transition: box-shadow var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-md); }
.pain-icon { font-size: 1.5rem; margin-bottom: 8px; }
.pain-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-primary);
}
.pain-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.challenge-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.challenge-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .challenge-layout { grid-template-columns: 1fr; gap: 32px; }
  .challenge-img-wrap img { height: 260px; }
  .pain-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Innovation Feature Cards
   ============================================= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 10px;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.feat-body {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

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

/* =============================================
   Governance Steps
   ============================================= */
.governance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.step-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.72;
}
.gov-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gov-photo-grid .img-card img {
  height: 200px;
}

@media (max-width: 768px) {
  .governance-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .gov-photo-grid { grid-template-columns: 1fr; }
  .gov-photo-grid .img-card img { height: 220px; }
}

/* =============================================
   KPI Cards
   ============================================= */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
}
.kpi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--green-primary);
  transition: transform var(--transition);
}
.kpi-card:hover { transform: translateY(-3px); }
.kpi-card.blue  { border-top-color: var(--blue-primary); }
.kpi-num {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 10px;
}
.kpi-card.blue .kpi-num { color: var(--blue-primary); }
.kpi-label {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi-card { padding: 20px 12px; }
}

/* =============================================
   Tables
   ============================================= */
.table-block { margin-bottom: 40px; }
.table-caption {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.79rem;
  min-width: 720px;
  background: white;
}
thead tr { background: var(--green-primary); color: white; }
th {
  padding: 11px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1.45;
}
td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.55;
}
tbody tr:last-child td {
  background: var(--green-pale);
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: none;
}
tbody tr:not(:last-child):hover td { background: var(--gray-50); }
.impacts-closing {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--green-pale);
  border-left: 3px solid var(--green-primary);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =============================================
   Wellbeing Section
   ============================================= */
.wellbeing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contrast-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.contrast-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}
.contrast-item.below {
  background: var(--gray-100);
  border-left: 3px solid var(--gray-200);
}
.contrast-item.above {
  background: var(--green-pale);
  border-left: 3px solid var(--green-primary);
}
.contrast-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 56px;
  flex-shrink: 0;
  padding-top: 2px;
  line-height: 1.3;
}
.contrast-item.below .contrast-label { color: var(--gray-600); }
.contrast-item.above .contrast-label { color: var(--green-primary); }
.contrast-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.wellbeing-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wellbeing-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .wellbeing-layout { grid-template-columns: 1fr; gap: 32px; }
  .wellbeing-img-wrap img { height: 280px; }
}

/* =============================================
   Replication Cards
   ============================================= */
.rep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.rep-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--transition);
}
.rep-card:hover { background: rgba(255,255,255,0.14); }
.rep-icon { font-size: 2rem; margin-bottom: 12px; line-height: 1; }
.rep-title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; }
.rep-body  { font-size: 0.87rem; color: rgba(255,255,255,0.8); line-height: 1.75; }
.rep-closing {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.85;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

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

/* =============================================
   Footer
   ============================================= */
#site-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.82);
  padding: 44px 24px;
  text-align: center;
}
.footer-tagline {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.footer-sub {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-bottom: 4px;
}
.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--green-mid);
  margin: 20px auto;
}
.footer-copy {
  font-size: 0.7rem;
  opacity: 0.35;
}

/* =============================================
   Scroll Reveal Animations
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* =============================================
   Lightbox
   ============================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img-wrap {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  cursor: default;
}
.lightbox-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  text-align: center;
  max-width: min(90vw, 800px);
  line-height: 1.5;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* Make all content images show a zoom cursor */
.img-card img,
.challenge-img-wrap img,
.wellbeing-img-wrap img,
.gov-photo-grid .img-card img {
  cursor: zoom-in;
}

/* =============================================
   Responsive Global
   ============================================= */
@media (max-width: 768px) {
  :root {
    --section-v: 56px;
    --section-h: 16px;
  }
  .section-lead { margin-bottom: 28px; }
  .section-header { margin-bottom: 36px; }
}
