/*
 Theme Name:   MoversGlobal
 Theme URI:
 Description:  MoversGlobal Child Theme based on Hello Elementor
 Author:
 Author URI:
 Template:     hello-elementor
 Version:      1.3.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  moversglobal
*/

/* Add your custom styles below this line */

.comments-area a, .page-content a {
    text-decoration: none !important;
}

.menu-title .elementor-heading-title:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100px;
    background-image: url(assets/img/border-shape-2.png);
}

.ml-auto {
    margin-left: auto !important;
}

.service-card {
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: all 0.2s ease;
}

.service-card > .elementor-element {
    height: 100%;
}

.service-card__description {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    align-items: center;
    display: flex;
    transform: translateY(100%);
}

.service-card:hover .service-card__description {
    transform: translateY(0);
}

/* YouTube video with fixed height */
.video-fixed-height {
    height: 700px; /* задайте нужную высоту */
    background: #000;
}

.video-fixed-height .elementor-wrapper,
.video-fixed-height .elementor-video-wrapper {
    height: 100% !important;
    padding-bottom: 0 !important; /* убираем стандартный aspect-ratio padding */
}

.video-fixed-height iframe {
    height: 100% !important;
    width: 100% !important;
}

.premium-button-style1,
.premium-button-style2,
.premium-button-style5,
.premium-button-style7,
.premium-button-style1:before,
.premium-button-style2:before,
.premium-button-style5:before {
    transition-duration: 0.25s !important;
}

.cities .elementor-icon-box-title {
    position: relative;
}

.cities .elementor-icon-box-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -21px;
    height: 2px;
    background: #0099CB;
    width: calc(100% + 21px);
    transition: all 0.3s ease;
}

.cities .elementor-icon-box-title:hover:after {
    width: 0;
}

.cities .elementor-icon-box-icon {
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.cities .elementor-icon-box-wrapper:hover .elementor-icon-box-icon {
    transform: rotate(0);
}

.modal-form .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
}

.modal-form .wpforms-field {
    width: 100% !important;
}

@media(min-width: 768px) {
    .modal-form .form-field-half {
        width: 48% !important;
    }
}

.modal-form .wpforms-field input,
.modal-form .wpforms-field select {
    min-width: 100% !important;
    border-radius: 0 !important;
}

.modal-form h3 {
    text-align: center;
}

.modal-form .wpforms-submit-container {
    text-align: center;
}

.premium-modal-box-modal-title {
    padding: 15px !important;
}


.btn-slide-primary {
    border-radius: 0 !important;
    background: var( --e-global-color-secondary ) !important;
    transition: all 0.35s ease;
    height: auto !important;
    padding: 18px 45px !important;
}

.btn-slide-primary span {
    position: relative !important;
    z-index: 10;
    font-family: "Poppins", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.btn-slide-primary:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    transition: all 0.5s ease;
    z-index: 1;
    background-color: var( --e-global-color-accent ) !important;
}

.btn-slide-primary:hover:before {
    width: 100%;
}

.learn-more {
    margin-top: auto !important;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card .elementor-icon-box-title {
    margin-top: 0 !important;
    position: relative;
    margin-bottom: 16px !important;
}

.feature-card .elementor-icon-box-title:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 100px;
    background-image: url(assets/img/border-shape-2.png);
}

.feature-card .number:before {
    position: absolute;
    content: '';
    width: 70px;
    height: 70px;
    border: 2px solid #e9e5df;
    background-color: #fff;
    top: 5px;
    left: 0;
    transition: .5s;
}
.feature-card .number p {
    z-index: 10;
    position: relative;
    width: 25px;
    height: 30px;
    background: #fff;
}

.feature-card .elementor-icon-box-icon {
    margin-top: 40px;
    background-color: #fff;
}

.feature-card .elementor-icon {
    border-color: #e9e5df !important;
}

.feature-card:hover .number:before {
    border-color: var( --e-global-color-secondary ) !important;
}

.feature-card:hover .elementor-icon {
    border-color: var( --e-global-color-secondary ) !important;
    background-color: var( --e-global-color-secondary ) !important;
}

.feature-card:hover .elementor-icon svg {
    color: #fff !important;
    fill: #fff !important;
}

.welcome-toggle {
    display: inline-block;
    color: #FE7644;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 30px;
    transition: opacity 0.2s;
}

