/* Enhanced Base styles */
:root {
  --primary-color: #37883f;
  --secondary-color: #45a049;
  --accent-color: #e74c3c;
  --light-bg: #f8f9fa;
  --dark-bg: #37883f;
  --text-color: #333;
  --light-text: #fff;
}

body {
  font-family: "Open Sans", inherit, sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
  background-color: #fff;
}
@keyframes fadeInUp50 {
  from {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
  }
}

.fadeInUp50 {
  animation-duration: 1.5s;
  animation-fill-mode: both;
}

@keyframes fadeInUp502 {
  from {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-150%);
  }

  to {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
  }
}

.fadeInUp502 {
  animation-duration: 2s;
  animation-fill-mode: both;
}

.dd.animated.fadeInRight50 img {
  transition: all 0.8s;
}

.indexCont1 .cTab .dd {
  display: flex;
  align-items: center;
  height: 272px;
}

.banner .swiper-slide .link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.le .list a:first-child {
  display: none;
}

.indexCont4 .d1 .til {
  background: none;
}
/* Enhanced Hero Section */

.cta-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Sections */
section {
  /* padding: 5rem 2rem; */
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
}

section h2:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  margin: 1rem auto;
}

/* Enhanced Research Grid */
/* .research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
} */

.research-item {
  background: var(--light-bg);
  /* padding: 2rem; */
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.research-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.research-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.research-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.team-member {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.member-description {
  padding: 0 15px;
  font-size: 14px;
  line-height: 1.5;
}

.member-title {
  font-size: 16px;
  margin: 10px 0;
}

.social-links {
  display: flex;
  /* justify-content: space-between; */
  /* gap: 1rem;
    margin-top: 1rem; */
}
.social-links i {
  margin-right: 10px !important;
}
.social-links i:hover {
  color: var(--secondary-color);
}

.social-icon {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--secondary-color);
}

.wechat-container {
  position: relative;
  display: inline-block;
}

.qr-code {
  display: none;
  position: absolute;
  top: 90%; /* Position under the icon */
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* Smaller size */
  height: 100px; /* Smaller size */
  padding: 5px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 10px; /* Add some space between icon and QR code */
}

.wechat-container:hover .qr-code {
  display: block;
}

/* Contact Section */
#contact {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 3rem;
  margin-top: 4rem;
}

#contact p {
  text-align: center;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #db0058; /* 玫红色 */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #db0058; /* 玫红色 on hover */
}

/* 在你的 styles.css 文件中添加 */
a {
  transition: color 0.3s ease, text-decoration 0s ease; /* 平滑颜色和下划线的变化 */
}

a:hover {
  color: #4caf50; /* 鼠标悬停时的颜色 */
  text-decoration: none; /* 确保悬停时没有下划线 */
}

a:active {
  color: #45a049; /* 点击时的颜色 */
}

/* 在您的 styles.css 文件中或 <style> 标签内添加/更新以下样式 */

/* 重置链接的默认样式 */
a {
  color: #45a049; /* 设置链接颜色为绿色 */
  text-decoration: none; /* 移除下划线 */
  transition: color 0.3s ease; /* 平滑颜色变化，如果需要 */
}

/* 悬停状态 */
a:hover {
  color: #db0058; /* 悬停时颜色保持三角梅玫红色 */
  text-decoration: none; /* 确保悬停时没有下划线 */
}
/* 在您的 styles.css 文件中或 <style> 标签内添加/更新以下样式 */

/* section { */
/* margin-bottom: 20px; 减少外边距 */
/* padding: 20px; 减少内边距 */
/* } */

/* 如果需要，也可以为特定的 section 元素设置样式 */
#about,
#research,
#Support_Our_Research {
  margin-bottom: 20px; /* 减少外边距 */
  padding: 20px; /* 减少内边距 */
}

/* 隐藏子菜单 */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #37883f;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.wechat-qr img {
  width: 115px; /* 设置二维码的宽度 */
  height: 115px; /* 高度自适应 */
  border: 1px solid #ddd; /* 可以添加边框，根据需求调整 */
  border-radius: 4px; /* 可以添加圆角，根据需求调整 */
}

@keyframes fadeInUp50 {
  from {
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp50 {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.icon {
    display:flex;
    align-items: center;
}
.fa-chevron-down {
    font-size: 20px;
}
/* 手机 */
@media only screen and (max-width: 1000px) {
  .txt1 {
    font-size: 32px !important;
    font-weight: 700 !important;
  }
  .txt2 {
    font-size: 16px !important;
    text-align: center;
    
  }
  .txt3 {
    font-size: 15px !important;
  }
  .faq-question {
    font-size: 17px !important;
     letter-spacing: 1px;
  }
  .faq-answer p {
    font-size: 16px !important;
  }
  .txt4 {
    font-size: 32px !important;
    font-weight: 700 !important;
  }
  .concept-card h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
  }
  .concept-card p {
    font-size: 16px !important;
  }
  .mains .concept-card i {
    font-size: 45px !important;
  }
  .mains .faq-question .icon {
    font-size: 20px !important;

  }
}

/* pc */
@media only screen and (min-width: 1001px) {
  .txt1 {
    font-size: 40px !important;
    font-weight: 700 !important;
  }
  .txt2 {
    font-size: 19px !important;
    text-align: center;
    /* letter-spacing: 4px; */
  }
  .txt3 {
    font-size: 15px !important;
  }
  .faq-question {
    font-size: 20px !important;
    /* letter-spacing: 2px; */
  }
  .faq-answer p {
    font-size: 16px !important;
  }
  .txt4 {
    font-size: 32px !important;
    font-weight: 700 !important;
  }
  .concept-card h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
  }
  .concept-card p {
    font-size: 16px !important;
  }
  .mains .concept-card i {
    font-size: 45px !important;
  }
}
