/* ============================================
   AIET Official Website - Global Styles
   智能工程与科技协会
   ============================================ */

/* --- Local Fonts --- */
@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/SourceSansPro-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/SourceSansPro-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
}

/* --- CSS Variables --- */
:root {
  --primary: #0A2463;
  --primary-light: #1a3a7a;
  --primary-dark: #061845;
  --gold: #C9A84C;
  --gold-light: #d4ba6a;
  --gold-dark: #b8963a;
  --white: #FFFFFF;
  --bg-light: #F5F6FA;
  --bg-section: #FAFBFD;
  --text-primary: #1a1a2e;
  --text-secondary: #555670;
  --text-light: #8888a0;
  --border: #E2E4EC;
  --shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 36, 99, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --nav-height: 80px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans SC', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Language Visibility --- */
.lang-en {
  display: none !important;
}

html.en .lang-zh {
  display: none !important;
}

html.en .lang-en.lang-block,
html.en div.lang-en,
html.en p.lang-en,
html.en li.lang-en,
html.en ul.lang-en,
html.en ol.lang-en,
html.en h1.lang-en,
html.en h2.lang-en,
html.en h3.lang-en,
html.en h4.lang-en,
html.en h5.lang-en,
html.en td.lang-en,
html.en th.lang-en,
html.en label.lang-en,
html.en section.lang-en {
  display: block !important;
}

html.en .lang-en.lang-flex {
  display: flex !important;
}

html.en span.lang-en,
html.en a.lang-en,
html.en strong.lang-en,
html.en em.lang-en,
html.en i.lang-en,
html.en button.lang-en,
html.en small.lang-en {
  display: inline !important;
}

html.en body {
  font-family: 'Source Sans Pro', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

html.en .page-header-en,
html.en .section-subtitle,
html.en .title-card-en,
html.en .step-en,
html.en .cooperation-model-en,
html.en .stat-sublabel,
html.en .hierarchy-info span,
html.en .footer-org-name-en {
  display: none !important;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.section-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
}

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

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--gold);
}

.card h4 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
  box-shadow: 0 0 0 1px var(--border);
}

.nav-logo span {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-mobile-search {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius);
  transition: all var(--transition);
  line-height: 1.25;
  white-space: nowrap;
}

/* --- Nav Search --- */
.nav-search-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
  margin-left: 4px;
  flex-shrink: 0;
}

.nav-search-btn:hover {
  background: var(--bg-light);
  color: var(--gold);
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 6px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-family: 'Source Sans Pro', 'Noto Sans SC', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.lang-toggle-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.open {
  display: flex;
}

.search-overlay-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 640px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.search-input:focus {
  border-color: var(--gold);
}

.search-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.search-submit:hover {
  background: var(--primary-light);
}

.search-close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: color var(--transition);
}

.search-close:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .search-overlay {
    padding-top: 80px;
  }

  .search-overlay-inner {
    padding: 24px;
    width: 95%;
  }

  .search-form {
    flex-direction: column;
  }
}

.nav-link.nav-link-highlight {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  min-width: 78px;
  justify-content: center;
}

html.en .nav-menu {
  gap: 2px;
}

html.en .nav-link {
  padding: 8px 10px;
  font-size: 0.86rem;
}

html.en .nav-link.nav-link-highlight {
  padding: 8px 12px;
  min-width: 72px;
}

@media (max-width: 1200px) {
  html.en .navbar .container {
    gap: 10px;
  }

  html.en .nav-logo {
    gap: 8px;
  }

  html.en .nav-logo img {
    width: 40px;
    height: 40px;
  }

  html.en .nav-link {
    padding: 8px 8px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  html.en .nav-logo span {
    display: none;
  }

  html.en .nav-menu {
    justify-content: flex-end;
  }

  html.en .nav-link {
    padding: 7px 6px;
    font-size: 0.78rem;
  }

  html.en .nav-link.nav-link-highlight {
    min-width: 64px;
  }
}

.nav-link.nav-link-highlight:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-link:not(.nav-link-highlight).active {
  font-weight: 700;
}

.nav-link:not(.nav-link-highlight).active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav-link .arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Language Switch */
.nav-lang {
  margin-left: 12px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 24, 69, 0.85) 0%, rgba(10, 36, 99, 0.75) 100%);
  z-index: 1;
}

