/* --- Basic Form Container Styling (Harmonized Dark Theme) --- */
.wpcf7 {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background-color: #2d3647; /* Matches your site's main content background */
    border: 1px solid #4a5467; /* Slightly lighter border from the background color */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Section Headings (e.g., "Project Details") (Harmonized Dark Theme) --- */
.wpcf7 p strong {
    display: block;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #f0f0f0; /* Very light grey for headings */
    border-bottom: 1px solid #4a5467; /* Consistent separator color */
    padding-bottom: 5px;
}

/* --- Label Styling (for all fields) (Harmonized Dark Theme) --- */
.wpcf7 label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #cccccc; /* Light grey for labels */
    font-size: 0.95em;
    line-height: 1.4;
}

/* --- Input Fields (text, email, tel) and Textareas (Harmonized Dark Theme) --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid #5a687c; /* A slightly lighter, desaturated blue-grey border */
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: #3a4253; /* A slightly lighter shade for input backgrounds */
    color: #f5f5f5; /* Very light text color for input */
}

/* Placeholder text color for dark theme */
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7 select::placeholder {
    color: #b0b8c6; /* Slightly lighter placeholder text to be visible */
    opacity: 1;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #00cc66; /* Vibrant green accent on focus */
    box-shadow: 0 0 0 2px rgba(0, 204, 102, 0.4); /* Green glow */
    outline: none;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Dropdown (Select) Field Specific Styling (Harmonized Dark Theme) --- */
.wpcf7 select {
    /* Updated custom arrow to be white/light grey for dark background */
    background-image: 
url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f0f0f0%22%20d%3D%22M287%2C114.7L154.2%2C247.5c-4.7%2C4.7-12.2%2C4.7-16.9%2C0L5.3%2C114.7c-4.7-4.7-4.7-12.2%2C0-16.9l22.6-22.6c4.7-4.7%2C12.2-4.7%2C16.9%2C0L145.7%2C180.2c2.1%2C2.1%2C5.5%2C2.1%2C7.6%2C0l99.3-99.3c4.7-4.7%2C12.2-4.7%2C16.9%2C0l22.6%2C22.6C291.7%2C102.5%2C291.7%2C110%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E');
    /* Other select properties remain the same */
}

/* --- Radio Buttons and Checkboxes (and their labels) (Harmonized Dark Theme) --- */
.wpcf7 strong + [type="radio"] {
    /* Keep display and margin the same */
}
.wpcf7 [type="radio"] + label {
    color: #ccc; /* Lighter text for radio options */
    /* Other properties remain the same */
}
.wpcf7 [type="radio"] {
    accent-color: #00cc66; /* Use the vibrant green accent for the radio button fill */
}


/* --- Submit Button (Harmonized Dark Theme) --- */
.wpcf7 input[type="submit"] {
    background-color: #00cc66; /* Use the vibrant green accent for the button */
    color: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Other properties remain the same */
}

.wpcf7 input[type="submit"]:hover {
    background-color: #00b359; /* Slightly darker green on hover */
}

.wpcf7 input[type="submit"]:active {
    background-color: #00994d; /* Even darker green on click */
}

/* --- Error and Success Messages (Harmonized Dark Theme) --- */
.wpcf7-response-output {
    /* Same padding, margin, border-radius */
    font-weight: 600;
}

.wpcf7-validation-errors {
    background-color: #4d0000; /* Darker red background for errors */
    border: 1px solid #cc0000;
    color: #ffcccc; /* Lighter red text for errors */
}

.wpcf7-mail-sent-ok {
    background-color: #004d00; /* Darker green background for success */
    border: 1px solid #009900;
    color: #ccffcc; /* Lighter green text for success */
}

/* --- Mobile Responsiveness (Basic) --- */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 20px;
        margin: 20px auto;
    }
    .wpcf7 p strong {
        font-size: 1.2em;
    }
    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}






/*
 * Custom CSS for the 2-Column Footer
 * Add this to your theme's "Additional CSS" section in the WordPress Customizer.
*/

/* Main footer row container */
.site-below-footer-inner-wrap.ast-builder-grid-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* Aligns items to the top of the container */
}

/* Base styles for footer columns */
.site-below-footer-inner-wrap .site-footer-section {
    box-sizing: border-box;
    padding: 15px;
}

/* Desktop Styles (for screens wider than 768px) */
@media (min-width: 774px) {
    .site-below-footer-inner-wrap .site-footer-section {
        /*flex: 0 1 48%; */
    }

    /* Right-align the contact column on desktop */
    .site-below-footer-inner-wrap .site-footer-section-3 {
        text-align: right;
    }

    /* Justify social icons to the right in the contact column */
    .site-below-footer-inner-wrap .site-footer-section-3 .footer-social-icons {
        justify-content: flex-end;
    }
}

/* Mobile Styles (for screens 768px and narrower) */
@media (max-width: 773px) {
    .site-below-footer-inner-wrap .site-footer-section {
        width: 100%; /* Each column takes full width */
        text-align: center; /* Center-align content on mobile */
    }

    .new-inquiry h4 {
	text-align: center;
    }

    .footer-logo-section,
    .footer-logo-section .wris-logo-container {
        align-items: center; /* Center logo on mobile */
    }
    
    .wris-logo-container {
        margin: 0 auto 1rem; /* Center logo container on mobile */
    }

    .footer-social-icons {
      justify-content: center; /* Center social icons on mobile */
    }
}


/* --- Column Content Styling --- */

/* Logo */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wris-logo-container {
    margin-bottom: 1rem;
}

.wris-logo {
    max-width: 400px;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}


/* Headings in Footer */
.site-footer-section .footer-widget-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 1em;
}

/* Contact Info */
.contact-info {
    font-style: normal;
}

.site-footer-section-3 p {
    margin: 2px;
}

.site-footer-section-3 a {
    color: #468a07;
    text-decoration: none;
}

.site-footer-section-3 a:hover {
    color: #ffffff;
}

/* Social Media Icons */
.footer-social-icons {
    display: flex;
    gap: 1.25rem; /* Space between icons */
    margin-top: 1rem;
}

.footer-social-icons .dashicons {
    font-size: 24px;
    color: #a7d1a7;
    transition: color 0.2s ease-in-out;
}

.footer-social-icons a:hover .dashicons {
    color: #ffffff;
}

/* Copyright Section */
.ast-builder-footer-copyright-wrap {
    text-align: center;
    padding: 20px 15px;
    margin-top: 20px;
    border-top: 1px solid #4a4a4a;
}

.new-inquiry {
    width: 100%;
    margin-top: 5%;
}
