:root {
    --primary-color: #003366;
    --primary-hover: #0055a5;
    --dark-bg: #000;
    --light-gray: #f8f9fa;
    --border-radius: 1rem;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar-custom {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: white !important;
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    border-color: var(--primary-hover);
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    margin: 0 0.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.profile-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
    background: linear-gradient(45deg, var(--primary-hover), #007acc);
}

.dropdown-menu-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item-custom {
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
}

.dropdown-item-custom:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: white;
    transform: translateX(5px);
}

button.dropdown-item-custom:hover, 
button.dropdown-item-custom:focus {
    color: white !important;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover)) !important;
    transform: translateX(5px);
    outline: none;
    box-shadow: none;
}

.dropdown-item-custom i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Footer Styles */
.footer-custom {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-brand i {
    margin-right: 0.5rem;
    color: var(--primary-hover);
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-hover), #007acc);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 40px;
        width: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-hover), #007acc);
}