.elementor-element.pro-hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 1264px;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.25));
    --speed: 1s;
}

.elementor-element.pro-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0d3754;
    border-radius: 25px;
    z-index: 0;
    width: 1200px;
    height: 596px;
    left: 50%;
    top: 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
    transition: 
        width var(--speed) ease-in-out,
        height var(--speed) ease-in-out,
        border-radius var(--speed) ease-in-out,
        box-shadow var(--speed) ease-in-out!important;
}

.elementor-element.pro-hero-section[data-frame="2"]::before,
.elementor-element.pro-hero-section[data-frame="3"]::before {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.pro-hero-section > .elementor-container,
.pro-hero-section .elementor-widget,
.pro-hero-section .elementor-element {
    position: relative;
    z-index: 5;
}

.elementor-element.pro-hero-section .elementor-element.pro-hero-mockup {
    position: absolute !important;
    left: 50%;
    top: 550px;
    width: 100%;
    max-width: 1117px!important;
    height: auto;
    margin: 0 !important;
    object-fit: cover;
    object-position: left top;
    display: block;
    z-index: 2;
    opacity: 0;
    transform: translate3d(-50%, 420px, 0);
    transition:
        opacity var(--speed) ease-in-out,
        transform var(--speed) ease-in-out;
    will-change: transform, opacity;
    pointer-events: none;
}

.elementor-element.pro-hero-section[data-frame="2"] .pro-hero-mockup,
.elementor-element.pro-hero-section[data-frame="3"] .pro-hero-mockup {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
    pointer-events: auto;
}

/* .elementor-element.pro-hero-section.pro-hero-section--snap,
.elementor-element.pro-hero-section.pro-hero-section--snap::before, */
.elementor-element.pro-hero-section.pro-hero-section--snap .pro-hero-mockup {
    transition: none !important;
}

@media (max-width: 1400px) {
    .pro-hero-section::before { 
        width: 65%; 
        height: 380px; 
    }
    .pro-hero-section[data-frame="2"]::before,
    .pro-hero-section[data-frame="3"]::before { 
        width: 100%; 
        height: 100%; 
    }
}

@media (max-width: 1100px) {
    .pro-hero-section::before { 
        width: 70%; 
        height: 360px; 
    }
    .pro-hero-section[data-frame="2"]::before,
    .pro-hero-section[data-frame="3"]::before { 
        width: 100%; 
        height: 100%; 
    }
    .pro-hero-mockup { 
        width: 820px; 
    }
}

@media (max-width: 860px) {
    .elementor-element.pro-hero-section { 
        min-height: auto; 
    }
    .elementor-element.pro-hero-section .elementor-element.pro-hero-mockup{
        position: relative!important;
        top: auto;
        transform: none;
        left: auto;
        
    }
    .elementor-element.pro-hero-section::before { 
        width: 100%; 
        height: 590px; 
        border-radius: 0;
        left: 0;
        transform: none;
    }
    .elementor-element.pro-hero-section[data-frame="2"]::before,
    .elementor-element.pro-hero-section[data-frame="3"]::before { 
        width: 100%; 
        height: 100%; 
    }
}
/* 
@media (max-width: 600px) {
    .pro-hero-section { 
        min-height: 440px; 
    }
    .pro-hero-section::before { 
        width: 80%; 
        height: 280px; 
        border-radius: 16px; 
    }
    .pro-hero-section[data-frame="2"]::before,
    .pro-hero-section[data-frame="3"]::before { 
        width: 100%; 
        height: 100%; 
        border-radius: 16px; 
    }
    .pro-hero-mockup { 
        width: 480px; 
    }
}

@media (prefers-reduced-motion: reduce) {
    .pro-hero-mockup {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
    .pro-hero-section::before { 
        transition: none !important; 
    }
} */
