#rise-theme-services-wrapper {
    background-image: url('/wp-content/uploads/2025/09/risecreatives-clean-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.rise-theme-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    min-height: 100vh;
    position: relative;
}

.rise-theme-services-left-section {
    width: 40%;
    position: sticky;
    top: 40px;
    height: fit-content;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.rise-theme-services-container.is-visible .rise-theme-services-left-section {
    opacity: 1;
}

.semicircle-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.semicircle-container svg {
    width: auto;
    height: 65vh;
}

.rise-theme-services-title {
    position: fixed;
    left: 170px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: bold;
    color: #B3B3B3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.6s ease;
}

.rise-theme-services-container:not(.is-visible) .semicircle-container {
    opacity: 0;
    transform: translate(-100%, -50%);
}

.rise-theme-services-container:not(.is-visible) .rise-theme-services-title {
    opacity: 0;
    transform: translate(-50px, -50%);
}

.rise-theme-services-right-section {
    width: 60%;
    padding-left: 40px;
}

.rise-theme-services-lerp-block {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.rise-theme-services-lerp-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.rise-theme-services-icon {
    margin-bottom: 20px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.rise-theme-services-text {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    color: #6C6C6C;
    margin-bottom: 20px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.rise-theme-services-divider {
    height: 1px;
    background-color: #6C6C6C;
    margin: 20px 0;
    transform: scaleX(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.rise-theme-services-subtext {
    font-size: 20px;
    font-weight: normal;
    color: #6C6C6C;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.rise-theme-services-subtext-item {
    padding-right: 20px;
}

/* Animation states */
.rise-theme-services-lerp-block.visible .rise-theme-services-icon,
.rise-theme-services-lerp-block.visible .rise-theme-services-text,
.rise-theme-services-lerp-block.visible .rise-theme-services-subtext {
    transform: scale(1);
    opacity: 1;
}

.rise-theme-services-lerp-block.visible .rise-theme-services-divider {
    transform: scaleX(1);
    opacity: 1;
}

/* Arrow button styles */
.rise-theme-services-button {
    margin-top: 30px;
}

.animated-arrow {
    display: inline-block;
    color: #4D7D75;
    font-size: 1.25em;
    font-style: italic;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
}

.the-arrow {
    width: 1px;
    transition: all 0.2s;
}

.the-arrow.-left {
    position: absolute;
    top: 60%;
    left: 0;
}

.the-arrow.-left > .shaft {
    width: 0;
    background-color: #4D7D75;
}

.the-arrow.-left > .shaft:before,
.the-arrow.-left > .shaft:after {
    width: 0;
    background-color: #4D7D75;
    transform: rotate(0);
}

.the-arrow.-right > .shaft {
    width: 1px;
    transition-delay: 0.2s;
}

.the-arrow.-right > .shaft:before,
.the-arrow.-right > .shaft:after {
    width: 8px;
    transition-delay: 0.3s;
    transition: all 0.5s;
}

.the-arrow.-right > .shaft:before {
    transform: rotate(40deg);
}

.the-arrow.-right > .shaft:after {
    transform: rotate(-40deg);
}

.the-arrow > .shaft {
    background-color: #4D7D75;
    display: block;
    height: 1px;
    position: relative;
    transition: all 0.2s;
    transition-delay: 0;
    will-change: transform;
}

.the-arrow > .shaft:before,
.the-arrow > .shaft:after {
    background-color: #4D7D75;
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.2s;
    transition-delay: 0;
}

.the-arrow > .shaft:before {
    transform-origin: top right;
}

.the-arrow > .shaft:after {
    transform-origin: bottom right;
}

.animated-arrow:hover {
    color: #FFC369;
}

.animated-arrow:hover > .the-arrow.-left > .shaft {
    width: 64px;
    transition-delay: 0.1s;
    background-color: #FFC369;
}

.animated-arrow:hover > .the-arrow.-left > .shaft:before,
.animated-arrow:hover > .the-arrow.-left > .shaft:after {
    width: 8px;
    transition-delay: 0.1s;
    background-color: #FFC369;
}

.animated-arrow:hover > .the-arrow.-left > .shaft:before {
    transform: rotate(40deg);
}

.animated-arrow:hover > .the-arrow.-left > .shaft:after {
    transform: rotate(-40deg);
}

.animated-arrow:hover > .main {
    transform: translateX(80px);
}

.animated-arrow:hover > .main > .the-arrow.-right > .shaft {
    width: 0;
    transform: translateX(200%);
    transition-delay: 0;
}

.animated-arrow:hover > .main > .the-arrow.-right > .shaft:before,
.animated-arrow:hover > .main > .the-arrow.-right > .shaft:after {
    width: 0;
    transition-delay: 0;
    transition: all 0.1s;
}

.animated-arrow:hover > .main > .the-arrow.-right > .shaft:before {
    transform: rotate(0);
}

.animated-arrow:hover > .main > .the-arrow.-right > .shaft:after {
    transform: rotate(0);
}

.animated-arrow > .main {
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.animated-arrow > .main > .text {
    margin: 0 16px 0 0;
    line-height: 1;
}

.animated-arrow > .main > .the-arrow {
    position: relative;
}

.space-devider {
    height: 50vh;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .rise-theme-services-container {
        flex-direction: column;
        padding: 20px 15px;
        width: 100%;
    }

    .rise-theme-services-left-section {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .semicircle-container {
        display: none;
    }

    .rise-theme-services-title {
        position: static;
        text-align: center;
        transform: none;
        margin-bottom: 40px;
    }

    .rise-theme-services-right-section {
        width: 100%;
        padding: 0 15px;
    }

    .rise-theme-services-text {
        font-size: 28px;
    }

    .rise-theme-services-subtext {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rise-theme-services-subtext-item {
        padding-right: 0;
    }

    .space-devider {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .rise-theme-services-text {
        font-size: 24px;
    }

    .rise-theme-services-title {
        font-size: 36px;
    }

    .rise-theme-services-subtext {
        font-size: 18px;
    }
}