.footer-form .wpcf7-form {
    margin: 0;
}
.footer-form .form-group {
    margin-bottom: 16px;
}

.footer-form .wpcf7-form p:last-child {
    margin-bottom: 0px;
}

.footer-form .wpcf7-form label {
    display: block;
    /* block */
    color: #374151;
    /* text-gray-700 */
    margin-bottom: 8px;
    /* mb-2 */
    font-weight: 500;
    /* font-medium */
    font-size: 14px;
}

.footer-form .wpcf7-form-control-wrap {
    position: relative;
    /* relative */
}

.footer-form .wpcf7-form-control {
    width: 100%;
    /* w-full */
    padding: 12px 16px;
    /* pl-12 pr-4 py-3 */
    border: 1px solid #d1d5db;
    /* border border-gray-300 */
    border-radius: 8px;
    /* rounded-lg */
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    /* transition-all duration-300 */
    background-color: #fff;
    color: #111827;
    box-sizing: border-box;
}

.footer-form .wpcf7-form-control:focus {
    outline: none;
    /* focus:outline-none */
    box-shadow: 0 0 0 2px rgba(175, 145, 70, 0.1);
    /* focus:ring-2 focus:ring-primary */
    border-color: #AF9146;
    /* focus:border-primary */
}

.footer-form .wpcf7-form-control::placeholder {
    color: #9ca3af;
    /* text-gray-400 */
}

.footer-form .wpcf7-textarea {
    min-height: 100px;
    resize: vertical;
    padding: 12px 16px;
}

.footer-form .wpcf7-submit {
    width: 100%;
    /* w-full */
    display: inline-flex;
    /* inline-flex */
    align-items: center;
    /* items-center */
    justify-content: center;
    /* justify-center */
    gap: 8px;
    /* gap-2 */
    padding: 16px 32px;
    /* px-8 py-4 */
    border-radius: 12px;
    /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    transition: all 0.3s ease;
    /* transition-all duration-300 */
    background: linear-gradient(to right, #AF9146, #8A7436);
    /* bg-gradient-to-r from-primary to-secondary */
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.footer-form .wpcf7-submit:hover {
    background: linear-gradient(to right, #8A7436, #AF9146);
    /* hover:from-secondary hover:to-primary */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* hover:shadow-xl */
    transform: translateY(-2px);
}

.footer-form .wpcf7-submit:active {
    transform: translateY(0);
}

.footer-form .wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Validation messages */
.footer-form .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

.footer-form .wpcf7-validation-errors {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    color: #991b1b;
}

.footer-form .wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    color: #065f46;
}

/* Response loading */
.footer-form .wpcf7-spinner {
    visibility: hidden;
}

.footer-form .wpcf7-form.loading .wpcf7-submit::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-form .wpcf7-form-control {
        font-size: 16px;
        /* iOS zoom fix */
    }
}