/* Certificações */
.certificacoes {
    padding: 15px;
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.certificacoes p {
    text-align: left;
    font-size: 1rem; /* Texto menor */
    line-height: 1.6; /* Ajuste da altura da linha para ficar mais compacto */
}

.certificacoes img {
    display: block;
    margin: 0 auto;
    max-width: 25%;
}

/* Layout de imagem à esquerda e texto à direita */
.history-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
    justify-content: center;
}

.history-img {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-right: 20px;
    align-self: center;
}

.history-text {
    flex: 1;
}

/* Títulos dentro do histórico */
.history-item h3 {
    font-size: 1.6rem; /* Tamanho menor para o título */
    margin-bottom: 15px;
    text-align: left;
    color: inherit;
}

/* Parágrafos dentro do histórico */
.history-item p {
    font-size: 0.95rem; /* Texto um pouco menor */
    line-height: 1.6;
    text-align: left;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .history-item {
        flex-direction: column;
        text-align: center;
    }

    .history-img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 120px;
    }

    .history-item h3 {
        font-size: 1.4rem; /* Ajusta o tamanho do título em telas menores */
    }

    .history-item p {
        font-size: 0.9rem; /* Ajusta o tamanho do texto em telas menores */
    }
}

/* Títulos em h2 */
h2 {
    text-align: center;
}

/* Títulos em h3 (já incluído na classe history-item h3) */
h3 {
    color: inherit;
}
