body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.header-container {
    margin-bottom: 20px;
    text-align: center;
}

.header-container h1 {
    margin-bottom: 10px;
    color: #333;
    font-size: 28px; /* Increased font size for the main title */
}

.header-container label {
    font-weight: bold;
    color: #555;
    font-size: 18px; /* Increased font size for labels */
}

.header-container select {
    padding: 10px;
    font-size: 18px; /* Increased font size for dropdown */
    border: 1px solid #ccc;
    border-radius: 4px;
}

form {
    width: 90%;
    max-width: 800px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align form content to the left */
}

form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px; /* Increased font size for section titles */
}

.question {
    margin-bottom: 20px;
}

.question > label {
    display: block;
    font-weight: bold;
    margin-bottom: 20px; /* Add more margin below the question label */
    color: #555;
    font-size: 20px; /* Larger font size for questions */
}

.question input[type="text"],
.question input[type="email"],
.question input[type="number"] {
    width: 100%; /* Set width to 70% of the form */
    font-size: 18px; /* Increased font size for input fields */
    border: none;
    border-bottom: 1px solid #ccc; /* Add underline */
    border-radius: 0; /* Remove rounded corners */
    box-sizing: border-box;
    background-color: transparent; /* Optional: Make the background transparent */
}

.question input[type="text"]:focus,
.question input[type="email"]:focus,
.question input[type="number"]:focus {
    outline: none; /* Remove default focus outline */
    border-bottom: 1px solid #007BFF; /* Change underline color on focus */
}

.options {
    display: flex;
    flex-direction: column; /* Stack pairs vertically */
    gap: 12px; /* Add spacing between pairs */
    align-items: flex-start; /* Align items to the left */
}

.options input[type="radio"],
.options input[type="checkbox"] {
    margin-right: 5px;
}

.options label {
    font-size: 18px; /* Increased font size for options */
    margin-right: 15px; /* Add spacing between input and label */
    white-space: nowrap; /* Prevent text wrapping */
}

.options > div {
    display: flex;
    align-items: center; /* Align input and label horizontally */
    gap: 5px; /* Add spacing between input and label */
}

input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px; /* Increased font size for submit button */
    cursor: pointer;
    text-align: center;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

#family-details {
    margin-top: 20px;
    display: none; /* Initially hidden */
}

[data-lang] {
    display: none; /* Initially hide all language sections */
}

[data-lang="en"] {
    display: block; /* Default to English */
}

@media (max-width: 768px) {
    form {
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    select {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    input[type="submit"] {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 8px 16px;
    }
}