/* 全局变量 - 现代色彩方案 */
:root {
    --primary-color: #3f51b5; /* 深蓝紫色 - 更现代的主色调 */
    --secondary-color: #ff5722; /* 亮橙色 - 引人注目的强调色 */
    --text-color: #293241; /* 深灰蓝色 - 更清晰的文字颜色 */
    --light-text: #6b7280; /* 浅灰色 - 次要文字 */
    --background-color: #f9fafb; /* 淡灰白色 - 更柔和的背景 */
    --card-bg: #ffffff; /* 纯白色 - 卡片背景 */
    --border-color: #e5e7eb; /* 淡灰色 - 边框颜色 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05); /* 细微阴影 */
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05); /* 中等阴影 */
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); /* 大阴影 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 平滑过渡效果 */
    --radius-sm: 6px; /* 小圆角 */
    --radius-md: 12px; /* 中等圆角 */
    --radius-lg: 20px; /* 大圆角 */
    --hover-yellow: #FFCC00; /* 新增黄色用于悬停状态 */
}

/* 重置和基础样式 */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth; /* 平滑滚动 */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* 优化图片 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner样式 */
.banner {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #6a6aa9, var(--primary-color));
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    z-index: 1;
    margin-left: 20px;
    margin-top: -5px;
}

.logo {
    margin-right: 15px;
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.title-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.title-container h1 {
    font-size: 28px;
    margin: 0;
    letter-spacing: 3px;
    font-weight: 700;
    line-height: 1.2;
}

.title-container h2 {
    font-size: 12px;
    margin: 0;
    margin-top: 2px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: -0.3px;
    transform: scale(0.92, 1);
    transform-origin: left center;
    width: 110%;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-transform: uppercase;
}

.banner-text {
    padding: 0 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -20px;
}

.main-title {
    font-size: 48px;
    margin: 0 auto 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
    font-weight: 700;
    max-width: 900px;
    display: inline-block;
}

.sub-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.sub-info span {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* 替换背景装饰图形 - 更现代化的几何形状 */
.banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25% 75% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(20deg);
    animation: floatAnimation 15s infinite alternate ease-in-out;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: floatAnimation 12s infinite alternate-reverse ease-in-out;
}

/* 添加浮动动画 */
@keyframes floatAnimation {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(5deg); }
}

/* 额外添加右上角装饰 */
.banner-top-right {
    position: absolute;
    top: 40px;
    right: 15%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(15deg);
}

