.project-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.project-item {
    display: flex;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* 确保内部内容超出时被隐藏 */
}

.project-image {
    flex: 0 0 40%;
    position: relative; /* 添加相对定位以支持绝对定位的子元素 */
    overflow: hidden; /* 确保图片不会超出容器 */
}

.project-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* max-width: 100%; 最大宽度为容器宽度 */
    /* max-height: 100%; 最大高度为容器高度 */
    object-fit: contain; /* 确保图片完整显示 */
    transition: transform 0.3s ease;
}

/* .project-image img:hover {
    transform: scale(1.05);
} */

.project-content {
    flex: 0 0 60%;
    padding: 20px;
    position: relative;
    background-color: rgba(0, 28, 64, 0.7);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.project-date {
    font-size: 18px;
    color: #fff;
}

.project-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.view-more:hover {
    background-color: #c0392b;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 15px 0;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination a.active {
    background-color: #e74c3c;
}

.page-content {
    min-height: 600px;
    padding: 20px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #003366;
}