/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}


:root {
    --secondary: #194c44;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
}

.section-heading h2 {
    color: var(--primary);
    font-weight: 700;
    margin: 0;
}

/* Filter Section */
.filter-section {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.filter-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    transition: all 0.3s;
}

.filter-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Search Section */
.search-section {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-container {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.search-input-inner {
    flex: 1;
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.search-input-inner:focus {
    outline: none;
    border-color: var(--accent);
}

input{
    padding: 0.75rem 1rem !important;
}

.search-btn {
    background: var(--primary);
    color: white;
    border-radius: 0%;
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #001f3d;
}

.clear-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.clear-btn:hover {
    background: #0e3a33;
}

/* Projects Grid */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.projects-count {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 180px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-title a {
    color: inherit;
    text-decoration: none;
}

.project-title a:hover {
    color: var(--secondary);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.project-author, .project-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-author i, .project-date i {
    color: var(--secondary);
    width: 16px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .search-input-inner {
        /* border-radius: 8px 8px 0 0; */
        /* border-right: 1px solid var(--border-color); */
        /* max-width: 14rem; */
        border-bottom: none;
    }
    
    .search-btn, .clear-btn {
        border-radius: 0;
        padding: 0.6rem;
    }
    
    .clear-btn {
        display: none;
    }
}