/* 
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 */
.site-footer {
    padding-block-end: 0;
    padding-block-start: 0;
    position: relative;
}

/* CF7 */
/* --- Modern Contact Form 7 Styling --- */

/* Center the form and set a max width */
.wpcf7 form {
    max-width: 600px;
    font-family: inherit;
}

/* Space out the form fields */
.wpcf7 p {
    margin-bottom: 24px;
}

/* Style the labels for better readability */
.wpcf7 label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff; /* Dark gray */
    font-size: 15px;
	margin-bottom:10px;
}

/* Input and Textarea base styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc; /* Very light gray */
    font-size: 16px; /* 16px prevents automatic zooming on iOS devices */
    color: #1e293b;
    transition: all 0.3s ease;
	margin-top: 10px;
}

/* Make textareas behave better */
.wpcf7 textarea {
    resize: vertical; /* Only allow vertical resizing */
    min-height: 120px;
}

/* Focus State: When a user clicks into the field */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #3b82f6; /* Blue border */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); /* Soft blue glow */
}

/* Submit Button Styling */
.wpcf7 input[type="submit"] {
    background-color: #818181;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%; /* Full width for mobile screens */
}

/* Make the button scale down on desktops */
@media (min-width: 600px) {
    .wpcf7 input[type="submit"] {
        width: auto; 
    }
}

/* Submit Button Hover and Active States */
.wpcf7 input[type="submit"]:hover {
    background-color: #56585a;
}

.wpcf7 input[type="submit"]:active {
    transform: scale(0.98); /* Satisfying click effect */
}

/* Form Success/Error Message Container */
.wpcf7 form .wpcf7-response-output {
    margin: 24px 0 0 0;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
	color: #e1e1e1;
}
.wpcf7-turnstile.cf-turnstile {
    margin-top: -40px;
}