/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ===== CONTACT FORM 7 CLEAN STYLING ===== */

/* Form Container */
.wpcf7-form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

/* Form Paragraphs - Remove default margins */
.wpcf7-form p {
    margin: 0 0 20px 0;
    position: relative;
}

/* Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

/* All Input Fields */
.wpcf7-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

/* Input Focus States */
.wpcf7-form-control:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    background-color: #fff;
}

/* Textarea Specific */
.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Select Dropdown */
.wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Checkbox and Radio Inputs */
.wpcf7-checkbox,
.wpcf7-radio {
    margin: 15px 0;
}

.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.wpcf7-checkbox input[type="checkbox"],
.wpcf7-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 0;
}

.wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    cursor: pointer;
}

/* Submit Button */
.wpcf7-submit {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    min-width: 140px;
}

.wpcf7-submit:hover {
    background-color: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

/* Loading State */
.wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 400;
}

/* Response Messages */
.wpcf7-response-output {
    border: none !important;
    margin: 20px 0 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

.wpcf7-spam-blocked {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

/* Invalid Field Styling */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* File Upload */
.wpcf7-file {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    cursor: pointer;
}

.wpcf7-file:hover {
    border-color: #4285f4;
    background-color: #f8f9ff;
}

/* Spinner */
.wpcf7-spinner {
    margin-left: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wpcf7-form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    .wpcf7-submit {
        width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .wpcf7-form p {
        margin-bottom: 18px;
    }
}