/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #FFFFFF;
    background-image: url('background.png');
    background-position: right top;
    background-repeat: no-repeat;
    color: #2F3E4D;
    line-height: 1.6;
    min-height: 100vh;
}

/* Wizard progress indicator */
#wizard-progress {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.progress-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #D6E8F5;
    color: #2F3E4D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.progress-step.active {
    background-color: #7FC9FF;
    color: #FFFFFF;
}

/* Header */
header {
    background: linear-gradient(to right, #7FC9FF, #FFF8E1);
    padding: 1rem 2rem 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

header img.logo {
    width: 180px;
    height: auto;
    margin-right: 4rem;
}

header h1 {
    color: #FFFFFF;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: bold;
}


nav {
    background-color: #2F3E4D;
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #FFB27F;
}

/* Main content */
main {
    margin: 4rem 0;
    padding: 0 1rem 0 4rem;
}

.content-container {
    max-width: 42%;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background-color: #F5FAFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

section {
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    display: inline-block;
    text-align: left;
    width: auto;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #2F3E4D;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

textarea {
    width: 100%;
    min-height: 2.5em;
    padding: 0.5rem;
    border: 1px solid #2F3E4D;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    resize: none;
    overflow: auto;
    height: auto;
}

textarea:focus {
    height: auto;
}

textarea {
    box-sizing: border-box;
    line-height: 1.5;
}

textarea[oninput] {
    height: auto;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.option-group {
    flex: 0 0 80px;
}

#captcha-question {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: inline-block;
}

#captcha-answer {
    width: 9ch;
    margin-left: 0.5rem;
}

/* Button container */
.button-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #E6F0FA;
    color: #2F3E4D;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    width: auto;
    margin-right: 0.6rem;
}

.cta-button:disabled {
    background-color: #E0E0E0;
    cursor: not-allowed;
}

.cta-button:hover:not(:disabled) {
    background-color: #D6E8F5;
    color: #2F3E4D;
}

/* Footer */
footer {
    background-color: #2F3E4D;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem 3rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        background-image: none;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1rem 1rem 2rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header img.logo {
        width: 144px;
        margin-right: 0;
    }

    h2 {
        text-align: left;
    }

    main {
        margin: 2rem 0;
        padding: 0 1rem 0 0.5rem;
    }

    .content-container {
        max-width: 100%;
        padding: 1rem 1rem 1rem 1.5rem;
        background-color: #F5FAFF;
        text-align: justify;
    }

    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-group.option-group {
        flex: 1;
    }

    footer {
        padding: 1rem 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        width: auto;
    }
}