:root {
    --primary-color: #00276c;
    --max-width: 1500px;
    --section-spacing: 6rem;
    --content-spacing: 3rem;}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;}

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    text-align: left;
    font-weight: 600;
    padding-left: 0;}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;}

.subsection-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 3rem 0 2rem;
    position: relative;
    padding-left: 1rem;
    font-weight: 500;}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary-color);
    border-radius: 2px;}

.intro-text {
    text-align: left;
    margin: 0 auto var(--content-spacing);
    padding: 0 1rem;
    margin-left: 0;
    margin-right: 0;}

.intro-text p {
    font-size: 1.2rem;
    text-align: justify;
    text-indent: 2em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;}

.card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;}

.card-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;}

.card-link:hover {
    background: var(--primary-color);
    color: white;}

/* Responsive grid layouts */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: var(--content-spacing);}

/* Copy button styles */
.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Microsoft YaHei", sans-serif;
    transition: all 0.3s ease;}

.copy-btn:hover {
    background: #003490;
    transform: translateY(-2px);}

/* Add more specific styles for each section... */

/* 学院专业标签页样式 */
.tabs-container {
    margin-top: 2rem;}

.tab-nav {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);}

.major-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;}

.major-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;}

.major-card h4 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;}

.major-card a {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;}

.major-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: rgba(0,39,108,0.02);}

.major-card:hover a {
    opacity: 1;
    transform: translateX(0);}

.major-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;}

.major-link:hover {
    color: var(--primary-color);}

.tab-pane {
    display: none;}

.tab-pane.active {
    display: block;}

/* 校园环境卡片样式 */
.campus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: var(--content-spacing);}

.campus-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;}

.campus-card:hover .card-image img {
    transform: scale(1.05);}

.card-content {
    padding: 1.5rem;}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;}

.btn-more:hover {
    gap: 0.8rem;}

.btn-more i {
    transition: transform 0.3s ease;}

.btn-more:hover i {
    transform: translateX(3px);}

/* 就业升学卡片样式 */
.employment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: var(--content-spacing);}

.employment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;}

.employment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);}

/* 微信推文样式 */
.articles-section {
    margin-bottom: 3rem;}

.subsection-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 3rem 0 2rem;
    position: relative;
    padding-left: 1rem;
    font-weight: 500;}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary-color);
    border-radius: 2px;}

.article-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;}

.article-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;}

.article-card .content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;}

.article-card .text-content {
    flex-grow: 1;}

.article-card .subtitle {
    font-size: 1rem;
    color: #666;}

.article-card h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;}

.article-card h4 a {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;}

.article-card:hover {
    transform: translateY(-3px);
    background: rgba(0,39,108,0.02);}

.article-card:hover h4 a {
    opacity: 1;
    transform: translateX(0);}

/* 其他部分样式 */
.other-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;}

.other-card {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    color: white;}

.card-bgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/mtgz.jpg) center/cover;
    filter: brightness(1);
    transition: all 0.3s ease;}

.card-bgr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bklk.jpg) center/cover;
    filter: brightness(0.7);
    transition: all 0.3s ease;}

.other-card:hover .card-bg {
    transform: scale(1.05);
    filter: brightness(0.5);}

.other-card .card-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;}

.other-card h3 {
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;}

.other-card p {
    margin: 0;
    opacity: 0.8;}

.other-card .card-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;}

.other-card .card-link:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(45deg);}

/* 响应式调整 */
@media (max-width: 768px) {
    .employment-cards,
    .other-cards {
        grid-template-columns: 1fr;}
}

@media (max-width: 1200px) {
    .article-cards {
        grid-template-columns: 1fr;}
}

@media (max-width: 1200px) {
    :root {
        --section-spacing: 4rem;
        --content-spacing: 2rem;}
    
    .section-title {
        font-size: 2rem;}
    
    .subsection-title {
        font-size: 1.5rem;}
    
    .intro-text p {
        font-size: 1.1rem;}
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1.5rem;}
    
    .section-title {
        font-size: 1.8rem;}
    
    .intro-text p {
        font-size: 1rem;}
}

/* 左侧悬浮导航样式 */
.floating-nav {
    position: fixed;
    right: 0px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;}

.nav-item {
    margin: 0.5rem 0;}

.nav-link {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;}

.nav-link:hover {
    background: rgba(0,39,108,0.1);
    color: var(--primary-color);}

.nav-link.active {
    background: var(--primary-color);
    color: white;}

/* 响应式调整 */
@media (max-width: 1400px) {
    .floating-nav {
        right: 0px;
        padding: 0.8rem;}
    
    .nav-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;}
}

@media (max-width: 1200px) {
    .floating-nav {
        display: none;}
}