:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #e53e3e;
    --light: #f7fafc;
    --gold: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Modern Header */
.modern-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 2px;
    transition: transform 0.3s ease;
}

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

.header-text h5 {
    font-weight: 700;
    margin: 0;
    color: white;
}

.header-text small {
    color: var(--gold);
    font-weight: 500;
}

.text-gold {
    color: var(--gold) !important;
}

/* Modern Navigation */
.modern-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    transform: translateY(-2px);
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* Responsive Design for Header/Nav/Footer */
@media (max-width: 768px) {
    .modern-nav .navbar-nav {
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
        text-align: center;
    }
    
    .modern-header .container > div {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modern-header .text-end {
        text-align: center !important;
    }
}