/* Scoped Form Styling for Clio Grow Form */
.clio-grow-form {
    background-color: transparent; /* Matches the background of the second form */
    color: #ffffff; /* White text */
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

/* Input Fields (Underlined Style) */
.clio-grow-form input[type="text"],
.clio-grow-form input[type="email"],
.clio-grow-form input[type="tel"],
.clio-grow-form select,
.clio-grow-form textarea {
    background-color: transparent; /* Transparent background */
    color: #ffffff; /* Input text color */
    border: none; /* Remove all borders */
    border-bottom: 2px solid #c0b596; /* Add bottom border */
    width: 100%;
    padding: 8px 0; /* Add padding to create space above text */
    margin: 15px 0; /* Add spacing between fields */
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease; /* Smooth transition for focus */
}

/* Focus Effect */
.clio-grow-form input[type="text"]:focus,
.clio-grow-form input[type="email"]:focus,
.clio-grow-form input[type="tel"]:focus,
.clio-grow-form select:focus,
.clio-grow-form textarea:focus {
    border-bottom: 2px solid #ff4d4d; /* Change bottom border color on focus */
}

/* Placeholder Text */
.clio-grow-form input::placeholder,
.clio-grow-form textarea::placeholder {
    color: #aaaaaa; /* Placeholder color */
    font-style: italic; /* Optional: makes the placeholder text distinct */
}

/* Select Dropdown (Underlined Style) */
.clio-grow-form select {
    appearance: none;
    background: transparent; /* Transparent background for select */
    color: #ffffff; /* Text color */
    border-bottom: 2px solid #c0b596; /* Add bottom border */
    padding: 8px 0;
    margin: 15px 0;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

/* Textarea Styling (Underlined Style) */
.clio-grow-form textarea {
    background-color: transparent; /* Transparent background */
    color: #ffffff; /* Ensure text is white */
    border: none; /* Remove borders */
    border-bottom: 2px solid #c0b596; /* Add bottom border */
    padding: 8px 0; /* Add space above text */
    font-size: 16px;
    line-height: 1.5; /* Improves readability */
    resize: none;
    transition: border-color 0.3s ease;
}

/* Focus Effect for Textarea */
.clio-grow-form textarea:focus {
    border-bottom: 2px solid #ff4d4d; /* Change bottom border color on focus */
}

/* Submit Button */
.clio-grow-form input[type="submit"],
.clio-grow-form button {
    background-color: #ff4d4d; /* Button background color */
    color: #ffffff; /* Button text color */
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add hover animation */
}

.clio-grow-form input[type="submit"]:hover,
.clio-grow-form button:hover {
    background-color: #e63e3e; /* Hover effect */
    transform: scale(1.02); /* Slightly enlarge on hover */
}

/* Recaptcha Customization (if applicable) */
.clio-grow-form .g-recaptcha {
    margin: 15px 0;
}

/* Label Styling */
.clio-grow-form label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #ffffff; /* Ensure labels are white */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .clio-grow-form {
        padding: 15px;
    }

    .clio-grow-form input[type="text"],
    .clio-grow-form input[type="email"],
    .clio-grow-form input[type="tel"],
    .clio-grow-form select,
    .clio-grow-form textarea {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .clio-grow-form input[type="submit"],
    .clio-grow-form button {
        font-size: 14px; /* Adjust button font size */
    }
}