/* Container Styling */
.wpcf7 {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Labels */
.wpcf7 label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Input & Textarea Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* Focus State - When user clicks into a field */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    background-color: #fff;
    border-color: #0073aa; /* WordPress Blue */
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
    outline: none;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
    width: 100%; /* Full width button */
}

.wpcf7 input[type="submit"]:hover {
    background-color: #005177;
}

.wpcf7 input[type="submit"]:active {
    transform: scale(0.98);
}

/* Validation Message Styling */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 13px;
    font-weight: 400;
    margin-top: 5px;
}
/* Styling for a cleaner look */
.wpcf7 label {
    font-weight: bold;
}

/* If you use a span for the asterisk */
.wpcf7 label span {
    color: #ff0000;
}