/* Contact Form 7 – Clean Modern Styling */
.wpcf7 form {
    max-width: 450px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.wpcf7 form label {
    display: block;
    margin-bottom: 18px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea,
.wpcf7 form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    margin-top: 6px;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
    border-color: #0078ff;
    outline: none;
    box-shadow: 0 0 4px rgba(0,120,255,0.35);
}

/* Textarea height */
.wpcf7 form textarea {
    min-height: 110px;
}

/* Submit Button */
.wpcf7 form input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #0078ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.wpcf7 form input[type="submit"]:hover {
    background: #005fcc;
}

/* Error Messages */
.wpcf7-not-valid-tip {
    color: #d00000 !important;
    font-size: 13px;
}

/* Success Message */
.wpcf7 form .wpcf7-mail-sent-ok {
    border: 1px solid #28a745;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    background: #e9f9ee;
    color: #1d7c3d;
}

/* Reduce page title / hero spacing */
.wp-block-post-title,
.page-title,
.entry-header {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* If About section is inside a cover block */
.wp-block-cover {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

