/* 
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 */
.dialog-close-button:focus-visible {
    outline: none;
}

.dialog-close-button {
    padding: 10px;
    border-radius: 6px;
}

/*Menu Style*/
.header-menu ul.sub-menu {
    padding: 28px 24px !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 1px rgba(0, 0, 0, 0.15) !important;
}

.header-menu ul.sub-menu .menu-item:not(:last-child) {
    margin-bottom: 18px;
}

.header-menu ul.sub-menu .menu-item .elementor-sub-item {
    border: none !important;
    font-family: Satoshi !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 25px;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    transition: 0.5s;
}

.header-menu ul.sub-menu .menu-item:hover .elementor-sub-item {
    border-bottom: 2px solid var(--e-global-color-accent) !important;
}

.m-mobile .menu-item a {
    line-height: 25px !important;
}

.m-mobile .elementor-nav-menu>li:not(:last-child),
.m-mobile .menu-item-has-children>a,
.m-mobile .elementor-nav-menu .sub-menu li:not(:last-child) {
    margin-bottom: 18px;
}

/*.m-mobile .has-submenu {
    width: 100%;
    justify-content: space-between;
}*/

.single-service {
    width: calc((100% - 24px) / 4);
    box-shadow: -5px 44px 12px 0 rgba(0, 0, 0, 0.00), -3px 28px 11px 0 rgba(0, 0, 0, 0.01), -2px 16px 9px 0 rgba(0, 0, 0, 0.05), -1px 7px 7px 0 rgba(0, 0, 0, 0.09), 0 2px 4px 0 rgba(0, 0, 0, 0.10) !important;
}

.jb-3-col .single-service {
    width: calc((100% - 16px) / 3);
}

.jb-3-col .elementor-cta__bg.elementor-bg {
    background-position: top center;
}

.jb-3-col .single-service .elementor-cta__content {
    top: 214px;
}

.single-service .elementor-cta__content {
    position: absolute;
    left: 8px;
    /* top: 280px; */
    top: 250px;
    width: calc(100% - 16px);
    border-radius: 8px;
    height: calc(100% - 16px);
    transition: 0.5s;
}

.single-service:hover .elementor-cta__content {
    top: 8px;
}

.single-service .elementor-cta__bg-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 54.59%, rgba(0, 0, 0, 0.80) 100%) !important;
}

.single-service .elementor-icon svg path {
    fill: var(--e-global-color-405c64a);
}

.single-service:hover .elementor-icon svg path {
    fill: var(--e-global-color-accent);
}

.single-service .elementor-cta__button-wrapper {
    position: absolute;
    bottom: 20px;
}

.about-jhon .elementor-cta__content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.about-jhon .elementor-cta__content:before {
    content: '';
    backdrop-filter: blur(7px);
    mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.00) 100%) !important;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.swiper-wrapper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.6;
}

.review-slide .swiper-pagination {
    display: flex;
    align-items: center;
}

.review-slide .swiper-pagination-bullet {
    border: 1px solid var(--e-global-color-primary);
    background: transparent;
    opacity: 1;
    width: 12px;
    height: 12px;
}

.review-slide .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--e-global-color-primary);
    width: 15px;
    height: 15px;
}

.review-slide .elementor-image-box-img {
    background: rgba(10, 73, 43, 0.2);
    border-radius: 50%;
}

/*Contact Page*/
#contact-form .wpforms-container {
    margin: 0;
}

#contact-form .wpforms-field-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px 24px;
}

#contact-form .wpforms-field-container .wpforms-field {
    flex: 0 0 100%;
    max-width: 100%;
}

#contact-form .wpforms-field-container .wpforms-field.half-width {
    flex: 0 0 calc(50% - 12px);
}

#contact-form .wpforms-field {
    padding: 0;
}

#contact-form .wpforms-field-label {
    margin-bottom: 0;
    background: var(--e-global-color-405c64a);
    padding: 2px 4px;
    position: absolute;
    top: 15px;
    left: 11px;
    transition: 0.5s;
}

#contact-form .wpforms-field-container .wpforms-field.active .wpforms-field-label {
    top: -10px;
    font-size: 80%;
}

#contact-form .wpforms-field-label,
#contact-form input,
#contact-form textarea {
    font-family: Satoshi;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form .wpforms-uploader:focus-within {
    box-shadow: none;
    border-color: #0A492B66;
}

#contact-form .wpforms-submit {
    height: unset !important;
    padding: 12px 32px !important;
    font-family: Manrope !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    border-radius: 6px !important;
}

#contact-form .wpforms-uploader.dz-clickable {
    border-radius: 4px;
    border: 1px solid #0A492B;
    padding: 12px;
}

#contact-form .dz-message {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-radius: 2px;
    border: 1px dashed #0A492B;
    background: rgba(10, 73, 43, 0.10);
}

#contact-form .dz-message svg {
    margin-bottom: 0;
    opacity: 1;
    width: 52px;
    height: 52px;
}

#contact-form .dz-message .modern-title {
    color: #183023;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.footer-social ul li .elementor-icon-list-icon:hover {
    transform: scale(1.06);
}

.footer-social ul li .elementor-icon-list-icon {
    transition: all 0.3s;
}

.single-service .elementor-cta__content .elementor-cta__description,
.single-service .elementor-cta__content .elementor-cta__button-wrapper {
    opacity: 0;
}

.single-service:hover .elementor-cta__description,
.single-service:hover .elementor-cta__button-wrapper {
    opacity: 1;
}

#contact-form em.wpforms-error {
    margin-top: 10px;
}

@media all and (max-width: 1151px) and (min-width: 1049px) {
    .header-menu .elementor-nav-menu--main li:not(:last-child) a.elementor-item {
        margin-inline-end: 10px !important;
    }

    .header-menu .elementor-nav-menu--main li:not(:first-child) a.elementor-item {
        margin-inline-start: 10px !important;
    }
}

@media all and (max-width: 1049px) {
    .cont_btn .mobile-menu {
        display: block;
    }

    .logo_sec .header-menu {
        display: none;
    }

    .cont_btn .mobile-menu .elementor-icon-wrapper .elementor-icon {
        padding: 12px;
    }
}

@media only screen and (max-width: 1024px) {

    .single-service,
    .jb-3-col .single-service {
        width: calc((100% - 16px) / 2);
    }
}

@media all and (max-width: 770px) {

    #contact-form .wpforms-field {
        overflow-x: visible;
    }
}

@media all and (max-width: 440px) {

    .single-service,
    .jb-3-col .single-service {
        width: 100%;
    }

    .single-service .elementor-cta__content {
        top: 260px !important;
    }

    .jb-3-col .single-service .elementor-cta__content {
        top: 245px !important;
    }

    .single-service:hover .elementor-cta__content {
        top: 8px !important;
    }

    .review-slide .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .review-slide .elementor-image-box-title {
        margin-top: 0;
    }
}