/* Common styles for all pages */
body {
    padding-top: 76px;
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    transition: all 0.3s;
    padding: 1rem 0;
}

/* Make navbar text white */
.navbar .nav-link {
    color: white !important;
}

.navbar .navbar-brand {
    color: white !important;
}

/* Make hamburger icon white */
.navbar .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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar.scrolled {
    background: rgba(0, 123, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Fix for mobile menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #343a40;  /* Dark gray background */
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        border: 2px solid #007bff;  /* Blue border for better visibility */
    }

    /* Make hamburger icon white */
    .navbar .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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }

    /* Ensure nav links are white in mobile menu */
    .navbar-collapse .nav-link {
        color: white !important;
        padding: 0.75rem 1rem;
        border-radius: 5px;
        font-weight: 500;
        font-size: 0.9rem;
        margin: 2px 0;
        background: rgba(0, 123, 255, 0.1);  /* Slight blue tint */
    }

    /* Add hover effect for mobile menu items */
    .navbar-collapse .nav-link:hover {
        background: rgba(0, 123, 255, 0.2);  /* Brighter blue on hover */
        transform: translateX(5px);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    }

    /* Active link in mobile menu */
    .navbar-collapse .nav-link.active {
        background: #007bff;  /* Solid blue for active state */
        font-weight: bold;
        color: white !important;
        box-shadow: 0 2px 12px rgba(0, 123, 255, 0.3);
    }

    /* Add spacing between menu items */
    .navbar-nav .nav-item {
        margin: 4px 0;
    }

    /* Add a subtle divider between menu items */
    .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 123, 255, 0.2);
    }
} 