/* General page styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

/* Container for the entire form and pitch */
.form-container {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block; /* Ensuring it behaves as expected */
}


/* Sales pitch and headers styling */
.sales-pitch, h1, h2, p {
    color: #5c6bc0;
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
}

.sales-pitch {
    background-color: #e8eaf6;
    border: 2px solid #5c6bc0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}


/* Form fields styling including input types and textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: calc(100% - 40px); /* Adjust width to accommodate side icons */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    vertical-align: top;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
}

/* Set a consistent max-width for all major containers */
.container {
    width: 90%;
    max-width: 600px; /* Adjust this value based on your design */
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

#questions-container textarea {
    width: 100%; /* Make textarea take the full width of its parent */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Styling for all buttons including submit */
button, input[type="submit"] {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover, input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Small icon styling */
.small-icon {
    height: 16px;
    vertical-align: middle;
}

