
.work {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden; /* Ensure content does not overflow the container */
    margin-top: 30px;
    padding-left: 150px;
    padding-top: 30px;
    padding-right: 150px;
}

.work-image {
    flex: 1;
    max-width: 100%; /* Allow the image to scale with its container */
    text-align: right; /* Align the image to the right */
    margin-right: 300px; /* Reduce margin to prevent overflow */
}

.work-image img {
    width: 100px; /* Set a specific width for the Yogic logo */
    height: auto; /* Maintain aspect ratio */
}

.work-title {
    flex: 0 0 auto; /* Prevent the title from growing or shrinking */
    text-align: left; /* Align the text to the left */
    font-family: 'Playfair Display';
    font-size: 30px;
    font-weight: bold;
    padding-left: 0px;

    color: #292a2c;
}

.work-content {
    color: #535353;
    font-size: 24px;
    font-weight: 200;
    font-family: open sans;
    margin-top: 2px;
    margin-bottom: 40px;
    flex: 1;
    text-align: left; /* Align the text to the left */
}

.logo-container {
    margin: 40px auto; /* Center the container and add vertical spacing */
    display: flex;
    flex-wrap: wrap; /* Allow logos to wrap to the next line */
    gap: 20px; /* Space between logos */
    justify-content: center; /* Center logos horizontally */
    align-items: center; /* Center logos vertically */
    padding: 20px;
    margin-left: 150px;
    margin-right: 150px;
}

.logo {
    width: 150px; /* Adjust size as needed */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: grayscale(0%); /* Optional: Remove grayscale on hover */
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .work {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }

    .work-image {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .work-title {
        font-size: 28px;
    }

    .work-content {
        font-size: 18px;
    }

    .logo-container {
        margin-left: 0px; /* Move logos closer to the left margin */
        margin-right: 0;
        gap: 25px;
    }
    

    .logo {
        width: 150px;
    }
}
