/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* Style the wrapper to align elements inline */

.wpcf7 {
    padding-top: 20px;
    width: 100%; /* Make sure it takes the full parent width */
    max-width:1280px;
    display: flex;
    justify-content: center; /* Center the form horizontally */
}

.wpcf7 p {
    float: left;
    margin: 0 0 70px 0; /* Remove any default margins */
}

.wpcf7-form {
    position: relative;
} 


.wpcf7-response-output {
    width: auto!important;
    left: 0px!important;
    top: 15%!important;
    opacity: 0;
    right: 20%!important;
}

/* Style the input field */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
    height: 50px;
    font-size: 16px;
    padding: 0 15px;
    border: 2px solid #333;
    border-radius: 5px;
    outline: none;
    flex: 1; /* Makes input take up available space */
    min-width: 200px; /* Prevents it from being too small */
}

/* Style the submit button */
.wpcf7 input[type="submit"] {
    height: 50px;
    font-size: 16px;
    padding: 0 20px;
    background-color: green;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    white-space: nowrap; /* Prevents text from wrapping */
}

.wpcf7 input[type="submit"]:hover {
    background-color: #34c759 ;
}

#wpcf7-f21-o1 .wpcf7-not-valid-tip {
    display:none;
}

.wpcf7-response-output {
    position: absolute;
    width: 100%;
    left: 20px;
    top: 106%; /* Place it right below the form */
    opacity: 0;
    visibility: hidden;
    padding-left: 3px;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* When the form has a response message */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    opacity: 1;
    visibility: visible;
}

.title-padding {
    padding-top: 30px;
    padding-bottom: 30px;
}

.title-distance-top {
    margin-top: 5%;
}

.clear-both {
    clear:both;
}

.chat-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.chat-buttons a img {
    width: 70px; /* Adjust size */
    height: 70px;
    transition: transform 0.2s ease-in-out;
}

.chat-buttons a img:hover {
    transform: scale(1.2); /* Slight zoom effect */
}

.collapsible-section {
    margin-bottom: 20px; /* Add spacing */
}

.toggle-text {
    display: inline-block;
    color: white; /* Change to your theme's link color */
    cursor: pointer;
}

.toggle-text:focus {
    background: none;
}

.additional-text {
    margin-top: 10px;
}

.wpcf7-submit {
   background-color: var(--wp--preset--color--contrast)!important;
    border-radius: 6px!important;;
    border-color: var(--wp--preset--color--contrast)!important;
    border-width: 0!important;;
    color: var(--wp--preset--color--base)!important;
    font-family: var(--wp--preset--font-family--heading)!important;
    font-size: var(--wp--preset--font-size--small)!important;
    font-style: normal!important;
    font-weight: 500!important;
    line-height: inherit!important;
    padding-top: 0.8rem!important;
    padding-right: 1.6rem!important;
    padding-bottom: 0.98rem!important;
    padding-left: 1.6rem!important;
    text-decoration: none!important;
    margin-top:2px;
}

input[type="submit"].wpcf7-submit:hover,
input[type="submit"].wpcf7-submit:focus {
    background-color: var(--wp--preset--color--contrast-2) !important;
    border-color: var(--wp--preset--color--contrast-2) !important;
    color: var(--wp--preset--color--base) !important;
}


@media (min-width: 768px) { /* Apply only on tablets and larger screens */
    .wp-block-latest-posts__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Three equal columns */
        gap: 20px; /* Space between items */
    }
    .wp-block-latest-posts__list li {
        list-style: none; /* Remove bullet points */
        padding: 15px;
    }
}

.single-wpm-testimonial .wp-block-post-featured-image :where(img) {
  width: 150px; /* or thumbnail size */
  height: 150px;
  border-radius: 50%;
  display: block;
  margin: 0 auto -50px;
}


@media (max-width: 768px) { /* Apply only on smaller screens */
    .chat-buttons a img {
        width: 35px; /* Adjust size */
        height: 35px;
    }
    
    .wpmtst-testimonial-content .readmore {
        font-size:0.7em;
    }
    
    .wpcf7 p {
        float: left;
        margin: 0 0 20px 0;
    }    
    
    /* Style the input field */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"] {
        width: 90%;
    }
    
    .single-wpm-testimonial .wp-block-post-featured-image :where(img) {
       margin: 0 auto 4%;
    }
    
    .wpcf7-response-output {
    position: relative;
    width: auto;
    padding-left: 0px;
    display: block;
    clear: both;
    top: 0%!important;
}
    
}