/* Enhanced Gradient Logo Styles */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0%, 100% { 
        box-shadow: 0 15px 35px rgba(0,0,0,0.1),
                   0 0 0 1px rgba(102, 126, 234, 0.3);
    }
    50% { 
        box-shadow: 0 20px 40px rgba(0,0,0,0.15),
                   0 0 20px rgba(102, 126, 234, 0.4),
                   0 0 0 2px rgba(118, 75, 162, 0.3);
    }
}

/* Logo in navbar */
.logo {
    position: relative;
}

.logo h1 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea, #764ba2);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.logo h1:hover {
    animation-duration: 1s;
    transform: scale(1.05);
}

/* Logo container with border effects */
.logo::before,
.logo::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid;
    border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
    opacity: 0;
    transition: all 0.3s ease;
}

.logo::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.logo::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.logo:hover::before,
.logo:hover::after {
    opacity: 1;
    width: 20px;
    height: 20px;
}

/* Footer Logo */
.footer-section.brand h2 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 800;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea, #764ba2);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-section.brand h2:hover {
    animation-duration: 1s;
    transform: scale(1.05);
}