/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 20250516  分页 */
.activepage span{
  background:rgb(78, 78, 204);
  color:#fff;
  padding:0px 5px 0px 5px;
}

.pageb1 a{
     padding:0px 5px 0px 5px;
 }
/* 顶部导航 */
.top-nav {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
    height: 32px;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
}

.left-links a,
.right-links a {
    margin-right: 15px;
    color: #666;
    font-weight: 600;
}

.left-links a:hover,
.right-links a:hover {
    color: #c00;
}

/* 主导航 */
.main-header {
    background: linear-gradient(to top, rgba(74, 144, 226, 0), rgba(74, 144, 226, 0.9));
    box-shadow: none;
    padding: 0;
    position: absolute;
    /*top: 32px;*/
    left: 0;
    z-index: 1000;
    height: 160px;
    width: 100%;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 120px;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    max-width: 100%;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
    margin-right: 80px;
    padding-left: 30px;
    position: relative;
    z-index: 2;
}

.logo img {
    height: 80px;
    transition: opacity 0.3s ease;
}

.logo-default,
.logo-scrolled {
    opacity: 0;
    position: absolute;
    left: 30px;
}

.logo-default {
    opacity: 1;
}

.main-header.scrolled .logo-default {
    opacity: 0;
}

.main-header.scrolled .logo-scrolled {
    opacity: 1;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    position: relative;
    z-index: 2;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.main-nav li {
    position: relative;
    margin-left: 45px;
}

.main-nav li:first-child {
    margin-left: 0;
}

.main-nav a {
    color: #fff;
    font-size: 24px;
    font-weight: normal;
    padding: 0 15px;
    line-height: 100px;
    display: block;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease;
}

.main-header.scrolled .main-nav a {
    color: #4a90e2;
    line-height: 100px;
}

.main-nav a:hover {
    color: #fff;
}

.main-header.scrolled .main-nav a:hover {
    color: #357abd;
}

.main-nav li:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.main-header.scrolled .main-nav li:hover::after {
    background-color: #4a90e2;
    opacity: 0.8;
}

/* 搜索按钮 */
.search-btn {
    font-size: 16px;
    color: #666;
    margin-left: 15px;
}

.search-btn:hover {
    color: #c00;
}

/* 轮播图 */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -32px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 24px;
    letter-spacing: 1px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 2;
}

.prev-btn,
.next-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.dot {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #fff;
}

/* 新闻动态 */
.news-section {
    padding: 40px 0;
    background: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    height: 65vh;
    display: flex;
    align-items: center;
}

.news-section.active {
    opacity: 1;
    transform: translateY(0);
}

.news-section.exit {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-container {
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.tab-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: none;
}

.tab-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-right: 30px;
    position: relative;
}

.news-content-wrapper {
    display: flex;
    gap: 40px;
    height: 100%;
}

