.solved-tasks {
    padding: 3rem 1rem;
    max-width: 100%;
    margin: 0 auto;
}
.tasks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.task-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 48%;
    box-sizing: border-box;
    height: 24vh;
    display: flex;
    align-items: center;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: all 0.4s ease;
    z-index: -1;
}

.task-card:hover::before {
    border-color: #0761b0;
    box-shadow: 0 8px 25px rgba(0, 151, 151, 0.2);
}

.task-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
}

.task-number {
    background: #0761b0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.task-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.task-img {
    max-width: 100%;
    max-height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.task-text {
    flex-grow: 1;
}

.task-text p {
    margin: 0;
    color: #666;
    font-size: 1.5rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.task-card:hover {
    transform: translateY(-8px);
}

.task-card:hover .task-number {
    transform: scale(1.1);
    background: #0761b0;
}

.task-card:hover .task-icon {
    transform: scale(1.15);
}

.task-card:hover .task-img {
    transform: scale(1.1);
}

.task-card:hover h3 {
    color: #0761b0;
    text-shadow: 0 0 5px rgba(0, 151, 151, 0.1);
}

@media (max-width: 768px) {
    .task-content {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1.5rem;
        gap: 1rem;
    }

    .task-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .task-icon {
        width: 80px;
        height: 80px;
    }

    .task-text {
        flex-basis: 100%;
    }

    .task-text h3 {
        font-size: 1.5rem;
    }

    .task-card {
        width: 100%;
    }
}