.hero-slide > .container {
  position: relative;
  z-index: 2;
}

.hero-slide > .hero-decoration,
.hero-slide > .hero-decoration-2 {
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
}

/* Homepage Banner backgrounds (local) */
.hero-slide:nth-child(1) {
  background-image: url('../images/banners/hero-1.jpg');
}
.hero-slide:nth-child(2) {
  background-image: url('../images/banners/hero-2.jpg');
}
.hero-slide:nth-child(3) {
  background-image: url('../images/banners/hero-3.jpg');
}
.hero-slide:nth-child(4) {
  background-image: url('../images/banners/hero-4.jpg');
}

.hero-content {
  max-width: 650px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-decoration {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.hero-decoration-2 {
  position: absolute;
  right: -50px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-dots {
    bottom: 10px;
  }

  .hero-buttons {
    margin-bottom: 30px;
  }
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ============================================
   STATS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .stat-suffix {
  font-size: 1.4rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-label-en {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-body {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-tag.tag-announcement { background: #E8F0FE; color: var(--primary); }
.news-tag.tag-cooperation { background: #FFF8E1; color: var(--gold-dark); }
.news-tag.tag-achievement { background: #E8F5E9; color: #2E7D32; }
.news-tag.tag-award { background: #FCE4EC; color: #C62828; }

.news-date {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card p {
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ============================================
   QUICK ACCESS (base - used as fallback)
   ============================================ */

.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.quick-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.quick-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.quick-card h4 {
  margin-bottom: 12px;
}

.quick-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 24, 69, 0.88) 0%, rgba(10, 36, 99, 0.78) 100%);
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.12);
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 3;
}

/* (old external page-header refs removed - local versions defined below) */

.page-header h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-header .section-label {
  color: var(--gold);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ============================================
   TAB NAVIGATION (Inner Pages)
   ============================================ */
.tab-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-nav .container {
  display: flex;
  gap: 0;
}

.tab-link {
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.tab-link:hover {
  color: var(--primary);
}

.tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 1;
}

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
}

/* ============================================
   FORMS (Display Only)
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label .required {
  color: #C62828;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.7;
}

.data-table tr:hover td {
  background: var(--bg-light);
}

.data-table .check {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   GOVERNANCE / ORG CHART
   ============================================ */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.org-level {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.org-box {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  min-width: 200px;
  transition: all var(--transition);
}

.org-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.org-box.top {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.org-box.top h4 {
  color: var(--white);
}

.org-box.top p {
  color: rgba(255, 255, 255, 0.8);
}

.org-box h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.org-box p {
  font-size: 0.82rem;
  margin-bottom: 0;
}

.org-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0 auto;
}

/* ============================================
   LEADERSHIP CARDS
   ============================================ */
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  margin-bottom: 24px;
}

.leader-card:hover {
  box-shadow: var(--shadow-lg);
}

.leader-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.leader-title-en {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.leader-card > p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.leader-bg {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ============================================
   PROCESS / STEPS
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition);
}

section .container > .step-item + .step-item {
  margin-top: 16px;
}

.content-block > .step-item + .step-item {
  margin-top: 16px;
}

.step-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.step-content p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ============================================
   BLOCKQUOTE / REVIEW COMMENTS
   ============================================ */
.review-quote {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  margin: 24px 0;
}

.review-quote p {
  font-size: 0.95rem;
  line-height: 1.85;
}

.review-quote p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.review-quote .reviewer {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: normal;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-grid-4 {
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-info .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-info .footer-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
}

.footer-info .footer-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer-col.footer-social {
  display: block;
}

.footer-col.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-col.footer-social ul li {
  margin-bottom: 8px;
}

.footer-col.footer-social a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col.footer-social a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* ============================================
   INNER PAGE CONTENT BLOCKS
   ============================================ */

/* Content blocks - add breathing room */
.content-block {
  margin-bottom: 48px;
}

.content-block h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.4;
}

.content-block h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
  margin-top: 24px;
}

.content-block p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.content-block ul,
.content-block ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.content-block li {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 10px;
  list-style: disc;
}

/* Role / feature cards inside content */
.role-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.role-block:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.role-block h3 {
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 8px;
}

.role-block .role-en {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 16px;
  padding-left: 20px;
}

/* Highlighted info boxes */
.info-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  border-left: 4px solid var(--primary);
}

.info-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* CTA blocks inside content */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 48px;
}

.cta-block h3 {
  border-left: none;
  padding-left: 0;
  text-align: center;
  color: var(--white);
}

.cta-block p {
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.cta-block .btn-primary {
  background: var(--gold);
  color: var(--white);
}

.cta-block .btn-primary:hover {
  background: var(--gold-dark);
}

.cta-block .btn-text {
  color: var(--gold-light);
}

/* News list - vertical stacked with gaps */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list .news-card {
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}

.news-list .news-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.news-list .news-card-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Tab content sections - consistent padding */
.tab-content {
  padding: 56px 0 72px;
}

.tab-content .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.tab-content .section-header .section-title {
  font-size: 1.8rem;
}

/* Intro text block - centered with max-width */
.tab-content > .container > .content-block:first-of-type p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.95;
}

/* Card grids for inner pages */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.card-grid .card {
  padding: 32px;
  text-align: center;
}

.card-grid .card .card-icon {
  margin: 0 auto 16px;
}

.card-grid .card h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.card-grid .card .card-en,
.card-grid .card .card-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Form blocks */
.form-block {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-block .form-group {
  margin-bottom: 24px;
}

.form-inline {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-inline .form-group {
  flex: 1;
  min-width: 200px;
}

/* Table wrapper for responsive tables */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table-responsive .data-table {
  margin-bottom: 0;
}

/* Section dividers */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ============================================
   TITLE CARDS (Honorary Appointments)
   ============================================ */
.title-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.title-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.title-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
  transform: translateY(-4px);
}

.title-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--bg-light);
}

.title-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
}

.title-card-header h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.title-card-en {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.title-card-body {
  padding: 24px 32px 28px;
}

.title-card-row {
  margin-bottom: 16px;
}

.title-card-row:last-child {
  margin-bottom: 0;
}

.title-card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  padding: 2px 10px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 4px;
}

.title-card-row p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Hierarchy diagram */
.hierarchy {
  max-width: 600px;
  margin: 0 auto;
}

.hierarchy-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: all var(--transition);
}

.hierarchy-item:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}

.hierarchy-item.hierarchy-top {
  background: var(--primary);
  border-color: var(--primary);
}

.hierarchy-item.hierarchy-top .hierarchy-rank {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.3);
}

