/* Contact Section Styles */
.contact-modern-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-modern {
    padding: 2rem 0;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.view-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.view-map-btn:hover {
    gap: 0.75rem;
}

.contact-form-modern {
    display: flex;
    align-items: center;
}

.form-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field label {
    display: block;
    color: #1a2332;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-field textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.form-privacy {
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0;
}

@media (max-width: 968px) {
    .contact-modern-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section-modern {
        padding: 3rem 0 !important;
    }
    
    .contact-modern-wrapper {
        gap: 1.5rem;
    }
    
    .contact-info-modern {
        padding: 1rem 0;
    }
    
    .contact-info-modern h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .form-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .form-card h3 {
        font-size: 1.25rem !important;
    }
    
    .form-card p {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .contact-section-modern {
        padding: 2rem 0 !important;
    }
    
    .contact-info-modern h2 {
        font-size: 1.5rem !important;
    }
    
    .info-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .form-card {
        padding: 1.25rem;
    }
    
    .submit-btn {
        padding: 0.875rem;
    }
}

/* Contact Form 7 Styling */
.cf7-wrapper {
    width: 100%;
}

.cf7-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cf7-wrapper .wpcf7-form p {
    margin: 0;
    padding: 0;
}

.cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cf7-wrapper .wpcf7-form-control {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background: white !important;
    color: #1a2332 !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
}

.cf7-wrapper .wpcf7-form-control:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.cf7-wrapper .wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.cf7-wrapper .wpcf7-submit {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3) !important;
}

.cf7-wrapper .wpcf7-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4) !important;
}

.cf7-wrapper .wpcf7-submit:active {
    transform: translateY(0) !important;
}

.cf7-wrapper label {
    display: block !important;
    color: #1a2332 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

.cf7-wrapper .wpcf7-response-output {
    margin-top: 1rem !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
}

.cf7-wrapper .wpcf7-validation-errors {
    background: #FEE2E2 !important;
    color: #991B1B !important;
    border: 2px solid #FCA5A5 !important;
}

.cf7-wrapper .wpcf7-mail-sent-ok {
    background: #D1FAE5 !important;
    color: #065F46 !important;
    border: 2px solid #6EE7B7 !important;
}

.cf7-wrapper .wpcf7-not-valid-tip {
    color: #DC2626 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

.cf7-wrapper .wpcf7-not-valid {
    border-color: #DC2626 !important;
}

/* Form field spacing */
.cf7-wrapper .wpcf7-form p {
    margin-bottom: 1.25rem;
}

.cf7-wrapper .wpcf7-form p:last-child {
    margin-bottom: 0;
}

/* Remove default Contact Form 7 spacing */
.cf7-wrapper .wpcf7-form br {
    display: none;
}

.cf7-wrapper .wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 0;
}
