:root {
    --primary-color: #2c5aa0;
    --secondary-color: #94cdff;
    --accent-color: #e67e22;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --gray-color: #666;
    --light-gray: #eee;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 32px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray-color);
}

/* 导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #23447c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 14px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #d46c1b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 主体内容样式 */
.hero-section {
    background: linear-gradient(rgba(44, 90, 160, 0.85), rgba(44, 90, 160, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .cta-button {
    margin: 0 10px;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 服务项目 */
.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* 特色课程 */
.featured-courses {
    background-color: white;
    padding: 60px 0;
}

.courses-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.course-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
    font-size: 14px;
}

.course-meta i {
    margin-right: 5px;
}

/* 最新公告 */
.latest-news {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.news-preview {
    max-width: 800px;
    margin: 0 auto 40px;
}

.news-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(5px);
}

.news-date {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-item h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-item h3 a:hover {
    color: var(--primary-color);
}

.news-item p {
    color: var(--gray-color);
    font-size: 15px;
}

/* 师资团队 */
.teachers-preview {
    padding: 60px 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.teacher-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.teacher-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
}

.teacher-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.teacher-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.teacher-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
}

/* 页脚 */
footer {
    background-color: #1a2b4a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.wechat-info {
    color: #bbb;
    margin-bottom: 20px;
}

.wechat-qr {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

.copyright p {
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

.page-header {
    background: linear-gradient(rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 0.95));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
            overflow: hidden;
}
.page-header:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path d="M0,50 Q250,0 500,50 T1000,50 V100 H0 Z" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: cover;
            background-position: bottom;
        }