/* Why Work With Me Section Styles */
.why-work-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 120px;
}

.why-work-container {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
    background-color: #ed6a59;
    border-radius: 40px;
    padding: 64px 56px;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.why-work-text-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    flex: 1;
    min-width: 350px;
}

.why-work-heading {
    font-family: 'IvyOra Display', serif;
    font-weight: 500;
    font-style: italic;
    font-size: 32px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.why-work-heading strong {
    font-family: 'IvyOra Display', serif;
    font-weight: 700;
    font-style: normal;
}

.why-work-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.why-work-list-item {
    list-style: disc;
    margin: 0;
    padding: 0;
    padding-left: 0;
}

.why-work-list-item li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    margin-left: 1.5em;
}

.why-work-list-item li strong {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
}

.why-work-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #d4d2e3;
    border-radius: 100px;
    padding: 16px 24px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #ed6a59;
    text-decoration: none;
    transition: opacity 0.3s ease;
    height: 56px;
}

.why-work-button:hover {
    opacity: 0.9;
}

.why-work-video-container {
    position: relative;
    flex-shrink: 0;
}

.why-work-video-link {
    position: relative;
    display: block;
    width: 504px;
    height: 428.225px;
}

.why-work-video-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 4px 300px 300px 4px;
    overflow: hidden;
    position: relative;
}

.why-work-video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-work-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 63.959px;
    height: 63.959px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.why-work-video-link:hover .why-work-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-desktop {
    display: block;
    width: 100%;
    height: 100%;
}

.play-button-mobile {
    display: none;
}

/* Tablet and below - Switch to column layout at 1200px */
@media (max-width: 1199px) {
    .why-work-section {
        padding: 0 60px;
    }

    .why-work-container {
        gap: 56px;
        align-items: center;
        padding: 48px 16px;
    }

    .why-work-text-container {
        /* min-width: 100%; */
    }

    .why-work-heading {
        font-size: 24px;
    }

    .why-work-list {
        gap: 24px;
    }

    .why-work-button {
        border-radius: 30px;
        height: 48px;
        padding: 13.663px 20.495px;
    }

    .why-work-video-link {
        width: 100%;
        height: auto;
        aspect-ratio: 295 / 250.647;
        max-width: 295px;
    }

    .why-work-video-placeholder {
        border-radius: 0 300px 300px 0;
    }

    .why-work-play-button {
        width: 50px;
        height: 50px;
    }

    .play-button-desktop {
        display: none;
    }

    .play-button-mobile {
        display: block;
        width: 100%;
        height: 100%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .why-work-section {
        padding: 0 16px;
    }

    .why-work-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }

    .why-work-text-container {
        gap: 24px;
    }
}
