.arrow-footer {
    position: relative;
    background-color: #191919;
    padding: 80px 20px;
    min-height: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.under-arrow-footer{
    position: relative;
    height: 200px;
    max-width: 90%;
    margin-bottom: 100px;
}

.arrow-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F9F6F6;
    mask-image: url('/wp-content/themes/hello-Black-Raven/img/Group 124.png');
    -webkit-mask-image: url('/wp-content/themes/hello-Black-Raven/img/Group 124.png');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: cover;
    -webkit-mask-size: cover;
    opacity: 1;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    padding: 0 20px;
}

.footer-left {
    position: relative;
    top: -100px;
}

.footer-center .footer-text {
    max-width: 400px;
    margin: 0 auto;
}

.footer-right .footer-text::after {
    content: '↑';
    display: block;
    margin-top: 10px;
    opacity: 0.7;
}

.footer-section-bottom{
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;

}

.footer-text-click {
    font-family: 'snug-sharp-variable', sans-serif;
    font-size: 30px;
    font-weight: 870;
    color: #F9F6F6;
    line-height: 27px;
    position: relative;
    top: 0;
}

.footer-text-ready {
    font-family: 'snug-sharp-variable', sans-serif;
    font-size: 30px;
    font-weight: 870;
    color: #F9F6F6;
    line-height: 27px;
    max-width: 400px;
    margin-right: 300px;
}

.footer-text-we {
    font-family: 'snug-sharp-variable', sans-serif;
    font-size: 30px;
    font-weight: 870;
    color: #F9F6F6;
    line-height: 27px;
    position: relative;
    bottom: 0;
}

.footer-text-we::after {
    content: '↑';
    display: block;
    font-size: 30px;
    margin-top: 10px;
    opacity: 0.7;
    text-align: center;
    border-top: 1px solid #F9F6F6;
    border-radius: 1px;
    padding-top: 5px;
}

.case-study-terms{
    display: flex;
    font-family: "Bebas Neue", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 1px;
    color: #FFFDEB;
    margin: 0px 40px 0px 0px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    gap: 15px;
}

.case-study-terms li {
    font-family: "Bebas Neue", Sans-serif;
    padding: 8px 11px;
    border: 1px solid #FFFDEB;
    border-radius: 5px;
    list-style-type: none;
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 1441px) {
    .arrow-footer {
        height: 400px;
        min-height: 400px;
        padding: 70px 15px;
    }

    .footer-left {
        position: relative;
        top: -80px;
        margin-left: 300px;
    }
    
    .footer-text-ready {
        margin-right: 200px;
    }
}

@media (max-width: 1025px) {
    .case-study-terms {
        margin: 0px 20px 0px 0px;
        gap: 12px;
    }

    .arrow-footer {
        height: 300px;
        min-height: 300px;
        padding: 60px 15px;
    }

    .footer-left {
        position: relative;
        top: -60px;
        margin-left: 240px;
    }
    
    .footer-text-click {
        font-size: 26px;
        line-height: 24px;
    }
    
    .footer-text-ready {
        font-size: 24px;
        line-height: 24px;
        margin-right: 150px;
    }
    
    .footer-text-we {
        font-size: 26px;
        line-height: 24px;
    }
    
    .under-arrow-footer {
        height: 180px;
        margin-bottom: 80px;
    }
}

@media (max-width: 769px) {

    .case-study-terms {
        flex-direction: column;
        align-items: flex-start;
        margin: 0px 10px 0px 0px;
        gap: 10px;
    }
    
    .case-study-terms li {
        padding: 6px 10px;
        font-size: 18px;
    }

    .arrow-footer {
        height: 200px;
        min-height: 200px;
        padding: 50px 15px;
    }
    
    .footer-left {
        position: relative;
        top: -50px;
        margin-left: 180px;
    }

    .footer-text-click {
        font-size: 22px;
        line-height: 22px;
    }
    
    .footer-text-ready {
        font-size: 20px;
        line-height: 20px;
        margin-right: 100px;
    }
    
    .footer-text-we {
        font-size: 22px;
        line-height: 22px;
    }
    
    .footer-text-we::after {
        font-size: 26px;
    }
    
    .under-arrow-footer {
        height: 160px;
        margin-bottom: 60px;
    }
    
}

@media (max-width: 480px) {

    .case-study-terms {
        flex-direction: column;
        align-items: center;
        margin: 0;
        gap: 8px;
        width: 100%;
    }
    
    .case-study-terms li {
        padding: 5px 8px;
        font-size: 16px;
        text-align: center;
        min-width: 120px;
    }

    .arrow-footer {
        height: 250px;
        min-height: 250px;
        padding: 30px 15px;
    }
    
    .arrow-footer::before {
        background-size: contain;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-left {
        position: relative;
        top: -35px;
        margin-left: -100px;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .footer-text-click {
        font-size: 18px;
        line-height: 20px;
    }
    
    .footer-text-ready {
        font-size: 18px;
        line-height: 22px;
        margin-right: 0;
        text-align: center;
        max-width: 300px;
    }
    
    .footer-text-we {
        font-size: 18px;
        line-height: 22px;
        text-align: center;
    }
    
    .footer-text-we::after {
        font-size: 24px;
        margin-top: 10px;
        border-top: 1px solid #F9F6F6;
        padding-top: 8px;
    }
    
    .under-arrow-footer {
        height: auto;
        margin-bottom: 40px;
        max-width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    .footer-section-bottom {
        position: static;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .footer-section.footer-center,
    .footer-section.footer-right {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}