.news-slider {
    width: 60%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.news-slide.active .news-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.news-slide-content h3 {
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.news-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.news-prev-btn,
.news-next-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.news-prev-btn:hover,
.news-next-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.tab-contents {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    height: 100%;
    overflow-y: auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.news-item.active {
    background: #f0f7ff;
    border-left: 4px solid #1a73e8;
    padding: 25px 20px;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    min-width: 80px;
}

.news-date .day {
    font-size: 32px;
    color: #c00;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 16px;
    color: #999;
    margin-top: 5px;
}

.news-title {
    flex: 1;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.news-title:hover {
    color: #c00;
}

.tab-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.tab-nav span {
    position: relative;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.tab-nav span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.tab-nav span:hover {
    color: #1a73e8;
}

.tab-nav span.active {
    color: #1a73e8;
    font-weight: bold;
}

.tab-nav span.active::after {
    width: 100%;
}

.tab-content {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.more-link {
    margin-left: auto;
    color: #1a73e8;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* 数读长职 */
.school-data {
    padding: 40px 0;
    background-color: #c00;
    color: #fff;
}

.school-data h2 {
    text-align: center;
    margin-bottom: 30px;
}

.data-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.data-item {
    text-align: center;
    padding: 20px;
}

.data-item .number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 页脚 */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.school-info img {
    height: 50px;
    margin-bottom: 15px;
}

.school-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.friendly-links h3 {
    margin-bottom: 15px;
}

.links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.links-group a {
    color: #999;
    font-size: 14px;
}

.links-group a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #666;
    font-size: 12px;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .news-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .news-slider,
    .tab-contents {
        width: 100%;
    }

    .news-slider {
        height: 40vh;
    }

    .tab-contents {
        height: auto;
    }

    .news-list {
        max-height: 400px;
    }
}

@media screen and (max-width: 992px) {
    .main-header {
        height: 120px;
    }

    .main-header.scrolled {
        height: 80px;
    }

    .logo {
        height: 60px;
        margin-right: 40px;
    }

    .logo img {
        height: 60px;
    }

    .main-nav a {
        font-size: 20px;
        line-height: 80px;
    }

    .main-header.scrolled .main-nav a {
        line-height: 80px;
    }

    .slide-content h2 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .news-slider,
    .showcase-slider {
        height: 45vh;
    }
}

@media screen and (max-width: 768px) {
    .main-header {
        height: 100px;
    }

    .main-header.scrolled {
        height: 60px;
    }

    .logo {
        height: 50px;
        margin-right: 20px;
    }

    .logo img {
        height: 50px;
    }

    .main-nav {
        display: none;
    }

    .news-container,
    .showcase-container {
        width: 95%;
    }

    .tab-title {
        font-size: 24px;
    }

    .tab-nav span {
        font-size: 16px;
    }

    .news-slide-content h3 {
        font-size: 20px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-date .day {
        font-size: 24px;
    }

    .news-date .month {
        font-size: 14px;
    }

    .news-slider,
    .showcase-slider {
        height: 40vh;
    }

    .showcase-text {
        padding: 20px;
    }

    .showcase-text h3 {
        font-size: 20px;
    }

    .showcase-text p {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    .top-nav {
        font-size: 12px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .news-slider,
    .showcase-slider {
        height: 35vh;
    }

    .news-slide-content {
        padding: 20px;
    }

    .news-slide-content h3 {
        font-size: 18px;
    }

    .news-item {
        padding: 15px;
    }

    .news-date {
        min-width: 60px;
    }

    .news-date .day {
        font-size: 20px;
    }

    .news-date .month {
        font-size: 12px;
    }

    .tab-nav {
        gap: 15px;
    }

    .tab-nav span {
        font-size: 14px;
    }

    .showcase-text {
        padding: 15px;
    }

    .showcase-text h3 {
        font-size: 18px;
    }

    .showcase-text p {
        font-size: 13px;
    }
}

/* 横屏适配 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .news-slider {
        height: 60vh;
    }

    .showcase-slider {
        height: 80vh;
    }

    .news-slide-content h3 {
        font-size: 20px;
    }

    .news-title {
        font-size: 14px;
    }

    .showcase-text {
        padding: 15px;
    }

    .showcase-text h3 {
        font-size: 18px;
    }

    .showcase-text p {
        font-size: 12px;
    }
}

/* 触摸设备适配 */
@media (hover: none) {

    .news-prev-btn,
    .news-next-btn,
    .showcase-prev,
    .showcase-next {
        padding: 10px 15px;
        font-size: 18px;
    }

    .news-item:hover {
        transform: none;
    }

    .news-slide:hover .showcase-image img {
        transform: none;
    }
}

/* 高分辨率屏幕适配 */
@media screen and (min-width: 1920px) {

    .news-container,
    .showcase-container {
        max-width: 1800px;
    }

    .news-slider {
        height: 45vh;
    }

    .showcase-slider {
        height: 70vh;
    }

    .news-slide-content h3 {
        font-size: 28px;
    }

    .news-title {
        font-size: 20px;
    }

    .showcase-text h3 {
        font-size: 28px;
    }

    .showcase-text p {
        font-size: 18px;
    }
}

/* 文章页面布局 */
.article-section {
    padding-top: 180px;
    /* 为导航栏留出空间 */
    min-height: calc(100vh - 100px);
    /* 确保内容区域至少占满剩余视口高度 */
    background-color: #fff;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #333;
}

.article-content h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #444;
}

.article-content p {
    margin-bottom: 15px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 20px;
}

.article-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f5f5f5;
    color: #666;
    margin-right: 10px;
    border-radius: 3px;
    font-size: 14px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
}

.article-nav-link {
    color: #666;
    text-decoration: none;
}

.article-nav-link:hover {
    color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-section {
        padding-top: 80px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .article-section {
        padding-top: 60px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 16px;
    }
}

/* 子页面布局 */
.subpage-section {
    padding-top: 180px;
    min-height: calc(100vh - 100px);
    background-color: #fff;
}

.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

/* 左侧目录 */
.subpage-sidebar {
    width: 280px;
    position: sticky;
    top: 200px;
    height: fit-content;
}

.sidebar-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: #666;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #f0f7ff;
    color: #4a90e2;
}

/* 右侧内容 */
.subpage-content {
    flex: 1;
}

.content-block {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-block h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.content-block ul {
    list-style: none;
    margin: 20px 0;
}

.content-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
}

.content-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a90e2;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .subpage-container {
        flex-direction: column;
    }

    .subpage-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar-menu li {
        margin-bottom: 0;
    }

    .sidebar-menu a {
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .subpage-section {
        padding-top: 120px;
    }

    .content-block {
        padding: 20px;
    }

    .content-block h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .subpage-section {
        padding-top: 100px;
    }

    .sidebar-title {
        font-size: 20px;
    }

    .sidebar-menu a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .content-block {
        padding: 15px;
    }

    .content-block h2 {
        font-size: 18px;
    }

    .content-block p {
        font-size: 14px;
    }
}

/* 子页面内容切换样式 */
.content-block {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-block.active {
    display: block;
    opacity: 1;
}

.sidebar-menu a {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-menu a.active {
    color: #e74c3c;
    font-weight: bold;
}

.sidebar-menu a:hover {
    color: #e74c3c;
}

/* 浮动栏样式 */
.float-bar {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-item {
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.float-item:hover {
    background: #c0392b;
    transform: translateY(-5px);
}

.float-item i {
    font-size: 20px;
}

.float-info {
    position: absolute;
    left: 60px;
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    min-width: 200px;
    transform: translateX(-10px);
}

.float-item.active .float-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.float-info-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #e74c3c;
}

.float-info-content {
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .float-bar {
        left: 10px;
        bottom: 10px;
    }

    .float-item {
        width: 40px;
        height: 40px;
    }

    .float-info {
        left: 50px;
        font-size: 12px;
        min-width: 160px;
    }
}

/* 加载动画 */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #e74c3c;
    animation: spin 1s linear infinite;
}

.loader:after {
    border: 4px solid transparent;
    border-top-color: #3498db;
    animation: spin 1s linear infinite reverse;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

/* 专业介绍模块 */
.major-section {
    padding: 60px 0;
    background: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.major-section.active {
    opacity: 1;
    transform: translateY(0);
}

.major-container {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.major-header {
    text-align: center;
    margin-bottom: 40px;
}

.major-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.major-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.major-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.major-slider {
    display: flex;
    gap: 30px;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
}

.major-card {
    min-width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.major-card:hover {
    transform: translateY(-10px);
}

.major-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.major-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.major-card:hover .major-card-image img {
    transform: scale(1.1);
}

.major-card-content {
    padding: 20px;
}

.major-card-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.major-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.major-card-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 14px;
}

.major-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.major-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.major-nav-dot.active {
    background: #1e88e5;
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .major-card {
        min-width: 260px;
    }

    .major-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .major-card {
        min-width: 220px;
    }

    .major-title {
        font-size: 24px;
    }
}