/* 
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 */

body {
    background-color: #F4EBDF;
}

/* Break-apart heading animation */
.break-apart {
    overflow: visible;
}

.break-apart__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.break-apart.is-in-view .break-apart__word {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .break-apart__word {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Swipe-up animation */
.su-anim {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .8s ease-out, transform 1s cubic-bezier(0.3, 0.7, 0.35, 1) !important;
}

.su-anim.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Formidable forms */
input[type="text"] {
    border-radius: 0;
}

input[type="email"] {
    border-radius: 0;
}

input[type="tel"] {
    border-radius: 0;
}

.forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid="open"] .forminator-row .forminator-no-margin .forminator-col {
    margin-bottom: 10px !important;
}

.forminator-field .forminator-button {
    width: 100%;
}

.forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid="open"] .forminator-col {
    padding: 0 !important;
}

.forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid="open"] .forminator-row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

#name-1 .forminator-row .forminator-col:nth-child(1) {
    padding-right: 5px !important;
}

#name-1 .forminator-row .forminator-col:nth-child(2) {
    padding-left: 5px !important;
}

.forminator-custom-form-348 .forminator-row:nth-child(3) {
    margin-bottom: 10px !important;
}

.forminator-row-last {
    margin-bottom: 0 !important;
}

/* Mega Menu */
.mb-mega-menu a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 3px;
    text-decoration-color: transparent;
}

.mb-mega-menu .current_page_item a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 3px;
    text-decoration-color: #ECAB1E;
}

.mb-mega-menu a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 3px;
    text-decoration-color: #ECAB1E;
}

.elementor-testimonial {
    height: 400px;
}

.elementor-testimonial__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 55%;
    padding: 30px;
}

.elementor-testimonial__footer {
    width: 45%;
}

.elementor-testimonial__image {
    display: flex;
    width: 100%;
    height: 100%;
}

.elementor-testimonial__image img {
    display: flex;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media (max-width: 768px) {
    .elementor-testimonial {
        height: fit-content;
        flex-direction: column-reverse !important;
    }

    .elementor-testimonial__content {
        width: 100%;
    }

    .elementor-testimonial__footer {
        width: 100%;
    }
}