.custom-navbar {
    background: linear-gradient(90deg, var(--ui-violeta), var(--ui-celeste));
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo-navbar {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    text-decoration: none;
}

.navbar-brand span {
    font-size: 1.15rem;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 6px;
    transition: 0.3s ease;
}

.navbar .nav-link:hover {
    opacity: 0.85;
}

.dropdown-menu {
    border-radius: 14px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 18px;
    transition: 0.25s ease;
}

.dropdown-item:hover {
    background-color: #f3e8ff;
    color: var(--ui-violeta);
}

/* BOTÓN ALUMNOS */
.btn-students {
    background-color: var(--ui-naranja);
    color: #ffffff;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 22px;
    border: none;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    white-space: nowrap;
}

.btn-students:hover {
    background-color: var(--ui-violeta-oscuro);
    color: #ffffff;
    transform: translateY(-2px);
}

/* BOTÓN WHATSAPP */
.btn-Whatsapp {
    background-color: #24b624;
    color: #ffffff;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 22px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-Whatsapp i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-Whatsapp:hover {
    background-color: #ffffff;
    color: #24b624;
}

.btn-Whatsapp:hover i {
    transform: scale(1.2);
}

/* BUSCADOR */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    cursor: pointer;
}

.search-btn:hover {
    background-color: var(--ui-naranja);
    border-color: var(--ui-naranja);
    color: #ffffff;
}

.search-btn i {
    font-size: 1.1rem;
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 9px 0;
    border: none;
    outline: none;
    border-radius: 30px;
    background-color: #ffffff;
    color: #212529;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-box.active .search-input {
    width: 240px;
    opacity: 1;
    padding: 9px 16px;
}

@media (max-width: 991px) {
    .navbar-nav {
        align-items: flex-start !important;
        padding-top: 12px;
    }

    .navbar .nav-link {
        margin: 4px 0;
    }

    .btn-students {
        width: 100%;
        text-align: center;
    }

    .search-form {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        border-radius: 30px;
    }
}
