/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 防止iOS双击缩放 */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 允许文本选择的元素 */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
article,
section {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  /* 防止iOS双击缩放和触摸高亮 */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(52, 73, 123, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(52, 73, 123, 1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
}

.nav-logo img {
  height: 62px;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
 flex: 1;
 justify-content: space-around;
 margin: 0 6rem;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00bcd4;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-search .search-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-search .search-icon:hover {
  transform: scale(1.2);
}

/* 语言切换下拉菜单样式 */
.language-dropdown {
  position: relative;
  margin-right: 20px;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 14px;
  font-weight: 500;
  min-width: 80px;
}

.language-current:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.language-current .fas.fa-globe {
  font-size: 16px;
  color: #00bcd4;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.language-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 150px;
  overflow: hidden;
  margin-top: 5px;
}

.language-dropdown:hover .language-options,
.language-dropdown.active .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: #f8f9fa;
  color: #00bcd4;
}

.lang-option.active {
  background: #00bcd4;
  color: white;
}

.lang-option.active:hover {
  background: #0097a7;
}

.lang-text {
  font-weight: 600;
  font-size: 14px;
}

.lang-name {
  font-size: 12px;
  opacity: 0.8;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* 主页横幅样式 */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(52, 73, 123, 0.8),
    rgba(52, 73, 123, 0.6)
  );
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  color: white;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.title-line {
  display: block;
  animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line:nth-child(3) {
  animation-delay: 0.4s;
}

.title-line:nth-child(4) {
  animation-delay: 0.6s;
}

.highlight-red {
  color: #ff6b6b;
}.highlight-red2 {
  color: #ff4d9d;
}

.highlight-blue {
  color: #00bcd4;
}.highlight-blue2 {
  color: #24c067;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: #008ad2;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.hero-graphics {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-squares {
  position: relative;
  width: 300px;
  height: 200px;
}

.square {
  position: absolute;
  border-radius: 10px;
  animation: float 6s ease-in-out infinite;
}

.square-1 {
  width: 60px;
  height: 60px;
  background: #ff6b6b;
  top: 20px;
  left: 50px;
  animation-delay: 0s;
}

.square-2 {
  width: 40px;
  height: 40px;
  background: #00bcd4;
  top: 100px;
  right: 30px;
  animation-delay: 1s;
}

.square-3 {
  width: 50px;
  height: 50px;
  background: #ffd93d;
  bottom: 80px;
  left: 20px;
  animation-delay: 2s;
}

.square-4 {
  width: 35px;
  height: 35px;
  background: #6c5ce7;
  bottom: 30px;
  right: 60px;
  animation-delay: 3s;
}

.globe-icon {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  animation: rotate 20s linear infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

/* 组织架构部分 */
.organisation-section {
  padding: 100px 0;
  background: url(../image/6661.jpg);
  background-size: 100% 100%;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: #34497b;
  margin-bottom: 20px;
}
.contact-section .section-header h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: left;
}
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #00bcd4, #0097a7);
  margin: 0 auto;
}

.organisation-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.organisation-text {
  flex: 1;
}

.organisation-text h3 {
  font-size: 2rem;
  color: #34497b;
  margin-bottom: 30px;
}

.organisation-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #666;
}

.learn-more-btn {
  background: #008ad2;
  color: white;
  border: none;
  padding: 5px 40px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.learn-more-btn:hover {
  background: #0097a7;
  transform: translateX(5px);
}
.learn-more-btn img {
  width: 50px;
}
.organisation-images {
  width: 50%;
}
.organisation-images img {
  width: 100%;
}
.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  height: 400px;
}

.image-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-10px);
}

.image-item.large {
  grid-row: 1 / 3;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 新闻资讯部分 */
.news-section {
  padding: 100px 0;
  background: url(../image/6662.jpg);
  background-size: 100% 100%;
  color: white;
}
.partners-section .section-header,
.news-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.news-section .section-header h2 {
  color: white;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.more-link:hover {
  transform: translateX(5px);
}

.more-link img {
  width: 40px;
}
.partners-section .more-link {
  color: black;
}
.news-grid {
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
  display: flex;
  /*justify-content: space-between;*/
  flex-wrap: wrap;
  /*gap: 40px;*/
}

.news-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  width: 30%;
  margin-right: 3%;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.news-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.news-image {
  height: 400px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 25px;
}

.news-content h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: white;
}

.news-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0.9;
}
.news-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-date {
  font-size: 0.9rem;
  color: #00bcd4;
  font-weight: 500;
}

