/* Team page – standalone CSS (no index styles) */

/* Local fonts */
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/ReadexPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/ReadexPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* General */
html[lang="en"] #null { display: none; }

body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: #50d8af;
  transition: 0.5s;
}
a:hover, a:active, a:focus {
  color: #51d8af;
  outline: none;
  text-decoration: none;
}

p { padding: 0; margin: 0 0 30px 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Back to top */
.back-to-top {
  position: fixed;
  display: none;
  background: #50d8af;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}
.back-to-top:focus { background: #50d8af; color: #fff; outline: none; }
.back-to-top:hover { background: #0c2e8a; color: #fff; }

/* Header */
#header {
  padding: 24px 0;
  height: 92px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0 6px 9px 0 rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
#header .container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: none;
  padding-right: 20px;
}
@media (max-width: 768px) {
  #header {
    padding: 15px 20px 50px 0;
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
  }
  #header .container { padding-right: 0; }
}
#header #logo h1 {
  font-size: 60px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}
#header #logo h1 a { color: #0c2e8a; line-height: 1; display: inline-block; }
#header #logo h1 a span { color: #50d8af; }
#header #logo img { padding: 0; margin: 0; }
@media (max-width: 768px) {
  #header #logo h1 { font-size: 28px; }
  #header #logo img { max-height: 35px; }
}

/* Nav */
.nav-menu, .nav-menu * { margin: 0; padding: 0; list-style: none; }
.nav-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; }
.nav-menu li { position: relative; white-space: nowrap; }
.nav-menu > li { float: left; }
.nav-menu li:hover > ul, .nav-menu li.sfHover > ul { display: block; }
.nav-menu ul ul { top: 0; left: 100%; }
.nav-menu ul li { min-width: 180px; }
.sf-arrows .sf-with-ul { padding-right: 22px; }
.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 8px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}
.sf-arrows ul .sf-with-ul:after { content: "\f105"; }
#nav-menu-container { float: none; margin: 0; }
@media (max-width: 768px) { #nav-menu-container { display: none; } }
.nav-menu a {
  padding: 10px 8px;
  text-decoration: none;
  display: inline-block;
  color: #555;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 18px;
  outline: none;
  cursor: pointer;
}
.nav-menu li:hover > a, .nav-menu > .menu-active > a { color: #50d8af; }
.nav-menu > li { margin-left: 10px; }
.nav-menu #lang-toggle {
  background: transparent !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block !important;
}
.nav-menu #lang-toggle:hover { color: #50d8af !important; border-color: #50d8af !important; }
.nav-menu #lang-toggle .lang-separator { margin: 0 4px; color: #ccc; }
.nav-menu #lang-toggle .lang-zh, .nav-menu #lang-toggle .lang-en { color: #333; }
.nav-menu #lang-toggle.lang-zh-active .lang-zh { color: #50d8af !important; font-weight: 600 !important; }
.nav-menu #lang-toggle.lang-en-active .lang-en { color: #50d8af !important; font-weight: 600 !important; }
.nav-menu ul { margin: 4px 0 0 0; padding: 10px; box-shadow: 0 0 30px rgba(127,137,161,0.25); background: #fff; }
.nav-menu ul li a { padding: 10px; color: #333; display: block; font-size: 13px; }
.nav-menu ul li:hover > a { color: #50d8af; }
.nav-menu ul ul { margin: 0; }

/* Mobile nav */
#mobile-nav-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 999;
  margin: 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  outline: none;
  cursor: pointer;
}
#mobile-nav-toggle i { color: #555; }
@media (max-width: 768px) {
  #mobile-nav-toggle {
    display: inline;
    top: 72px;
    right: 20px;
  }
}
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(52,59,64,0.9);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}
#mobile-nav ul { padding: 0; margin: 0; list-style: none; }
#mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  padding: 10px 22px 10px 15px;
  display: block;
  outline: none;
}
#mobile-nav ul .menu-has-children i { position: absolute; right: 0; z-index: 99; padding: 15px; cursor: pointer; color: #fff; }
#mobile-nav ul .menu-has-children i.fa-chevron-up { color: #50d8af; }
#mobile-nav ul .menu-item-active { color: #50d8af; }
#mobile-body-overly {
  width: 100%; height: 100%; z-index: 997;
  top: 0; left: 0;
  position: fixed;
  background: rgba(52,59,64,0.9);
  display: none;
}
body.mobile-nav-active { overflow: hidden; }
body.mobile-nav-active #mobile-nav { left: 0; }
body.mobile-nav-active #mobile-nav-toggle { color: #fff; }

