﻿/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 语言切换器 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher select:hover {
    border-color: #1976d2; /* 改为蓝色 */
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #1976d2; /* 改为蓝色 */
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #1976d2; /* 改为蓝色 */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1976d2; /* 改为蓝色 */
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 首页内容 */
.home-content {
    min-height: calc(100vh - 70px);
}

.hero-section {
    height: 80vh;
    background-image: url('../images/background-home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.8) 0%, rgba(21, 101, 192, 0.8) 100%); /* 改为蓝色渐变 */
}

.hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #1976d2; /* 改为蓝色 */
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 特色部分 */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.features-section h2 {
    text-align: center;
    font-size: 3.5rem; /* 增大字体大小 */
    margin-bottom: 50px;
    color: #333;
    font-weight: 700; /* 可以同时增加字重让文字更粗 */
    line-height: 1.2; /* 调整行高以适应更大的字体 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f8f8;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1976d2; /* 改为蓝色 */
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 快速链接部分 */
.quick-links-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.quick-links-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 600;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #1976d2; /* 改为蓝色 */
}

.quick-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.quick-link-card p {
    color: #666;
    line-height: 1.6;
}

/* 页面英雄区域 */
.page-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.8) 0%, rgba(21, 101, 192, 0.8) 100%); /* 改为蓝色渐变 */
}

.page-hero .hero-overlay {
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* 课程页面样式 */
.courses-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.course-category {
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-category h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1976d2; /* 改为蓝色 */
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.course-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.course-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-image:hover img {
    transform: scale(1.05);
}

.course-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.course-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.course-features {
    list-style: none;
}

.course-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.level-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #1976d2; /* 改为蓝色 */
    transition: all 0.3s ease;
}

.level-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.level-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1976d2; /* 改为蓝色 */
    font-weight: 600;
}

.level-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.level-card ul {
    list-style: none;
    color: #555;
}

.level-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.level-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1976d2; /* 改为蓝色 */
    font-weight: bold;
}

/* 服务页面样式 */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border-left: 5px solid #1976d2; /* 改为蓝色 */
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.service-card > p {
    color: #666;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-details {
    margin-top: 30px;
}

.service-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1976d2; /* 改为蓝色 */
    font-weight: 600;
}

.service-details ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

.service-details li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.contact-method {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.contact-method h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-method p {
    color: #1976d2; /* 改为蓝色 */
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-method small {
    color: #888;
    font-size: 0.85rem;
}

.service-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.service-hours h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-hours p {
    margin-bottom: 8px;
    color: #555;
}

.company-info {
    margin-bottom: 30px;
}

.company-info h3 {
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-item strong {
    color: #333;
    margin-right: 10px;
    min-width: 100px;
    display: inline-block;
}

.info-item span {
    color: #555;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2; /* 改为蓝色 */
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1); /* 改为蓝色 */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form,
.feedback-form,
.cooperation-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-form h3,
.feedback-form h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.submit-btn {
    background: #1976d2; /* 改为蓝色 */
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1565c0; /* 改为蓝色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3); /* 改为蓝色 */
}

.reset-btn {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.reset-btn:hover {
    background: #545b62;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* 通知框 */
.notice-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 20px;
}

.notice-box h4 {
    color: #1976d2; /* 改为蓝色 */
    margin-bottom: 10px;
    font-weight: 600;
}

.notice-box p {
    color: #555;
    line-height: 1.6;
}

/* 反馈页面样式 */
.feedback-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.feedback-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.feedback-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.feedback-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.feedback-process {
    margin-bottom: 50px;
}

.feedback-process h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1976d2; /* 改为蓝色 */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.contact-alternative {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-alternative h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.contact-alternative p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.alternative-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.alternative-contact {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.alternative-contact:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.alternative-contact h3 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.alternative-contact p {
    color: #1976d2; /* 改为蓝色 */
    font-weight: 500;
    margin: 0;
}

/* 商务合作页面样式 */
.cooperation-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cooperation-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cooperation-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.cooperation-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.cooperation-areas {
    margin-bottom: 60px;
}

.cooperation-areas h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #1976d2; /* 改为蓝色 */
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.area-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.area-card ul {
    list-style: none;
    text-align: left;
    color: #555;
}

.area-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.area-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.cooperation-process {
    margin-bottom: 60px;
}

.cooperation-process h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1976d2; /* 改为蓝色 */
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1976d2; /* 改为蓝色 */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.cooperation-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.cooperation-form-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.cooperation-form-section p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-direct {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-direct h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.direct-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.direct-contact {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.direct-contact:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.direct-contact h3 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.direct-contact p {
    color: #1976d2; /* 改为蓝色 */
    font-weight: 500;
    margin: 0;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1976d2; /* 改为蓝色 */
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 10px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1976d2; /* 改为蓝色 */
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* 响应式设计基础 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 5px 10px;
    }
    
    .hero-overlay h1 {
        font-size: 2.5rem;
    }
    
    .hero-overlay p {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 20px;
        flex-direction: row;
        gap: 20px;
    }
}