/* 合作伙伴部分 */
.partners-section {
  padding: 100px 0;
  background: url(../image/6663.jpg);
  background-size: 100% 100%;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
}

.partner-item {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.partner-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
}


/* 合作伙伴悬浮按钮 */
.partner-actions {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  transition: all 0.3s ease;
  opacity: 0;
}

.partner-item:hover .partner-actions {
  bottom: 10px;
  opacity: 1;
}

.partner-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: white;
  pointer-events: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 10;
  position: relative;
}

.website-btn {
  background: #008ad2;
}

.website-btn:hover {
  background: #0097a7;
  transform: translateY(-2px);
}

.profile-btn {
  background: #00bcd4;
}

.profile-btn:hover {
  background: #0097a7;
  transform: translateY(-2px);
}

/* 合作伙伴简介弹窗 */
.partner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.partner-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.modal-header h3 {
  margin: 0;
  color: #34497b;
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #e9ecef;
  color: #333;
}

.modal-body {
  padding: 25px;
}

.modal-body p {
  margin: 0;
  line-height: 1.6;
  color: #555;
  font-size: 1rem;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 联系我们部分 */
.contact-section {
  padding: 100px 0 0;
  background: url(../image/6664.jpg);
  background-size: 100% 100%;
  color: white;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: #00bcd4;
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-item p {
  opacity: 0.9;
  line-height: 1.6;
}

.contact-btn {
  background: #008ad2;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.contact-logo {
  flex: 1;
  text-align: center;
}

.contact-logo > img {
  max-width: 200px;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #00bcd4;
  transform: translateY(-5px);
}

.social-links img {
  width: 25px;
  height: 25px;
}

.social-links i {
  font-size: 1.2rem;
  color: white;
}

/* 微信二维码悬浮效果 */
.wechat-link {
  position: relative;
}

.wechat-qr-popup {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 150px;
  text-align: center;
}

.wechat-qr-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: white;
}

.wechat-link:hover .wechat-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.wechat-qr-popup .qr-code {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.wechat-qr-popup p {
  color: #333;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  opacity: 0.7;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #00bcd4;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.back-to-top:hover {
  background: #0097a7;
  transform: translateY(-5px);
}

/* 动画效果 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .organisation-section,
    .news-section,
    .article-main,
    .news-list-section,
    .partners-section{
        padding: 40px 0 !important;
    }
    .contact-section{
        padding: 40px 0 0;
    }
    .news-list-header,
    .section-header{
        margin-bottom:20px !important;
    }
  .hamburger {
    display: flex;
  }

  /* 移动端语言切换下拉菜单样式 */
  .language-dropdown {
    margin-right: 15px;
  }

  .language-current {
    padding: 6px 12px;
    font-size: 13px;
    min-width: 70px;
  }

  .language-options {
    min-width: 130px;
    right: -10px;
  }

  .lang-option {
    padding: 10px 14px;
  }

  .lang-text {
    font-size: 13px;
  }

  .lang-name {
    font-size: 11px;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #34497b;
    width: 100%;
    text-align: center;
    margin: 0;
    transition: 0.3s;
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .organisation-content {
    flex-direction: column;
    gap: 40px;
  }

  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .news-grid {
    flex-direction: column;
    /*grid-template-columns: 1fr;*/
  }
  .hero-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
  }
  .news-item{
    width: 100%;
    margin-right: 0;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
    .partner-item{
        flex-direction: column;
    }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  /* 移动端合作伙伴按钮优化 */
  .partner-actions {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 15px;
    justify-content: center;
  }

  .partner-item:hover .partner-actions {
    bottom: auto;
  }

  .partner-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 移动端弹窗优化 */
  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }
}
