/* Contact Form 7 Custom Styles */
.contact-form-wrapper .wpcf7 .form-control,
.contact-form-wrapper .wpcf7 .form-select {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px 20px;
    color: #1a1a2e !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 5px;
}

.contact-form-wrapper .wpcf7 .form-control:focus,
.contact-form-wrapper .wpcf7 .form-select:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15) !important;
}

.contact-form-wrapper .wpcf7 .form-control::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.contact-form-wrapper .wpcf7 .form-control::-webkit-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.contact-form-wrapper .wpcf7 .form-control::-moz-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.contact-form-wrapper .wpcf7 .form-control:-ms-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.wpcf7 select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a1a2e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.wpcf7 textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7 input.wpcf7-submit {
    background: var(--gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 16px 36px !important;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 25px rgba(140, 198, 63, 0.3);
    width: 100%;
}

.contact-form-wrapper .wpcf7 input.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(140, 198, 63, 0.5) !important;
}

.wpcf7 .row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.wpcf7 .row > div {
    padding: 10px;
}

.wpcf7 .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.wpcf7 .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .wpcf7 .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    font-size: 0.95rem;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: rgba(40, 167, 69, 0.1) !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background: rgba(220, 53, 69, 0.1) !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-spinner {
    margin: 0 10px;
}
