/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a1f;
    --secondary-color: #2d5a41;
    --accent-color: #ff6b35;
    --light-bg: #f8f9fa;
    --text-color: #2c3e50;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Navigation Styles */
nav {
    background-color: var(--secondary-color);
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.75rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

nav a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

nav a.active {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    background-color: white;
    min-height: calc(100vh - 400px);
}

/* Sections */
section {
    margin-bottom: 3.5rem;
}

section h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.75rem;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

section h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    border: none;
}

table td {
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table tbody tr:hover {
    background-color: #e8f4f0;
    transition: background-color 0.2s ease;
}

/* List Styles */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.logo-image {
    max-height: 150px;
    object-fit: contain;
    margin: 1.5rem 0;
}

.image-caption {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--accent-color);
}

footer p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

footer a {
    color: var(--accent-color);
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Highlights and Callouts */
.intro-box {
    background: linear-gradient(135deg, #e8f4f0 0%, #f0f8f5 100%);
    border-left: 5px solid var(--secondary-color);
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 6px;
    line-height: 1.8;
}

.highlight {
    background-color: #fff9e6;
    border-left: 5px solid var(--accent-color);
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.highlight h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Data figures */
.data-figure {
    margin: 2.5rem 0;
}

.data-figure-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
    }

    nav a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    main {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.1rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th, table td {
        padding: 0.6rem;
    }
}
