/* 人力资源页面样式 */

/* 引入AOS动画库CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css');

/* Banner样式 */
.hr-banner {
    position: relative;
    height: 400px;
    background-image: url('../images/hr-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hr-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 49, 143, 0.3);
}

.hr-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
}

.hr-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hr-subtitle {
    font-size: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 公共部分 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #03318f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #03318f;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* 人才理念部分样式 */
.talent-philosophy-section {
    padding: 80px 0;
    background-color: #fff;
}

.philosophy-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.philosophy-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.philosophy-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.philosophy-image:hover img {
    transform: scale(1.05);
}

.philosophy-text {
    width: 50%;
    margin-left: 5%;
}

.philosophy-item {
    display: flex;
    margin-bottom: 30px;
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(3, 49, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.philosophy-icon i {
    font-size: 28px;
    color: #03318f;
}

.philosophy-info h3 {
    font-size: 20px;
    color: #03318f;
    margin-bottom: 10px;
}

.philosophy-info p {
    color: #666;
    line-height: 1.6;
}

/* 企业福利部分样式 */
.benefits-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.benefit-card {
    width: 30%;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(3, 49, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 32px;
    color: #03318f;
}

.benefit-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* 人才招聘部分样式 */
.recruitment-section {
    padding: 80px 0;
    background-color: #fff;
}

.job-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-item {
    padding: 10px 25px;
    margin: 0 10px 10px;
    background-color: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-item.active {
    background-color: #03318f;
    color: #fff;
}

.job-list {
    margin-bottom: 50px;
}

.job-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #fff;
    cursor: pointer;
    border-left: 4px solid #03318f;
}

.job-title {
    flex: 1;
}

.job-title h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.job-tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(3, 49, 143, 0.1);
    color: #03318f;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 5px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 2;
}

.job-meta > div {
    margin-right: 20px;
    font-size: 14px;
    color: #666;
}

.job-meta i {
    margin-right: 5px;
    color: #03318f;
}

.job-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.job-toggle i {
    color: #03318f;
    transition: all 0.3s ease;
}

.job-detail {
    background-color: #f9f9f9;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.job-item.active .job-detail {
    padding: 30px;
    max-height: 1000px;
}

.job-item.active .job-toggle i {
    transform: rotate(180deg);
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    font-size: 16px;
    color: #03318f;
    margin-bottom: 10px;
}

.detail-section ul {
    padding-left: 20px;
}

.detail-section li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.apply-btn-container {
    text-align: center;
    margin-top: 30px;
}

.apply-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #03318f;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #022677;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(3, 49, 143, 0.3);
}

.recruitment-contact {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.recruitment-contact p {
    color: #666;
    font-size: 16px;
}

.recruitment-contact span {
    color: #03318f;
    font-weight: bold;
}

/* 响应式样式 */
@media screen and (max-width: 992px) {
    .philosophy-image,
    .philosophy-text {
        width: 100%;
        margin-left: 0;
    }
    
    .philosophy-image {
        margin-bottom: 30px;
        max-height: 400px;
    }
    
    .philosophy-image img {
        height: 100%;
        object-fit: cover;
    }
    
    .benefit-card {
        width: 48%;
    }
    
    .job-header {
        flex-wrap: wrap;
    }
    
    .job-title {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .job-meta {
        width: calc(100% - 30px);
    }
    
    .job-meta > div {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 768px) {
    .hr-banner {
        height: 300px;
    }
    
    .hr-title {
        font-size: 32px;
    }
    
    .hr-subtitle {
        font-size: 16px;
    }
    
    .philosophy-item {
        flex-direction: column;
    }
    
    .philosophy-icon {
        margin: 0 auto 15px;
    }
    
    .philosophy-info {
        text-align: center;
    }
    
    .filter-item {
        padding: 8px 20px;
        margin: 0 5px 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    .benefit-card {
        width: 100%;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-meta > div {
        margin-bottom: 5px;
    }
}