/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;

    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== Header Top ========== */
.header-top {
    background: #00695A;
    padding: 35px 0;
    border-bottom: 1px solid #eee;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* 移动端头部样式 */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #00695A;
    padding: 0 15px;
    z-index: 10000;
}

.mobile-header .mobile-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-header .mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-btn,
.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.mobile-search-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.mobile-menu-btn {
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    top: 8px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 14px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 65px;
    height: 65px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.logo-text .school-name {
    font-size: 26px;
    font-weight: bold;
    color: #1a6840;
    letter-spacing: 3px;
}

.logo-text .site-name {
    font-size: 26px;
    font-weight: bold;
    color: #1a6840;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: #fff;
    line-height: 1.9;
    text-align: left;
}

.contact-info .row {
    display: flex;
    gap: 20px;
}

.contact-info .label {
    color: #fff;
}

.contact-info .value {
    color: #fff;
    font-weight: 500;
}

.search-box {
    display: flex;
    align-items: center;
 
    border-radius: 3px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 12px 15px;
    width: 160px;
    font-size: 13px;
    outline: none;
    color: #999;
}

.search-box input::placeholder {
    color: #bbb;
}

.search-box button {
    background: #e8a83a;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #d49a2f;
}

.search-box button svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    display: block;
}

/* ========== Navigation ========== */
/* 导航栏 */
.navbar {
    background: #ffffff;
    border-bottom: 3px solid #057D52;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 桌面端隐藏移动端导航菜单 */
.mobile-nav-menu {
    display: none !important;
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    padding: 0 20px;
    position: relative;
}

/* 主菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    white-space: nowrap;
}

.nav-menu>li {
    position: relative;
    padding: 0 30px;
}

/* 一级导航：22px 加粗 */
.nav-menu>li>a {
    color: #2A2A2A;
    text-decoration: none;
    line-height: 65px;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-radius: 6px;
    transition: all 0.28s ease;
}

.nav-menu>li>a:hover {
    color: #057D52;
    background: rgba(5, 125, 82, 0.05);
}

/* 下划线动画 - 仅一级 */
.nav-menu>li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #057D52;
    transform: translateX(-50%);
    transition: width 0.28s ease;
    border-radius: 3px 3px 0 0;
}

.nav-menu>li:hover::after {
    width: 70%;
}

/* 箭头 */
.arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
    transition: transform 0.28s ease;
    margin-top: 2px;
}

.nav-menu>li:hover>a .arrow {
    transform: rotate(180deg);
    border-top-color: #057D52;
}

/* 二级菜单 */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #fff;
    list-style: none;
    min-width: 160px;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu>li:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    padding: 0;
}

/* 二级导航：18px */
.submenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 46px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.submenu a:hover {
    background: rgba(5, 125, 82, 0.08);
    padding-left: 26px;
    justify-content: flex-start;
}

/* 汉堡按钮 */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    z-index: 1001;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    user-select: none;
}

.hamburger:hover {
    color: #057D52;
}

