/* Research Page Specific Styles */

/* Research Areas Grid */
.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.research-area-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #007bff;
}

.research-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}

.area-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.area-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.area-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.keyword-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.area-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.area-link:hover {
    color: #0056b3;
}

.area-link i {
    transition: transform 0.3s ease;
}

.area-link:hover i {
    transform: translateX(3px);
}

/* Ongoing Projects */
.ongoing-research-area {
    position: relative;
    background-attachment: fixed;
}

.ongoing-research-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.ongoing-research-area .container {
    position: relative;
    z-index: 2;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-card:hover {
    background: white;
    transform: translateY(-5px);
}

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

.project-status .status-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #28a745;
    color: white;
}

.status-badge.ongoing {
    background: #ffc107;
    color: #212529;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.project-content {
    margin-bottom: 20px;
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-meta {
    display: grid;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #495057;
}

.meta-item i {
    color: #007bff;
    width: 16px;
}

.project-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.project-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #0056b3;
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(3px);
}

/* Research Facilities */
.research-facilities-area {
    background: #f8f9fa;
}

.facilities-list {
    display: grid;
    gap: 25px;
}

.facility-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.facility-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.facility-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.facilities-image {
    text-align: center;
}

.facilities-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Publications */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.publication-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.publication-type {
    margin-bottom: 15px;
}

.type-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.conference {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.journal {
    background: #f3e5f5;
    color: #7b1fa2;
}

.publication-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.publication-authors {
    color: #495057;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.publication-venue {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 15px;
    font-style: italic;
}

.publication-actions {
    display: flex;
    gap: 15px;
}

.pub-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.pub-link:hover {
    color: #0056b3;
}

/* Collaboration CTA */
.collaboration-cta {
    position: relative;
    background-attachment: fixed;
}

.collaboration-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.collaboration-cta .container {
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {

    .research-areas-grid,
    .ongoing-projects-grid,
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facilities-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .facility-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .area-icon,
    .facility-icon {
        margin: 0 auto 15px;
    }

    .project-header {
        flex-direction: column;
        gap: 10px;
    }

    .project-meta {
        gap: 8px;
    }

    .meta-item {
        font-size: 13px;
    }
}

@media (max-width: 576px) {

    .research-area-card,
    .project-card,
    .publication-card {
        padding: 20px;
    }

    .area-title,
    .project-title,
    .publication-title {
        font-size: 16px;
    }

    .publication-actions {
        flex-direction: column;
        gap: 10px;
    }
}