/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}


:root {
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --text-muted: #6c757d;
}

.main-content-body {
    padding: 1rem;
    padding-top: 0.5rem;
}

.section-heading {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    color: var(--primary);
    font-weight: 700;
    margin: 0;
}

/* Project Header */
.project-header {
    margin-bottom: 2rem;
}

.project-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta-item i {
    color: var(--secondary);
}

/* Project Media */
.project-media {
    margin-bottom: 2rem;
}

.project-video {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Project Description */
.project-description {
    margin-bottom: 2rem;
}

.description-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.description-content {
    line-height: 1.6;
    color: #444;
    font-size: 1.05rem;
}

/* Student Info */
.student-info-card {
    background: var(--light-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 2rem;
}

.student-header {
    background: var(--primary);
    color: white;
    padding: 1.25rem;
}

.student-header h5 {
    margin: 0;
    font-weight: 600;
}

.student-body {
    padding: 1.5rem;
}

.student-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.student-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.student-detail-item i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.student-detail-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.student-detail-item a:hover {
    color: var(--accent);
}

/* Related Projects */
.related-projects {
    margin-top: 2rem;
}

.related-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.related-projects-container {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    padding-top: 0.2rem;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.related-project-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-project-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.related-project-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-project-details {
    flex: 1;
}

.related-project-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.related-project-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.related-project-link {
    text-decoration: none;
    color: inherit;
}

.related-project-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-share {
    background: var(--light-bg);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-share:hover {
    background: #e9ecef;
}

.btn-download {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-download:hover {
    background: #001f3d;
    color: white;
}

.student-detail-item-header i{
    margin-right: 0.2rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content-body {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .related-project-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-project-img {
        width: 100%;
        height: 150px;
        margin-bottom: 0.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }


    .student-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .student-detail-item-header{
        display: flex;
        align-items: baseline;
    }
}

@media (max-width: 576px) {
    .main-content-body {
        padding: 0.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .student-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

}

.student-header i{
    margin-right: 0.5rem;
}




/* for sharepoint */
.page-content{
    padding: 0.5rem 1rem;
}
@media (max-width: 576px) {
    .page-content{
        padding: 0.3rem 0.5rem;
    }
}