/* ============== 手机端 ============== */
@media (max-width: 768px) {
    /* 移动端头部显示 */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-top {

        border-bottom: none;
    }

    .header-top .logo-area,
    .header-top .contact-info,
    .header-top .search-box {
        display: none;
    }

    /* 隐藏手机端的 navbar 和 mobile-search-btn */
    .navbar {
        display: none !important;
    }

    .mobile-search-btn {
        display: none !important;
    }

    /* 移动端导航菜单 */
    .mobile-nav-menu {
        display: flex !important;
        position: fixed;
        left: -100%;
        top: 60px;
        width: 100%;
        max-width: 100%;
        background: #fff;
        flex-direction: column;
        transition: left 0.32s ease;
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        gap: 0;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
        white-space: normal;
        z-index: 9999;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .mobile-nav-menu.active {
        left: 0;
    }

    .mobile-nav-menu > li {
        padding: 0;
        border-bottom: 1px solid #f5f5f5;
        position: relative;
    }

    .mobile-nav-menu > li > a {
        padding: 0 24px;
        justify-content: space-between;
        line-height: 58px;
        font-size: 22px;
        font-weight: bold;
        display: flex;
        text-decoration: none;
        color: #333;
        align-items: center;
    }

    .mobile-nav-menu .arrow {
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #666;
        transition: transform 0.28s ease;
        margin-top: 2px;
    }

    .mobile-nav-menu .arrow.active {
        transform: rotate(180deg);
        border-top-color: #057D52;
    }

    /* 手机二级菜单 */
    .mobile-nav-menu .submenu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: #fafafa;
        max-height: 0;
        overflow: hidden;
        border-radius: 0;
        transition: max-height 0.35s ease;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .mobile-nav-menu .submenu.open {
        max-height: 500px;
    }

    .mobile-nav-menu .submenu li {
        padding: 0;
    }

    .mobile-nav-menu .submenu a {
        display: flex;
        padding-left: 48px;
        justify-content: flex-start;
        line-height: 50px;
        color: #444;
        font-size: 18px;
        align-items: center;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-nav-menu .submenu a:hover {
        padding-left: 54px;
        background: rgba(5, 125, 82, 0.06);
    }

    /* 隐藏桌面端的 nav-menu 在移动端 */
    .nav-container {
        display: none !important;
    }

    .nav-menu {
 
    }

    .hamburger {
        display: none !important;
    }
}

/* ========== Hero Banner ========== */
.hero-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* 轮播容器 - 核心自适应区域 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

  /* 图片包裹层 - 实现横向滑动 */
  .carousel-wrapper {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
  }

  /* 单张图片样式 */
  .carousel-item {
      flex: 0 0 100%;
      height: 100%;
  }

  .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* 保持图片比例，填满容器 */
      display: block;
  }

  /* 左右箭头按钮 */
  .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.8);
      border: none;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      z-index: 10;
      transition: 0.3s;
  }

  .carousel-btn:hover {
      background: #fff;
  }

  #prevBtn {
      left: 20px;
  }

  #nextBtn {
      right: 20px;
  }

  /* 底部指示器 */
  .carousel-indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
  }

  .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: 0.3s;
  }

  .indicator.active {
      background: #fff;
      width: 25px;
      border-radius: 6px;
  }

  /* 移动端适配 */
