/* Zig-Zag Pattern */
.zigzag-section {
    display: none;
    padding: 40px 0;
    overflow: hidden;
}

.zigzag-section.all {
    display: block;
}

.zigzag-item {
    display: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.zigzag-section.all .zigzag-item {
    display: flex;
}

.zigzag-item:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-item img {
    width: 50%;
    height: 571px;
    object-fit: cover;
}

.zigzag-text {
    padding: 20px;
    width: 50%;
}

.zigzag-text h4 {
    font-weight: bold;
    color: #333;
    font-size: 40px;
}

.zigzag-text p {
    color: #666;
}

@media (max-width: 991px) {
    .zigzag-item {
        flex-direction: column !important;
        text-align: center;
        overflow: hidden;
    }

    .zigzag-item img {
        width: 100%;
        height: auto;
    }

    .zigzag-text {
        width: 100%;
        padding: 15px;
    }


    .zigzag-text h4 {
        font-size: 28px;
        color: #070707;
        margin-bottom: 5px;
    }

    .zigzag-text h2 {
        font-size: 22px;
        font-weight: 700;
        color: #222;
        margin-bottom: 10px;
    }
}

/* Large mobiles */
@media (max-width: 767px) {
    .zigzag-text h4 {
        font-size: 24px;
    }

    .zigzag-text h2 {
        font-size: 20px;
    }
}

/* Small mobiles / lowest breakpoint */
@media (max-width: 575px) {
    .zigzag-text h4 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .zigzag-text h2 {
        font-size: 18px;
    }
}

.portfolio-content,
.portfolio-scroll-buttons,
.footer-area {
    display: none;
}

.footer-area {
    display: block;
}

.portfolio-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.portfolio-content {
    max-height: none;
    overflow-y: visible;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-content::-webkit-scrollbar {
    display: none;
}

.portfolio-scroll-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.scroll-btn {
    background: #333;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background: #555;
}

.scroll-btn i {
    margin: 0;
}

/* Minimalist List for Mobile */
/* @media (max-width: 767px) {
    .portfolio-content.portfolio-2 {
        display: flex;
        flex-direction: column;
    }

    .single-awesome-project {
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }

    .awesome-img img {
        width: 100%;
        height: auto;
        margin: 0 auto 10px;
    }

    .project-dec h4 {
        font-size: 18px;
    }

    .project-dec span {
        font-size: 12px;
    }
} */