/* Navbar Styles */
.navbar {
    padding: 0;
    margin-bottom: 0;
    height: 70px; /* Match logo height + some padding */
    min-height: 70px;
}

/* Logo Styles */
.logo-container {
    position: relative;
    width: 100%;
    max-width: 150px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Navigation Links */
.nav-item {
    margin: 0 0.3rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 0 0.5rem;
    font-size: 0.8rem;
    height: 100%;
    display: flex;
    align-items: center;
}
.floating-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.blink-text {
    animation: blink 1.5s infinite;
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Small screens: Center logo and show nav links horizontally */
@media (max-width: 991.98px) {
    .navbar-brand {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .nav {
        background: linear-gradient(135deg, #003B2D, #006F66);
        backdrop-filter: blur(8px);
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        position: relative;
        z-index: 1000;
        background: linear-gradient(135deg, #003B2D, #006F66);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .nav-item {
        margin: 0 0.4rem;
    }
}

/* Large screens: Left-aligned logo and right-aligned nav links */
@media (min-width: 992px) {
    .navbar-brand {
        justify-content: flex-start;
    }
    
    .nav {
        justify-content: flex-end;
    }
}