.hierarchy-item.hierarchy-top .hierarchy-info strong {
  color: var(--white);
}

.hierarchy-item.hierarchy-top .hierarchy-info span {
  color: rgba(255, 255, 255, 0.6);
}

.hierarchy-item.hierarchy-top .hierarchy-desc {
  color: rgba(255, 255, 255, 0.7);
}

.hierarchy-rank {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

.hierarchy-info {
  flex: 1;
}

.hierarchy-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.hierarchy-info span {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
}

.hierarchy-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  white-space: nowrap;
}

.hierarchy-connector {
  width: 2px;
  height: 16px;
  background: var(--border);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .title-cards {
    grid-template-columns: 1fr;
  }
  .hierarchy-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hierarchy-desc {
    width: 100%;
  }
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HOMEPAGE SPECIFIC
   ============================================ */

/* Stats section - overlap hero */
.stats-section {
  padding: 0 0 40px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

/* About Summary */
.about-summary {
  padding: 80px 0;
}

.about-summary .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-subtitle {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 16px;
}

/* Core Business */
.core-business {
  padding: 80px 0;
  background: var(--bg-light);
}

.core-business .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.business-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.business-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.business-card-en {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 16px !important;
}

.business-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--gold);
}

/* Latest News */
.latest-news {
  padding: 80px 0;
}

