#navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; 
}

.navbar-floating {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #d1d1d5;
    background-color: #ffffff;
}


.scrolled #navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
}

.navbar-nav .nav-item .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: green;
    transform: translateY(-3px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    transition: opacity 0.3s ease;
}

.dropdown-menu.show {
    opacity: 1;
}

.dropdown-menu {
    opacity: 0;
}

body {
    background-color: #f4f4f4;
}

#intro {
    position: relative;
    height: 100vh;
    background: url('imagens/EscolaFrente.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#intro .content {
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#frenteEscola .animated {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.EscalaFrente {
    transition: transform 0.3s ease-in-out;
}

.EscalaFrente:hover {
    transform: scale(1.05);
}

.carousel-inner img {
    object-fit: cover;
    height: 400px;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
}

.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #f39c12;
    color: white;
    border-color: #f39c12;
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #eaeaeb;
}

.dropdown-menu .dropdown-item {
    transition: background 0.3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(25, 135, 84, 0.1);
}

/* Ajuste para telas pequenas */
@media (max-width: 991px) {
    .navbar-floating {
        margin: 0;
        width: 100%;
        border-radius: 0;
    }
}






.categoria-card {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(25, 135, 84, 0.95);
    color: white;
    transition: bottom 0.4s ease-in-out;
    z-index: 2;
    padding: 1rem;
}

.categoria-card.revelar .card-overlay {
    bottom: 0;
}

.categoria-dominante {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: #dc3545;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.categoria-card-dominante {
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3) !important;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.categoria-card-dominante:hover {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5) !important;
    transform: translateY(-8px);
}



/* ESITLOS DO MODAL PARA O LOGIN */

.EscolaFundo {
    width: 250px;
    height: 110px;
    justify-content: center;
    object-fit: contain;
}

.EscolaFundo-container {
    display: flex;
    justify-content: center;
}

.custom-modal {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
}

.custom-input {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: #198754;
    box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
    outline: none;
}

.custom-btn {
    background-color: #198754;
    color: #ffffff;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #145c35;
}

.modal-footer a {
    color: #198754;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    color: #145c35;
}

.modal-content {
    position: relative;
    overflow: hidden;
}

.modal-content:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    z-index: -1;
    transform: rotate(30deg);
}

.toggle-password {
    font-size: 1.2rem;
    color: rgb(211, 208, 208);
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #198754;
}



/* ESTILOS DO MODAL PRÉ-INSCRIÇÃO */
.pre-inscricao-form {
    padding: 0 10px;
}

.pre-inscricao-form .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.pre-inscricao-form .form-control,
.pre-inscricao-form .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.pre-inscricao-form .form-control:focus,
.pre-inscricao-form .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    background-color: #fff;
}

.pre-inscricao-form h6 {
    color: #198754;
    font-weight: 600;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.pre-inscricao-form h6 i {
    background-color: #f8f9fa;
    border-radius: 50%;
    padding: 8px;
    margin-right: 8px;
    color: #198754;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-preview-box {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 15px;
    min-height: 120px;
    display: 7flex /* Aumentado para dar mais espaço para a navbar */;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.upload-preview-box:hover {
    border-color: #198754;
    background-color: #f0f8f4;
}

.upload-preview-box i {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.upload-preview-box:hover i {
    color: #198754;
}

.upload-preview-box.has-image {
    border-style: solid;
    border-color: #198754;
    background-color: #fff;
}

.pre-inscricao-form .alert {
    border-radius: 10px;
    background-color: #f0f8f4;
    border-left: 4px solid #198754;
}

.pre-inscricao-form .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.pre-inscricao-form .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pre-inscricao-form .btn-outline-success {
    border-width: 2px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.pre-inscricao-form .btn-outline-success:hover {
    background-color: #198754;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
    transform: translateY(-2px);
}

.pre-inscricao-form .modal-footer {
    border-top: none;
    padding-top: 0;
}

/* ESTILOS DO QUEMSOMOS */
body {
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.left-column {
    border-right: 1px solid #ccc;
    padding-right: 20px;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-box {
    width: 80%;
    max-width: 300px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-box img {
    width: 100%;
    border-radius: 8px;
}