/* Research showcase styles */
.research-showcase {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.research-showcase .section-title {
    margin-bottom: 30px;
}

.research-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.research-item {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.research-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.research-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 54, 93, 0.85);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.research-item:hover .research-caption {
    transform: translateY(0);
}

.research-caption h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.research-caption p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
}

/* Responsive styles for research showcase */
@media (max-width: 992px) {
    .research-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .research-gallery {
        justify-content: center;
    }
    
    .research-item {
        flex: 0 0 100%;
        max-width: 450px;
    }
    
    .research-caption {
        transform: translateY(0);
        opacity: 0.95;
    }
}