.latest-news .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-card-meta time {
  font-size: 0.82rem;
  color: var(--text-light);
}

.news-card-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.news-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Quick Access Section */
.quick-access {
  display: block !important;
  padding: 80px 0;
}

.quick-access .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .quick-access-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }

  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
  }
  .timeline-dot { left: 24px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 48px 0; }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 20px 40px;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 998;
    display: flex !important;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-search-btn {
    display: none;
  }

  .lang-toggle-btn {
    width: 36px;
    height: 36px;
    margin-left: auto;
    margin-right: 12px;
  }

  .nav-mobile-search {
    display: block;
    padding: 0 0 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
    list-style: none;
  }

  .nav-mobile-search-form {
    display: flex;
    gap: 8px;
  }

  .nav-mobile-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
  }

  .nav-mobile-search-input:focus {
    border-color: var(--gold);
  }

  .nav-mobile-search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav-item.open .nav-dropdown {
    display: block;
  }

  .nav-lang {
    margin: 16px 0 0;
    text-align: center;
  }

  .hero {
    height: auto;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }

  .stat-number { font-size: 2rem; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .business-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .quick-access-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 1.6rem; }

  .tab-link { padding: 12px 16px; font-size: 0.82rem; }

  .org-level { flex-direction: column; align-items: center; }

  .leader-card { padding: 24px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 12px; }
  .stat-number { font-size: 1.8rem; }
}

/* ============================================
   NEW COMPONENTS - Architecture Restructure
   ============================================ */

/* --- Breadcrumb Bar --- */
.breadcrumb-bar {
  background: var(--bg-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
}

.breadcrumb-bar a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.breadcrumb-bar a:hover {
  color: var(--gold);
}

.breadcrumb-bar .sep {
  margin: 0 8px;
  color: var(--border);
}

.breadcrumb-bar .current {
  color: var(--primary);
  font-weight: 500;
}

/* --- Sub Navigation --- */
.sub-nav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sub-nav .container {
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.sub-nav-link {
  display: inline-block;
  padding: 16px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.sub-nav-link:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.sub-nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* --- Section Blocks --- */
.section-block {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark .stat-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.section-dark .stat-label,
.section-dark .stat-sublabel {
  color: rgba(255,255,255,0.75);
}

.section-dark .stat-number {
  color: var(--gold);
}

/* --- Lead Text --- */
.lead-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* --- Highlight Box --- */
.highlight-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.highlight-box.highlight-gold {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, #fdf8ec 0%, #faf5e4 100%);
}

/* --- Two Column Text --- */
.two-column-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}

.two-column-text p {
  margin-bottom: 16px;
  line-height: 1.85;
}

/* --- Stats Grid (new) --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.stat-card .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.stat-plus {
  font-size: 1.4rem;
}

.stat-card .stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-card .stat-sublabel {
  font-size: 0.78rem;
  margin-top: 4px;
  opacity: 0.6;
}

/* --- Category Card Grid --- */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.category-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
}

.category-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text-primary);
}

.category-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.category-card-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--transition);
}

.category-card:hover .category-card-arrow {
  transform: translateX(4px);
}

.category-card-large {
  padding: 44px 36px;
}

.category-card-large h3 {
  font-size: 1.4rem;
}

.category-card-large p {
  font-size: 0.95rem;
}

