/*典型案例*/
/*头部*/
header.main nav.main .main-container {
  height: 132px;
}

header.main.jjfa nav.main {
  border-bottom: none;
}

header.main nav.main {
  background-color: #F7F7F7;
}

header.main .nav-list {
  text-align: center;
}

header.main.jjfa .content p {
  margin-top: 18px;
  font-weight: 400;
  font-size: 19px;
  color: #272727;
}

header.main .nav-list li {
  height: 75px;
  font-weight: 400;
  font-size: 16px;
  color: #272727;
  margin: 0 20px;
  width: 85px;
}

nav.main ul li:hover {
  border-bottom: 2px solid #DC0014;
}

header.main .main-container.content {
  background-image: url('../../images/educationNew/dxal-bj.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 519px;
  padding-top: 126px;
}

header.main .main-container p {
  margin: 18px auto 46px auto;
}

header.main .content h1 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 0px;
}

header.main.content-center .main-container p {
  width: 1040px;
  font-size: 23px;
  color: #FFFFFF;
  margin-top: 32px;
  margin-bottom: 54px;
  text-align: center;
  height: 59px;
  line-height: 35px;
}

header .more-button {
  width: 161px;
  height: 58px;
  background: #DC0014;
  font-size: 21px;
  color: #FFFFFF;
  margin-top: 0px;
  margin-bottom: 58px;
  transition: all 0.3s ease;
}

header .more-button:hover {
  background: #B3000F;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 0, 20, 0.3);
}

header.main.content-center {
  height: auto;
}

/*正文*/
/*区块标题*/
.section-title {
  font-size: 40px;
  color: #272727;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #DC0014;
  margin: 15px auto 0;
}

/*生态权益*/
.stqy .section-title {
  margin-top: 77px;
}

.stqy-list {
  width: 1197px;
  margin: 0 auto;
  display: flex;
  margin-bottom: 102px;
  margin-top: 87px;
}

.stqy-item-line {
  height: 171px;
  width: 1px;
  border-left: 1px solid #D5D5D5;
  align-self: flex-end;
  transition: all 0.3s ease;
}

.stqy-item:hover + .stqy-item-line,
.stqy-item-line:hover {
  border-left-color: #DC0014;
  height: 200px;
}

.stqy-img {
  width: 91px;
  height: 91px;
  transition: all 0.3s ease;
}

.stqy-title {
  font-size: 18px;
  color: #353230;
  margin: 25px 0 21px 0;
  transition: all 0.3s ease;
}

.stqy-item {
  width: 298px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stqy-item:hover {
  transform: translateY(-5px);
}

.stqy-item:hover .stqy-img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.stqy-item:hover .stqy-title {
  color: #DC0014;
}

.stqy-content {
  width: 120px;
  font-size: 15px;
  color: #626367;
  text-align: center;
  transition: all 0.3s ease;
}

.stqy-item:hover .stqy-content {
  color: #333;
  transform: translateY(2px);
}

/*合作伙伴类型*/
.hblx {
  background-color: #EFEFEF;
  padding-top: 83px;
  padding-bottom: 125px;
}

.hblx-list {
  width: 1245px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-top: 68px;
  gap: 40px;
}

.hblx-item {
  width: 603px;
  height: 367px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border-radius: 8px;
}

.hblx-item:nth-child(1) {
  background: no-repeat center/cover url('../../images/educationNew/sthb-hblx1.png');
}

.hblx-item:nth-child(2) {
  background: no-repeat center/cover url('../../images/educationNew/sthb-hblx2.png');
}

/* 去掉顶部流光效果 */
/* .hblx-item::before 相关代码已移除 */

.hblx-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(220, 0, 20, 0.2);
}

.hblx-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 0, 20, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hblx-item:hover::after {
  opacity: 1;
}

