/* Logo effects - enhances the logo appearance and animation */
.logo-img {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    /* Enhanced base styling */
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.5) !important;
    border: 3px solid rgba(160, 186, 157, 0.6) !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 60%, rgba(224, 240, 222, 1) 100%) !important;
    padding: 5px !important;
}

.logo-img:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 25px rgba(0, 150, 0, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(160, 186, 157, 1) !important;
    filter: brightness(1.05) contrast(1.05);
}

/* Pulsating effect for logo */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 100, 0, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 120, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 100, 0, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.5);
    }
}

.sidebar-brand-icon .logo-img {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Mobile-specific adjustments for the topbar logo */
@media (max-width: 768px) {
    .navbar-brand .logo-img {
        padding: 3px !important;
        border-width: 2px !important;
    }
    
    .navbar-brand .logo-img:hover {
        transform: scale(1.04); /* Slightly less scale effect on mobile */
    }
}