/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 为什么选择我们样式 */
.why-us {
    padding: 100px 0;
    background-color: #fff;
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #667eea;
}

/* 讲师团队样式 */
.instructors {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.instructors h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.instructor-item {
    text-align: center;
}

.instructor-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.instructor-item p {
    color: #666;
}

/* 课程介绍样式 */
.courses {
    padding: 100px 0;
    background-color: #fff;
}

.courses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-header {
    background-color: #667eea;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.course-header h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.course-content {
    padding: 20px;
}

.course-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

/* 适用人群样式 */
.audience {
    padding: 100px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.audience h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.audience p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.audience ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.audience li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #333;
    position: relative;
}

.audience li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
}

/* 课程时间样式 */
.schedule {
    padding: 100px 0;
    background-color: #fff;
}

.schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.schedule-list {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .date {
    font-weight: 600;
    color: #667eea;
    width: 150px;
}

.schedule-item .event {
    flex: 1;
    text-align: left;
    margin-left: 30px;
}

/* 报名区域样式 */
.apply {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: #fff;
}

.apply h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.apply p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.apply .btn-primary {
    background-color: #fff;
    color: #667eea;
}

.apply .btn-primary:hover {
    background-color: #f8f9fa;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info a {
    color: #667eea;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
}

/* 关于页面样式 */
.about-hero {
    height: 60vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-top: 80px;
}

.about-hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.about-intro {
    padding: 100px 0;
    background-color: #fff;
}

.about-intro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

/* FAQ样式 */
.faq {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #667eea;
}

.faq-item p {
    margin-bottom: 10px;
    color: #666;
}

.faq-item ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.faq-item li {
    color: #666;
    margin-bottom: 5px;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #666;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .why-us h2,
    .instructors h2,
    .courses h2,
    .audience h2,
    .schedule h2,
    .apply h2,
    .about-hero h1,
    .about-intro h2,
    .faq h2,
    .contact h2 {
        font-size: 2rem;
    }

    .schedule-item {
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
    }

    .schedule-item .event {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .features-grid,
    .instructors-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
}