html {
  scroll-behavior: smooth;  /* 启用平滑滚动 */
}

.header {
	width: 100%;
	height: 105px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
    justify-content: center; /* 让 logo 居中 */
    align-items: center;     /* 垂直居中 */
	
}

.header-logo {	
	width: 200px;
	height: 48px;
	margin-top: 36px 0 20px 0;
}

/**
 .email {
  margin-right: -500px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #636158;
} 

.email a {
  text-decoration: none;
  color: #999;
  font-family: PingFangSC-Regular;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}
.email a:hover {
  color: #5A8F72;
} 
**/

/* 固定导航栏占位元素 */
.fixed-nav-placeholder {
    height: 0;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
	z-index: 999; /* 确保在固定导航栏下方 */
}


/* 确保Logo链接样式正确 */
.fixed-nav-logo a {
    display: block;
    height: 100%;
}

.fixed-nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 添加悬停效果 */
.fixed-nav-logo a:hover img {
    transform: scale(1.05);
}

.banner {
	width: 100%;
	height: 796px;
	background: url("../img/banner.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
	display: flex;
	justify-content: space-around;
}

.banner-nav{
	width: 88%;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden; /* 超出部分隐藏 */
	white-space: nowrap; /* 禁止换行 */
}

.banner-nav a {
	flex-shrink: 0; /* 禁止缩小 */
	width: auto;
	min-width: 250px; /* 设置最小宽度 */
	padding: 0 20px; /* 左右内边距代替固定宽度 */
	height: 60px;
	font-size: 16px;
	color: #666;
	font-family: PingFangSC-Regular;
	line-height: 60px;
	transition: all 0.3s ease; /* 添加过渡效果 */
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); /* 添加默认轻微阴影 */
	text-align: center; /* 文字居中 */
}

.banner-nav a:hover {
  color: #333; /* 文字颜色变化 */
  font-size: 18px; /* 文字放大 */
  /* text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); /* 悬停时增强阴影效果 */ */
  transform: scale(1.05); /* 轻微放大效果 */
}

/* 固定导航栏样式 */
.fixed-nav {
    position: fixed;
	top: -80px;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	padding: 0 5%;
	z-index: 1000;
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 改为transform动画 */
	transform: translateY(-100%); /* 初始位置 */
}

/* 导航栏显示时的状态 */
.fixed-nav.visible {
    transform: translateY(0);
    top: 0;
}

.fixed-nav-logo {
    width: 150px;
    height: 36px;
    margin-right: 40px;
}

.fixed-nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fixed-nav-menu {
    display: flex;
    height: 100%;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.fixed-nav-menu a {
    flex-shrink: 0;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 15px;
    font-family: PingFangSC-Regular;
    transition: all 0.3s ease;
}

.fixed-nav-menu a:hover {
    color: #333;
    transform: scale(1.05);
}

/* 提前为body添加padding，避免内容跳动 */
body {
    padding-top: 0;
    transition: padding-top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.fixed-nav-active {
    padding-top: 80px;
}

/* 调整banner-nav的最小宽度 */
.banner-nav a {
    min-width: 200px; /* 从250px调整为200px */
}

.prize {
	width: 100%;
	height: 336px;
	background: url("../img/wisebio-prize.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product1 {
	width: 100%;
	height: 917px;
	background: url("../img/product1.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product2 {
	width: 100%;
	height: 990px;
	background: url("../img/product2.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product3 {
	width: 100%;
	height: 923px;
	background: url("../img/product3.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product4 {
	width: 100%;
	height: 906px;
	background: url("../img/product4.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product5 {
	width: 100%;
	height: 1034px;
	background: url("../img/product5.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.product6 {
	width: 100%;
	height: 942px;
	background: url("../img/award.png") no-repeat;
	background-position: center;     /* 图片居中 */
	background-size: cover;          /* 关键：覆盖整个容器 */
}

.footer {
  width: 100%;
  background-color: #ffffff;  /* 白色背景 */
  text-align: center;         /* 居中对齐 */
  padding: 20px 0;            /* 上下留白 */
  font-size: 14px;
  color: #333333;             /* 字体颜色 */
  border-top: 1px solid #eee; /* 上边界分隔线 */
}
.footer a {
  color: #333333;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}