/* =================================================================
   Contact Form 7 Styles
   - Overrides plugin defaults to match the theme design.
================================================================= */

/* --- Form Wrapper --- */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Form Row / Group --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

/* --- Form Label --- */
.form-group label {
    font-size: 1rem;
    font-weight: 700;
    color: #374151; /* Gray-700 */
}
.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 0.875rem;
}

/* --- Form Input Fields --- */
.wpcf7-form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db; /* Gray-300 */
    border-radius: 0.5rem; /* 8px */
    font-size: 1rem;
    color: #1f2937; /* Gray-800 */
    background-color: #f9fafb; /* Gray-50 */
    transition: all 0.2s ease-in-out;
}
.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

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

/* --- Submit Button --- */
.wpcf7-submit {
    align-self: center;
    padding: 0.875rem 3rem;
    border: none;
    border-radius: 9999px; /* pill shape */
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.wpcf7-submit:hover {
    background-color: #1a202c; /* Darker shade */
    transform: scale(1.05);
}

/* --- Response Output Messages --- */
.wpcf7-response-output {
    margin: 2rem 0 0 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

