body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff8f0;
    color: #333;
}

header {
    background: #b22222;
    color: white;
    text-align: center;
    padding: 25px;
}

nav {
    background: #f77f00;
    padding: 15px;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.section {
    padding: 40px;
    max-width: 1000px;
    margin: auto;
}

.application-section {
    background: white;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.three-columns {
    grid-template-columns: 2fr 1fr 1fr;
}

label, legend {
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
}

fieldset {
    border: 2px solid #f77f00;
    border-radius: 12px;
    padding: 20px;
}

.agreement-box {
    background: #fff3d6;
    border-left: 6px solid #d62828;
    padding: 20px;
    border-radius: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: bold;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

button {
    background: #d62828;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
}

button:hover {
    background: #f77f00;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 700px) {
    .form-row,
    .three-columns {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 20px;
    }
}
