/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: rgb(201, 201, 200);
    color: #1a1a1a;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgb(201, 201, 200);
    border: 4px solid rgb(200, 230, 255);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(200, 230, 255, 0.3);
    border: 2px solid rgb(200, 230, 255);
    border-radius: 8px;
    position: relative;
}

header h1 {
    font-size: 2.2em;
    font-weight: bold;
    color: #0d0d0d;
    margin-bottom: 10px;
    text-transform: uppercase;
}

header h2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

header h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-decoration: underline;
}

/* Print Button */
.print-button {
    background-color: rgb(200, 230, 255);
    color: #000000;
    font-weight: bold;
    padding: 12px 30px;
    border: 2px solid #0066cc;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.print-button:hover {
    background-color: #0066cc;
    color: white;
    transform: scale(1.05);
}

/* Navigation Styles */
.navigation {
    background-color: rgba(200, 230, 255, 0.4);
    border: 2px solid rgb(200, 230, 255);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.navigation h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.nav-btn {
    background-color: rgb(200, 230, 255);
    color: #000000;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #0066cc;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
}

.nav-btn:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-btn:active {
    transform: translateY(0);
}

/* Main Content Styles */
main {
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgb(200, 230, 255);
    border-radius: 8px;
    padding: 25px;
}

.content-section {
    margin-bottom: 35px;
    padding: 20px;
    background-color: rgba(200, 230, 255, 0.2);
    border: 2px solid rgb(200, 230, 255);
    border-radius: 8px;
    scroll-margin-top: 20px;
}

.content-section h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 3px solid rgb(200, 230, 255);
    padding-bottom: 10px;
    text-transform: uppercase;
}

.content-section h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #0d0d0d;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section p {
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-section li {
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.content-section strong {
    font-weight: bold;
    color: #000000;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(200, 230, 255, 0.3);
    border: 2px solid rgb(200, 230, 255);
    border-radius: 8px;
}

footer p {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        padding: 0;
    }

    .container {
        border: none;
        box-shadow: none;
        background-color: white;
    }

    .print-button,
    .navigation {
        display: none;
    }

    .content-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    header,
    .content-section,
    footer {
        background-color: white;
        border: 1px solid #000;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 1.6em;
    }

    header h2 {
        font-size: 1.2em;
    }

    header h3 {
        font-size: 1.4em;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
    }

    .content-section h2 {
        font-size: 1.4em;
    }

    .content-section p,
    .content-section li {
        font-size: 1em;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Highlight Effect on Navigation */
.content-section.highlight {
    animation: highlightFade 1.5s ease-out;
}

@keyframes highlightFade {
    0% {
        background-color: rgba(200, 230, 255, 0.8);
    }
    100% {
        background-color: rgba(200, 230, 255, 0.2);
    }
}