body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: #f8f8f8;
}

header img {
    height: 60px;
    max-width: 100%;
}

nav {
    display: flex;
}

nav a {
    margin-left: 32px;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s;
    padding: 8px 0;
}

nav a:hover {
    text-decoration: underline;
    color: #0066cc;
}

.main-content {
    padding: 40px;
    max-width: 800px;
    margin: auto;
}

.section {
    margin-bottom: 40px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    padding: 16px 0;
    margin-top: 60px;
}

.footer-links a {
    margin: 0 18px;
    color: #555;
    font-size: 1em;
    text-decoration: none;
    padding: 6px 0;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #0066cc;
}

@media (max-width: 700px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 6vw;
    }

    nav {
        margin-top: 12px;
        margin-left: 0;
    }
    nav a {
        margin-left: 0;
        margin-right: 18px;
        font-size: 1em;
    }

    .main-content {
        padding: 20px 6vw;
    }
    .section {
        margin-bottom: 30px;
    }
    footer {
        padding: 14px 0;
        margin-top: 40px;
        font-size: 0.95em;
    }
}

@media (max-width: 420px) {
    header img {
        height: 38px;
    }
    .main-content {
        padding: 12px 3vw;
        font-size: 1em;
    }
    footer {
        font-size: 0.93em;
    }
}
