/* 全局样式 */
:root {
    --primary-color: #8B0000;
    --secondary-color: #FCFCFC;
    --accent-color: #A52A2A;
    --text-color: #333;
    --light-gray: #F5F5F5;
    --border-color: #DDD;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul, ol {
    list-style-position: inside;
    margin-left: 1rem;
}

/* 头部区域样式 
-------------------------------------------------- */
.header {
    background: linear-gradient(to right, var(--primary-color), #B22222);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.header-content {
    text-align: center;
    width: 100%;
    max-width: 1440px;
    padding: 4rem 2rem 0;
    z-index: 2;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border-radius: 3px;
}

/* Logo 相关样式
-------------------------------------------------- */
.logo-container {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 1rem;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
}

.partner-logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
}

.hdu-partner-logo {
    background-image: url("../images/hdu-logo.png");
}

.knu-partner-logo {
    background-image: url("../images/knu-logo.png");
}

.title-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
}

.silk-road-title-icon {
    background-image: url("../images/silk-road-logo.png");
}

.hdu-title-icon {
    background-image: url("../images/hdu-logo.png");
}

.knu-title-icon {
    background-image: url("../images/knu-logo.png");
}

/* 通用Logo样式 */
.logo {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 特定Logo样式 */
.hdu-logo {
    background-image: url('../images/hdu-logo.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.knu-logo {
    background-image: url("../images/knu-logo.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.silk-road-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 5;
    background-image: url("../images/silk-road-logo.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 页脚Logo样式 */
.logo-small {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    background-image: url("../images/silk-road-logo.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-small::after {
    display: none;
}

.logo-small::before {
    display: none;
}

/* 特定图片背景样式 */
.hdu-image {
    background-image: url("../images/hdu2.jpg");
    background-size: cover;
    background-position: center;
}

.knu-image {
    background-image: url("../images/knu1.jpg");
    background-size: cover;
    background-position: center;
}

/* 响应式调整 - 头部和Logo
-------------------------------------------------- */
@media (max-width: 768px) {
    .header {
        height: 420px;
    }
    
    .header-content {
        padding: 3rem 2rem 0;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-container {
        gap: 3rem;
    }
    
    .silk-road-logo {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }
}

/* 以下为其他样式 */

/* 内容容器 
-------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 部分通用样式 
-------------------------------------------------- */
.section {
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* 按钮样式
-------------------------------------------------- */
.apply-btn-header {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.apply-btn-header:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.consult-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.consult-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.apply-btn:hover {
    background-color: #A52A2A;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 学校介绍部分
-------------------------------------------------- */
.intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding: 2rem;
}

.intro-flex-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.intro-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 35%;
    margin-top: 30px;
}

.intro-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.intro-image:hover .intro-caption {
    opacity: 1;
}

.intro-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* 学校介绍图片 */
.intro-img-1 {
    background-image: url('../images/fzls01-1.jpg');
    background-size: cover;
    background-position: center;
}

.intro-img-2 {
    background-image: url('../images/fzls01-2.jpg');
    background-size: cover;
    background-position: center;
}

.intro-flex-container p {
    width: 65%;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.intro-text {
    width: 100%;
}

.intro-text h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    position: relative;
    text-align: left;
    padding-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.intro-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 580px;
    height: 3px;
    background-color: var(--primary-color);
}

.intro-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
    text-indent: 2em;
}

/* 学校介绍响应式设计 */
@media (max-width: 992px) {
    .intro-flex-container {
        flex-direction: column;
    }
    
    .intro-images {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .intro-flex-container p {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .intro-images {
        width: 100%;
    }
    
    .intro-image {
        height: 200px;
    }
}

/* 项目优势部分 */
.source-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.source-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(139, 0, 0, 0.1);
    overflow: hidden;
}

.source-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(139, 0, 0, 0.05);
    transition: width 0.5s ease;
    z-index: 0;
}

.source-item:hover::before {
    width: 100%;
}

.source-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.3);
}

.source-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background-color: var(--primary-color);
    border-radius: 10px;
    opacity: 0.9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    transform: rotate(45deg);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.source-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.one-belt-one-road::after {
    content: '01';
    position: absolute;
    transform: rotate(-45deg);
}

.dual-certification::after {
    content: '02';
    position: absolute;
    transform: rotate(-45deg);
}

.dual-school::after {
    content: '03';
    position: absolute;
    transform: rotate(-45deg);
}

.public-school::after {
    content: '04';
    position: absolute;
    transform: rotate(-45deg);
}

.facility::after {
    content: '05';
    position: absolute;
    transform: rotate(-45deg);
}

.employment::after {
    content: '06';
    position: absolute;
    transform: rotate(-45deg);
}

.source-item h3 {
    color: var(--primary-color);
    margin: 0.8rem 0 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
    display: inline-block;
    z-index: 1;
}

.source-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.source-item p {
    position: relative;
    z-index: 1;
    line-height: 1.7;
    text-align: center;
    color: #555;
}

/* 留学须知部分 */
.study-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.study-item {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.study-item h3 {
    color: var(--primary-color);
    margin: 0 0 1.2rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.study-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.study-item ul {
    margin-top: 1rem;
}

.study-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

/* 招生计划部分 - 全新设计 */
.plan-layout {
    display: flex;
    min-height: 500px;
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) inset;
}

/* 左侧选项卡 */
.plan-tabs {
    width: 200px;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    border-radius: 0 0 0 8px;
}

.plan-tab {
    padding: 1.2rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    border-left: 4px solid transparent;
    margin-bottom: 5px;
}

.plan-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    transition: width 0.3s ease;
}

.plan-tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-left-color: white;
}

.plan-tab:hover::after {
    width: 100%;
}

.plan-tab.active {
    background-color: white;
    border-left-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.1);
}

.tab-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.plan-tab.active .tab-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.1);
}

.tab-text {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
}

/* 右侧内容区 */
.plan-content {
    flex: 1;
    padding: 2rem;
    position: relative;
}

.plan-pane {
    display: none;
}

.plan-pane.active {
    display: block;
    animation: fadeIn 0.6s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.plan-item h3 {
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.plan-item h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), transparent);
    border-radius: 3px;
}

