Contact Us

    /* Align the Name and Email fields side by side */
    .form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Add some space between the two fields */
    margin-bottom:15px;
    }

    .form-row label {
    flex: 1; /* Allow the labels to share equal width */
    }

    /* Style the form inputs with rounded corners and some padding */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px; /* Rounded corners */
    box-sizing: border-box;
    }

    /* Style the submit button */
    .wpcf7-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    }

    .wpcf7-form input[type="submit"]:hover {
    background-color: #005bb5; /* Darker blue on hover */
    }

    /* Optional: Style the labels */
    .wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    }

    /* Optional: Add margin to form fields */
    .wpcf7-form label + * {
    margin-bottom: 20px;
    }
    /* Style the submit button */
    .wpcf7-form input[type="submit"] {
    padding: 12px 30px;
    background-color: #2d3e50;
    color: #fff;
    border: none;
    border-radius: 25px; /* Rounded button */
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 115, 230, 0.3); /* Add a subtle shadow */
    }

    /* Hover effect for the submit button */
    .wpcf7-form input[type="submit"]:hover {
    background-color: #005bb5; /* Darker blue on hover */
    box-shadow: 0 6px 15px rgba(0, 115, 230, 0.5); /* Increase shadow on hover */
    transform: translateY(-2px); /* Slightly lift the button on hover */
    }

    /* Active state for the submit button */
    .wpcf7-form input[type="submit"]:active {
    background-color: #004494; /* Even darker blue on click */
    box-shadow: 0 3px 8px rgba(0, 115, 230, 0.2); /* Reduced shadow */
    transform: translateY(0); /* Return to original position */
    }

    const urlParams = new URLSearchParams(window.location.search);
    const subject = urlParams.get('subject');

    if (subject !== null) {
    const decodedSubject = decodeURIComponent(subject);
    const inputField = document.querySelector('input[name="your-subject"]');
    if (inputField) {
    inputField.value = decodedSubject;
    }
    }