/* Navbar Custom CSS - Professional and Dynamic */

.navbar {
    background: linear-gradient(90deg, #004aad, #007bff);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: background 0.5s ease;
    font-family: 'Nunito', sans-serif;
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1030;
}

.navbar .navbar-brand {
    color: #ffffff !important;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navbar .navbar-brand:hover {
    color: #ffdd57 !important;
    text-shadow: 0 0 8px #ffdd57;
}

.navbar .nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffdd57;
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navbar .nav-link:hover {
    color: #ffdd57 !important;
    transform: scale(1.1);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link.active {
    color: #ffdd57 !important;
    font-weight: 700;
    text-shadow: 0 0 5px #ffdd57;
}

.navbar .navbar-toggler {
    border: none;
    outline: none;
    color: #ffffff;
}

.navbar .navbar-toggler-icon {
    filter: invert(1);
}

.navbar .dropdown-menu {
    background: #004aad;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
    border-radius: 0.3rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar .dropdown-menu.show {
    animation: dropdownFadeIn 0.4s ease forwards;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    color: #e0e0e0;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: #ffdd57;
    color: #004aad;
}

.navbar .btn-outline-danger {
    border-color: #ff4c4c;
    color: #ff4c4c;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .btn-outline-danger:hover {
    background-color: #ff4c4c;
    color: #ffffff;
    box-shadow: 0 0 8px #ff4c4c;
}

.navbar .d-flex span {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.6rem 1rem;
    }
    .navbar .nav-link {
        font-size: 0.9rem;
    }
    .navbar .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Image below navbar */
div[style*="margin: 70px 0 0 0"] img {
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
    transition: transform 0.5s ease;
}

div[style*="margin: 70px 0 0 0"] img:hover {
    transform: scale(1.05);
}
