/* ===== Estilos Base ===== */
.services-container{
    background-color: #210b5cd8;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-container h1 {
    margin-top: 50px;
    font-size: 40px;
    color: white;
}

.services-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 50px;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.service-card {
    box-shadow: 2px 2px 10px rgb(24, 1, 51);
    background: linear-gradient(90deg, #471c9e9a, #2e00ac71);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    color: white;
    width: 700px;
    height: 300px;
    align-items: center;
    gap: 50px;
    display: flex;
    cursor: pointer;
    justify-content: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: scale(1.025);
}

.service-card img {
    border-radius: 10px;
    width: auto;
    filter: invert(1);
    height: 150px;
}

.service-card .infos {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.service-card .infos h2 {
    font-size: 32px;
    text-align: start;
}

.service-card .infos p {
    margin-top: 20px;
    font-size: 22px;
    text-align: start;
}

.service-card .infos a {
    color: white;
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bolder;
    background-color: #1ba000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-card .infos a:hover {
    background-color: #157e00;
    color: #ffffff;
}


/* ===== Breakpoints para Computadores e Notebooks ===== */

/* Para telas próximas a 1920x1080 */
@media screen and (max-width: 1920px) {
    .service-card {
        width: 680px;
        height: 290px;
        padding: 45px;
    }
    .services-container h1 {
        font-size: 38px;
    }
    .service-card .infos h2 {
        font-size: 30px;
    }
    .service-card .infos p {
        font-size: 20px;
    }
}

/* Para telas próximas a 1720x960 */
@media screen and (max-width: 1720px) {
    .service-card {
        width: 640px;
        height: 280px;
        padding: 40px;
    }
    .services-container h1 {
        font-size: 36px;
    }
    .service-card .infos h2 {
        font-size: 28px;
    }
    .service-card .infos p {
        font-size: 18px;
    }
}

/* Para telas próximas a 1600x900 */
@media screen and (max-width: 1600px) {
    .service-card {
        width: 600px;
        height: 270px;
        padding: 35px;
    }
    .services-container h1 {
        font-size: 34px;
    }
    .service-card .infos h2 {
        font-size: 26px;
    }
    .service-card .infos p {
        font-size: 17px;
    }
}

/* Para telas próximas a 1280x720 */
@media screen and (max-width: 1280px) {
    .service-card {
        width: auto;
        height: auto;
        padding: 30px;
    }
    .services-container h1 {
        font-size: 30px;
    }
    .service-card .infos h2 {
        font-size: 24px;
    }
    .service-card .infos p {
        font-size: 16px;
    }
}


/* ===== Breakpoints para Tablets e Celulares ===== */

/* Tablets (até 768px) */
@media screen and (max-width: 768px) {
    .services-container {
        height: auto;
        padding: 20px;
    }
    .services-container h1 {
        font-size: 26px;
        text-align: center;
    }
    .services-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }
    .contagens .contagem {
        font-size: 22px;
        align-items: center;
        justify-content: center;
    }
    .service-card {
        width: 100%;
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    .service-card img {
        height: 120px;
    }
    .service-card .infos h2 {
        font-size: 22px;
    }
    .service-card .infos p {
        font-size: 16px;
    }
    .service-card .infos a {
        padding: 8px 16px;
        font-size: 16px;
    }
}

/* Celulares (até 480px) */
@media screen and (max-width: 480px) {
    .services-container h1 {
        font-size: 24px;
        margin-top: 30px;
    }
    .services-box {
        padding: 50px;
        gap: 10px;
    }
    .service-card {
        width: 100%;
        padding: 15px;
    }
    .service-card img {
        height: 100px;
    }
    .service-card .infos h2 {
        font-size: 20px;
    }
    .service-card .infos p {
        font-size: 14px;
    }
    .service-card .infos a {
        padding: 6px 12px;
        font-size: 14px;
    }
}
