/* 关联企业页面样式 */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.2rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.content {
    padding: 3rem 2rem;
    min-height: 60vh;
}

.content .container {
    max-width: 1200px;
    margin: 0 auto;
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.content p {
    color: #666;
    line-height: 1.8;
}

/* 服务介绍 */
.service-intro {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.service-intro h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-intro p {
    color: #666;
    line-height: 1.8;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 案例区域 */
.cases-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.case-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.case-item p {
    color: #666;
}

/* 预约/表单区域 */
.booking-section,
.enrollment-section,
.consultation-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.booking-form,
.enroll-form,
.consult-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* 联系方式 */
.contact-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* 招聘相关 */
.recruitment-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.recruitment-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: #667eea;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.jobs-list {
    /* PC 端：每行只显示一条招聘信息，卡片横向铺满 */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.job-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-header h3 {
    color: #2c3e50;
    margin: 0;
}

.job-salary {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
}

.job-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-info span {
    color: #666;
    font-size: 0.9rem;
}

.job-desc {
    color: #666;
    margin-bottom: 1rem;
}

.job-item .btn.btn-sm {
    margin-left: auto;
    align-self: flex-end;
}

.resume-form,
.query-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.query-result {
    margin-top: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.query-result h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.progress-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.progress-info span {
    color: #2c3e50;
    font-weight: 500;
}

/* 培训相关 */
.courses-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid #667eea;
}

.course-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.course-card h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.course-info {
    margin-bottom: 1rem;
}

.course-info p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.course-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.certificate-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.cert-query-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.cert-result {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.cert-result h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cert-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.cert-info span {
    color: #2c3e50;
    font-weight: 500;
}

/* 页脚 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

.footer-bottom a {
    color: #fff;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .services-grid,
    .cases-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-info {
        /* 手机端：保持与PC一致的横向排布，可自动换行 */
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }
}
