.services-section {
    background-color: black;
    width: 100%;
    padding-top: 10%;
    padding-bottom: 10%;
    font-family: 'Poppins', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-wrapper {
    width: 100%;
    height: auto;
    width: 100%;
}

.services-hero {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    padding-top: 10%;
    padding-bottom: 10%;
    height: 100vh;
}

.services-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 4rem;
}



.services-header {
    font-size: 13.5rem;
    font-weight: 400;
    width: max-content;
    /* padding-right: 120%; */
}

.custom-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 2rem;
    margin: 0 auto;
    color: white;
}

.section-upper {
    display: flex;
    justify-content: space-between;
}

.left-column {
    flex: 0 0 65%;
}

.left-column h2 {
    font-size: 6.4rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.left-column .description {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 1.5rem;
    color: #919191;
    margin-bottom: 3rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 65%;
}

.tag {
    font-size: 1.6rem;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid white;
}

.right-column {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    /* default: bottom aligned */
}

.right-column h4 {
    font-size: 3.2rem;
    font-weight: 400;
    max-width: 26rem;
    /* border: 1px solid red; */
}

.right-column-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 100%;
    /* background-color: red; */
}

.right-column p {
    font-size: 2rem;
    font-weight: 400;
    color: #919191;
    margin-top: 1rem;
    margin-bottom: 3rem;
    max-width: 26rem;
}

.right-column p .white {
    color: white;
}

.right-column p .line {
    display: block;
}

.right-column button {
    width: max-content;
}

.right-column.align-top {
    justify-content: flex-start;
}


.section-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    margin-top: 8rem;
}



@media (max-width: 1024px) {
    .previous-work-item {
        flex-direction: column;
        height: auto;
        padding-bottom: 4rem;
    }

    .services-header {
        /* padding-right: 100%; */
    }

    .previous-work-item-right-side img {
        position: unset;
        display: block;
        max-width: 100%;
    }

    .previous-work-item-tags {
        display: flex;
    }

    .previous-work-item-right-side,
    .previous-work-item-left-side {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 820px) {
    .left-column .tags-container {
        max-width: 90%;
    }


}

/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
    .services-header {
        font-size: 8rem;
    }


    .section-upper {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        flex: 1 1 100%;
    }

    .left-column h2 {
        font-size: 5rem;
    }

    .left-column .description {
        font-size: 1.8rem;
    }

    .right-column-inner {
        margin-top: 2rem;
        margin-bottom: 2rem;
        align-items: flex-start;
    }

    .right-column h4 {
        max-width: 100%;
        text-align: left;
        font-size: 2.8rem;
    }

    .right-column p {
        font-size: 1.8rem;
        max-width: 100%;
        text-align: left;
    }

    .right-column p .line {
        display: inline;
    }

    .section-image img {
        margin-top: 4rem;
    }


}

@media (max-width: 500px) {
    .services-header {
        /* padding-right: 100%; */
    }

    .services-hero {
        padding-top: 15% !important;
        padding-bottom: 15%;
    }

    .tag {
        font-size: 1.4rem;
        font-weight: 400;
        padding: 4px 8px;
        border-radius: 20px;
        border: 1px solid white;
    }

}