/*
 Theme Name: safeairtech
 Theme URI: safeairtech.tividev.pro
 Author: tividev
 Author URI: @tividev
 Description: SafeAirTech Website wordpress theme
 Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:opsz@14..32&display=swap');

@font-face {
    font-family: 'HeadingNow';
    /*src: url('/wp-content/themes/safeairtech/fonts/Headingnow.woff2') format('woff2');*/
    src: url('/wp-content/themes/safeairtech/fonts/HeadingNow-56-Bold-upd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
html {
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1B1B1A;
}
  

ul, ol {
    list-style: none;
}
  
a {
    text-decoration: none;
    color: inherit;
}
  
button, input, textarea {
    border: none;
    outline: none;
    font: inherit;
}
  
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* DEFAULT */

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 44px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 12px 24px;
    background-color: #FFCB1F;
    color: #1B1B1A;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.1);
    width: fit-content;
    gap: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #FFE079;
}


.mob-active {
    display: none;
}

main {
    min-height: 70vh;
}

/*.hero {*/
/*    padding: 40px 0;*/
/*}*/

.heading-font {
    font-family: 'HeadingNow';
}

/* HEADER */

header {
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 0;
    z-index: 999;
}

.header-logo .logo {
    width: 196px;
    height: auto;
}

.header-nav {
    position: relative;
}

.header-nav .header-menu {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.header-nav a {
    font-weight: 600;
    font-size: 16px;
}

.has-submenu {
    display: flex;
    gap: 6px;
    align-items: center;
    position: relative;
}

.has-submenu:after {
    content: '';
    width: 120%;
    height: 6px;
    background-color: #0F0F0E;
    position: absolute;
    bottom: -35px;
    left: -10%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.has-submenu.active:after {
    opacity: 1;
}


.has-submenu .submenu-arrow {
    transform: translateY(1px);
    transition: all 0.2s ease;
}

.has-submenu.active .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 54px;
    left: -75px;
    padding: 24px 64px;
    box-sizing: border-box;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    width: fit-content;
    background: #fff;
    box-shadow: 0 3000px 0 3000px rgba(27,27,26,0.7);
    display: flex;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 998;
}

.has-submenu:hover .submenu {
    opacity: 1;
    pointer-events: all;
}

.submenu.active {
    opacity: 1;
    pointer-events: all;
}

.submenu-item {
    padding: 20px 0 40px 20px;
    box-sizing: border-box;
    box-shadow: inset 0px 0px 0px 1px rgba(219,219,219,1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 254px;
    background: #fff;
    transition: background-color 0.2s ease;
}

.submenu-item:hover {
    background-color: #F4F4F4;
}

.submenu-item-title {
    font-family: 'HeadingNow';
    text-transform: uppercase;
    font-size: 27px;
    line-height: 27px;
}

.submenu-item-description ul {
    flex-direction: column;
    gap: 0;
}

.submenu-list-item {
    font-size: 16px;
    line-height: 28px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.submenu-item-link p {
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;    
}

.header-right {
    display: flex;
    gap: 44px;
    align-items: center;
}

.header-tel {
    font-family: 'HeadingNow';
    font-size: 28px;
}

.header-btn {
    gap: 20px;
}

.header-right-mob {
    display: none;
}

.burger {
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    display: block;
    transform: scale(0.7);
    transform-origin: center right;
}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #161616;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .2s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}
  
.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}
  
.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}
  
.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}
  
.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

.mob-toggler {
    display: none;
    font-family: 'HeadingNow';
    text-transform: uppercase;
    font-size: 32px;
}

/* HEADER */

/* FOOTER */

footer {
    background: #1B1B1A;
    color: #fff;
    padding: 44px 0;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
}

.footer-h3 {
    font-family: 'HeadingNow';
    text-transform: uppercase;
    font-size: 28px;
    line-height: 28px;
    margin-bottom: 32px;
}

.subscribe-form {
    width: 50%;
    order: 2;
    display: flex;
    justify-content: flex-end;
}