/* Section header (team page: centered, no line) */
.section-header { margin-bottom: 30px; }
.section-header h2 {
  font-size: 32px;
  color: #0c2e8a;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 0;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.section-header h2::before { display: none; }
@media (max-width: 767px) {
  .section-header { margin-bottom: 20px; text-align: center; }
  .section-header h2 { font-size: 24px; }
}

/* About */
#about {
  padding: 48px 0 56px;
  background: #fff;
}
#about .about-img { margin-top: 0; overflow: hidden; border-radius: 16px; }
#about .about-img img { margin-left: 0; max-width: 100%; border-radius: 16px; display: block; }
#about .content h2 {
  color: #0c2e8a;
  font-weight: 700;
  font-size: 36px;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
#about .content h3 {
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #555;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}
#about .content p { line-height: 26px; }
#about .content p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  #about { padding: 20px 0; }
  #about .about-img { height: auto; margin-bottom: 20px; }
  #about .about-img img { margin-left: 0; width: 100%; height: auto; }
  #about .content h2 { font-size: 28px; text-align: center; margin-bottom: 15px; }
  #about .content h3 { font-size: 16px; text-align: center; }
}

/* Team */
#team.team-section {
  background: #f6f8fa;
  padding: 48px 0 56px;
}
#team .team-header { text-align: center; margin-bottom: 3rem; }
#team .team-header h2 { margin-bottom: 0.5rem; padding-bottom: 0; }
#team .team-header h2::before { display: none; }
#team .team-tagline { font-size: 1.1rem; color: #6c757d; margin: 0; font-weight: 400; }
#team .team-list .col-lg-6 { margin-bottom: 2.5rem; }
#team .member.member--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}
#team .member__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(80,216,175,0.22) 0%, rgba(12,46,138,0.08) 100%);
  color: #50d8af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid rgba(80,216,175,0.4);
}
#team .member--horizontal:hover .member__icon {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(80,216,175,0.35) 0%, rgba(12,46,138,0.18) 100%);
  border-color: rgba(80,216,175,0.6);
}
#team .member__icon .fa { font-size: inherit; }
#team .member__body { flex: 1; min-width: 0; }
#team .member__name { font-weight: 700; font-size: 1.15rem; color: #212529; margin: 0 0 0.5rem; line-height: 1.4; }
#team .member__sep { color: #adb5bd; font-weight: 600; margin: 0 0.25rem; }
#team .member__role { font-weight: 600; font-size: 1rem; color: #495057; }
#team .member__bio { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #6c757d; }
#team .member .pic { overflow: hidden; text-align: center; }
#team .member .pic img { max-width: 100%; }
#team .member .social { margin-top: 0.5rem; }
#team .member .social a { color: #0c2e8a; }
#team .member .social i { font-size: 1rem; margin: 0 4px; }
@media (max-width: 767px) {
  #team.team-section { padding: 3rem 0 3.5rem; }
  #team .team-header { margin-bottom: 2rem; }
  #team .team-list .col-lg-6 { margin-bottom: 2rem; }
  #team .member.member--horizontal { gap: 1.25rem; }
  #team .member__icon { width: 56px; height: 56px; min-width: 56px; font-size: 1.25rem; }
  #team .member__name { font-size: 1.05rem; }
  #team .member__bio { font-size: 0.9rem; }
}

/* Contact */
#contact {
  padding: 48px 0 56px;
  background: #fff;
}
#contact .section-header { text-align: center; }
#contact .section-header h2 { padding-bottom: 0; }
#contact .section-header h2::before { display: none; }
#contact .contact-info { margin-bottom: 20px; text-align: center; }
#contact .contact-info i { font-size: 48px; display: inline-block; margin-bottom: 10px; color: #50d8af; }
#contact .contact-info address, #contact .contact-info p { margin-bottom: 0; color: #000; }
#contact .contact-info h3 { font-size: 18px; margin-bottom: 15px; font-weight: bold; text-transform: uppercase; color: #999; }
#contact .contact-info a { color: #000; }
#contact .contact-info a:hover { color: #50d8af; }
#contact .contact-address, #contact .contact-phone, #contact .contact-email { margin-bottom: 20px; }
@media (min-width: 768px) {
  #contact .contact-address, #contact .contact-phone, #contact .contact-email { padding: 20px 0; }
  #contact .contact-phone { border-left: 1px solid #ddd; border-right: 1px solid #ddd; }
}

/* Footer */
#footer {
  background: #f2f5f8;
  padding: 0 0 30px 0;
  font-size: 14px;
}
#footer .copyright { text-align: center; padding-top: 30px; }
#footer .credits { text-align: center; font-size: 13px; color: #555; }
#footer .credits a { color: #0c2e8a; }
