.service-section {
    display: flex;
    align-items: flex-start; /* Alinha os itens ao topo */
    margin-bottom: 40px;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha quando necessário */
}

img {
    width: 30%; /* Ajusta o tamanho da imagem para ser responsivo */
    max-width: 300px; /* Limita o tamanho máximo das imagens */
    min-width: 200px;
    height: 180px;
    border-radius: 35%; /* Arredonda a imagem */
    margin-right: 2.5%; /* Espaço entre a imagem e o texto */
    margin-top: 5%; /* Remove a margem superior */
}

.service-details {
    flex: 1;
    text-align: justify;
}

.service-details h2 {
    font-size: 180%;
    margin-bottom: 5px;
    color: #001c38;
    text-align: left;
}

.service-details h3 {
    font-size: 120%;
    margin-bottom: 15px;
    color: #001c38;
    text-align: left;
}

.service-details p {
    font-size: 95%;
    line-height: 1.6;
    color: #001c38;
}

/* Media query para telas menores */
@media (max-width: 800px) {
    .service-section {
        flex-direction: column; /* Coloca a imagem acima do texto */
        align-items: center; /* Centraliza o conteúdo */
        text-align: center; /* Centraliza o texto */
    }

    img {
        width: 40%; /* Ajusta o tamanho da imagem para telas menores */
        margin-right: 0; /* Remove a margem direita */
        margin-bottom: 10px; /* Espaçamento inferior entre a imagem e o texto */
    }

    .service-details h2, .service-details h3, .service-details p {
        text-align: left, justify; /* Mantém o texto justificado */
    }
}