.subscribe-email {
    font-size: 14px;
    color: #111;
    padding: 15px 14px;
    box-sizing: border-box;
    background: #FCFCFC;
    border-radius: 4px;
    width: 380px;
}

.subscribe-form form {
    display: flex;
    gap: 14px;
}

.subscribe-email::placeholder {
    color: #7E919F;
}

.submit-btn {
    gap: 20px;
    cursor: pointer;
}

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    row-gap: 54px;
    width: 50%;
    order: 1;
}

.footer-nav {
    width: 50%;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu li {
    font-size: 18px;
}

.footer-menu li a {
    transition: opacity 0.2s ease;
}

.footer-menu li a:hover {
    opacity: 0.4;
}


.work-hours {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    opacity: 0.5;
    gap: 8px;
}

.work-hours br {
    padding: 4px 0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'HeadingNow';
    font-size: 44px;
    line-height: 1;
    gap: 14px;
}

.footer-bottom {
    margin-top: 44px;
    display: flex;
}

.footer-bottom-left, .footer-bottom-right {
    width: 50%;
    display: flex;
}

.footer-bottom-left {
    align-items: flex-end;
}

.footer-social {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 50%;
}

.footer-fb-icon {
    width: 54.45px;
    height: 54.45px;
}

.footer-whup-icon {
    width: 175px;
    height: auto;
}

.footer-copyright {
    width: 50%;
}

.copyright-text {
    opacity: 0.5;
    font-size: 14px;
}

.footer-bottom-right {
    justify-content: flex-end;
}

.footer-bottom-logos {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-logo {
    filter: invert(1);
    transform: translateY(3px);
}


/* FOOTER */

@media (max-width: 1240px) {

    /* DEFAULT */

    .container {
        padding: 0 32px;
    }

    /* DEFAULT */

    /* HEADER */

    .header-nav .header-menu {
        gap: 24px;
    }

    .header-right {
        gap: 16px;
    }

    .header-tel {
        font-size: 22px;
    }

    /* HEADER */

    /* FOOTER */

    .subscribe-email {
        width: 320px;
    }

    /* FOOTER */
}


@media (max-width: 1024px) {

    /* DEFAULT */

    .container {
        padding: 0 26px;
    }

    /* DEFAULT */

    /* HEADER */

    .header-right, .header-nav {
        display: none;
    }

    .header-right-mob {
        display: flex;
    }

    .mob-toggler {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        min-height: calc(100vh - 90px);
        box-sizing: border-box;
        padding: 40px 26px 56px 26px;
        flex-direction: column;
        justify-content: space-between;
        display: none;
        box-shadow: inset 0px -32px 0px 0px rgba(255,203,31,1);
    }

    .mob-toggler.active {
        display: flex;
    }

    .mob-menu {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .mob-menu > li {
        padding-bottom: 32px;
        box-shadow: inset 0px -1px 0px 0px rgba(219,219,219,1);
    }

    .has-submenu-mob {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .has-submenu-mob a {
        flex: 1;
        transform: translateX(0);
        transition: transform 0.2s ease;
    }

    .has-submenu-mob.active {
        flex-direction: row-reverse;
    }

    .submenu-mob-arrow.active {
        transform: rotate(180deg);
    }

    .has-submenu-mob.active > a {
        transform: translateX(26px);
    }
    
    .has-submenu-mob.active .submenu-item-link a {
        transform: none;
    }

    .submenu-mob {
        position: absolute;
        opacity: 1;
        box-shadow: none;
        width: 100%;
        gap: 0;
        justify-content: space-between;
        padding: 0 26px;
        left: 0;
        top: 140px;
        display: none;
    }
    
    /*.has-submenu-mob.active > .submenu-mob {*/
    /*    display: flex;*/
    /*}*/

    .submenu-mob.active {
        display: flex;
    }

    .mob-menu-item.hide {
        display: none;
    }

    .submenu-mob .submenu-item {
        width: 100%;
        background: #F4F4F4;
        box-shadow: none;
        border-radius: 4px;
        padding: 20px;
        gap: 12px;
    }

    .submenu-mob li {
        width: 49%;
    }

    .submenu-mob .submenu-item-description , .submenu-mob .submenu-item-link {
        font-family: "Inter Tight", sans-serif;
        text-transform: initial;
    }

    .submenu-mob .submenu-item-description li {
        width: 100%;
    }

    .header-btn-mob {
        margin-top: 44px;
        font-family: "Inter Tight", sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-transform: initial;
        width: fit-content;
    }

    .header-btn-mob.hide {
        display: none;
    }

    .mob-contacts {
        display: flex;
        flex-direction: column;
    }

    .mob-contacts a {
        text-transform: initial;
        font-size: 40px;
    }

    .mob-social {
        margin-top: 24px;
        display: flex;
        gap: 24px;
        align-items: center;
    }

    /* HEADER */

    /* FOOTER */

    footer {
        padding-top: 0;
        padding-bottom: 27px;
        box-sizing: border-box;
    }

    footer .container {
        padding: 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .subscribe-form {
        order: 1;
        width: 100%;
        justify-content: flex-start;
        background: #FFCB1F;
        padding: 34px 26px;
        box-sizing: border-box;
    }

    .subscribe-content {
        width: 100%;
    }

    .subscribe-content .footer-h3 {
        color: #1B1B1A;
        margin-bottom: 20px;
    }

    .subscribe-form form {
        gap: 16px;
    }

    .subscribe-email {
        width: 100%;
        flex: 1;
    }

    .subscribe-submit {
        background: #1B1B1A;
        color: #fff;
    }

    .subscribe-submit svg {
        filter: invert(1);
    }

    .footer-navigation {
        margin-top: 34px;
        width: 100%;
        padding: 0 26px;
        box-sizing: border-box;
    }

    .footer-middle {
        margin-top: 74px;
        padding: 0 26px;    
    }

    .footer-contacts {
        align-items: flex-start;
    }

    .footer-bottom {
        padding: 0 26px;
        margin-top: 32px;
        box-sizing: border-box;
    }

    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-social, .footer-copyright {
        width: 100%;
    }

    .footer-bottom-logos {
        flex-direction: column-reverse;
    }

    /* FOOTER */
}

@media (max-width: 767px) {
    
    /* DEFAULT */
    
    .container {
        padding: 0 14px;
    }

    /* DEFAULT */

    /* HEADER */

    .mob-toggler {
        padding: 24px 14px 42px 14px;
        font-size: 27px;
        box-shadow: inset 0px -24px 0px 0px rgba(255,203,31,1);
    }

    .mob-menu {
        gap: 24px;
    }

    .mob-menu > li {
        padding-bottom: 24px;
    }

    .submenu-mob {
        flex-direction: column;
        gap: 8px;
        top: 110px;
        padding: 0 14px;
    }

    .submenu-mob li {
        width: 100%;
    }

    .mob-contacts {
        margin-top: 32px;
    }

    .mob-contacts a {
        font-size: 24px;
    }

    .mob-contacts.hide {
        display: none;
    }

    /* HEADER */

    /* FOOTER */

    footer {
        padding-bottom: 20px;
        
    }

    .subscribe-form {
        padding: 34px 14px 40px 14px;
    }

    .subscribe-content .footer-h3 {
        margin-bottom: 22px;
        font-size: 28px;
    }

    .subscribe-form form {
        gap: 0;
    }

    .subscribe-email {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .footer-navigation {
        margin-top: 44px;
        padding: 0 14px;
    }

    .footer-h3 {
        font-size: 24px;
    }

    .footer-menu li {
        font-size: 16px;
    }

    .footer-contacts {
        font-size: 24px;
    }

    .footer-middle {
        margin-top: 84px;
        padding: 0 14px;
        
    }

    .footer-bottom {
        padding: 0 14px;
        flex-direction: column;
        position: relative;
    }

    .footer-bottom-left, .footer-bottom-right {
        width: 100%;
    }

    .footer-bottom-logos {
        flex-direction: row;
        margin-top: 32px;
        margin-bottom: 64px;
        width: 100%;
    }

    .footer-copyright {
        position: absolute;
        bottom: 0;
        left: 0;
        padding-left: 14px;
        box-sizing: border-box;
    }

    /* FOOTER */
}


/* HOVERS */

.underline {
    position: relative;
    width: fit-content;
}

.submenu-item-link span {
    position: relative;
}

.underline:after, .submenu-item-link span:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0F0F0E; 
    transition: width 0.2s ease; 
}


.underline:hover::after, .submenu-item:hover .submenu-item-link span:after {
    width: 100%;
}


/* FORM DEFAULT */

.form-title {
    font-family: 'HeadingNow';
    color: #1B1B1A;
    font-size: 32px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-form {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.form-left, .form-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-right {
    gap: 4px;
}

.form-left p, .form-right p {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-left p br, .form-right p br, .form-bottom p br {
    display: none;
}

.form-bottom {
    display: flex;
    flex-direction: column;
}

.contact-fields p {
    display: flex;
    flex-direction: row;
}

.contact-fields span[data-name="phone"] {
    width: calc(70% - 4px);
}

.contact-fields span[data-name="zip"] {
    width: calc(30% - 4px);
}

.phone-field {
    width: 100%;
}

.zip-field {
    width: 100%;
}

.form-field {
    background: #FCFCFC;
    border-radius: 4px;
    font-size: 14px;
    padding: 15px 14px;
    box-sizing: border-box;
    color: #1B1B1A;
    transition: box-shadow 0.2s ease;
}

.form-field:focus {
    box-shadow: inset 0px 0px 0px 2px rgba(126,145,159,1);
}

.wpcf7-not-valid {
    box-shadow: inset 0px 0px 0px 2px rgba(254,45,45,1);
}

.form-field::placeholder, .wpcf7-select {
    color: #7E919F !important;
}

.wpcf7-select:focus {
    border: none !important;
    color: #000 !important;
    outline: none;
    box-shadow: none;
}

.wpcf7-select {
    border: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    background-image: url('/wp-content/themes/safeairtech/images/select-icon.svg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 95%;
    cursor: pointer;
}

.wpcf7-select option {
    padding: 12px;
}

.fullwh-field {
    width: 100%;
}

.contact-fields {
    display: flex;
    gap: 8px;
}

/*.phone-field {*/
/*    width: calc(70% - 4px);*/
/*}*/

/*.zip-field {*/
/*    width: calc(30% - 4px);*/
/*}*/

.message-field {
    min-width: 100%;
    max-width: 100%;
    height: 125px;
    max-height: 125px;
    min-height: 125px;
}

.form-bottom p {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-submit {
    margin-top: 24px;
    color: #fff;
    background-color: #1B1B1A;
    cursor: pointer;
    padding: 12px 24px;
    display: flex;
    align-items: center;
}

.form-submit:hover {
    background-color: #474848;
}

.wpcf7-spinner, .screen-reader-response, .wpcf7-response-output {
    display: none;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.wpcf7-not-valid-tip {
    position: absolute;
    right: 14px;
    top: 14px;
    transform: translateY(-50%);
    font-size: 12px;
    color: red;
}

.form-submit svg {
    filter: invert(1);
}

.recaptcha-text {
    color: #1B1B1A;
    line-height: 1.3;
    font-size: 12px;
    padding-top: 20px;
}


/* SERVICE SELECT FORM */

.service-select, .time-select {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.service-select .placeholder, .time-select .placeholder {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #7E919F;
    padding-bottom: 14px;
    padding: 14px 15px 14px 15px;
    z-index: 2;
}

.select-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 43px;
    background: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none;
    max-height: 266px;
    overflow-y: scroll;
    z-index: 2;
}

.select-options::-webkit-scrollbar-track
{
	-webkit-box-shadow: none;
	border-radius: 10px;
	background-color: #F5F5F5;
    margin-right: 20px;
}

.select-options::-webkit-scrollbar
{
	width: 5px;
	background-color: #F5F5F5;
}

.select-options::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: none;
    background-color: #7E919F;
}

.service-field svg, .time-field svg {
    transition: all 0.2s ease;
}

.service-field.active svg, .time-field.active svg {
    transform: rotate(180deg);
}

/*.service-field {*/
/*    transition: box-shadow 0.2s ease;*/
/*    border-radius: 4px;*/
/*}*/

.service-field.active {
    /*box-shadow: inset 0px 0px 0px 2px rgba(126,145,159,1);*/
}

.select-options {
    transition: box-shadow 0.2s ease;
}

.select-options.active {
    display: flex;
    flex-direction: column;
}

.hidden-field {
    display: none;
}

.option-item {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #EBEBEB;
}

.select-value {
    display: block;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    max-width: 85%;
}

/*CUSTOM CHECKBOX*/

.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox label {
  position: relative;
  width: 25px;
  height: 25px;
  transform: translateX(-4px);
}

.custom-checkbox label:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 17px;
  height: 17px;
  background: url('/wp-content/themes/safeairtech/images/select-check.svg');
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-checkbox input:checked + label:after {
  opacity: 1;
}

.custom-checkbox span {
  font-size: 15px;
  color: #000;
  font-weight: 300;
  padding: 14px 15px;
  width: 85%;
}

.custom-checkbox span.active {
    color: #F3A705;
}

.custom-checkbox input:checked span {
    color: red;
}

/* POPUPS */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.popup-overlay.thanks, .popup-overlay.form, .popup-overlay.new-form {
    display: flex;
}

.popup-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thanks-popup {
    background: #FFF;
    color: #1B1B1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 80px 0;
    width: 50%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 40px;
    border-left: 12px solid #FFCB1F;
    box-sizing: border-box;
    position: relative;
    display: none;
}

.popup-overlay.thanks .thanks-popup  {
    display: flex;
}

.popup-overlay.form .form-popup {
    display: flex;
}

.popup-overlay.new-form .new-form-popup {
    display: flex;
}

.thanks-popup h2 {
    text-transform: uppercase;
    font-size: 32px;
    line-height: 1;
    text-align: center;
}

.thanks-close, .form-close, .new-form-close {
    position: absolute;
    right: -80px;
    top: 0;
    background: #7E919F33;
    border-radius: 100%;
    padding: 20.4px;
    cursor: pointer;
    z-index: 999999;
    display: flex;
}

.form-popup {
    background: #FFF;
    color: #1B1B1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 40px;
    border-left: 12px solid #FFCB1F;
    box-sizing: border-box;
    position: relative;
    display: none;
}

.new-form-popup {
    background: #FFF;
    color: #1B1B1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 40px;
    border-left: 12px solid #FFCB1F;
    box-sizing: border-box;
    position: relative;
    display: none;
}

.form-popup .form-field, .form-popup .service-select, .form-popup .select-options {
    background: #F6F6F6;
}

.form-popup .hero-form-content {
    padding: 80px 0;
    width: 780px;
}

.form-popup .hero-form {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.form-popup .form-left, .form-popup .form-right {
    width: calc(50% - 4px);
}

.form-popup .form-bottom {
    width: 100%;
}

.form-popup .form-title, .form-popup .recaptcha-text {
    color: #1B1B1A;
}

.form-popup .form-submit {
    background: #1B1B1A;
    color: #fff;
}

.form-popup .form-submit svg {
    filter: invert(0);
}

.form-popup .message-field  {
    max-height: 155px;
    height: 155px;
}

@media (max-width: 1024px) {
    .thanks-popup, .form-popup {
        width: 75%;
    }
    
    
    .form-popup .hero-form {
        flex-direction: column;
    }
    
    .form-popup .form-left, .form-popup .form-right, .form-popup .form-bottom {
        width: 100%
    }
    
    .form-popup .hero-form-content {
        width: 380px;
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    
    .thanks-close {
        right: 0; 
        top: -80px;
    }
    
    .form-close, .new-form-close {
        top: 0;
        right: 0;
        background: none;
        filter: invert(1);
    }
    
    .thanks-popup, .form-popup {
        width: 95%;
    }
    
    .form-popup .hero-form-content {
        width: 90%;
        padding: 40px 0;
    }
}


/*NEW FORM*/

.new-form .contact-details {
    display: flex;
    flex-direction: column;
}
