body {
    font-family: 'Montserrat', sans-serif;
}

.form-background {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 650px;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: -1;
    filter: blur(5px);
}

.overlay-text {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, 0);
    color: white;
    z-index: 1;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.overlay-form {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
    width: 80%;
    max-width: 1000px;
    background-color: rgba(22, 50, 79, 0.9);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #F3A712;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #16324F;
    z-index: 1;
    margin-bottom: 50px;
}

.form-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

.check-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
}

.form-section label {
    text-align: left;
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
}

.form-section input,
.form-section select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 49%;
}

.section-group {
    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check label {
    margin-left: 10px;
}

.form-check input[type="checkbox"] {
    margin-right: 10px;
}

.form-button {
    text-align: center;
    padding-bottom: 10px;
}

.form-button button {
    width: 50%;
    padding: 15px;
    background-color: #F3A712;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}

.form-button button:hover {
    background-color: #d69106;
}

.captcha-section {
    display: flex;
    justify-content: center;
}

footer {
    z-index: 1;
}

@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }

    .form-background {
        height: 880px;
    }

    .overlay-form {
        width: 90%;
        padding: 15px;
        top: 12%;
    }

    .overlay-text {
        top: 4%;
    }

    .form-section {
        flex-direction: column;
        margin-bottom: 0;
    }

    .section-group {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-group {
        width: 100%;
        padding-bottom: 10px;
    }

    .form-button button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .overlay-form {
        width: 95%;
        padding: 10px;
        top: 12%;
    }

    .overlay-text {
        font-size: 1.7rem;
        top: 3%;
    }

    .form-container {
        padding: 10px;
    }

    .form-section {
        flex-direction: column;
        margin-bottom: 0;
    }

    .section-group {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-group {
        width: 100%;
        padding-bottom: 10px;
    }

    .form-button button {
        width: 100%;
    }

    .captcha-section {
        justify-content: center;
    }
}