/* Container styling */
.form-container {
    display: flex;
    align-items: stretch;
    /* Ensures both columns have equal height */
    justify-content: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
}

/* Left section styling (image) */
.form-left {
    flex: 1;
    margin-right: 20px;
}

.form-left img {
    width: 100%;
    /* Stretches horizontally */
    height: 100%;
    /* Fills the height of the parent */
    object-fit: cover;
    /* Maintains aspect ratio while covering the container */
}

/* Right section styling (form) */
.form-right {
    flex: 1.2;
    padding: 10px 20px;
}

.form-right h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    flex: 1;
    min-width: 220px;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    font-size: 1rem;
    color: #555;
}

.form-group input::placeholder,
.form-group select {
    color: #999;
}

label {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

label a {
    color: #146190;
    text-decoration: none;
    font-weight: 500;
}

label a:hover {
    text-decoration: none;
    color: #146190;
}
span {
    font-family: "Radio Canada Big", serif;
    font-weight: normal;
    line-height: 30px;
}
.submit-btn {
    padding: 12px 20px;
    font-size: 1.1rem;
    color: white;
    background-color: #146190;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 30%;
}

.submit-btn:hover {
    background-color: #146190;
}
.form-container {
    margin-top: 10rem !important;
}
/* Responsive styling */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        margin-top: 1rem !important;
    }

    .form-left {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-right {
        padding: 0;
    }

    .form-group input,
    .form-group select {
        flex: 1 100%;
    }
    .submit-btn {
        width: 100%;
    }
}
