/* Main Form Container */
.form-container {
    max-width: 60%; /* Set maximum width to 70% on desktop */
    margin: 50px auto; /* Center the form on the page */
    border: 2px solid #ddd; /* Add border to the form container */
    border-radius: 10px; /* Add border-radius for rounded corners */
    padding: 30px; /* Add padding for space inside the border */
    background-color: #f9f9f9; /* Background color for the form */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .form-container {
        max-width: 95%; /* Set maximum width to 100% on mobile */
        padding: 20px; /* Optional: Adjust padding for smaller screens */
    }
}

/* Label Styling */
label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

/* Input and Textarea Styling */
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input::placeholder,
textarea::placeholder {
    font-size: 13px;
    color: #999;
}

/* Button Styling */
button {
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

/* Row and Column Styling */
.form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group {
    flex: 1 1 calc(50% - 10px);
    text-align: left;
}

.h-captcha-container {
    display: flex;              /* Use Flexbox */
    justify-content: center;    /* Center horizontally */
    align-items: center;        /* Center vertically (if needed) */
    margin-bottom: 15px;        /* Optional: space below the captcha */
}

/* Full Width on Small Screens */
@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%;
    }
}

.captcha {
    margin: 15px 0;
}
