/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation - Blue theme */
.navbar {
    background-color: #003D7C;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.navbar-brand h1 {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    line-height: 1.3;
}

.navbar-brand a {
    color: white;
    text-decoration: none;
}

.navbar-brand a:hover {
    color: #EF7C00;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-menu a,
.navbar-menu button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu button:hover {
    color: #EF7C00;
}

.navbar-menu a.active {
    background-color: #EF7C00;
    border-radius: 3px;
    font-weight: 500;
}

.navbar-menu a.active:hover {
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle .chevron {
    transition: transform 0.2s;
    width: 12px;
    height: 12px;
}

.dropdown.open .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background-color: white;
    border: 1px solid #e1e4e8;
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(0, 61, 124, 0.15);
    padding: 0.5rem 0;
    min-width: 250px;
    z-index: 50;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #003D7C;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #EF7C00;
    color: white;
}

/* Main content */
main {
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
    max-width: 1140px;
    margin: 0 auto;
    background-color: white;
    border-radius: 3px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #003D7C;
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #003D7C;
}

h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

h3 {
    font-size: 1.25em;
    color: #003D7C;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #EF7C00;
    text-decoration: none;
}

a:hover {
    color: #003D7C;
}

strong, b {
    font-weight: 600;
    color: #003D7C;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.25rem;
}

/* Footer - Blue theme */
.footer {
    background-color: #003D7C;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer .container {
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer a {
    color: #EF7C00;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Responsive */
@media (min-width: 768px) {
    .navbar .container {
        flex-wrap: nowrap;
    }

    .navbar-brand {
        margin-bottom: 0;
    }

    .navbar-menu {
        flex-wrap: nowrap;
    }

    main {
        padding: 2.5rem 2rem;
    }
}