/* --- Mission & Vision Grid --- */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.mv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.mv-card-en {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.mv-card p:last-child {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.mv-card-mission {
  background: var(--white);
  border-left: 4px solid var(--primary);
}

.mv-card-vision {
  background: var(--white);
  border-left: 4px solid var(--gold);
}

/* --- Values Grid & Card --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.value-card-en {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.value-card p:last-child {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Value Card Icon --- */
.value-icon {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 28px 24px;
  }
}

/* --- Business Cards (intro page) --- */
.business-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.business-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.business-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.business-card-en {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.business-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.business-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Timeline Tags --- */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.timeline-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.timeline-en {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* --- Governance Cards --- */
.governance-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.governance-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.governance-card:hover {
  box-shadow: var(--shadow);
}

.governance-card-header {
  background: var(--bg-light);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.governance-level {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.governance-card-body {
  padding: 24px 28px;
}

.governance-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Department Grid --- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.dept-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}

.dept-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.dept-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Org Chart Enhancements --- */
.org-badge {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 600;
}

.org-level-2-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.org-level-3-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.org-level-3-wrapper .org-box {
  padding: 16px;
}

.org-level-3-wrapper .org-box h3 {
  font-size: 0.9rem;
}

/* --- Leader Card Enhancements --- */
.leader-avatar {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.leader-tag {
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* --- Principles Grid --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.principle-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition);
}

.principle-item:hover {
  box-shadow: var(--shadow);
}

.principle-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.principle-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-text {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.btn-text:hover {
  color: var(--gold-dark);
}

/* --- News List (category-news) --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.news-list-item:hover {
  background: var(--bg-light);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius);
}

.news-list-date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
}

.news-list-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.news-list-month {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.news-list-body {
  flex: 1;
}

.news-list-meta {
  margin-bottom: 8px;
}

.news-list-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.news-list-title a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.news-list-title a:hover {
  color: var(--gold);
}

.news-list-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- News Tag --- */
.news-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* --- Page Header Variants (with banner images) --- */
.page-header-about,
.page-header-history,
.page-header-governance,
.page-header-leadership {
  background: linear-gradient(135deg, rgba(10,36,99,0.35) 0%, rgba(26,58,122,0.35) 100%),
              url('../images/banners/about.jpg') center/cover no-repeat;
}

.page-header-honours,
.page-header-appointments,
.page-header-review,
.page-header-awards {
  background: linear-gradient(135deg, rgba(10,36,99,0.35) 0%, rgba(26,58,122,0.35) 100%),
              url('../images/banners/honours.jpg') center/cover no-repeat;
}

.page-header-academic {
  background: linear-gradient(135deg, rgba(13,36,86,0.35) 0%, rgba(19,50,112,0.35) 100%),
              url('../images/banners/academic.jpg') center/cover no-repeat;
}

.page-header-news {
  background: linear-gradient(to right, rgba(10,36,99,0.35), rgba(24,54,112,0.35)),
              url('../images/banners/news.jpg') center/cover no-repeat;
}

.page-header-membership {
  background: linear-gradient(to right, rgba(10,36,99,0.35), rgba(21,45,96,0.35)),
              url('../images/banners/membership.jpg') center/cover no-repeat;
}

.page-header-partnerships {
  background: linear-gradient(135deg, rgba(10,36,99,0.35) 0%, rgba(30,64,133,0.35) 100%),
              url('../images/banners/partnerships.jpg') center/cover no-repeat;
}

.page-header-contact {
  background: linear-gradient(135deg, rgba(7,26,74,0.35) 0%, rgba(13,45,107,0.35) 100%),
              url('../images/banners/contact.jpg') center/cover no-repeat;
}

/* --- Pagination --- */
.pagination-wrapper {
  margin-top: 40px;
  text-align: center;
}

.pagination-wrapper ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper li a,
.pagination-wrapper li span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
}

.pagination-wrapper li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination-wrapper li.active span {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-wrapper li.disabled span {
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.5;
}

/* --- Sub Navigation (honours sibling) --- */
.sub-nav-honours .container {
  display: flex;
  gap: 0;
}

/* --- Whitepaper Card --- */
.whitepaper-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.whitepaper-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.whitepaper-header h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.whitepaper-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

.whitepaper-body {
  padding: 28px 32px;
}

.whitepaper-body h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.whitepaper-body > p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.whitepaper-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.whitepaper-topic {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.whitepaper-topic h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.whitepaper-topic p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.whitepaper-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Research Item --- */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.research-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: box-shadow var(--transition);
}

.research-item:hover {
  box-shadow: var(--shadow);
}

.research-item-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.research-field {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.research-year {
  font-size: 0.82rem;
  color: var(--text-light);
}

.research-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.research-abstract {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.research-review {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.research-review-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.research-review p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow);
}

.process-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .whitepaper-topics {
    grid-template-columns: 1fr;
  }

  .whitepaper-header,
  .whitepaper-body {
    padding: 20px 24px;
  }

  .research-item {
    padding: 20px 24px;
  }

  .research-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .process-step {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================
   HOMEPAGE - Redesigned Modules
   ============================================ */

/* --- Hero Enhancements --- */
.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* --- Home Stats 5-column --- */
.home-stats {
  padding: 40px 0;
}

.stats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* --- Home About (dual column) --- */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.home-about-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.home-about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: box-shadow var(--transition);
}

.home-value-item:hover {
  box-shadow: var(--shadow);
}

.home-value-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.home-value-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.home-value-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Home Business Cards (clickable) --- */
.home-business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-biz-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
}

.home-biz-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.home-biz-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.home-biz-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.home-biz-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.home-biz-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.home-biz-card:hover .home-biz-arrow {
  transform: translateX(6px);
}

/* --- Home Honours Grid --- */
.home-honours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-honour-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}

.home-honour-card:hover {
  box-shadow: var(--shadow-lg);
}

.home-honour-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.home-honour-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.home-honour-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* --- Home Academic (side-by-side) --- */
.home-academic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-academic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.home-academic-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.home-academic-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.home-academic-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.home-academic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.home-academic-tags span {
  background: var(--bg-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.home-academic-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* --- Home Global (dark) --- */
.home-global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-global-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.home-global-card h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.home-global-tag {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.home-global-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* --- Home News (list style) --- */
.home-news-list-full {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-news-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.home-news-item:first-child {
  padding-top: 0;
}

.home-news-date {
  flex-shrink: 0;
  text-align: center;
  width: 50px;
}

.home-news-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.home-news-month {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

.home-news-body h4 {
  font-size: 0.95rem;
  margin-top: 6px;
  line-height: 1.5;
}

.home-news-body h4 a {
  color: var(--text-primary);
  text-decoration: none;
}

.home-news-body h4 a:hover {
  color: var(--gold);
}

.home-news-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 4px;
}

/* --- Home Quick Access --- */
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-quick-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.home-quick-card:hover {
  box-shadow: var(--shadow-lg);
}

.home-quick-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.home-quick-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.home-quick-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Homepage Responsive --- */
@media (max-width: 1024px) {
  .stats-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-honours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-academic-grid {
    grid-template-columns: 1fr;
  }

  .home-global-grid {
    grid-template-columns: 1fr;
  }

  .home-news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .stats-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-business-grid {
    grid-template-columns: 1fr;
  }

  .home-honours-grid {
    grid-template-columns: 1fr;
  }

  .home-quick-grid {
    grid-template-columns: 1fr;
  }

  .home-news-featured {
    padding: 24px;
  }
}

/* --- Article Detail --- */
.article-detail {}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-source {
  color: var(--text-light);
}

.article-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
}

.article-body p {
  margin-bottom: 18px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 20px 0;
}

.article-body h2,
.article-body h3 {
  margin: 28px 0 14px;
}

.article-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.article-nav-item {
  flex: 1;
}

.article-nav-next {
  text-align: right;
}

.article-nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.article-nav-item a {
  font-size: 0.93rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.article-nav-item a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.4rem;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .article-nav {
    flex-direction: column;
    gap: 16px;
  }

  .article-nav-next {
    text-align: left;
  }
}

/* --- Partner Region Cards --- */
.partner-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.partner-region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}

.partner-region-card:hover {
  box-shadow: var(--shadow);
}

.partner-region-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.partner-region-header h3 {
  font-size: 1.15rem;
}

.partner-region-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

html.en .partner-region-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

html.en .partner-region-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
}

.partner-region-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.partner-region-card ul {
  padding-left: 18px;
  list-style: disc;
}

.partner-region-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
}

/* --- Cooperation Model Cards --- */
.cooperation-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.cooperation-model-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}

.cooperation-model-card:hover {
  box-shadow: var(--shadow);
}

.cooperation-model-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cooperation-model-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.cooperation-model-en {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.cooperation-model-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.cooperation-model-example {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.cooperation-model-example span {
  font-weight: 600;
  color: var(--primary);
}

/* --- Project Cards --- */
.project-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  transition: box-shadow var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow);
}

.project-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-card-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-status-complete {
  background: #e8f5e9;
  color: #2e7d32;
}

.project-status-active {
  background: #e3f2fd;
  color: #1565c0;
}

.project-status-plan {
  background: #fff3e0;
  color: #e65100;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.project-card-meta span {
  position: relative;
  padding-right: 12px;
}

.project-card-meta span:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: 0;
  color: var(--border);
}

@media (max-width: 1024px) {
  .partner-regions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cooperation-models {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 20px 24px;
  }

  .partner-region-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* --- Apply Guide (replaces forms) --- */
.apply-guide-intro {
  margin-bottom: 28px;
}

.apply-guide-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.apply-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.apply-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.apply-step-card:hover {
  box-shadow: var(--shadow);
}

.apply-step-card h4 {
  font-size: 1rem;
  margin: 12px 0 8px;
  color: var(--primary);
}

.apply-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.apply-contact-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.apply-contact-box h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.apply-contact-box p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.apply-contact-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.apply-materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.apply-material-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.apply-material-card h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.apply-material-card ul {
  padding-left: 18px;
  list-style: disc;
}

.apply-material-card li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .apply-steps-grid {
    grid-template-columns: 1fr;
  }

  .apply-materials-grid {
    grid-template-columns: 1fr;
  }

  .apply-contact-box {
    padding: 20px 24px;
  }
}

/* --- Ceremony Record --- */
.ceremony-record {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ceremony-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.ceremony-header h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.ceremony-meta-line {
  font-size: 0.9rem;
  color: var(--text-light);
}

.ceremony-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ceremony-badge-first {
  background: var(--primary);
}

.ceremony-body {
  padding: 28px 32px;
}

.ceremony-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.ceremony-awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.ceremony-award-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.ceremony-award-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.ceremony-award-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.ceremony-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ceremony-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .ceremony-awards {
    grid-template-columns: 1fr;
  }

  .ceremony-header,
  .ceremony-body {
    padding: 20px 24px;
  }
}

/* ============================================
   RESPONSIVE - New Components
   ============================================ */

@media (max-width: 1024px) {
  .category-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column-text {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-level-3-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sub-nav-link {
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  .section-block {
    padding: 44px 0;
  }

  .category-card-grid {
    grid-template-columns: 1fr;
  }

  .category-card-grid-2 {
    grid-template-columns: 1fr;
  }

  .business-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .governance-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .governance-meta {
    flex-direction: column;
    gap: 8px;
  }

  .dept-grid {
    grid-template-columns: 1fr 1fr;
  }

  .org-level-3-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .leader-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .news-list-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-list-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: auto;
    text-align: left;
  }

  .news-list-day {
    font-size: 1.4rem;
  }

  .highlight-box {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-card .stat-number {
    font-size: 1.8rem;
  }

  .breadcrumb-bar {
    font-size: 0.82rem;
  }

  .dept-grid {
    grid-template-columns: 1fr;
  }

  .org-level-3-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Homepage English hero: keep the long fourth slide clear of the dots. */
html.en .hero-slide:nth-child(4) > .container {
  transform: translateY(-18px);
}

html.en .hero-slide:nth-child(4) .hero-content {
  max-width: 760px;
}

html.en .hero-slide:nth-child(4) .hero-content h1 {
  font-size: 2.35rem;
  line-height: 1.18;
  margin-bottom: 16px;
}

html.en .hero-slide:nth-child(4) .hero-content p {
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  html.en .hero-slide:nth-child(4) > .container {
    transform: translateY(-8px);
  }

  html.en .hero-slide:nth-child(4) .hero-content h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  html.en .hero-slide:nth-child(4) .hero-content p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }
}
