/* Header background and center */
.header {
    background: rgb(5, 116, 185);
    text-align: center;
    padding: 10px 0;
}

/* Logo container size and centering */
.logo {
    display: inline-block;
    max-width: 300px;  /* smaller than 470 */
    width: 80%;        /* responsive width */
    background: rgb(5, 116, 185);
    padding: 5px 0;    /* vertical padding for spacing */
}

/* Logo image fully responsive */
.logo a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Button styling */
.button {
    background: rgb(5, 116, 185);
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    margin: 10px 5px 0;
}

.button:hover {
    background: rgb(60, 150, 210);
}

/* Links */
a {
    color: rgb(5, 116, 185);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(60, 150, 210);
}

/* Mobile override */
@media (max-width: 480px) {
    .logo {
        max-width: 180px;
        width: 60%;
        padding: 3px 0;
    }

    .button {
        padding: 8px 14px;
        font-size: 14px;
    }
}
