/* Research Hero Section */
.research-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1555255707-c07966088b7b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: white;
    margin-top: 70px;
}

.research-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.research-hero p {
    font-size: 1.5rem;
}

/* Research Group Section */
.group-header {
    text-align: center;
    margin-bottom: 50px;
}

.group-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.group-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.group-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.group-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.research-focus {
    margin-top: 30px;
}

.research-focus h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.research-focus ul {
    list-style-type: none;
}

.research-focus li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.research-focus li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.group-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Publications Section */
.publications-grid {
    display: grid;
    gap: 30px;
}

.publication-card {
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.publication-card:hover {
    transform: translateY(-5px);
}

.pub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.pub-header h3 {
    color: white;
    margin-right: 20px;
    flex: 1;
}

.pub-year {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pub-authors {
    margin-bottom: 10px;
    color: #ffcc00;
    font-size: 1rem;
}

.pub-venue {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.pub-abstract {
    margin-bottom: 20px;
}

.pub-abstract p {
    line-height: 1.6;
    color: #e0e0e0;
}

.pub-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pub-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.pub-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Current Research Section */
.research-areas {
    display: grid;
    gap: 40px;
}

.research-area {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
    padding: 30px;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.research-area:hover {
    transform: translateY(-5px);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.area-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.area-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.research-details {
    background: rgba(108, 99, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.research-details h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.research-details ul {
    list-style-type: none;
}

.research-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.research-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Research Timeline */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
    margin-right: 0;
}

.timeline-date {
    flex: 0 0 100px;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: var(--border);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: white;
}

.timeline-content p {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .group-details {
        grid-template-columns: 1fr;
    }
    
    .group-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .research-area {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .area-icon {
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .pub-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .pub-year {
        align-self: flex-start;
    }
    
    .pub-links {
        justify-content: center;
    }
    
    .group-stats {
        grid-template-columns: 1fr;
    }
}