.hblx-title {
  font-size: 21px;
  color: #FFFFFF;
  margin: 73px 0 0 58px;
  transition: all 0.4s ease;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hblx-item:hover .hblx-title {
  color: #FFD700;
  transform: translateX(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hblx-item:hover .hblx-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FFD700;
  animation: underlineExpand 0.6s ease forwards;
}

@keyframes underlineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.hblx-content {
  font-size: 16px;
  color: #DFDFDF;
  margin: 31px 0 63px 58px;
  width: 465px;
  transition: all 0.4s ease 0.1s;
  line-height: 1.6;
  z-index: 2;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hblx-item:hover .hblx-content {
  color: #FFFFFF;
  transform: translateX(5px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.dbhb-content-container {
  font-size: 15px;
  color: #FFFFFF;
  background: rgba(220, 0, 20, 0.4);
  height: 102px;
  padding: 21px 0 0 58px;
  transition: all 0.5s ease 0.2s;
  transform: translateY(10px);
  opacity: 0.9;
  z-index: 2;
  position: relative;
}

.hblx-item:hover .dbhb-content-container {
  background: rgba(220, 0, 20, 0.7);
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dbhb-content {
  width: 481px;
  transition: all 0.3s ease;
}

.hblx-item:hover .dbhb-content {
  transform: translateX(3px);
}

/*申请流程*/
.sqlc {
  padding-top: 95px;
}

.sqlc-item:nth-child(1) .sqlc-img {
  width: 101px;
  height: 103px;
}

.sqlc-item:nth-child(3) .sqlc-img {
  width: 118px;
  height: 120px;
}

.sqlc-item:nth-child(5) .sqlc-img {
  width: 109px;
  height: 101px;
}

.sqlc-item:nth-child(7) .sqlc-img {
  width: 76px;
  height: 98px;
}

.sqlc-item:nth-child(9) .sqlc-img {
  width: 93px;
  height: 100px;
}

.sqlc-list {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  margin-top: 100px;
}

.sqlc-item {
  text-align: center;
  transition: all 0.3s ease;
}

.sqlc-item:hover {
  transform: translateY(-5px);
}

.sqlc-item:hover .sqlc-img {
  filter: brightness(1.1);
}

.sqlc-title {
  font-size: 18px;
  color: #353230;
  margin: 37px 0 17px 0;
  transition: all 0.3s ease;
}

.sqlc-item:hover .sqlc-title {
  color: #DC0014;
}

.sqlc-content {
  font-size: 14px;
  color: #626367;
  line-height: 25px;
  transition: all 0.3s ease;
}

.sqlc-item:hover .sqlc-content {
  color: #333;
}

.sqlc-item-arrow {
  color: #C2C2C2;
  font-size: 25px;
  padding-top: 45px;
  margin: 0 56px 0 67px;
  transition: all 0.3s ease;
}

.sqlc-item:hover + .sqlc-item-arrow,
.sqlc-item-arrow:hover {
  color: #DC0014;
  transform: scale(1.2);
}

.more-button-container {
  text-align: center;
  margin: 105px 0 103px 0;
}

.sqlc .more-button {
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 21px;
  width: 161px;
  height: 58px;
  transition: all 0.3s ease;
}

.sqlc .more-button:hover {
  background: #B3000F;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 0, 20, 0.4);
}

/*优秀伙伴*/
.yxhb {
  background-color: #EFEFEF;
  padding-top: 101px;
  text-align: center;
  height: 500px;
}
.hzhb-list{
margin: 0 50px;
width:1200px;
}
.hzhb-list-container{
display: flex;
width: fit-content;
margin: 0 auto;
align-items: center;
}
.hzhb-arrow{
width: 21px;
height: 34px;
}
.hzhb-arrow:hover{
cursor: pointer;
}
.yxhb-img {
  width: 220px;
  height: 152px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.yxhb-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/*加入我们*/
.jrwm {
  height: 241.2px;
  background: no-repeat center/cover url('../../images/educationNew/sthb-jrwm.png');
  text-align: center;
  padding-top: 71px;
  position: relative;
}

.jrwm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.jrwm-title {
  font-size: 30px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.jrwm:hover .jrwm-title {
  transform: translateY(-2px);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.jrwm-button {
  display: block;
  width: 225px;
  height: 45px;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 17px;
  margin: 0 auto;
  line-height: 45px;
  margin-top: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.jrwm-button:visited {
  color: #FFFFFF;
}

.jrwm-button:hover {
  background: #FFFFFF;
  color: #DC0014;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/*响应式设计*/
@media (max-width: 768px) {
  .hblx-item:hover {
    transform: translateY(-3px) scale(1.01);
  }
  
  .hblx-item:hover .hblx-title {
    transform: translateX(5px);
  }
  
  .hblx-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .hblx-item {
    width: 100%;
    max-width: 400px;
  }
}
/* 创建新的粘性上下文 */
header.main {
  position: relative;
}

header.main nav.main {
  position: fixed; /* 改为fixed定位 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #F7F7F7;
}

/* 为body内容增加上边距，避免被固定导航栏遮挡 */
body {
  padding-top: 132px; /* 等于导航栏的高度 */
}