.services-page-inicio{
    margin-top: 0;
    /*background-color: #0D6AB0;*/
    background: linear-gradient(to bottom, #0D6AB0, #53B366);
}

.container-services{
    margin-top: 0;
    /*background-color: #0D6AB0;*/
    background: linear-gradient(to bottom, #0D6AB0, #53B366);
 
}

.container-services .row-services{

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-items: stretch;
    gap: 25px; 
    padding: 40px; 
    padding-bottom: 20px;
}

.services-item{
    background-color: #fff;
    flex: 1 1 calc(20% - 20px);
    max-width: 320px;
    margin-bottom: 20px;
    display: flex; 
    flex-direction: column; 
    border-radius: 8px;
    box-sizing: border-box;
    padding: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);

}

.services-item h2{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.services-item .widget-wrapper {
    display: flex;
    margin-left: 15px;
    margin-bottom: 5px;
    width: 100%; 
}

.services-item .widget-wrapper img {
    width: 87%; 
    height: 150px; 
    min-width: 200px;
    object-fit: cover; 
    border-radius: 8px;
    
}

.menu-services-ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-services a{
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

@media (min-width: 1200px) {
    .services-item {
        max-width: 320px;
    }
}

@media (max-width: 1050px) and (min-width: 769px) {
    .services-item {
        flex: 1 1 calc(50% - 20px); 
        max-width: calc(50% - 20px);
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza o conteúdo no card */
    }

    .services-item .widget-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .services-item .widget-wrapper img {
        width: 300px; 
        height: 250px; 
        object-fit: cover;
        border-radius: 8px;
    }

    .services-item h2 {
        text-align: center; /* Centraliza o texto */
        width: 100%; /* Garante que o texto ocupe toda a largura do card */
        margin-top: 10px;
    }

    .menu-services a{
        font-size: 20px;
    }
}


/* Telas pequenas (smartphones) */
@media (max-width: 768px) {
    .container-services .row-services {
        padding: 20px;
        gap: 20px;
    }

    .container-services{
        margin-top: 0;
        margin-bottom: -10px;
    }

    .services-item {
        flex: 1 1 100%;
        max-width: 70%;
        margin-top: 10px;
        display: flex;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }

    .services-item h2 {
        font-size: 1.4rem;
        font-weight: 800;
        text-align: center;
    }

    .services-item .widget-wrapper {
        margin-left: 0;
        justify-content: center;
        margin-bottom: 0;
    }

    .services-item .widget-wrapper img {
        width: 90%;
        height: 250px; 
        object-fit: cover; 
        border-radius: 8px;
        margin: 5%;
        
    }

    .menu-services{
        width: 100%;
    }

    .menu-services a {
        font-size: 1rem;
        width: 100%;
        align-self: flex-start;
    }

    .services-list {
        width: 90%;
        display: inline-block;  
        padding: 5px 10px;  
       /* border: 2px solid #0D6AB0;*/
        margin-bottom: 5px;
        border-radius: 5px;  
        background-color: #fff;  
        text-decoration: none;  
        
    }
    

}

/* Telas muito pequenas (smartphones menores) */
@media (max-width: 576px) {
    .container-services .row-services {
        padding: 10px;
        gap: 10px;
    }

    .services-item {
        flex: 1 1 100%;
        max-width: 80%;
 
    }

    .services-item .widget-wrapper img {
        width: 90%;
        height: 200px;
        margin-bottom: 0;
    }


}