/* 研究方向页面特定样式 */

.research-page {
    padding: 30px 0;
    background-color: #fff;
    animation: fadeIn 0.8s ease-out;
}

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

/* 新增的研究方向展示样式 */
.research-showcase {
    margin-bottom: 60px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.showcase-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.showcase-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.showcase-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}


.showcase-content {
    padding: 25px;
}

.showcase-content h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.3;
}

.showcase-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ccc;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
    color: #003366;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0055aa);
    border-radius: 2px;
}

/* 研究概述 */
.research-intro {
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-width: 1300px;
    margin: 0 auto 50px auto;
    border-left: 5px solid #003366;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.research-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.research-intro h2 {
    color: #003366;
    margin-bottom: 25px;
    font-size: 2.2rem;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.research-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #0055aa);
    border-radius: 1.5px;
}

.research-intro p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* 研究方向详细内容 */
.research-directions {
    margin-bottom: 50px;
}

.research-directions h2 {
    color: #003366;
    margin-bottom: 40px;
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.research-directions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #0055aa);
    border-radius: 1.5px;
}

/* 三列布局 */
.research-directions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.direction-item {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 3px solid #003366;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(15px);
}

.direction-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.direction-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.direction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0055aa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.direction-item:hover::before {
    transform: scaleX(1);
}

.direction-item h3 {
    color: #003366;
    margin-bottom: 12px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.direction-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.direction-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.direction-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.direction-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
    flex: 1;
}

.direction-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .research-directions-container {
        gap: 25px;
    }
    
    .direction-item {
        padding: 35px;
    }
    
    .direction-item h3 {
        font-size: 1.6rem;
    }
    
    .direction-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .research-directions-container {
        flex-direction: column;
    }
    
    .direction-item {
        min-width: 100%;
    }
    
    .direction-item h3 {
        font-size: 1.7rem;
    }
    
    .direction-content {
        font-size: 1rem;
    }
    
    .direction-content p {
        margin-bottom: 20px;
    }
    
    .direction-content ul {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .direction-item {
        padding: 15px;
    }
    
    .direction-item h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .direction-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .direction-content {
        font-size: 0.9rem;
    }
    
    .direction-content li {
        margin-bottom: 6px;
        padding-left: 15px;
    }
    
    .direction-content li::before {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .direction-item {
        padding: 20px;
    }
    
    .direction-item h3 {
        font-size: 1.4rem;
    }
    
    .direction-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .direction-content {
        font-size: 0.9rem;
    }
}

/* 研究成果 */
.research-achievements {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.research-achievements h2 {
    color: #003366;
    margin-bottom: 35px;
    font-size: 2rem;
    text-align: center;
    position: relative;
}

.research-achievements h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #0055aa);
    border-radius: 1.5px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.achievement-item {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #003366;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #003366, #0055aa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.achievement-item:hover::before {
    transform: scaleX(1);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.achievement-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.achievement-item h3 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.achievement-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #003366, #0055aa);
    border-radius: 1px;
}

.achievement-item p {
    color: #666;
    line-height: 1.7;
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .research-directions-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .research-directions-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .page-title {
        font-size: 2.4rem;
    }
    
    .research-intro {
        padding: 30px;
    }
    
    .research-intro h2,
    .research-directions h2 {
        font-size: 1.9rem;
    }
    
    .direction-item {
        padding: 30px;
    }
    
    .direction-item h3 {
        font-size: 1.6rem;
    }
    
    .direction-content {
        font-size: 1rem;
    }
    
    .direction-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .research-achievements {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .research-page {
        padding: 20px 0;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .research-intro {
        padding: 25px;
        margin-bottom: 30px;
    }

    .research-intro h2,
    .research-directions h2 {
        font-size: 1.7rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-content {
        padding: 20px;
    }

    .showcase-content h3 {
        font-size: 1.2rem;
    }

    .research-directions-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .direction-item {
        padding: 25px;
    }

    .direction-item h3 {
        font-size: 1.5rem;
    }

    .direction-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-right: 15px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .research-achievements {
        padding: 25px;
    }

    .achievement-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .research-intro,
    .direction-item {
        padding: 20px;
    }
    
    .research-intro h2,
    .research-directions h2 {
        font-size: 1.5rem;
    }
    
    .direction-item h3 {
        font-size: 1.3rem;
    }
    
    .direction-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .achievement-item {
        padding: 20px;
    }
}