/* General Form Container */
.custom-wpform {
    background-color: #f9f9f9; /* Light gray background, matching homepage */
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border to match the homepage style */
    max-width: 600px;
    margin: 30px auto;
	font-family: 'Rajdhani', sans-serif;
}

/* Form Title */
.custom-wpform .wpforms-title {
    color: #293C4B; /* Color for the form title */
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Form Description */
.custom-wpform .wpforms-description {
    color: #293C4B; /* Color for the form description */
    font-size: 18px;
    margin-bottom: 10px;
}

/* Form Fields */
.custom-wpform .wpforms-field input[type="text"],
.custom-wpform .wpforms-field input[type="email"],
.custom-wpform .wpforms-field textarea,
.custom-wpform .wpforms-field select {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
	font-weight: bold; /* Making the text bold */
    color: #293C4B; /* Dark gray text color to match homepage text */
    background-color: #ffffff; /* White background for fields */
    border: 2px solid #726A43; /* Light border matching homepage theme */
    border-radius: 7px; 
}

/* Smaller Message Field (Textarea) */
.custom-wpform .wpforms-field textarea {
    font-size: 18px;
	font-weight: bold;
	width: 100%;
}

/* Focused Fields */
.custom-wpform .wpforms-field input[type="text"]:focus,
.custom-wpform .wpforms-field input[type="email"]:focus,
.custom-wpform .wpforms-field textarea:focus,
.custom-wpform .wpforms-field select:focus {
    border-color: #726A43; /* Primary color of the homepage */
    box-shadow: 0 0 5px rgba(114, 106, 67, 0.5); /* Primary color shadow */
}

/* Form Labels */
.custom-wpform .wpforms-field label {
    font-family: 'Rajdhani', sans-serif; /* Match homepage font  */
    font-size: 22px;
    color: #333; /* Dark gray label color for consistency */
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* Error Messages */
.custom-wpform .wpforms-error {
    color: #d63637; /* Red for error messages */
    font-size: 18px;
    margin-top: 5px;
}

/* Target only the WPForms button within a specific form */
.custom-wpform .wpforms-submit {
    --wpforms-button-size-font-size: 24px; /* Override specifically for this form */
    font-size: var(--wpforms-button-size-font-size); /* Ensure it's applied */
}

/* Submit Button */
.custom-wpform .wpforms-button {
    background-color: #726A43;
    font-family: "Rajdhani", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 1.5em;
    fill: #293C4B;
    padding: 12px 25px;
    box-sizing: border-box;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block; /* Make the button behave as a block-level element */
}

/* Hover Effect for Submit Button */
.custom-wpform .wpforms-submit:hover {
    background-color: #5e5c3b; /* Slightly darker shade for hover */
}

/* Placeholder Text */
.custom-wpform .wpforms-field input::placeholder,
.custom-wpform .wpforms-field textarea::placeholder {
    color: #aaa; /* Light gray placeholder text */
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-wpform {
        padding: 20px;
    }

    .custom-wpform .wpforms-field-small {
        width: 100%;
        margin-right: 0;
    }
}

