/* navbar.css */
:root {
    --primary-blue: #38bdf8;
    --secondary-blue: #0ea5e9;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-text: #f8fafc;
    --gray-text: #cbd5e1;
    --card-bg: #1e293b;
    --transition: all 0.3s ease;
}

/* Navigation Bar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
    /* No transition or transform effects */
}

.logo {
    height: 40px;
    width: auto;
    /* No filter or transition effects - display as is */
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 0.3rem;
    position: relative;
}

.nav-link {
    color: var(--gray-text) !important;
    font-weight: 500;
    padding: 0.7rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.nav-link i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: white !important;
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-1px);
}

.nav-link:hover i {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.2) 0%,
        rgba(59, 130, 246, 0.1) 100%
    );
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.nav-link.active::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
}

.nav-link.active i {
    color: var(--primary-blue);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(56, 189, 248, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-item {
        margin: 0.2rem 0;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
        justify-content: flex-start;
    }

    .nav-link.active::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        margin-right: 0.5rem;
    }

    .logo {
        height: 35px;
    }

    .navbar-brand-wrapper {
        flex-wrap: wrap;
    }
}

/* Animation for navbar items only (not logos) */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .nav-item {
    animation: slideInDown 0.5s ease-out;
}

.navbar-nav .nav-item:nth-child(1) {
    animation-delay: 0.1s;
}
.navbar-nav .nav-item:nth-child(2) {
    animation-delay: 0.2s;
}
.navbar-nav .nav-item:nth-child(3) {
    animation-delay: 0.3s;
}
.navbar-nav .nav-item:nth-child(4) {
    animation-delay: 0.4s;
}
.navbar-nav .nav-item:nth-child(5) {
    animation-delay: 0.5s;
}
.navbar-nav .nav-item:nth-child(6) {
    animation-delay: 0.6s;
}
.navbar-nav .nav-item:nth-child(7) {
    animation-delay: 0.7s;
}
