.services-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.1rem solid #F5F5F7;
}

.services-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-tab:first-child {
    margin-right: 8rem;
}
.services-tab:nth-child(2) {
    margin-right: 9.7rem;
}


.services-tab p {
    font-weight: 500;
    font-size: 24px;
    color: #666666;
    line-height: 2.9rem;
    margin-bottom: 2rem;
}

.services-tab div {
    width: 20rem;
    height: 0.3rem;
    background: #F16522;
    border-radius: 1rem;
    opacity: 0;
}

.services-tabs .active p {
    color: #F16522;
}

.services-tabs .active div {
    opacity: 1;
}

.services-content {
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 67.6rem;
}

.services-content-text{
    width: 61rem;
}

.services-content-title{
    font-weight: 600;
    font-size: 2.8rem;
    color: #05173C;
    margin-bottom: 4rem;
}

.services-content-text>p{
    font-size: 2rem;
    color: #666666;
    line-height: 3rem;
}
.services-content-text>p * {
    font-size: 2rem;
    color: #666666;
    line-height: 3rem;
}

.services-content-img {
    width: 81rem;
    height: 53.7rem;
    border-radius: 1rem;
    margin: 0;
}


.services-tab:hover {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .services-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .services-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 10.6rem;
    }

    .services-tabs .services-tab{
        margin: 0;
    }

    .services-tab p {
        font-weight: 500;
        font-size: 16px;
        color: #666666;
        line-height: 1.9rem;
        margin-bottom: 1.6rem;
        text-align: center;
        overflow-wrap: break-word;
    }

    .services-tab div {
        width: 6rem;
        height: 0.2rem;
        background: #F16522;
        border-radius: 1rem;
        opacity: 0;
    }

    .services-tabs .active p {
        color: #F16522;
    }

    .services-tabs .active div {
        opacity: 1;
    }

    .services-content {
        padding: 4rem 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
        width: 100%;
    }

    .services-content-text{
        width: 100%;
    }
    
    .services-content-title{
        font-weight: 600;
        font-size: 1.6rem;
        color: #05173C;
        margin-bottom:1.2rem;
    }
    
    .services-content-text>p{
        font-size: 1.2rem;
        color: #666666;
        line-height: 1.8rem;
        margin-bottom: 2.4rem;
    }
    
    .services-content-img {
       width: 100%;
        height: 22.7rem;
        border-radius: 1rem;
        margin: 0;
    }


  

    .services-tab:hover {
        cursor: pointer;
    }
}