/* Bootstrap 5 Navbar Overrides */
.navbar.fixed-top {
    height: 80px !important;
    padding: 0 !important;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    height: 100%;
    padding: 0 !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav {
    height: 100%;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #1f2937;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2563eb;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
}

/* Donate Button in Navbar */
.navbar-nav .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        height: auto;
        align-items: flex-start !important;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }

    .navbar-nav .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        position: static !important;
        transform: none !important;
    }
}