* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 1rem 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
}

.logo-link {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 100;
  width: 120px;
}

.logo {
  width: 280px;
  height: auto;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 50;
  max-width: 600px;
  padding: 2rem;
  margin-top: 14rem;
}

.hero-title {
  font-size: 3.5rem;
  /* 适当减小字体大小 */
  line-height: 1.2;
  /* 调整行高 */
  color: #1a202c;
  margin-bottom: 1rem;
  white-space: nowrap;
  /* 强制不换行 */
  max-width: 100%;
  /* 确保宽度适应容器 */
}

.hero-subtitle {
  font-size: 2rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.cta-button.primary {
  background: linear-gradient(135deg, #007bff 0%, #00b8d9 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.cta-button.primary .button-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.cta-button.primary:hover .button-arrow {
  transform: translateX(5px);
}

.icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  opacity: 0.9;
  filter: blur(40px);
  z-index: -1;
}

/* about us块样式*/
.about-content-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.about-item {
  width: 30%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1rem;
}

.about-item img {
  width: 80%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.about-item h3 {
  margin-bottom: 0.5rem;
}

section#about h2 {
  font-size: 2.5rem;
  text-align: center;
}

section#about h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

section#about p {
  font-size: 1.25rem;
}

/* solutions块样式*/
#solutions {
  padding: 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.solution-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.solution-item {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
}

.solution-content {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.solution-content img {
  width: 7rem;
  height: 7rem;
  margin-right: 1rem;
}

.solution-text {
  text-align: left;
}

.solution-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.solution-desc {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.solution-link {
  align-self: flex-end;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.solution-link:hover {
  color: #0056b3;
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.2);
}

.modal-content {
  background-color: #895eb3;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 80%;
  max-width: 40rem;
  color: white;
  line-height: 0.8;
}

#modal #modal-title {
  text-align: center;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: white;
}

.close:hover,
.close:focus {
  color: lightgray;
  text-decoration: none;
  cursor: pointer;
}

#modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#modal-desc {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  /* 描述文本底部间距 */
  white-space: normal;
  word-wrap: break-word;
}

#services {
  padding: 2rem;
  text-align: center;
}

.services-title {
  font-size: 2.5rem;
  margin-top: 5rem;
  margin-bottom: 4rem;
}

/* Bayesian AI Membership样式 */
.membership {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.membership-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 4rem;

}

.membership-info {
  text-align: left;
  margin-bottom: 1rem;
  background-color: rgba(218, 218, 218, 0.3);
  padding-inline: 1.5rem;
  padding-block: 1rem;
}

.membership-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.membership-info p {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  color: #777;
  font-size: 1rem;
}

.price-large {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  flex: 1;
}

.benefits-title {
  font-size: 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  margin-left: 4rem;
}

.membership-benefits {
  list-style-type: none;
  text-align: left;
  margin-left: 4rem;
}

.membership-benefits li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.membership-benefits li i {
  margin-right: 0.5rem;
  background-color: rgb(99, 176, 218);
  /* 背景颜色，可根据喜好调整 */
  color: white;
  /* 对号勾颜色为白色 */
  padding: 0.11rem;
  /* 内边距，让背景更美观 */
  border-radius: 50%;
  /* 使背景呈圆形 */
  width: 1.5rem;
  /* 宽度 */
  height: 1.5rem;
  /* 高度 */
  text-align: center;
  /* 水平居中 */
}


/* Clinical Trial Services样式 */
.service-subtitle {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.service-categories {
  display: flex;
  justify-content: space-around;
}

.service-category {
  background-color: #895eb3;
  color: white;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
  width: 16rem;
}

.service-category h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-category ul {
  list-style-type: none;
  text-align: left;
}

.service-category li {
  font-size: 1.1rem;
  line-height: 1.5rem;
}

/* 可展开部分样式 */
.accordion-subtitle {
  margin-top: 2rem;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.accordion {
  width: 100%;
}

.accordion-item {
  border: 1px solid #eaeaea;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  background-color: #f9f9f9;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.accordion-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.accordion-button span {
  flex-grow: 1;
  text-align: left;
}

.arrow {
  transition: transform 0.3s ease;
}

.accordion-item.expanded .arrow {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.accordion-content ul {
  margin-left: 1.5rem;
  flex: 1;
}

.accordion-content img {
  width: 10rem;
  height: auto;
  margin-right: 5rem;
  /* 给图片添加左外边距 */
}

.accordion-content li {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}


.hidden {
  display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    padding: 1rem;
  }
}

/* 内容区域样式 */
.section {
  padding: 4rem 5%;
  min-height: 100vh;
}

#about {
  background: #f8f9fa;
}

#solutions {
  background: #fff;
}

#services {
  background: #f8f9fa;
}

.footer {
  background: #333;
  color: white;
  padding: 3rem 5%;
  text-align: center;
  line-height: 2rem;
}

.team-members {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.member {
  width: 50%;
  cursor: pointer;
}

.member-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  overflow: hidden;
}

.member-info h3 {
  margin-bottom: 0.5rem;
}

/* 新模态框样式 */
.team-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  /* 确保层级不冲突，比可能存在的其他模态框层级稍高 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.team-modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  color: black;
}

.team-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.team-close:hover,
.team-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* 平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

.site-registration{
  color: #FFFFF0; 
  text-decoration: none;
  font-size: 0.8rem;
}