.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.section-title-wrap h2 {
    font-size: 42px;
}

.section-title-wrap p {
    color: #666;
}

.portfolio-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.portfolio-filter button {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 30px;
    padding: 10px 22px;
    color: #555;
    cursor: pointer;
    transition: .3s;
}

.portfolio-filter button:hover,
.portfolio-filter button.active {
    background: #E7113B;
    border-color: #E7113B;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .13);
}

.portfolio-card .thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.portfolio-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.portfolio-card:hover .thumb img {
    transform: scale(1.08);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info span {
    display: block;
    margin-bottom: 8px;
    color: #E7113B;
    font-size: 14px;
    font-weight: 700;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.portfolio-info p {
    color: #666;
    font-size: 16px;
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-more {
    margin-top: 60px;
    text-align: center;
}

.more-btn {
    padding: 16px 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 50px;
    transition: .3s;
}

.more-btn:hover {
    background: #E7113B;
    border-color: #E7113B;
    color: #fff;
}

@media (max-width: 1024px) {
    .section-title-wrap {
        display: block;
    }

    .section-title-wrap h2 {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {

    .portfolio-contact h2,
    .section-title-wrap h2 {
        font-size: 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}