
.portfolio {
    padding: 3rem 0;
    background: #f9fafb;
}
#model {
    padding-top: 8rem; 
    padding-bottom: 3rem; 

}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #32364e;
    margin-bottom: 1rem;
}

.title-line {
    width: 5rem;
    height: 0.25rem;
    background: #22bd0e;
    margin: 0 auto 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active {
    background: #119453;
    color: white;
}

.filter-btn:not(.active) {
    background: #e5e7eb;
    color: #374151;
}

.filter-btn:not(.active):hover {
    background: #119453;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    display: block; 
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-image {
    height: 12rem;
    display: block;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.tag-blue { background: #dbeafe; color: #2563eb; }
.tag-green { background: #d1fae5; color: #0aa373; }
.tag-purple { background: #e9d5ff; color: #7c3aed; }
.tag-orange { background: #fed7aa; color: #ea580c; }
.tag-red { background: #fecaca; color: #dc2626; }
.tag-yellow { background: #fef3c7; color: #d97706; }
.tag-gray { background: #f3f4f6; color: #374151; }
.tag-indigo { background: #e0e7ff; color: #4f46e5; }
.tag-teal { background: #ccfbf1; color: #0f766e; }