.professional-form-card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /* Default styling to match previous HTML snippet context if needed */
    border-radius: 4px; 
    background-color: #ffffff;
    padding: 40px;
}

/* Ensure Contact Form 7 styles are somewhat normalized inside the card */
.professional-form-card .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}

.professional-form-card input[type="text"],
.professional-form-card input[type="email"],
.professional-form-card input[type="tel"],
.professional-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background-color: #f9f9f9;
    font-size: 14px;
    box-sizing: border-box;
}

.professional-form-card input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #0D1F35; /* Example primary color */
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.professional-form-card input[type="submit"]:hover {
    background-color: #254D7A; /* Lighter shade on hover */
}
