@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.top-nav {
    background: #2c3e50;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.top-nav a:hover {
    background-color: #34495e;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.report-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
}

#table-of-contents {
    width: 250px;
    flex-shrink: 0;
    padding-right: 30px;
    position: sticky;
    top: 40px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

#table-of-contents h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

#table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#table-of-contents a {
    display: block;
    text-decoration: none;
    color: #3498db;
    padding: 8px 0;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

#table-of-contents a:hover, #table-of-contents a.active {
    color: #2980b9;
    font-weight: 700;
}

.main-content {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
}

p {
    font-size: 1.1em;
    margin-bottom: 1rem;
    font-weight: 300;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.btn.secondary {
    background-color: #2ecc71;
}

.btn.secondary:hover {
    background-color: #27ae60;
}

.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #dbf6fa;
    border-bottom: 1px solid #273f43;
    transition: background-color 0.2s ease;
}

.collapsible-header:hover {
    background-color: #bac6ea;
}

.collapsible-content {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    max-height: 0;
    padding: 0 1.5rem;
    background-color: #fff;
}

.collapsible-content.expanded {
    max-height: 20000px; /* Arbitrarily large value */
    padding: 1.5rem;
}

.collapsible-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.collapsible-header[aria-expanded="true"] .collapsible-icon {
    transform: rotate(45deg);
}

.lang-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.disclaimer {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    margin: 40px auto;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    max-width: 800px;
    text-align: center;
}

.disclaimer h3 {
    color: #721c24;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .report-container {
        flex-direction: column;
    }

    #table-of-contents {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .container {
        padding: 20px;
        margin: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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