body {
    background-color: #2c2c2c;
    color: #ffffff;
}

/* Define the animated background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    animation: moveBackground 10s linear infinite;
}

/* Keyframes for background animation */
@keyframes moveBackground {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

/* Create an overlay with blur for the home text */
.home-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}

.home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2,0,36,0.8) 0%, rgba(9,121,113,0.8) 35%, rgba(0,212,255,0.8) 100%);
    filter: blur(20px);
    z-index: -1;
}

.home-text {
    position: relative;
    z-index: 10;
    font-size: 6rem;
    font-weight: bold;
}

/* Adjust dropdown menu positioning */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-decoration: none;
}

/* Ensure both menus have consistent left margins */
.nav-dropdown {
    margin-left: 5px; /* Match the spacing to make the alignment consistent */
}

/* Adjust user dropdown positioning */
.user-dropdown {
    margin-left: -120px; /* Shift the user menu to the left */
}

/* Styling for funding links */
.funding-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.funding-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #1f1f1f;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

.funding-links a:hover {
    background-color: #00d4ff;
}

.funding-links img {
    margin-right: 15px;
    width: 32px;
    height: 32px;
}