.plan-item h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 9px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .plan-layout {
        flex-direction: column;
    }
    
    .plan-tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-radius: 0;
    }
    
    .plan-tab {
        padding: 0.8rem;
        flex: 1;
        min-width: 100px;
        justify-content: center;
        border-left: none;
        border-bottom: 4px solid transparent;
        margin-bottom: 0;
    }
    
    .plan-tab.active {
        border-bottom-color: var(--accent-color);
        border-left-color: transparent;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .plan-tab:hover {
        border-bottom-color: white;
        border-left-color: transparent;
    }
    
    .plan-content {
        padding: 1.5rem;
    }
    
    .plan-item h3 {
        font-size: 1.5rem;
    }
}

.majors-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.majors-table th, .majors-table td {
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    text-align: center;
}

.majors-table th {
    background-color: var(--primary-color);
    color: white;
}

.majors-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

/* 联系我们部分 */
.contact-content {
    padding: 2rem;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin: 0 0 1.2rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.qrcode {
    width: 150px;
    height: 150px;
    background-color: var(--light-gray);
    margin: 1rem auto;
    border: 1px solid var(--border-color);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(to right, var(--primary-color), #8B0000);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact {
    text-align: center;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* 联系图标 */
.phone-icon::before,
.address-icon::before,
.cn-address-icon::before {
    content: '';
    position: absolute;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.phone-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1.02 1.02 0 0 0-1.02.24l-2.2 2.2a15.045 15.045 0 0 1-6.59-6.59l2.2-2.21a.96.96 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 12h2c0-4.97-4.03-9-9-9v2c3.87 0 7 3.13 7 7zm-4 0h2c0-2.76-2.24-5-5-5v2c1.66 0 3 1.34 3 3z'/%3E%3C/svg%3E");
}

.address-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.cn-address-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: white;
    text-decoration: underline;
}

/* 响应式调整 - 页脚 */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quick-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 合作院校部分 */
.partners-content {
    padding: 2rem;
}

.partner-item {
    display: flex;
    margin-bottom: 2rem;
    gap: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
}

.partner-image {
    flex: 0 0 30%;
    min-height: 200px;
    border-radius: 8px;
    background-color: #E8E8E8;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.partner-info {
    flex: 0 0 70%;
    padding: 0 2rem;
}

.partner-info h3 {
    color: var(--primary-color);
    margin: 0 0 1.2rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.partner-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.partner-info p {
    text-align: justify;
    line-height: 1.8;
    text-indent: 2em;
}

/* 合作院校响应式设计 */
@media (max-width: 992px) {
    .partner-item {
        flex-direction: column;
    }
    
    .partner-image {
        min-height: 180px;
        margin-bottom: 1rem;
    }
}

/* 学历认证样式
-------------------------------------------------- */
.certificate-container {
    margin-top: 1rem;
}

.certificate-desc {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.certificate-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.certificate-img {
    width: 32%;
    height: 250px;
    border-radius: 8px;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 证书图片尺寸调整 */
.certificate-img-1, .certificate-img-2 {
    height: 370px;
}

.certificate-img-3 {
    height: 250px;
}

/* 证书图片背景 */
.certificate-img-1 {
    background-image: url('../images/byz01.jpg');
    background-position: center;
}

.certificate-img-2 {
    background-image: url('../images/byz02.jpg');
    background-position: center;
}

.certificate-img-3 {
    background-image: url('../images/byz03.jpg');
    background-position: center;
}

/* 证书响应式设计 */
@media (max-width: 992px) {
    .certificate-images {
        flex-wrap: wrap;
    }
    
    .certificate-img {
        width: 48%;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .certificate-images {
        flex-direction: column;
    }
    
    .certificate-img {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* 学校环境样式 */
.environment-content {
    padding: 2rem;
}

.environment-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-img {
    height: 200px;
    border-radius: 8px;
    background-color: #f5f5f5;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-img:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(139, 0, 0, 0.8);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* 学校环境图片 */
.env-img-1 {
    background-image: url("../images/xxhj01.jpg");
}

.env-img-2 {
    background-image: url("../images/xxhj02.jpg");
}

.env-img-3 {
    background-image: url("../images/xxhj03.jpg");
}

.env-img-4 {
    background-image: url("../images/xxhj04.jpg");
}

.env-img-5 {
    background-image: url("../images/xxhj05.jpg");
}

.env-img-6 {
    background-image: url("../images/xxhj06.jpg");
}

.env-img-7 {
    background-image: url("../images/xxhj07.jpg");
}

.env-img-8 {
    background-image: url("../images/xxhj08.jpg");
}

/* 响应式设计 - 学校环境 */
@media (max-width: 992px) {
    .environment-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .certificate-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .environment-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificate-images {
        grid-template-columns: 1fr;
    }
}

/* plan-item样式恢复 */
.plan-item {
    margin-bottom: 2rem;
}

.plan-item h3 {
    color: var(--primary-color);
    margin: 0 0 1.2rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.plan-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

/* 页脚链接悬停效果 */
.footer a {
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer a:hover {
    color: #f8f9fa;
    text-decoration: underline;
}

.back-to-top {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* 页脚版权信息样式 */
.footer-copyright {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 常见问题区域 */
.faq-content {
    padding: 2rem;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: linear-gradient(to right, rgba(139, 0, 0, 0.03), rgba(255, 255, 255, 0.5));
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
}

.faq-item h4 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(139, 0, 0, 0.2);
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* 响应式调整 - FAQ */
@media (max-width: 992px) {
    .faq-container {
        gap: 1rem;
    }
}

/* 申请表单样式调整 */
.form-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.enrollment-form {
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.form-group:last-child {
    border-bottom: none;
}

.form-group h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-left: 1rem;
}

.form-group h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2rem;
    height: 1.1rem;
    width: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-field {
    flex: 1;
    min-width: 200px;
}

.form-field.full-width {
    flex: 0 0 100%;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="number"]:focus,
.form-field input[type="date"]:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.1);
    outline: none;
}

.required {
    color: #e74c3c;
    margin-left: 2px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-field input {
    margin: 0;
}

.checkbox-field label {
    margin-bottom: 0;
}

.agreement-link {
    color: var(--accent-color);
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.reset-btn,
.submit-btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn {
    background-color: #f1f1f1;
    color: #555;
    border: 1px solid #ddd;
}

.reset-btn:hover {
    background-color: #e5e5e5;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: normal;
}

/* 表单错误提示样式 */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

.form-field.error input,
.form-field.error select {
    border-color: #e74c3c;
}

/* 表单Tab切换样式 */
.form-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    max-width: 800px;
    margin: 2rem auto;
    gap: 10px;
    padding: 0 20px;
}

.form-tab {
    padding: 1rem 3rem;
    font-weight: 600;
    color: #666;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f8f8;
    border-radius: 8px 8px 0 0;
    text-align: center;
    flex: 1;
    max-width: 200px;
    border: 1px solid #ddd;
    border-bottom: none;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.03);
}

.form-tab.active {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-color);
    padding-top: calc(1rem - 2px);
    z-index: 1;
}

.form-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s;
    z-index: 2;
}

.form-tab.active::after {
    transform: scaleX(1);
}

.form-tab:hover:not(.active) {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.form-pane {
    display: none;
}

.form-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .form-content {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .reset-btn,
    .submit-btn,
    .query-btn {
        width: 100%;
    }
    
    .form-tabs {
        flex-wrap: wrap;
    }
    
    .form-tab {
        flex: 1;
        text-align: center;
        padding: 1rem 0.5rem;
        min-width: 120px;
    }
}

/* 查询表单样式 */
.query-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.query-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.query-form p {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #666;
}

.query-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.query-result.success {
    border-left: 4px solid #2ecc71;
}

.query-result.error {
    border-left: 4px solid #e74c3c;
}

.query-result h4 {
    margin-bottom: 0.8rem;
    color: #333;
}

.query-result p {
    color: #555;
}

.query-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.query-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 1. 丝绸之路学院发展历程样式 */
.history-section {
    margin-top: -3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.history-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
    font-weight: 600;
}

.history-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.history-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.history-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.history-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.history-text {
    padding: 1.5rem;
}

.history-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.history-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.5;
}

.more-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.more-link::after {
    content: '»';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.more-link:hover::after {
    margin-left: 8px;
}

.history-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.history-img-1 {
    background-image: url('../images/fzls02.jpg');
}

.history-img-2 {
    background-image: url('../images/fzls03.jpg');
}

.history-img-3 {
    background-image: url('../images/fzls04.jpg');
}

.history-img-4 {
    background-image: url('../images/fzls05.jpg');
}

.history-img-5 {
    background-image: url('../images/fzls07.jpg');
}

.history-img-6 {
    background-image: url('../images/fzls08.jpg');
}

/* 添加第7和第8张图片的样式 */


@media (max-width: 768px) {
    .history-container {
        grid-template-columns: 1fr;
    }
    
    .history-section {
        padding: 1.5rem;
    }
}

/* 2. 入学流程、费用、招生对象、申请资料的样式 */
.process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.process-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    width: calc(33.333% - 1rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.process-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.process-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
}

.target-list, .materials-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.target-list li, .materials-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
    font-size: 1.05rem;
    color: #444;
}

.target-list li::before, .materials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.materials-note {
    margin-top: 1.5rem;
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

.fee-item {
    margin-bottom: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fee-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
    margin-right: 1rem;
}

.fee-value {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.fee-note {
    color: #666;
    font-size: 0.95rem;
}

.fee-detail {
    background-color: #f5f5f5;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #444;
}

@media (max-width: 992px) {
    .process-item {
        width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .process-item {
        width: 100%;
    }
    
    .fee-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fee-label {
        margin-bottom: 0.5rem;
    }
}

/* 3. 入学申请部分的样式 */
.application-content {
    background-color: #f9f9f9;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.application-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #444;
}

.btn-container {
    display: flex;
    justify-content: center;
}

.apply-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

@media (max-width: 768px) {
    .application-content {
        padding: 1.5rem;
    }
    
    .application-content p {
        font-size: 1.1rem;
    }
    
    .apply-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}