.custom-hs-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: opacity 0.25s ease, visibility 0.25s ease;
    -o-transition: opacity 0.25s ease, visibility 0.25s ease;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.custom-hs-popup.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-hs-popup__overlay {
    position: absolute;
    inset: 0;
    background: #00000066;
}

.custom-hs-popup__dialog {
    position: relative;
    max-width: 648px;
    width: 100%;
    /*max-height: calc(100vh - 40px);*/
    margin: 0px auto;
    background: #fff;
    border-radius: 10px;
    /*overflow: auto;*/
    z-index: 2;
    padding: 40px;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: -webkit-transform 0.25s ease;
    transition: -webkit-transform 0.25s ease;
    -o-transition: transform 0.25s ease;
    transition: transform 0.25s ease;
    transition: transform 0.25s ease, -webkit-transform 0.25s ease;
}

.custom-hs-popup.is-active .custom-hs-popup__dialog {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.custom-hs-popup__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent !important;
    font-size: 32px !important;
    line-height: 9px !important;
    cursor: pointer;
    color: #2E2C2C !important;
    padding: 0 !important;
    border: none !important;
    z-index: 2;
}

.custom-hs-popup__content {
    min-height: 1px;
}

body.custom-hs-popup-open {
    overflow: hidden;
}

.popup-title,
.custom-hs-popup__dialog .hsfc-RichText p:first-child {
    margin: 0;
    margin-bottom: 32px;
    color: #2E2C2C;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 28px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 28px !important;
}

.custom-hs-popup__dialog .hsfc-RichText p:first-child strong {
    font-weight: 500;
}

.custom-hs-popup__dialog .hsfc-RichText p:first-child br {
    display: none;
}

.custom-hs-popup__dialog .hsfc-RichText p:nth-child(2) {
    color: #2E2C2C;
    font-family: 'Inter', sans-serif;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px !important;
    margin: 0;
    text-align: center;
}

.custom-hs-popup__dialog .hsfc-RichText p:nth-child(3) {
    display: none !important;
}

.pop-form-style .hsfc-Step__Content > div:has(h1) {
    display: none !important;
}

.pop-form-style .hsfc-Step__Content {
    padding: 0 !important;
}

.pop-form-style .hsfc-ErrorAlert {
    color: #F00 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.pop-form-style .hsfc-Row {
    margin-bottom: 31px !important;
    gap: 20px !important;
}

.pop-form-style .hsfc-NavigationRow {
    margin-top: 50px !important;
    padding-top: 0px !important;
}

.pop-form-style .hsfc-NavigationRow__Buttons {
    text-align: center;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.pop-form-style .hsfc-NavigationRow__Buttons button {
    border-radius: 14px;
    background: #CEFE3C;
    border: 2px solid #CEFE3C !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 15px 39px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color: #000;
    font-family: "IBM Plex Mono", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    width: auto !important;
}

.pop-form-style .hsfc-NavigationRow__Buttons button:hover {
    background: transparent !important;
    border: 2px solid #CEFE3C !important;
    color: #000 !important;
}

.pop-form-style .hsfc-Row label {
    color: #2E2C2C;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 5px !important;
}

.pop-form-style .hsfc-Row label .hsfc-FieldLabel__RequiredIndicator {
    color: #F00;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.pop-form-style input {
    border-radius: 8px !important;
    border: 1px solid #CBD6E2 !important;
    background: #F5F8FA !important;
    color: #2E2C2C !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.pop-form-style .hsfc-DropdownInput > input {
    padding-right: 40px !important;
}

.pop-form-style .hsfc-PhoneField input {
    border-radius: 0 8px 8px 0 !important;
    border-left: 0 !important;
}

.pop-form-style .hsfc-PhoneInput__FlagAndCaret {
    border: 1px solid #CBD6E2 !important;
    background: #F5F8FA !important;
    border-radius: 8px 0px 0px 8px !important;
    border-right: 0 !important;
}

.custom-hs-popup__dialog:has(.hsfc-RichText) .popup-title {
    display: none;
}

.pop-form-style .hsfc-Row:has(>.hsfc-RichText) {
    margin-bottom: 0 !important;
    gap: 0 !important;
}

@media (max-width: 767px) {
    .custom-hs-popup {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .custom-hs-popup__dialog {
        max-height: none;
        margin: 0;
        border-radius: 0;
    }
	
	.popup-title span {
		display: none;
	}
	
	.pop-form-style input {
		    padding: 7px 10px !important;
	}
	
	.pop-form-style .hsfc-Row {
		margin-bottom: 20px !important;
	}
	
	.pop-form-style .hsfc-NavigationRow {
		margin-top: 30px !important;
	}
	
	.pop-form-style .hsfc-Row label {
		font-size: 14px;
		line-height: 18px;
			margin-bottom: 3px !important;
	}
}

/* animations */

.fade-left {
    opacity: 0;
    transform: translateX(10px);
    animation: moveleft 0.3s ease-out forwards;
    animation-delay: 0.3s;
}

.fade-left2 {
    opacity: 0;
    transform: translateX(10px);
}

.fade-right2 {
    opacity: 0;
    transform: translateX(-10px);
}

.fade-right2.animated {
    animation: moveright 0.3s ease-out forwards !important;
}

.fade-left2.animated {
    animation: moveleft 0.3s ease-out forwards !important;
}

@keyframes moveleft {
    0% { opacity: 0; transform: translateX(10px); }
    100% { opacity: 1; transform: translateX(0px);  }
}

@keyframes moveright {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0px);  }
}

.text-up {
    opacity: 0;
    animation: moveup 0.3s ease-out forwards;
}

@keyframes moveup {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px);  }
}

.text-up2 {
    opacity: 0;
}

.text-up2.animated {
    animation: moveup 0.3s ease-out forwards !important;
    animation-delay: 0.4s !important;
}

.d-1,
.d-1.animated {
    animation-delay: 0.1s !important;
}

.d-2,
.d-2.animated {
    animation-delay: 0.2s !important;
}

.d-3,
.d-3.animated {
    animation-delay: 0.3s !important;
}

.d-4,
.d-4.animated {
    animation-delay: 0.4s !important;
}

.d-5,
.d-5.animated {
    animation-delay: 0.5s !important;
}

.d-6,
.d-6.animated {
    animation-delay: 0.6s !important;
}

@keyframes moveup {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px);  }
}

@keyframes fadetext {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

body.elementor-editor-active .fade-left,
body.elementor-editor-active .fade-left2,
body.elementor-editor-active .fade-right,
body.elementor-editor-active .fade-right2,
body.elementor-editor-active .text-up,
body.elementor-editor-active .text-up2 {
    opacity: 1!important;
}