.services{
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.services img{
    object-fit: cover;
    object-position: center;
    width: 340px;
    min-height: 100%;
}

.services-box-container{
    padding: 16px 0;
}

.services-box{
    display: flex;
    cursor: pointer;
    padding-bottom: 8px;
}
.services-box-text{
    width: 100%;
}
.services-box h3{
    /* width: calc(100% - 20px); */
    width: 100%;
    border: 1px solid var(--main-red);
    padding: 8px;
}
.services-box p{
    display: none;
}
.services-box.active h3{
    background-color: var(--main-red);
    color: white;
}
.services-box.active p{
    display: block;
}

.services-box svg{
    position: relative;
    top: 6px;
    height: 20px;
    width: 20px;
    transform: rotate(90deg);
    fill: var(--main-red);
}

.services-box.active svg{
    transform: rotate(180deg);
}

.services-contact-cta{
    padding: 0 0 160px;
    display: flex;
    justify-content: end;
}

@media (max-width:980px){
    .about-hero .text-content{
        padding: 0 16px;
    }
}

@media (max-width:800px){
    .services{
        flex-direction: column-reverse;
    }
    .services img {
        width: unset;
        max-height: 320px;
    }
    
    .services-contact-cta {
        justify-content: center;
        padding: 0 16px 160px;
    }
}


