.downloads-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/downloads-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.downloads-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.category-filter select,
.search-box input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 200px;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.document-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

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

.document-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
}

.document-info h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.2em;
}

.document-info .description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.meta-info {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #777;
    margin-bottom: 15px;
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #495057;
}

.document-actions {
    margin-top: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s;
    width: 100%;
    justify-content: center;
}

.download-btn:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-filter select,
    .search-box input {
        width: 100%;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
}
