/* Form Container with Gradient Background */
.wpcf7 form {
    position: relative;
    background: linear-gradient(135deg, rgba(119, 136, 153, 0.5), rgba(70, 81, 91, 0.5));
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
}

/* Label Styling */
.wpcf7 label {
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

/* Input, Select, and Textarea Styling */
.wpcf7 input:not([type=submit]), .wpcf7 select, .wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Focused Input Styling */
.wpcf7 input:not([type=submit]):focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
    border-color: #673da6; /* Customized border color for focus */
    box-shadow: 0 0 5px rgba(103, 61, 166, 0.3);
    outline: none;
}

/* Adjusted Textarea Size */
.wpcf7 textarea {
    height: 100px; /* Adjusted height for a smaller textarea */
    resize: vertical; /* Allows users to resize vertically only */
}

/* Submit Button Styling */
.wpcf7 input[type=submit] {
    width: 100%;
    background-color: #778899 !important;
    color: #ffffff; 
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.wpcf7 input[type=submit]:hover {
     background-color: #656d7e !important;
}

.field-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* Individual Field within Group */
.field-group label {
    flex: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wpcf7 form {
        padding: 20px;
        box-shadow: none;
		background: linear-gradient(135deg, rgba(103, 61, 166, 0.5), rgba(160, 133, 217, 0.5)), url('your-background-			image.jpg') no-repeat center center; 
    background-size: cover;
    }
    .wpcf7 input[type=submit] {
        font-size: 16px;
    }
    .field-group {
        flex-direction: column;
    }
}

/* Styling for Radio Buttons */
.wpcf7 input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* Space between radio button and label */
    border: none; /* Remove border */
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Radio button on focus (to match the design) */
.wpcf7 input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(103, 61, 166, 0.3);
}

/* Align radio buttons and labels */
.field-group input[type="radio"] {
    display: inline-block;
    vertical-align: middle;
}

/* Styling for the select options */
.wpcf7 select {
    height: auto;
    padding: 10px;
    font-size: 16px;
}
