/* Add top margin to main content */
main {
    margin-top: 2rem;
    padding: 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 0.5s ease forwards;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.card-client {
    color: #6b7280;
    font-size: 0.875rem;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.meta-item {
    font-size: 0.875rem;
}

.meta-item .label {
    color: #6b7280;
    margin-right: 0.5rem;
    font-weight: 500;
}

.scope-tags, .tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.scope-tag, .tool-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 500;
}

.tool-tag {
    background-color: #e0f2fe;
    color: #0369a1;
}

.project-details {
    margin-top: 1.5rem;
    opacity: 1;
    max-height: 1000px;
    transition: all 0.3s ease;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.project-details.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.detail-section {
    margin-bottom: 1.25rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.detail-section p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.outcomes {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem;
}

.outcomes li {
    margin-bottom: 0.5rem;
}

.outcomes li:last-child {
    margin-bottom: 0;
}

.card-footer {
    margin-top: 1.5rem;
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.view-project {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-project:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
    }

    main {
        padding: 0 1rem;
    }
} 