/*.carousel {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: 650px;
}*/

/* Garante que as imagens cobrem o espaço corretamente */
/*.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta a imagem sem distorcer */
/*}*/

/* Animação suave para a transição dos slides */
/*.carousel-item {
    transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}*/

/* Posicionamento do texto dentro do carrossel */
/*.carousel-caption {
    position: absolute;
    bottom: 5%;
    /* Move o texto para mais perto do rodapé */
/*left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
    padding: 20px;
    border-radius: 10px;
}*/

/* Estilização do título */
/*.carousel-caption h1 {
    font-size: 60px;
    font-weight: bold;
    background: linear-gradient(45deg, #772cd6, #ffd42b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    /* Reduz espaço entre o título e o botão */
/* animation: fadeInUp 2s ease-out;
}*/

/*.carousel-item {
    width: 100%;
    height: 600px;
    /* Altura fixa para todas as imagens */
/*}*/

/*.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mantém a proporção da imagem */
/*}*/

/*.carousel-inner {
    max-width: 100%;
    max-height: 600px;
    /* Garante que o carrossel não ultrapasse essa altura */
/*overflow: hidden;*/
/* Evita problemas de rolagem */
/*}*/

/* Botão estilizado */
/*.carousel-caption .button {
    background-color: #772cd6;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.3s;
}*/

/* Efeito hover no botão */
/*.carousel-caption .button:hover {
    background-color: #ffd42b;
    transform: scale(1.05);
}*/

/* Responsividade */
/*@media (max-width: 768px) {
    .carousel-inner {
        height: 80vh;
    }

    .carousel-caption {
        width: 95%;
        bottom: 3%;
        /* Ajusta para telas menores */
/*padding: 15px;
    }

    .carousel-caption h1 {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .carousel-caption .button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Animação */
/*@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove margem inferior do carrossel
#carouselExampleCaptions {
    margin-bottom: 0;
}*/

/* Remove margem superior da seção "Sobre Nós" */
.section-xl {
    margin-top: 0;
    padding-top: 0;
}

.section-xl {
    margin-top: -20px;
    /* Ajuste conforme necessário */
    padding-top: 0;
}

/* Botão Doar */
.btn-doar {
    background-color: #772cd6;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-doar:hover {
    background-color: #772cd6;
}

.rd-navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.rd-nav-item {
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

/* Links da navegação */
.rd-nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

/* Hover nos itens */
.rd-nav-item:hover {
    background-color: rgba(255, 204, 0, 0.2);
}

/* 🔥 Destaque da página ativa */
.rd-nav-item.active {
    background-color: #ffd42b;
    color: white;
    border-radius: 8px;
}

.rd-nav-item.active .rd-nav-link {
    color: white;
}

/* Estilização do botão "Doar" */
.btn-doar {
    background: linear-gradient(45deg, #ffd42b, #772cd6);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, background 0.3s;
    cursor: pointer;
}

.btn-doar:hover {
    background: linear-gradient(45deg, #ffd42b, #772cd6);
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .rd-navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .btn-doar {
        width: 100%;
    }
}

/* Ajuste geral do preloader */
.preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    /* Fundo branco semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Centraliza o conteúdo */
.preloader-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ajusta o tamanho da imagem para ficar proporcional ao texto */
.preloader-img img {
    width: 50px;
    /* Ajuste conforme necessário */
    height: auto;
    margin-bottom: 10px;
    /* Espaço entre a imagem e o texto */
}

/* Ajuste do texto */
.preloader-body p {
    font-size: 16px;
    /* Ajuste o tamanho do texto se necessário */
    color: #333;
}
