.footer {
    background-color: #fff;
    padding: 100px 0 0;
    position: relative;
  }
  .footer::before{
      content: '';
      position: absolute;
      width: 21%;
      background-color: transparent;
      top: -16px;
      right: 0;
      border-bottom: 16px solid #88b45e;          
      z-index: 99; 
      border-left: 16px solid transparent;      
  }
  .footer::after{
      content: '';
      position: absolute;
      width: 76%;
      background-color: transparent;
      top: 0px;
      left: 0;
      border-top: 16px solid #0b308a;       
      border-right: 16px solid transparent;      
      z-index: 99;
  }
  
  /* 导航部分 */
  .footer-nav {
    display: grid;
    grid-template-columns: .6fr .8fr .8fr .81fr 1.8fr;
  }
  
  .nav-header {
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-header h4 {
    font-size: var(--font-size-18);
    color: var(--dark-color);
    margin: 0;
  }
  
  .arrow {
    display: none; /* PC端默认隐藏箭头 */
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s;
  }
  
  .nav-content {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-content li {
    margin-bottom: 12px;
  }
  
  .nav-content a {
    color: var(--gray-color-3);
    text-decoration: none;
    font-size: var(--font-size-14);
  }
  
  .nav-content a:hover {
    color: var(--primary-color);
  }
  
  /* 二维码部分 */
  .footer-qr {
    display: flex;
    justify-content: end;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .qr-item {
    text-align: center;
  }
  
  .qr-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
  }
  
  .qr-item p {
    font-size: var(--font-size-14);
    margin: 0;
  }
  .svg-item {
    position: absolute;
    bottom: 0px;
    right: 0;
  }  
  

  .footer-info {
    position: relative;
    height: 120px;
  }
  /* 联系电话 */
  .footer-contact {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    height: 60px;
    line-height: 1;
  }
  
  .footer-contact p {
    font-size: var(--font-size-16);
  }
  
  .footer-contact h3 {
    font-size: var(--font-size-26);
    color: var(--text-color);
  }
  
  /* 版权信息 */
  .footer-copyright {
    border-top: 1px solid #eee;
    padding-top: 20px;
    height: 60px;position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
  }
  
  .footer-copyright span {
    margin-right: 20px;
    font-size: var(--font-size-12);
    color: #999;
  }

/* 大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) and (max-width: 1919px)  {
    
    .nav-header h4, {
        font-size: var(--font-size-16);
    }
    .nav-content a,
    .qr-item p,
    .footer-contact p {
        font-size: var(--font-size-14);
    }
    /* 联系电话 */
    .footer-contact h3 {
        font-size: var(--font-size-22);
    }
}
/* 中等屏幕 (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .nav-header{
        margin-bottom: 10px;
    }
    .nav-header h4 {
        font-size: var(--font-size-14);
    }
    .nav-content a,
    .qr-item p {
        font-size: var(--font-size-12);
    }
    .nav-content li{
        margin-bottom: 6px;
    }
    .qr-item img{
        width: 100px;
        height: 100px;
    }

    /* 联系电话 */
    .footer-contact p{
        font-size: var(--font-size-12);
    }
    .footer-contact h3 {
        font-size: var(--font-size-18);
    }
}

/* 平板及小屏幕 (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .nav-header{
        margin-bottom: 10px;
    }
    .nav-header h4 {
        font-size: var(--font-size-12);
    }
    .nav-content a,
    .qr-item p {
        font-size: var(--font-size-10);
    }
    .nav-content li{
        margin-bottom: 6px;
    }
    .qr-item img{
        width: 80px;
        height: 80px;
    }
    /* 联系电话 */
    .footer-contact p{
        font-size: var(--font-size-12);
    }
    .footer-contact h3 {
        font-size: var(--font-size-18);
    }
    .footer-copyright span{
      font-size: var(--font-size-10);
    }
    .footer-copyright {
      padding-top: 12px;
      height: 50px;
    }
}
  /* 平板端适配 */
@media screen and (max-width: 1023px) {
    .footer-nav {
        display: flex;
        flex-direction: column;
    }

    .nav-section {
        margin-right: 0;
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .nav-header {
        padding: 15px 0;
        margin-bottom: 0;
    }

    .arrow {
        display: block;
    }

    .nav-content {
        display: none;
        padding: 0 15px 15px;
    }

    .nav-section.active .arrow {
        transform: rotate(-135deg);
    }

    .nav-section.active .nav-content {
        display: block;
    }
    .footer-qr {
        justify-content: center;
        margin-top: 40px;
    }

    .qr-item {
        margin-bottom: 20px;
    }

    .qr-item img {
        width: 200px;
        height: 200px;
    }
    /*  */
    .nav-content a {
        font-size: var(--font-size-16);
        line-height: 1.9;
    }

    /* 联系电话 */
    .footer-contact,
    .footer-copyright{
        text-align: center;
        position: unset;
        width: 100%;
        height: 100%;
    }
    .footer-contact p{
        font-size: var(--font-size-18);
    }
    .footer-contact h3 {
        font-size: var(--font-size-28);
    }
}
  /* 小屏手机 (375px 及以下) */
@media screen and (max-width: 479px) {
    .footer-qr {
        flex-direction: column;
        align-items: center;
    }
    .qr-item img {
        width: 200px;
        height: 200px;
    }
    .qr-item p {
        font-size: var(--font-size-18);
    }
}