.application-section {
    width: 100%;
    height: auto;
    transition: 0.3s;
    position: relative;
    background-color: #fff;
    padding: 50px 0;
}

.application-section .content {
    width: 100%; 
    max-width: 1344px;
    margin: auto;
    position: relative;
    padding: 0 10px;
}

.application-section h2 {
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.application-section p {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    margin: 30px 0;
    padding: 0 20px;
}

.step-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 40px auto 20px;
    height: 40px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #f0f2f4;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 3px;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background-color: #2f7e83;
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease;
}

.step-container .step {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #f0f2f4;
    border: 3px solid #f0f2f4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.step-container .step.active {
    background-color: #2f7e83;
    border-color: #cde6e7;
}

.moving-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #2f7e83;
    border: 3px solid #cde6e7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.5s ease;
    z-index: 4;
}

.step-description {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

.form-container {
    background-color: #F3F5F6;
    border-radius: 8px;
    padding: 30px 40px;
    width: 100%;
    transition: .3s;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container label {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
}

.form-container input, .form-container textarea, .form-container select {
    padding: 12px 15px 12px 45px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 14px;
}

input:focus, textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
}

.form-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.form-container textarea {
    resize: vertical;
    height: 100px;
    border-radius: 15px;
    min-height: 60px;
    max-height: 400px;
}

.form-container button {
    border: none;
    cursor: pointer;
    width: 141px;
    margin: auto;
    margin-top: 30px;
}

.form-container .previous {
    background-color: #617181;
}

.form-container .step {
    flex-direction: column;
}

/* STEP1 */

#step1 label:not(:first-child) {
    display: flex;
    align-items: center;
    margin: auto;
    text-align: left;
}

#step1-header {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin: 15px 0;
}

#step1 input {
    width: auto;
    margin-right: 15px;
}

@media only screen and (max-width: 670px) {
    .step-container {
        width: 300px;
    }   

    .form-container {
        width: 90%;

    }
}