/* 额外添加左侧装饰 */
.banner-left {
    position: absolute;
    left: 15%;
    top: 50%;
    width: 150px;
    height: 150px;
    border: 15px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* 通用section样式 */
.section {
    padding: 80px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.en-title {
    color: var(--light-text);
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 500;
}

/* 学校介绍样式 */
.school-intro {
    background-color: var(--card-bg);
}

.intro-container {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.intro-image {
    flex: 0 0 45%;
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.intro-image::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    z-index: -1;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* 培养模式样式 - 更新为更美观的风格 */
.training-model {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.model-container-new {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.model-text-combined {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.model-point {
    display: flex;
    gap: 24px;
    margin-bottom: 15px;
    padding: 18px 25px;
    background: linear-gradient(120deg, rgba(255,255,255,0.95), rgba(250,250,255,0.9));
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    flex: 1;
    min-height: 0;
}

.model-point:last-child {
    margin-bottom: 0;
}

.model-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-left-width: 8px;
}

.model-point::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(74, 74, 138, 0.05) 0%, rgba(74, 74, 138, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.model-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #6a6aa9);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 10px rgba(74, 74, 138, 0.2);
    z-index: 1;
}

.model-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.model-content h3 {
    margin: 0 0 6px 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.model-content h3::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
}

.model-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.model-image-combined {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.model-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

.model-image-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.model-image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.model-image-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-image-item:hover img {
    transform: scale(1.05);
}

/* 按钮样式 */
.apply-btn {
    display: block;
    width: fit-content;
    min-width: 200px; /* 增加最小宽度 */
    background-color: #FF7A30; /* 橙色作为初始颜色 */
    color: white;
    padding: 12px 50px; /* 减小上下内边距，增加左右内边距 */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    margin: 40px auto 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFCC00; /* 黄色作为悬停效果 */
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.apply-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.apply-btn:hover::before {
    opacity: 1;
}

/* 添加鼠标指针样式 */
.apply-btn:hover::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('../images/cursor-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

/* 办学优势样式 */
.school-advantages {
    background-color: var(--card-bg);
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-color);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-content h3 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

.advantage-content p {
    margin: 0;
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* 学校环境样式 */
.school-environment {
    background-color: var(--background-color);
    position: relative;
}

.environment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.gallery-item p {
    margin: 0;
    padding: 12px 15px;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-color), #5a5aa9);
    position: relative;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    font-size: 15px;
    letter-spacing: 1px;
}

.gallery-item:hover p {
    background: linear-gradient(135deg, #5a5aa9, var(--primary-color));
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .banner {
        height: 380px;
    }
    
    .main-title {
        font-size: 42px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .intro-container {
        flex-direction: column;
    }
    
    .intro-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .intro-text {
        text-align: center;
    }
    
    .model-container-new {
        flex-direction: column;
        gap: 40px;
    }
    
    .advantages-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .model-point {
        margin-bottom: 20px;
        flex: 0 0 auto;
    }
    
    .model-text-combined {
        justify-content: flex-start;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 360px;
    }
    
    .banner-text {
        padding: 0 20px;
        margin-top: 70px;
    }
    
    .main-title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .sub-info {
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .model-point:hover {
        transform: none;
    }
    
    .model-image-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-left {
        display: none;
    }
    
    .banner-content {
        padding: 12px 20px;
        margin-left: 10px;
    }
    
    .logo img {
        width: 65px;
        height: 65px;
    }
    
    .title-container h1 {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .title-container h2 {
        font-size: 11px;
        letter-spacing: -0.2px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: auto;
        min-height: 350px;
        padding-top: 80px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        margin-left: 0;
    }
    
    .logo {
        margin: 0 0 10px 0;
    }
    
    .title-container h1 {
        letter-spacing: 2px;
    }
    
    .title-container {
        text-align: center;
    }
    
    .title-container h2 {
        transform: none;
        width: 100%;
        letter-spacing: 0;
        margin-top: 1px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .model-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .advantage-item {
        padding: 20px;
    }
    
    .apply-btn {
        width: 100%;
        min-width: unset;
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* 页面加载优化 */
.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
    opacity: 0;
}

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

/* 预加载指示器 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(63, 81, 181, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 招生计划版块样式 */
.enrollment-plan {
    background-color: #f8f9ff;
    position: relative;
    padding-bottom: 80px;
}

/* 选项卡导航样式 */
.enrollment-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.enrollment-tabs .tab {
    padding: 12px 30px;
    background-color: #fff;
    color: var(--text-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 活动选项卡样式 */
.enrollment-tabs .tab.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(63, 81, 181, 0.2);
    transform: translateY(-3px);
}

/* 悬停效果 */
.enrollment-tabs .tab:hover:not(.active) {
    background-color: #f0f4ff;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* 选项卡内容区域 */
.tab-content {
    display: none;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease forwards;
}

/* 活动内容区域 */
.tab-content.active {
    display: block;
}

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

/* 招生对象样式 */
.target-info {
    color: var(--text-color);
}

.target-info h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(63, 81, 181, 0.1);
}

.target-info ul {
    padding-left: 20px;
}

.target-info li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    list-style-type: none;
}

.target-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    top: 0;
}

/* 招生计划表格样式 */
.plan-table {
    overflow-x: auto;
}

.plan-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.plan-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 10px;
    font-weight: 600;
}

.plan-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}

.plan-table tr:nth-child(even) {
    background-color: #f8f9ff;
}

.plan-table tr:hover {
    background-color: #f0f4ff;
}

/* 招生专业样式 */
#majors-content .majors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.major-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.major-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.major-card .major-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.major-card .major-body {
    padding: 20px;
}

.major-card .major-detail {
    margin-bottom: 10px;
    display: flex;
}

.major-card .detail-label {
    font-weight: 600;
    min-width: 80px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .enrollment-tabs {
        flex-wrap: wrap;
    }
    
    .enrollment-tabs .tab {
        flex: 1 0 auto;
        text-align: center;
        min-width: 120px;
    }
    
    .tab-content {
        padding: 25px 20px;
    }
}

/* 调班说明文字居中样式 - 简化版 */
.note {
    text-align: center;
    margin: 15px auto;
    display: block;
}

/* 参考图片的专业培养目标与就业方向样式 */
.major-objective-header {
    position: relative;
    margin-bottom: 30px;
    border-left: 5px solid #333f81; /* 深蓝色边框 */
    padding-left: 15px;
}

.major-objective-header h3 {
    font-size: 24px;
    margin: 0;
    display: inline-block;
    color: #333f81;
}

.major-objective-header .en-title {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    letter-spacing: 1px;
}

.major-detail-container {
    background-color: #fafafa;
    border-radius: 10px;
    overflow: hidden;
}

.major-detail-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.major-name {
    background-color: #333f81; /* 深蓝色背景 */
    color: white;
    margin: 0;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
}

.major-detail-content {
    padding: 20px 25px;
}

.objective-title, .employment-title {
    color: #333f81;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.objective-content, .employment-content {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #444;
}

.employment-title {
    margin-top: 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .major-name {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .major-detail-content {
        padding: 15px 20px;
    }
    
    .note {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* 毕业待遇版块样式优化 */
.graduation-benefits {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f4ff 100%);
    position: relative;
    overflow: hidden;
}

/* 添加背景装饰元素 */
.graduation-benefits::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    background: rgba(63, 81, 181, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.graduation-benefits::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 250px;
    height: 250px;
    background: rgba(63, 81, 181, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.benefits-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

/* 文字描述部分 */
.benefits-text {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefits-text p {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    margin: 0;
    text-align: justify;
}

/* 证书样式 - 更重的灰色，无鼠标经过效果 */
.certificate-samples {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.certificate-item {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.certificate-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 证书文字样式 - 不遮挡图片 */
.certificate-item p {
    margin: 0;
    padding: 15px 0;
    background-color: #3a3d80; /* 深蓝色背景，与图片一致 */
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    /* 移除绝对定位 */
    position: static;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .certificate-samples {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .certificate-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .certificate-item {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

/* 入学申请部分样式 */
.application {
    background-color: #f8f9ff;
    position: relative;
}

/* 申请流程样式 */
.application-process {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 50px;
    position: relative;
}

/* 流程连接线 */
.application-process::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #6a6aa9);
    z-index: 1;
}

/* 流程项样式 */
.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 22%;
    position: relative;
    z-index: 2;
}

/* 流程图标 */
.process-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(63, 81, 181, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

/* 不同步骤不同颜色 */
.process-item:nth-child(1) .process-icon {
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
}

.process-item:nth-child(2) .process-icon {
    background: linear-gradient(135deg, #4a5bb5, #6a7ad9);
}

.process-item:nth-child(3) .process-icon {
    background: linear-gradient(135deg, #5767c0, #7986cb);
}

.process-item:nth-child(4) .process-icon {
    background: linear-gradient(135deg, #6573ca, #8c9eff);
}

/* 流程文字 */
.process-text {
    background-color: white;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.process-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

.process-text h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 18px;
}

.process-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 申请信息样式 */
.application-info {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.application-info h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 20px;
    position: relative;
    padding-bottom: 8px;
}

.application-info h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
}

.application-info ul {
    margin: 0 0 30px 0;
    padding-left: 20px;
}

.application-info li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 25px;
}

.application-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.application-info p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .application-process {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .application-process::before {
        display: none; /* 移除连接线 */
    }
    
    .process-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .application-info {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .process-item {
        width: 100%;
        max-width: 280px;
    }
    
    .process-text {
        min-height: auto;
    }
}

/* 页脚样式优化 */
.footer {
    background: linear-gradient(135deg, #3f51b5, #283593);
    color: white;
    padding: 60px 0 0;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

/* 添加底部图片装饰 */
.footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* 调整高度以适应图片 */
    background: url('https://www.hnihe.com/hbust/images/bottom.png') no-repeat center bottom;
    background-size: 100% auto;
    z-index: 1;
}

/* 添加装饰效果 */
.footer::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 40px;
    position: relative;
    z-index: 2;
}

/* 左侧信息区域样式 */
.footer-left {
    flex: 2;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-title h3 {
    font-size: 28px;
    margin: 0 0 5px 0;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-title h3::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff5722; /* 橙色下划线，呼应顶部 */
    border-radius: 2px;
}

.footer-title p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* 联系信息样式 */
.footer-contact-info {
    margin-top: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.footer-contact-item svg {
    margin-top: 3px;
    flex-shrink: 0;
    fill: white;
    width: 20px;
    height: 20px;
}

.footer-contact-item span {
    font-size: 14px;
    line-height: 1.6;
}

/* 右侧区域样式 */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
}

.footer-qrcode {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: all 0.3s ease;
}

.footer-qrcode:hover {
    transform: rotate(0) scale(1.05);
}

.footer-qrcode img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
}

.footer-qrcode p {
    margin: 10px 0 0;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* 报名按钮 */
.footer-right .apply-btn {
    background-color: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-right .apply-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.copyright p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-right {
        margin-top: 40px;
        padding-left: 0;
    }
    
    .footer::before {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }
    
    .footer-contact-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .footer-title h3 {
        font-size: 24px;
    }
    
    .footer-contact-item {
        padding: 10px;
    }
    
    .footer-qrcode {
        padding: 10px;
    }
    
    .footer-qrcode img {
        width: 120px;
        height: 120px;
    }
}

/* application.php 样式 - 保持与 index.html 一致 */

/* 顶部导航样式 */
.app-header {
    width: 100%;
    background: linear-gradient(135deg, #6a6aa9, var(--primary-color));
    color: white;
    position: relative;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

.app-header .logo {
    margin-right: 15px;
}

.app-header .logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.app-header .title-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-header .title-container h1 {
    font-size: 28px;
    margin: 0;
    letter-spacing: 3px;
    font-weight: 700;
    line-height: 1.2;
}

.app-header .title-container h2 {
    font-size: 12px;
    margin: 0;
    margin-top: 2px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: -0.3px;
    transform: scale(0.92, 1);
    transform-origin: left center;
    width: 110%;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-transform: uppercase;
}

.back-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.back-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 表单容器样式 */
.form-container {
    max-width: 900px;
    margin: 30px auto 60px;
    background-color: white;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
    color: var(--light-text);
}

.form-intro .required {
    color: #ff5722;
    font-weight: bold;
}

/* 应用原有的页脚样式 */
.application-page .footer {
    background: linear-gradient(135deg, #3f51b5, #4a4a8a);
    color: white;
    padding: 50px 0 0;
    position: relative;
    margin-top: 80px;
}

/* 表单切换样式优化 */
.form-tabs {
    max-width: 800px;
    margin: 40px auto 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.form-tabs .tab {
    padding: 12px 30px;
    background-color: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--light-text);
    box-shadow: var(--shadow-sm);
}

.form-tabs .tab.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.form-tabs .tab:hover:not(.active) {
    background-color: #e9ecef;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .app-header .logo {
        margin: 0 0 10px 0;
    }
    
    .app-header .title-container {
        margin-bottom: 15px;
    }
    
    .app-header .title-container h1 {
        font-size: 24px;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 20px 15px 40px;
    }
    
    .form-tabs {
        flex-direction: column;
        padding: 0 20px;
        gap: 10px;
    }
    
    .form-tabs .tab {
        text-align: center;
        width: 100%;
    }
}

/* 调整页面根元素高度，确保页脚始终在底部 */
html, body.application-page {
    min-height: 100vh;
}

body.application-page {
    display: flex;
    flex-direction: column;
}

body.application-page > *:not(.footer) {
    flex: 0 0 auto;
}

body.application-page .footer {
    margin-top: auto;
}

/* 入学申请表单样式 */
.application-title {
    text-align: center;
    color: #000;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 8px;
}

.application-title .en-title {
    font-size: 16px;
    color: #444;
    font-weight: normal;
    letter-spacing: normal;
    margin-top: 5px;
}

.application-form {
    max-width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    position: relative;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.1);
}

.radio-group {
    display: flex;
    gap: 40px;
    padding: 8px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: auto;
}

.input-icon {
    position: absolute;
    top: 38px;
    left: 15px;
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.person-icon {
    background-image: url('../images/person-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.phone-icon {
    background-image: url('../images/phone-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.form-group input[placeholder] {
    padding-left: 40px;
}

.required {
    color: #f00;
}

.address-hint {
    font-size: 13px;
    color: #777;
    margin: 0 0 5px 0;
}

.notice-box {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 30px 0;
}

.notice-box h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.notice-box ol {
    margin: 0;
    padding-left: 20px;
}

.notice-box li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

.highlight {
    color: #f00;
    font-weight: bold;
}

.form-button {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #2c3e94;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .application-title {
        font-size: 22px;
    }
    
    .radio-group {
        gap: 20px;
    }
}

/* 淡蓝色背景 */
body.application-page {
    background-color: #f0f4f8;
}

.form-container {
    background-color: white;
}

/* 查询表单样式 */
.query-form {
    max-width: 600px;
    margin: 0 auto;
}

.query-form .form-group {
    margin-bottom: 25px;
}

.query-notice {
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-color);
}

.query-notice ul {
    padding-left: 20px;
    margin: 10px 0;
}

.query-notice li {
    margin-bottom: 8px;
}

.id-icon {
    background-image: url('../images/id-card-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.query-btn {
    min-width: 150px;
}

/* 查询结果样式 */
.query-result {
    margin-top: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.result-header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
}

.result-content {
    padding: 20px;
    background-color: #f9fafb;
}

.result-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 10px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    flex: 0 0 100px;
    font-weight: 600;
    color: #555;
}

.result-value {
    flex: 1;
}

.result-value.status {
    font-weight: 600;
}

.status-pending {
    color: #f59e0b;
}

.status-approved {
    color: #10b981;
}

.status-rejected {
    color: #ef4444;
}

.result-note {
    background-color: #fffbeb;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #92400e;
    margin-top: 10px;
}

/* JavaScript将根据查询结果显示此区域 */
.query-result[style="display: none;"] + .no-result-message {
    display: block;
    text-align: center;
    padding: 30px 0;
    color: #6b7280;
}

/* 输入框悬停和聚焦状态的增强 */
.query-form input:hover {
    border-color: #d1d5db;
}

.query-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

/* 响应式调整 */
@media (max-width: 640px) {
    .result-item {
        flex-direction: column;
    }
    
    .result-label {
        margin-bottom: 5px;
    }
}