/* Transform Native Elementor Testimonials into Exquisite Cards */
.elementor-widget-testimonial .elementor-testimonial-wrapper {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
    border: 1px solid #f1f5f9 !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: visible !important;
}

.elementor-widget-testimonial .elementor-testimonial-wrapper:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.08) !important;
    border-color: rgba(0, 180, 216, 0.2) !important;
}

/* Avatar Styling with Gradient Accent Glow */
.elementor-widget-testimonial .elementor-testimonial-image img {
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 3px #00b4d8, 0 4px 10px rgba(0, 180, 216, 0.2) !important;
    transition: transform 0.3s ease !important;
}

.elementor-widget-testimonial .elementor-testimonial-wrapper:hover .elementor-testimonial-image img {
    transform: scale(1.05) rotate(2deg) !important;
}

/* Elegant Quote Mark Ornament */
.elementor-widget-testimonial .elementor-testimonial-wrapper::after {
    content: '“' !important;
    position: absolute !important;
    top: 15px !important;
    right: 25px !important;
    font-size: 5rem !important;
    line-height: 1 !important;
    color: rgba(0, 180, 216, 0.07) !important;
    font-family: "Playfair Display", "Georgia", serif !important;
    pointer-events: none !important;
}

/* Typography & Spacing */
.elementor-widget-testimonial .elementor-testimonial-content {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    font-style: italic !important;
    margin-bottom: 20px !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.elementor-widget-testimonial .elementor-testimonial-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.elementor-widget-testimonial .elementor-testimonial-job {
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #0077b6 !important;
    font-weight: 600 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* Gorgeous Contact Form 7 / WPForms Styling */
.wpcf7-form, .wpforms-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    font-family: 'Outfit', 'Inter', sans-serif;
}

.wpcf7-form p, .wpforms-field-container {
    margin-bottom: 20px;
}

.wpcf7-form label, .wpforms-field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpforms-field input,
.wpforms-field textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.95rem !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus {
    outline: none !important;
    border-color: #00b4d8 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.12) !important;
}

/* Submission Button with smooth 3D-glow transitions */
.wpcf7-submit, .wpforms-submit {
    display: block !important;
    width: 100% !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #0077b6, #00b4d8) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.25) !important;
    box-sizing: border-box !important;
}

.wpcf7-submit:hover, .wpforms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.35) !important;
    filter: brightness(1.05);
}

.wpcf7-submit:active, .wpforms-submit:active {
    transform: translateY(0) !important;
}

/* Validation Alerts */
.wpcf7-response-output {
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    margin-top: 20px !important;
}
