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

/* Hide success container */
.success-container {
    display: none;
}

/* Popup Overlay */
.rm-popup-overlay{
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;
    background: rgba(0,0,0,.6);
    z-index: 999999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .3s ease, visibility .3s ease;
}

/* Show Popup */
.rm-popup-overlay.rm-popup-show{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Scrollable Elementor Container */
.rm-popup-overlay > .e-con-inner{
    width: 100%;
    max-width: 1200px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: scale(.95);
    transition: transform .3s ease;
}

/* Animation */
.rm-popup-overlay.rm-popup-show > .e-con-inner{
    transform: scale(1);
}

/* Close Button */
.rm-popup-close{
    position: absolute;
    top: 15px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 999;
}

/* Lock body scroll when popup is open */
body.rm-popup-open{
    overflow: hidden;
}

@media (max-width: 767px) {
    .elementor h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .elementor h2 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .elementor h3 {
        font-size: 21px !important;
        line-height: 1.3 !important;
    }

    .elementor h4 {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .elementor h5 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .elementor h6 {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}