/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* Contact box */
section div {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Title */
h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

/* Labels */
label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    color: #003366;
}

/* Inputs */
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Textarea */
textarea {
    resize: none;
    height: 120px;
}

/* Button */
button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    background: #003366;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ffcc00;
    color: black;
}

/* Footer */
footer {
    background: #003366;
    padding: 15px 0;
}

/* Footer menu */
footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

footer a:hover {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {

    section div {
        padding: 20px;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
