/* --- General Layout --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
    padding-top: 80px; /* Added to account for fixed header */
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background: #004080;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 1rem;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 0.5rem;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    text-decoration: underline;
    background: #003060;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #004080;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.mobile-nav a.active,
.mobile-nav a:hover {
    background: #003060;
}

/* Demo content */
.demo-content {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin: 2rem auto;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .logo img {
        height: 40px;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }
    
    header h1 {
        font-size: 1.1rem;
    }
    
    .demo-content {
        padding: 1rem;
    }
}