/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    font-style: italic;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

nav a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #eff6ff;
}

nav a:active {
    background-color: #dbeafe;
}

/* Main Content */
main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #1e40af;
    font-size: 1.8em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

section h3 {
    color: #2563eb;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
}

section p {
    margin-bottom: 15px;
    text-align: justify;
}

section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

section li {
    margin-bottom: 10px;
}

section a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

section a:hover {
    border-bottom-color: #2563eb;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 2px solid #e0e0e0;
    color: #666;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 1.5em;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }

    .container {
        box-shadow: none;
    }

    nav {
        display: none;
    }

    footer {
        border-top: 1px solid #ccc;
    }
}