.welcome-toggle:hover {
    opacity: 0.7;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .elementor-element{
    z-index: 10;
}

.hero-slider > .e-con-inner {
    padding: 0 !important;
}

.hero-slider .swiper {
    min-height: 250px;
    width: 100%;
}

@media(min-width: 992px) {
    .hero-slider .swiper {
        height: 65vh;
        min-height: 500px;
        display: block;
    }
}

.hero-slider .swiper-slide {
    overflow: hidden;
}

/* Slide content — hidden by default, animated on active */
.hero-slider .swiper-slide .hero-subtitle,
.hero-slider .swiper-slide .hero-title,
.hero-slider .swiper-slide .hero-divider,
.hero-slider .swiper-slide .hero-buttons {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

/* Active slide — cascade animation */
.hero-slider .swiper-slide-active .hero-subtitle {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slider .swiper-slide-active .hero-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slider .swiper-slide-active .hero-divider {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.hero-slider .swiper-slide-active .hero-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 1.2s;
}

/* Navigation buttons */
.hero-slider-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    gap: 0;
}

@media(max-width: 992px) {
    .hero-slider-nav {
        display: none;
    }
}

.hero-slider-nav button {
    padding: 12px 22px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var( --e-global-color-accent );
}

.hero-slider-nav .slider-next {
    background: var( --e-global-color-secondary );
}

.hero-slider-nav button:hover {
    opacity: 0.85;
}

.hero-slider-nav .slider-prev::before {
    content: '\2039';
    font-size: 20px;
    line-height: 1;
}

.hero-slider-nav .slider-next::after {
    content: '\203A';
    font-size: 20px;
    line-height: 1;
}

/* Dark overlay on slides */
.hero-slider .swiper-slide .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    pointer-events: none;
}

.hero-slider .swiper-slide .hero-slide > .e-con-inner {
    position: relative;
    z-index: 2;
}

/* More/Less welcome toggle */
#collapse-text,
.welcome-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

#collapse-text.is-open,
.welcome-collapse.is-open {
    opacity: 1;
}

.rate-movers {
    position: relative;
}

.rate-movers:after,
.rate-movers:before {
    position: absolute;
    top: 0;
    content: '';
    height: 15px;
    width: 10px;
    background-color: #15a157;
}

.rate-movers:before {
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    left: -9.5px;
}

.rate-movers:after {
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    right: -9.5px;
}

.rate-movers--secondary:after,
.rate-movers--secondary:before {
    background-color: #1f307b;
}

.eael-simple-menu-container.preset-1 {
    background: none;
    min-height: inherit;
}

#menu-our-rates {
    display: flex;
    justify-content: space-between;
    width: 100%
}

#menu-our-rates a {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    background: #fff;
    color: var( --e-global-color-primary );
    padding: 15px 30px;
    transition: all 0.35s ease;
    outline: 2px solid rgba(255, 255, 255, 0);
}

#menu-our-rates a:hover,
#menu-our-rates a.eael-item-active {
    color: var( --e-global-color-secondary );
    outline: 2px solid var( --e-global-color-secondary );
}

#menu-our-rates:after {
    content: none;
}

#menu-our-rates a i {
    margin-left: 30px;
    transform: rotate(45deg);
    transition: all 0.35s ease;
}

#menu-our-rates a:hover i,
#menu-our-rates a.eael-item-active i
{
    transform: rotate(0);
}

.parent-pageid-670 .page-content,
.page-id-670 .page-content {
    position: relative;
}

.parent-pageid-670 .page-content:after,
.page-id-670 .page-content:after {
    content: '';
    width: 100%;
    height: 820px;
    background-color: #f2f2f2;
    position: absolute;
    top: 0;
    z-index: -1;
}

.footer-menu i {
    margin-right: 15px;
}

.premium-modal-box-modal-close:hover {
    background: none !important;
    color: #ccc !important;
}

.wpforms-container {
    margin-bottom: 0 !important;
}

.main-menu .hfe-nav-menu a {
    transition: all 0.2s ease !important;
}

.main-menu .hfe-nav-menu a:hover {
    /*text-shadow: none !important;*/
}

.main-menu .hfe-nav-menu li:last-child a {
    padding-right: 0 !important;
}

header {
    position: sticky !important;
    top: 0;
    background: #fff;
}

.h-100 {
    height: 100% !important;
}

@media(max-width: 768px) {
    .feature-card > .elementor-widget-icon-box {
        margin-left: 35px !important;
    }

    .feature-card .number {
        position: absolute;
    }

    .logo-menu .site-logo img {
        height: 55px;
    }

    header .hfe-nav-menu-icon svg {
        fill: #fff !important;
        color: #fff !important;
    }

    .off-canvas-menu .premium-modal-box-modal-dialog {
        right: 0;
        min-height: 100vh;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #202020;
    }

    .off-canvas-menu .premium-modal-box-modal-dialog .elementor > .elementor-element {
        min-height: 100vh;
        background: #202020;
    }

    .off-canvas-menu .premium-modal-box-modal-dialog .e-con-inner {
        gap: 0;
        flex-wrap: nowrap;
    }

    .off-canvas-menu .premium-modal-box-modal-header {
        justify-content: end;
        padding-top: 15px;
    }

    .off-canvas-menu .hfe-site-logo-img {
        height: 55px;
    }

    .off-canvas-menu .menu-item {
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        padding-left: 15px;
    }

    .off-canvas-menu .hfe-has-submenu-container .hfe-menu-item {
        display: flex;
        justify-content: space-between !important;
    }
    .off-canvas-menu .hfe-menu-toggle {
        background: rgba(255, 255, 255, 0.10);
        transform: rotate(270deg);
        width: 32px;
        height: 32px;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .off-canvas-menu .sub-menu-active .hfe-menu-toggle {
        transform: rotate(180deg);
    }

    .header-buttons a,
    .header-buttons button {
        width: 100%;
        justify-content: center;
    }

    .google-rating .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
    }

    .google-rating .elementor-image-box-content {
        width: auto;
    }

    #menu-our-rates {
        flex-direction: column;
        gap: 1rem;
    }

    h1.elementor-heading-title {
        font-size: 2.5rem !important;
        padding: 3.75rem 0;
    }

    #menu-our-rates li a {
        display: flex;
        width: 100%;
        justify-content: space-between;
        font-size: 0.875rem;
        padding: 21px 30px;
    }
}

