* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 320px;
    background: url('banner.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    margin: 0;
    font-size: 32px;
}

.banner p {
    margin-top: 10px;
    font-size: 18px;
}

/* Container */
.container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Row layout */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.row .field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Mobile */
@media (max-width: 600px) {
    .row {
        flex-direction: column;
    }
}

.radio-group,
.checkbox-group {
    margin-top: 10px;
}

.radio-group label,
.checkbox-group label {
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
}

select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.rgpd {
    margin-top: 15px;
    font-size: 14px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.footer a {
    text-decoration: none;
    color: #007BFF;
    font-size: 14px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.popup-content p {
    margin-bottom: 20px;
}

.popup-content button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}