#figures-section {
    width: 100%;
    height: initial;
    position: relative;
    margin-top: 5vw;
    padding: 0vw 5vw 6vw;
    overflow: visible;
    z-index: 1;
}

#figures-section .bg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: -1;
}

.figures-img {
    width: 100%;
    height: 40vw;
    object-fit: cover;
    object-position: top center;
    margin-right: 5%;
    display: none !important;
}

.figures {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 0 3.5vw;
}

.figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.samples-container {
    color: #fff;
    text-align: center;
    font-family: SF Pro Display;
    font-size: calc(3vw * .83);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 1.3363vw;
    display: flex;
    align-items: center;
}

#video-popup {
    display: none;
}

.samples-scroller {
    height: calc(3vw * .83);
    overflow: hidden;
}

.figure:nth-of-type(1) .samples-container .samples-scroller {
    width: calc(6vw * .83);
}

.figure:nth-of-type(2) .samples-container .samples-scroller {
    width: 4.32vw;
}

.figure:nth-of-type(3) .samples-container .samples-scroller {
    width: calc(8vw * .83);
}

.samples {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.figure span {
    display: block;
    color: #fff;
    text-align: center;
    font-family: SF Pro Display;
    font-size: calc(1.5vw * .83);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#figures-section h2 {
    color: #fff;
    font-family: SF Pro Display;
    font-size: 5.1875vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 150%);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    #figures-section {
        width: 100%;
        height: initial;
        position: relative;
        margin-top: 15vw;
        padding: 15vw 5vw;
        overflow: visible;
    }

    #figures-section .bg {
        width: 200%;
        opacity: 1;
        height: auto;
        z-index: -1;
    }

    .figures-img {
        width: 100%;
        height: 40vw;
        object-fit: cover;
        object-position: top center;
        margin-right: 0;
        display: block;
        transform: translate(-2%);
    }

    .figures {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 2vw;
        gap: 30px;
    }

    .figure:nth-of-type(1) .samples-container .samples-scroller {
        width: 18vw;
    }

    .figure:nth-of-type(2) .samples-container .samples-scroller {
        width: 18vw;
    }

    .figure:nth-of-type(3) .samples-container .samples-scroller {
        width: 18.5vw;
    }

    .samples-container {
        font-size: calc(1.134vw * 6);
        margin-bottom: calc(.33vw * 10);
    }

    .samples-scroller {
        height: calc(1.134vw * 6);
    }

    .figure span {
        font-size: calc(.7vw * 6);
    }

    #figures-section h2 {
        font-size: 12.5vw;
    }
}

section.heading-shaping h2 {
    color: #fff;
    text-align: center;
    font-family: SF Pro Display;
    font-size: 3vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: calc(5.5vw * .83);
}

section.heading-shaping {
    padding-top: 6vw;
}