/* 顶部导航和底部公共样式 */

body {
  color: #1f2933;
  background-color: #f5f7fa;
  font-family: "Microsoft YaHei", sans-serif,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    color: var(--text-color);
    line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer !important;
}

a:hover {
  text-decoration: none;
  cursor: pointer !important;
  color: #28a745;
}

:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --text-color: #333;
    --light-bg: #f8f9fa;
}
/* Banner样式 */
.news-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/n_xinwen.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: bannerZoomIn 8s ease-out forwards;
}

*,div,h3,p{
    text-decoration: none !important;
}

a, a:hover, a:active, a:visited {
    cursor: pointer !important;
}

/* 通用动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}


.main-container {
  width: 100%;
  width: 1400px;
  margin: 0 auto;
}

/* 顶部导航 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e9f2;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 只做 PC Web 展示，不需要折叠菜单，始终横向导航 */
.navbar {
  padding-left: 0;
  padding-right: 0;
}

.navbar-toggler {
  display: none;
}

.navbar-collapse {
  display: flex !important;
  flex-basis: auto !important;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
}

.navbar-brand-logo img {
  height: 48px;
  width: auto;
  border-radius: 0;
  margin-right: 10px;
}

.navbar-brand-text-cn {
  font-size: 18px;
  font-weight: 600;
  color: #1f2933;
}

.navbar-brand-text-en {
  font-size: 11px;
  color: #9fb3c8;
  letter-spacing: 0.06em;
}

.navbar-nav .nav-link {
  padding: 0 35px;
  font-size: 15px;
  display: inline-block;
  border-radius: 999px;
  padding-top: 6px;
  padding-bottom: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-item{
  padding-top: 6px;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #10b981 !important;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 24px !important;
   
}
.navbar-light .navbar-nav .nav-link{
    color: #1f2933;
}

.navbar-nav .nav-link.active::after {
  content: "";
  display: block;
  height: 3px;
  width: 28px;
  background-color: #10b981;
  border-radius: 999px;
  margin: 6px auto 0;
}

.header-lang-switch {
  font-size: 14px;
  color: #4a5568;
}

.header-lang-switch .current {
  color: #10b981;
  font-weight: 500;
}

.header-lang-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: #e5e9f2;
  margin: 0 10px;
}

/* 底部区域 */
.site-footer {
  background-color: #204060;
  color: #ffffff;
  padding-top: 30px;
}

.footer-top {
  padding: 90px 0 90px;
  background: linear-gradient(90deg, rgba(57, 176, 88, 0.1) 0%, rgba(244, 192, 37, 0.05) 50%, rgba(57, 176, 88, 0.1) 100%);
  text-align: center;
}

.footer-top-title {
  font-size: 34px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-top-subtitle {
  font-size: 16px;
  color: #67737e;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-top .d-flex {
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-top .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  min-width: 160px;
  transition: all 0.3s ease;
}

.footer-top .btn-primary {
  background-color: #39b058;
  border-color: #39b058;
  color: #ffffff;
}

.footer-top .btn-primary:hover {
  background-color: #2d8d46;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(57, 176, 88, 0.3);
}

.footer-top .btn-outline-primary {
  color: #39b058;
  border:2px solid #39b058;
  background-color: transparent;
}

.footer-top .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(57, 176, 88, 0.2);
}

.footer-main {
  padding: 40px 0;
}

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

.footer-logo img {
  height: 41px;
  margin-right: 10px;
  object-fit: contain;
}

.footer-logo-text-cn {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-logo-text-en {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 0;
  width: 300px;
  margin-top: 26px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-link,
.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
}

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

.footer-links-list li {
  margin-bottom: 10px;
}

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

.footer-contact-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-icon {
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-icon-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  vertical-align: middle;
}

.contact-text {
  flex: 1;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 20px 0;
  width: 1400px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}


.text-primary{
    color: #39b058 !important;
}

@media (max-width: 1500px) {
  .main-container,.footer-bottom {
    width: 1200px;
  }
  .container{
    max-width: 1200px;
  }
}