/* Common Styles - Shared across all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1e1e1e;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* Header Styles */
header {
    background-color: #005EB8;
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

nav a:hover, nav a.active {
    background-color: rgba(255,255,255,0.15);
}

/* Accessibility - Focus Indicators */
*:focus-visible {
    outline: 3px solid #005EB8;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #005EB8;
    outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Global Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #495057;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
}

footer a {
    color: #212529;
    text-decoration: none;
}

footer a:hover {
    color: #005EB8;
    text-decoration: underline;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    header {
        padding: 1rem;
    }

    header h1 {
        font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    }

    nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem;
    }

    header h1 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    footer {
        padding: 1.25rem 0.75rem;
        font-size: 0.9rem;
    }
}
