:root {
    --primary-dark: #1a237e;
    --primary-light: #0d47a1;
    --accent-gold: #ffd700;
    --text-light: #f8f9fa;
}

body {
    background-image: url(../images/logo.jpg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top left;
}

/* Mobile-first enhancements */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-brand .brand-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .navbar-brand i {
        font-size: 1rem !important;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .btn-outline-light,
    .btn-warning {
        width: 100%;
        margin: 0.25rem 0 !important;
    }
    
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Navbar link hover effects */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700 !important;
}

/* Dropdown menu enhancements */
.dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border: none !important;
    padding: 0.5rem 0 !important;
}

.dropdown-item {
    padding: 0.5rem 1.5rem !important;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

.dropdown-item:hover {
    background: rgba(26, 35, 126, 0.05) !important;
    padding-left: 1.8rem !important;
}

/* Footer link hover effects */
footer a {
    transition: all 0.3s ease !important;
}

footer a:hover {
    color: #ffd700 !important;
    transform: translateX(4px);
}

footer .social-icons a {
    transition: all 0.3s ease !important;
}

footer .social-icons a:hover {
    opacity: 1 !important;
    transform: translateY(-3px) !important;
    color: #ffd700 !important;
}

/* Mobile menu styling */
.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3) !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 35, 126, 0.98);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .btn-outline-light,
    .btn-warning {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
    }
}

/* Animation for the scroll effect */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.sticky-top {
    animation: slideDown 0.5s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a237e;
}