/*
 * This is a manifest file that'll be compiled into application.css.
 */

/* CSS Variables */
:root {
    --primary: #004aad;
    --primary-light: #1e88e5;
    --primary-dark: #002855;
    --secondary: #28a745;
    --accent: #ff9800;
    --light: #f8f9fa;
    --dark: #212529;
}

/* Enhanced Navbar */
.navbar {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 12px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-link:hover:before, 
.nav-link.active:before {
    visibility: visible;
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.university-logo {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.university-logo:hover {
    transform: scale(1.05);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .nav-link {
        margin: 5px 0;
    }

    .university-logo {
        max-height: 60px;
    }
}
