/* ------------------------------------------------------------ */
/* -------------------------- SERVICE ------------------------- */
/* ------------------------------------------------------------ */

.services {
    width: 100%;
    height: auto;
    background-color: #f9f9f9;
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -100px;
}

.section-title {
    width: 90%;
    margin: 50px;
    text-align: center;
}

.title-services {
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
}

.border-bottom-title {
    width: 80px;
    height: 8px;
    background-color: #ed6b41;
    margin: auto;
}

.border-right-paragraph {
    width: 4px;
    height: 70px;
    background-color: #ed6b41;
    float: right;
    margin-top: -60px;
    margin-right: 80px;
}

.border-top-paragraph {
    width: 400px;
    height: 4px;
    background-color: #ed6b41;
    float: right;
    margin-top: -64px;
    margin-right: 80px;
}

.border-left-paragraph {
    width: 4px;
    height: 70px;
    background-color: #ed6b41;
    margin-top: -68px;
    margin-left: 80px;
}

.border-bottom-paragraph {
    width: 400px;
    height: 4px;
    background-color: #ed6b41;
    margin-top: 0px;
    margin-left: 80px;
}

.container-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.container-cards {
    perspective: 1000px;
}

.container-cards .card-item {
    position: relative;
    width: 100%;
    height: 300px;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.container-cards .card-item:hover {
    transform: rotateY(180deg);
}

.content .list {
    font-size: 13px;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.face.front {
    background-color: #fff;
    color: #333;
    transition: all 0.5s;
}

.card-item:hover .face.front {
    background-color: #f59a29;
    color: #fff;
}

.face.back {
    background-color: #fff;
    color: #333;
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
}

.face .icon {
    text-align: center;
}

.face .icon h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.face.front .icon i {
    font-size: 50px;
    color: #ed6b41;
}

.face.back p {
    font-size: 0.9em;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* ------------------------------------------------------------ */
/* --------------------- SERVICE RESPONSIVE ------------------- */
/* ------------------------------------------------------------ */

@media screen and (max-width: 1300px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 70%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        display: none;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 400px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: 0;
        margin-left: 0;
        margin: auto;
    }

    .face.back .content h6 {
        display: none;
    }
}

@media screen and (max-width: 920px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 80%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        display: none;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 400px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: -10px;
        margin-left: 80px;
    }

    .face.back .content h6 {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 90%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        display: none;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 200px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: 0;
        margin-left: 0;
        margin: auto;
    }

    .face.back .content h6 {
        display: none;
    }
}

@media screen and (width: 540px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 70%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        display: none;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 400px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: 0;
        margin-left: 0;
        margin: auto;
    }

    .face.back .content h6 {
        display: none;
    }
}

@media screen and (width: 344px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 70%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        display: none;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 200px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: 0;
        margin-left: 0;
        margin: auto;
    }

    .face.back .content h6 {
        display: none;
    }
}

@media screen and (height: 740px) {
    .services {
        width: 100%;
        overflow: hidden;
    }

    .section-title {
        width: 100%;
        margin: 0;
    }

    .title-services {
        width: 100%;
    }

    .paragraph-services {
        width: 90%;
        margin: auto;
        margin-top: 40px;
    }

    .border-right-paragraph {
        display: none;
    }
    
    .border-top-paragraph {
        width: 400px;
        height: 4px;
        background-color: #ed6b41;
        float: right;
        margin-top: -130px;
        margin-right: 80px;
    }
    
    .border-left-paragraph {
        display: none;
    }
    
    .border-bottom-paragraph {
        width: 400px;
        height: 4px;
        background-color: #ed6b41;
        margin-top: 10px;
        margin-left: 80px;
    }

    .face.back .content h6 {
        display: none;
    }
}