/* Contact Form 7 Professional Styling - Red Button with Black Text */
.wpcf7 {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.wpcf7-form {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Info Box Styling */
.wpcf7-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wpcf7-info-box p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}

.wpcf7-info-box a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.wpcf7-info-box a:hover {
    text-decoration: underline;
}

/* Form Elements */
.wpcf7-form-control-wrap {
    margin-bottom: 1.8rem;
    display: block;
    text-align: left;
}

.wpcf7 label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
}

.wpcf7 input:not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
    outline: none;
    background-color: #fff;
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

/* Red Submit Button with Black Text */
.wpcf7-submit {
    background-color: #d20000 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 1rem;
    width: auto;
}

.wpcf7-submit:hover {
    background-color: #d20000 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-submit:disabled {
    background-color: #95a5a6 !important;
    color: #000000 !important;
    cursor: not-allowed;
}

/* Validation Styles */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    text-align: left;
}

.wpcf7-response-output {
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin: 2rem auto !important;
    font-size: 0.95rem;
    line-height: 1.6;
    border-width: 1px !important;
    max-width: 100%;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f0fff4;
    border-color: #2ecc71 !important;
    color: #27ae60;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #fff5f5;
    border-color: #e74c3c !important;
    color: #c0392b;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #fffaf0;
    border-color: #f39c12 !important;
    color: #d35400;
}

/* Checkbox & Radio */
.wpcf7-list-item {
    margin: 0.5rem 0;
    display: block;
}

.wpcf7-list-item-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7-list-item-label input[type="checkbox"],
.wpcf7-list-item-label input[type="radio"] {
    width: auto;
    margin-right: 0.75rem;
}

/* Spinner Animation */
.wpcf7-spinner {
    margin-left: 1rem;
    vertical-align: middle;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 1rem;
    }
    
    .wpcf7-form {
        padding: 2rem 1.5rem;
    }
    
    .wpcf7-info-box {
        padding: 1.2rem;
    }
}