/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Hello Elementor child theme.
Author: Aleksandar Krstic
Author URI: https://example.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.rtl {
    direction: rtl;
}

.lh105 {
    line-height: 105%;
}

.e-con.e-con > .e-con-inner > .elementor-widget.home-text {
    max-width: 765px;
    margin: 0 auto;
    min-height: 197px;
}

html, body {
    margin: 0;
    padding: 0;
}

body.home {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.e-con.home-main {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.home-button > a.elementor-button {
   height: 50px;
   width: 216px;
}

.form-header .elementor-widget-image a img[src$=".svg"] {
    width: auto;
    height: 94px;
}

#step1,
#step2,
#step3,
#step4,
#step5 {
    display: none;
}

.two-bgs {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: linear-gradient(to bottom, #08212F 0%, #08212F 50%, #0F405B 50%, #0F405B 100%);
}

.form-wrap.e-flex.e-con {
    padding: 0;
}

.form-wrap.e-flex.e-con > .e-con-inner {
    padding: 0;
}

.form-wrap.e-flex.e-con {
    min-height: calc(100vh - 114px);
    min-height: calc(100dvh - 114px);
    overflow: hidden;
}

.steps.elementor-widget.elementor-widget-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-wrap > .e-con:nth-child(1) {
    flex-basis: 40%;
}

.form-wrap > .e-con:nth-child(2) {
    flex-basis: 60%;
    padding-left: 46px;
    padding-right: 46px;
    padding-top: 130px;
}

/* Custom Accordion */
.custom-acc {
    direction: rtl;
}

.custom-acc-item {
    border-bottom: 1px solid #000000;
}

.custom-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    gap: 12px;
    transition: padding 0.3s ease;
}

.custom-acc-item.is-open .custom-acc-header {
    padding-bottom: 12px;
}

.custom-acc-arrow img {
    width: 24px;
    height: 24px;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-acc-arrow img.arrow-open {
    display: none;
}

.custom-acc-item .arrow-closed {
    opacity: 1;
}

.custom-acc-item.is-open .arrow-closed {
    display: none;
    opacity: 0;
}

.custom-acc-item.is-open .arrow-open {
    display: block;
    opacity: 1;
}

.custom-acc-title {
    text-align: right;
    font-weight: 700;
    font-size: 24px;
    font-family: "Assistant";
    width: fit-content;
}

.custom-acc-prefix {
    color: #000000;
    font-weight: 400;
    font-size: 24px;
    font-family: "Assistant";
}

.custom-acc-item.is-open .custom-acc-prefix {
    font-weight: 700;
}

.custom-acc-item.is-open .custom-acc-title {
    border-bottom: 6px solid #088DD0;
}

.custom-acc-item .custom-acc-title {
    top: 3px;
    position: relative;
    border-bottom: 6px solid transparent;
}

.custom-acc-content {
    font-family: "Assistant";
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.custom-acc-content > .custom-acc-content-inner {
    overflow: hidden;
    min-height: 0;
}

.custom-acc-item.is-open .custom-acc-content {
    grid-template-rows: 1fr;
    padding: 0 0 23px;
    opacity: 1;
}

.custom-acc-content-text {
    margin-bottom: 20px;
    line-height: 1.3;
    color: #000000;
    font-family: "Assistant";
}

.custom-acc-content-text.wp-content p {
    margin: 0 0 1em;
}

.custom-acc-content-text.wp-content h1,
.custom-acc-content-text.wp-content h2,
.custom-acc-content-text.wp-content h3,
.custom-acc-content-text.wp-content h4,
.custom-acc-content-text.wp-content h5,
.custom-acc-content-text.wp-content h6 {
    margin: 1.2em 0 0.6em;
    line-height: 1.3;
}

.custom-acc-content-text.wp-content ul,
.custom-acc-content-text.wp-content ol {
    margin: 0 0 1em;
    padding-right: 1.5em;
}

.custom-acc-content-text.wp-content li {
    margin-bottom: 0.5em;
}

.custom-acc-content-text.wp-content img {
    max-width: 100%;
    height: auto;
}

.custom-acc-content-text.wp-content blockquote {
    margin: 0 0 1em;
    padding-right: 1em;
    border-right: 3px solid #088DD0;
}

.custom-acc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.custom-acc-btn {
    background: #050359;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 11px;
    padding: 12px 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-acc-footer-text {
    flex: 1;
    text-align: right;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    font-family: "Assistant";
}

.form-title.elementor-widget.elementor-widget-text-editor {
    width: fit-content;
    margin-left: auto;
}

button.custom-acc-btn,
button.custom-acc-btn:hover {
    background-color: #050359;
    border-radius: 11px;
    border-color: #050359;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    height: 39px;
    width: 176px;
    text-align: center;
    font-family: "Assistant";
    padding-top: 6px;
}

.large-button a.elementor-button {
    height: 50px;
    width: 267px;
}

/* Custom Popup */
.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-popup-overlay.is-active {
    display: flex;
    opacity: 1;
}

.custom-popup {
    background: #021B82;
    max-width: 628px;
    width: 90%;
    position: relative;
    padding: 35px 40px 18px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-popup-overlay.is-active .custom-popup {
    transform: scale(1);
}

.form-title p {
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    color: #FFFFFF;
    font-family: "Assistant";
    text-align: center;
}

button.custom-popup-close,
button.custom-popup-close:hover {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 48px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 23px;
    z-index: 1;
    padding: 0;
    line-height: 0;
    height: 22px;
}

.custom-popup form.wpcf7-form {
    margin-top: 20px;
    text-align: center;
    direction: rtl;
}

.custom-popup .wpcf7 input[type="email"] {
    direction: rtl;
}

.custom-popup form.wpcf7-form label.name{
    margin-top: 37px;
}

.custom-popup form.wpcf7-form label {
    width: 100%;
    max-width: 381px;
}

.custom-popup form.wpcf7-form .two-items-label {
    font-family: "Assistant";
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    color: #FFFFFF;
}

.custom-popup form.wpcf7-form .two-items-label p {
    margin-bottom: 0;
}

.custom-popup form.wpcf7-form select {
    height: 42px;
    padding-top: 1px;
}

.custom-popup form.wpcf7-form input,
.custom-popup form.wpcf7-form select,
.custom-popup form.wpcf7-form textarea {
    border-radius: 0;
}

label.two-items-inputs > .wpcf7-form-control-wrap,
label.two-items-inputs > .wpcf7-form-control-wrap > .wpcf7-radio {
    width: 100%;
    display: inline-block;
}

label.two-items-inputs > .wpcf7-form-control-wrap > .wpcf7-radio > .wpcf7-list-item {
    width: 49%;
    background: #ffffff;
    padding: 8px 0;
    margin: 0;
    line-height: 0;
}

label.two-items-inputs > .wpcf7-form-control-wrap > .wpcf7-radio > .wpcf7-list-item.last {
    margin-right: 2%;
}

label.two-items-inputs > .wpcf7-form-control-wrap > .wpcf7-radio > .wpcf7-list-item > label > span {
    position: relative;
    top: 0;
    color: #0F405B;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 400;
}

.custom-popup input::placeholder {
    color: #0F405B;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 400;
}

.custom-popup input::-moz-placeholder {
    color: #0F405B;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 400;
}

.custom-popup select,
.custom-popup select option {
    color: #0F405B;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 400;
}

.custom-popup form.wpcf7-form p {
    margin-bottom: 16px;
}

.custom-popup .wpcf7-spinner {
    display: none;
}

.custom-popup input[type=submit] {
    color: #ffffff;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 700;
    background-color: #FCA1D3;
    border-radius: 11px;
    border: none;
    width: 119px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    margin-top: 21px;
    padding: 0;
}

.custom-popup input[type=submit]:hover {
    color: #ffffff;
    font-family: "Assistant";
    font-size: 24px;
    font-weight: 700;
    background-color: #FCA1D3;
    border-radius: 11px;
    border: none;
}

/* Popup open state */
body.popup-open .two-bgs {
    background: #08212F url('/wp-content/themes/hello-elementor-child/img/popbg.png') no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body.popup-open .steps {
    display: none !important;
}

.custom-popup .wpcf7 form.sent .wpcf7-response-output {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.custom-popup .wpcf7 form.invalid .wpcf7-response-output {
    border-color: #FCA1D3 !important;
    color: #FCA1D3 !important;
}

.custom-popup .wpcf7-not-valid-tip {
    color: #FCA1D3 !important;
}

#step3 {
    width: 60%;
}

@media only screen and (max-width: 1024px) {
    .home-main.e-flex.e-con-boxed {
        background-size: cover !important;
        background-position: center center !important;
        padding: 0;
        margin: 0;
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-header {
        padding-top: 30px !important;
    }

    .home-title {
        font-size: 20px !important;
    }

    .home-text,
    .home-text-2,
    .home-button > a > span > span,
    .large-button > a > span > span  {
        font-size: 16px !important;
    }

    .home-button > a.elementor-button {
        height: 38px;
        width: 157px;
    }

    .home-text-2 {
        margin-top: 60px;
    }

    .home-button {
        margin-top: 10px !important;
        margin-bottom: 30px !important;
    }

    .form-header {
        display: none !important;
    }

    .form-wrap,
    .form-wrap > .e-con-full {
        display: block !important;
    } 

    .form-wrap > .e-con-full.two-bgs {
        height: 45vh;
    }

    .form-title {
        font-size: 30px !important;
        margin: 0 auto !important;
    }

    .form-wrap > .e-con:nth-child(2) {
        padding-top: 14px;
    }

    .custom-acc-prefix,
    .custom-acc-title {
        font-size: 18px;
    }

    .custom-acc-header {
        padding: 6px 0;
    }

    .custom-acc-item {
        margin-top: 28px;
    }

    .large-button {
        margin-top: 48px !important;
    }

    .custom-acc-footer {
        display: block !important;
    }

    .custom-acc-btn {
        margin-top: 21px;
    }

    .large-button a.elementor-button {
        height: 38px;
        width: 197px;
    }

    .steps {
        width: 70% !important;
    }
}