.portfolio-section {
    background: var(--soft);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.project-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.project-preview {
    position: relative;
    height: 315px;
    padding: 24px;
    overflow: hidden;
}

.project-preview > span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 8px 10px;
    background: var(--white);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-preview strong {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 24px;
    max-width: 75%;
    color: var(--white);
    font-family: "Unbounded", sans-serif;
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.project-preview i {
    position: absolute;
    right: -62px;
    bottom: -75px;
    width: 270px;
    height: 270px;
    background: var(--lime);
    border-radius: 50%;
}

.preview-dark {
    background: linear-gradient(135deg, #111111 0%, #373737 100%);
}

.preview-lime {
    background: #dfffc6;
}

.preview-lime strong,
.preview-yellow strong,
.preview-gray strong {
    color: var(--black);
}

.preview-lime i {
    right: 12%;
    bottom: 43px;
    width: 170px;
    height: 170px;
    background: transparent;
    border: 18px solid var(--black);
}

.preview-yellow {
    background: #fff5cf;
}

.preview-yellow i {
    right: 8%;
    bottom: 25px;
    width: 180px;
    height: 180px;
    background: var(--black);
    border-radius: 18px;
    transform: rotate(20deg);
}

.preview-gray {
    background: #e5e5e5;
}

.preview-gray i {
    background: var(--white);
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 23px;
}

.project-info h3 {
    margin: 0;
    font-size: 17px;
}

.project-info p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.project-info b {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    place-items: center;
    background: var(--lime);
    border-radius: 50%;
    font-size: 20px;
}