/* 全局样式 */


.enter-cooperation {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.enter-cooperation > * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff7f14;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff7f14;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff7f14;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    color: #fff;
    background-color: #e06500;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ff7f14;
    color: #ff7f14;
}

.btn-outline:hover {
    background-color: #ff7f14;
    color: #fff;
}

/* 首页样式 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8eaff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

.course-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: -20px auto 40px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 200px;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
}

.course-content {
    padding: 20px;
}

.course-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #fff2e6;
    color: #ff7f14;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.course-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.course-company {
    font-size: 14px;
    color: #ff7f14;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
    padding: 3px 8px;
    background-color: #fff2e6;
    border-radius: 4px;
}

.course-description {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.course-price {
    font-weight: 700;
    color: #ff7f14;
    font-size: 18px;
}

.hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff5252;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* 表单页面样式 */
.form-section {
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #3f51b5;
    outline: none;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-footer {
    margin-top: 30px;
    text-align: right;
}

/* 课程详情页样式 */
.course-detail {
    padding: 60px 0;
}

.course-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.course-detail-image {
    width: 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-detail-info {
    flex: 1;
}

.course-detail-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.course-detail-company {
    font-size: 16px;
    color: #ff7f14;
    margin-bottom: 15px;
    font-weight: 600;
    display: inline-block;
    padding: 5px 10px;
    background-color: #fff2e6;
    border-radius: 4px;
}

.course-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #666;
}

.meta-item i {
    margin-right: 5px;
    color: #ff7f14;
}

.course-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff7f14;
    margin-bottom: 20px;
}

.course-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.course-detail-description {
    margin-bottom: 40px;
}

.course-detail-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.course-detail-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.course-detail-curriculum {
    margin-bottom: 40px;
}

.course-detail-curriculum h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.curriculum-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.curriculum-item-title {
    font-weight: 500;
    color: #333;
}

.curriculum-item-duration {
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .course-header {
        flex-direction: column;
    }

    .course-detail-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .navbar-container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 15px;
    }

    .nav-links li {
        margin-left: 15px;
        margin-right: 15px;
    }
}