/* Container Principal */
.box-causes {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Centraliza verticalmente */
    position: relative;
    border: 2px solid transparent;
}

/* Imagem do Projeto */
.box-causes-img {
    width: 100%;
    max-width: 372px;
    /* Largura máxima */
    height: 350px;
    /* Altura fixa */
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    border-radius: 8px;
    background-color: #f1f1f1;
    /* Cor de fundo para dar contraste */
}

.projeto-img {
    max-width: 100%;
    /* Mantém a imagem dentro da div */
    max-height: 100%;
    /* Altura máxima */
    object-fit: contain;
    /* Evita corte na imagem */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.box-causes-img:hover .projeto-img {
    transform: scale(1.08);
}

/* Título */
.box-causes h4 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

.box-causes h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}

.box-causes h4 a:hover {
    color: #772cd6;
}

/* Descrição */
.box-causes p {
    font-size: 16px;
    color: #000;
    margin-top: 10px;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .box-causes {
        width: 90%;
        margin: auto;
    }

    .projeto-img {
        max-width: 100%;
        height: auto;
    }
}

/* Container principal */
.box-icon-section {
    display: flex;
    justify-content: space-between;
    /* Distribui os itens igualmente */
    align-items: center;
    /* Alinha verticalmente */
    flex-wrap: wrap;
    /* Permite que os itens quebrem linha se necessário */
    max-width: 1000px;
    /* Define um limite de largura */
    margin: 0 auto;
    /* Centraliza na tela */
    gap: 40px;
    /* Aumenta o espaçamento entre os itens */
}

/* Cada bloco (Missão, Visão, Valores) */
.box-icon-container {
    display: flex;
    align-items: center;
    /* Alinha ícone e texto verticalmente */
    gap: 20px;
    /* Espaço entre o ícone e o texto */
    max-width: 3200px;
    /* Limita a largura de cada bloco */
    flex: 1;
    /* Faz com que os blocos ocupem o espaço igualmente */
    margin-bottom: 30px;
    /* Adiciona espaço entre os blocos em telas menores */
}

/* Ícone */
.box-icon-inner {
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(90deg, #772cd6, #ffd42b);
    border: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.box-icon-inner:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #5a1aa8 50%, #ffd42b 50%) !important;
}

/* Texto */
.box-icon-caption {
    flex: 1;
    /* Faz o texto ocupar o restante do espaço */
}

.box-icon-caption h4 a {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.box-icon-caption h4 a:hover {
    color: #772cd6;
}

/* Parágrafo */
.box-icon-caption p {
    font-size: 16px;
    color: #555;
    text-align: left;
    margin: 0;
}

/* Responsividade */
@media (max-width: 900px) {
    .box-icon-section {
        flex-direction: column;
        /* Empilha os itens */
        align-items: center;
        /* Centraliza os blocos */
        gap: 20px;
        /* Ajusta espaçamento menor em telas menores */
    }

    .box-icon-container {
        max-width: 100%;
        /* Ocupa toda a largura */
        justify-content: center;
    }

    .box-icon-caption p {
        text-align: center;
    }
}

/* Botão de Mais Projetos */
.btn-primary {
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(90deg, #772cd6, #ffd42b);
    border: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #5b1ea6, #ffd42b);
    transform: scale(1.08);
}

/* Efeito suave ao aparecer */
.box-causes {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box-causes-donate-complete {
    font-weight: bold;
    display: block;
    /* Quebra para a próxima linha */
    margin-bottom: 5px;
}

.text-highlight {
    color: #000;
    /* Altere para a cor desejada */
    font-weight: 600;
}

h2,
h3 {
    color: #000;
    font-weight: 600;
}

.quemsomos {
    margin-top: 50px;
}

#quemsomos {
    margin-top: 50px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    /* Ajusta proporcionalmente */
    max-height: 90vh;
    /* Evita que a imagem seja maior que a tela */
    object-fit: contain;
    /* Mantém a imagem sem cortes */
}

.carousel-indicators.bottom-indicators {
    bottom: 20px;
}