@media (max-width: 768px) {
    .hero-banner {

        height: 220px;
    }

    .carousel-container {
        height: 100%;
    }

    .quick-links {
        position: relative;
        z-index: 100;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ========== Quick Links ========== */
.quick-links {
    background: #fff;
    padding: 35px 0;
}

.quick-links .container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 50px;
border-radius: 5px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.quick-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.quick-btn.green { background: #1a6840; }
.quick-btn.green:hover { background: #145532; }
.quick-btn.orange { background: #e8a83a; }
.quick-btn.orange:hover { background: #d49a2f; }
.quick-btn.teal { background: #2a9d8f; }
.quick-btn.teal:hover { background: #238b7e; }
.quick-btn.blue { background: #4a90a4; }
.quick-btn.blue:hover { background: #3d7a8c; }


.quick-links .btn-5 { background: #1a6840;}
.quick-links .btn-5:hover { background: #145532;}
.quick-links .btn-2 { background: #e8a83a;}
.quick-links .btn-2:hover { background: #d49a2f;}
.quick-links .btn-3 { background: #2a9d8f;}
.quick-links .btn-3:hover { background: #238b7e;}
.quick-links .btn-4 { background: #4a90a4;}
.quick-links .btn-4:hover { background: #3d7a8c;}

.quick-links .btn-1 { background: #a71d2a;}
.quick-links .btn-1:hover { background: #a71d2a;}


.quick-links .btn-6 { background: #468EF7;}
.quick-links .btn-6:hover { background: #468EF7;}
/* ========== News Section ========== */
.news-section {
    padding: 40px 0;
    background: #FAF7EE;
        box-shadow: 0 0 10px rgb(11 3 6 / 10%);


}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
}

.news-box {
    background: #fff;
    padding: 20px;
}

.news-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a6840;
    margin-bottom: 15px;
}

.news-box-header h3 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.news-box-header .more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    transition: color 0.3s;
}

.news-box-header .more-link:hover {
    color: #1a6840;
}

.news-box-header .more-link::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #e8a83a;
    border-radius: 50%;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    padding-left: 8px;
}

.news-item:hover .news-title {
    color: #1a6840;
}

.news-item .dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.news-item:hover .dot {
    background: #1a6840;
}

.news-item:first-child .dot {
    background: #00695A;
}

.news-item:first-child .news-title {
    color: #00695A;
}

.news-item:first-child:hover .news-title {
    color: #1a6840;
}

.news-title {
    flex: 1;
    font-size: 18px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.news-date {
    font-size: 13px;
    color: #999;
    margin-left: 15px;
    flex-shrink: 0;

}

/* ======================
   核心：从左到右展开下划线动画
====================== */
.news-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    /* 距离文字底部距离 */
    width: 0;
    /* 默认宽度0，隐藏 */
    height: 2px;
    /* 下划线粗细 */
    background-color: #00695A;
    /* 下划线颜色 */
    transition: width 0.35s ease-out;
    /* 动画时长和曲线 */
    transform-origin: left center;
    /* 动画从左侧开始 */
}

/* 鼠标悬浮时，下划线宽度拉满 100% */
.news-item:hover::after {
    width: 100%;
}
/* ========== Majors Section ========== */

  /* 主容器 */
  .majors-section {
      max-width: 1480px;
      margin: 0 auto;
      padding: 50px 20px;
      font-family: "Microsoft Yahei", sans-serif;
  }

  .majors-section .section-title {
      font-size: 22x;
      font-weight: bold;
      color: #333;
      margin-bottom: 30px;
      padding-left: 10px;
  }

  .majors-section .carousel-wrapper {
      position: relative;
      overflow: hidden;
      width: 100%;
      /* 强制占满父容器宽度 */
  }

  .majors-section .carousel {
      display: flex !important;
      flex-wrap: nowrap !important;
      transition: transform 0.5s ease;
      width: 100% !important;
      /* 新增：轮播容器宽度强制为100% */
  }

  /* ======================================
           核心：电脑端 ≥993px 永远 6 个！！！
           改为最高优先级，强制生效
        ====================================== */
  /* 电脑端 ≥993px → 一行6个（最高优先级） */
  @media screen and (min-width: 993px) {
      .majors-section .college-item {
          flex: 0 0 16.6666% !important;
          max-width: 16.6666% !important;
      }
  }

  /* 平板 769-992 → 3个 */
  @media screen and (min-width: 769px) and (max-width: 992px) {
      .majors-section .college-item {
          flex: 0 0 33.3333% !important;
          max-width: 33.3333% !important;
      }
  }

  /* 手机 ≤768 → 2个 */
  @media screen and (max-width: 768px) {
      .majors-section .college-item {
          flex: 0 0 50% !important;
          max-width: 50% !important;
      }
  }

  .majors-section .college-item {
      padding: 0 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
  }

  /* LOGO 样式 */
  .majors-section .logo-circle {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 12px rgba(0, 100, 50, 0.15);
      overflow: hidden;

  }

  .majors-section .logo-circle img {
      width: 80%;
      height: 80%;
    display: block;
    margin: 0 auto;
      object-fit: contain;
  }

  .majors-section .college-name {
      width: 100%;
      max-width: 190px;
      background: #c9a8a8;
      color: #fff;
      text-align: center;
      padding: 10px;
      border-radius: 6px;
      font-size: 16px;
  }

  /* 箭头 */
  .majors-section .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      font-size: 20px;
      color: #006633;
      border: none;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .majors-section .arrow:hover {
      background: #006633;
      color: #fff;
  }

  .majors-section .arrow-prev {
      left: 10px;
  }

  .majors-section .arrow-next {
      right: 10px;
  }

  /* 指示器 */
  .majors-section .indicators {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 25px;
  }

  .majors-section .indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
  }

  .majors-section .indicator.active {
      background: #006633;
  }
/* ========== Media Section ========== */
.media-section {
    padding: 40px 0;

}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.media-box {
    background: #fff;
    overflow: hidden;
}

.media-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 2px solid #1a6840;
}

.media-box-header h3 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}

.media-box-header .more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
}

.media-box-header .more-link::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #e8a83a;
    border-radius: 50%;
}

.video-content {
 
}

.video-wrapper {
    position: relative;
 
    overflow: hidden;
    cursor: pointer;
}

.video-title-bar {
    background: #00695A;
    padding: 12px 15px;
    color: #fff;
    font-size: 18px;
}

.gallery-content {
 
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-item {
    position: relative;
    height: 215px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,104,64,0.85));
    padding: 25px 10px 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 22px;

}
.gallery-item:hover .gallery-label{


}
.gallery-label svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

/* ========== Footer ========== */   /* 主容器 */
   .footer-section {
       background-color: #00695A;
       /* 与效果图一致的深绿色 */
       color: #ffffff;
       padding: 60px 20px;
   }

   .footer-container {
       max-width: 1480px;
       margin: 0 auto;
       display: flex;
       justify-content: space-between;
       gap: 40px;
       flex-wrap: wrap;
   }

   /* 左侧：联系我们 */
   .contact-column {
       flex: 1;
       min-width: 300px;
   }

   .contact-title {
       font-size: 22px;
       font-weight: bold;
       margin-bottom: 20px;
       padding-bottom: 10px;
       border-bottom: 2px solid rgba(255, 255, 255, 0.3);
       display: inline-block;
   }

   .contact-info {
       margin-top: 30px;
       line-height: 2.2;
       font-size: 18px;
   }

   .contact-info p {
       margin-bottom: 12px;


   }

   .contact-info p:hover {

   }

   /* 右侧：二维码栏 */
   .qrcode-column {
       flex: 2;
       min-width: 600px;
   }

   .qrcode-header {
       display: flex;
       gap: 60px;
       font-size: 22px;
       margin-bottom: 30px;
       padding-bottom: 10px;
       border-bottom: 2px solid rgba(255, 255, 255, 0.3);
   }

   .qrcode-list {
       display: flex;
       justify-content: space-between;
       gap: 20px;
       flex-wrap: wrap;
   }

   .qrcode-item {
       text-align: center;
       transition: transform 0.3s ease, box-shadow 0.3s ease;
       cursor: pointer;
   }

   .qrcode-item:hover {
       transform: translateY(-8px);
       box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
   }

   .qrcode-item img {
       width: 130px;
       height: 130px;
       background: #fff;

       border-radius: 8px;
       margin-bottom: 12px;
       object-fit: contain;
   }

   .qrcode-item p {
       font-size: 18px;
       font-weight: 500;
   }

   /* 响应式适配 */
   @media (max-width: 1200px) {
       .footer-container {
           flex-direction: column;
       }

       .qrcode-column {
           min-width: 100%;
       }

       .qrcode-header {
           justify-content: center;
           gap: 40px;
       }

       .qrcode-list {
           justify-content: center;
       }
   }

   @media (max-width: 768px) {
       .footer-section {
           padding: 40px 15px;
       }

       .contact-title {
           font-size: 26px;
       }

       .contact-info {
           font-size: 16px;
       }

       .qrcode-header {
           font-size: 22px;
           gap: 20px;
       }

       .qrcode-item img {
           width: 120px;
           height: 120px;
       }

       .qrcode-item p {
           font-size: 18px;
       }
   }

   @media (max-width: 576px) {
       .qrcode-list {
           display: grid;
           grid-template-columns: repeat(2, 1fr);
           gap: 20px;
       }

       .qrcode-item img {
           width: 100%;
           height: auto;
           max-width: 140px;
       }
   }
/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #168b4f;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(26,104,64,0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #145532;
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== List Page Styles ========== */
.page-banner {
    background: linear-gradient(135deg, #1a6840 0%, #2d8a5a 100%);
    padding: 2px 0;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: bold;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.breadcrumb a {
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 8px;
}

.page-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.sidebar {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    background: #1a6840;
    color: #fff;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: bold;
}

.sidebar-menu {
    padding: 8px 0;
}

.sidebar-menu a {
    display: block;
    padding: 14px 20px;
    color: #555;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    font-size: 15px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f8f8f8;
    color: #1a6840;
    border-left-color: #1a6840;
}

.main-content {
    background: #fff;
    border-radius: 5px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a6840;
    margin-bottom: 5px;
}

.list-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.list-header .current-nav {
    font-size: 13px;
    color: #888;
}

.list-header .current-nav a {
    color: #888;
}

.list-header .current-nav a:hover {
    color: #1a6840;
}

.article-list .article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.article-list .article-item:hover {
    padding-left: 12px;
    background: linear-gradient(to right, #fafafa, transparent);
}

.article-list .article-item:hover .article-title {
    color: #1a6840;
}

.article-item .dot {
    width: 6px;
    height: 6px;
    background: #1a6840;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.article-title {
    flex: 1;
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-date {
    color: #999;
    font-size: 14px;
    margin-left: 20px;
    flex-shrink: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
    padding-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
    background: #fff;
}

.pagination a:hover {
    border-color: #1a6840;
    color: #1a6840;
}

.pagination .active {
    background: #1a6840;
    border-color: #1a6840;
    color: #fff;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ========== Detail Page Styles ========== */
.article-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 24px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 18px;
    font-weight: bold;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #888;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    width: 16px;
    height: 16px;
    fill: #999;
}

.article-body {
    line-height: 2;
    color: #444;
    font-size: 15px;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body h2 {
    font-size: 18px;
    color: #1a6840;
    margin: 35px 0 18px;
    padding-left: 12px;
    border-left: 4px solid #1a6840;
    font-weight: bold;
}

.article-body h3 {
    font-size: 16px;
    color: #333;
    margin: 28px 0 15px;
    font-weight: bold;
}

.article-body ul,
.article-body ol {
    margin: 18px 0;
    padding-left: 2.5em;
}

.article-body li {
    margin-bottom: 10px;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.article-body th,
.article-body td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.article-body th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.article-body tr:hover td {
    background: #fafafa;
}

.article-footer {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav a {
    flex: 1;
    padding: 18px 20px;
    background: #f8f8f8;
    border-radius: 5px;
    color: #555;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.article-nav a:hover {
    background: #1a6840;
    color: #fff;
    border-color: #1a6840;
}

.article-nav a .label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.article-nav a:hover .label {
    color: rgba(255,255,255,0.8);
}

.article-nav a .title {
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-nav .next {
    text-align: right;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .majors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-wrapper {
        grid-template-columns: 200px 1fr;
    }
    
    .nav-list a {
        padding: 16px 25px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-area {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
    }
    
    .contact-info .row {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list a {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
    
    .nav-list a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav .container {
        position: relative;
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-box {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .news-item {
        padding: 12px 0;
    }

    .news-title {
        font-size: 16px;
        min-width: 0;
    }

    .news-date {
        margin-left: 10px;
        font-size: 12px;
    }
    
    .majors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links .container {
        gap: 10px;
    }
    
    .quick-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text .school-name,
    .logo-text .site-name {
        font-size: 20px;
    }
    
    .logo-text {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .majors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .major-icon {
        width: 80px;
        height: 80px;
    }
    
    .major-name {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .quick-links .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-btn {
        justify-content: center;
    }
    
    .hero-banner {
        height: 180px;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    .article-nav .next {
        text-align: left;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}