@font-face {
    font-family: 'extralight';
    src: url(./assets/fonts/Aa_RagSans-Cellcom-Light.ttf);
}

@font-face {
    font-family: 'regular';
    src: url(./assets/fonts/Aa_RagSans-Cellcom-Regular.ttf);
}

@font-face {
    font-family: 'semiBold';
    src: url(./assets/fonts/Aa_RagSans-Cellcom-SemiBold.ttf);
}

@font-face {
    font-family: 'black';
    src: url(./assets/fonts/RAG-Sans-1.2-Black.ttf);
}

@font-face {
    font-family: 'extraBold';
    src: url(./assets/fonts/Aa_RagSans-Cellcom-ExtraBold.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.html,
body {
    height: 100%;

}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #9631ff;
}

.header {
    aspect-ratio: 640/699;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    justify-content: space-between;
     background-image: url("./assets/images/bg-mob.jpg");
        background-size: 100% auto;
        background-position: bottom;
        background-repeat: no-repeat;
}

.logo {
    width: 31.237vw;
    padding-right: 3.12vw;


}

.text-header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    
    width: 100%;
    padding-right: 5vw;
     padding-bottom: 40vw;
   
}

.text-1 {
    background-color: #F4FE7E;
    font-family: 'regular';
    color: #9631FF;
    font-size:7vw;
    line-height: 100%;
    padding: 0.4vw 1vw;
    width: fit-content;
    direction: rtl;
}

.text-2 {
    background-color: white;
    font-family: 'extraBold';
    color: #9631FF;
    font-size:8vw;
    padding: 0.35vw 1vw;
    width: fit-content;
    direction: rtl;
    text-align: center;      
    display: inline-block;
    vertical-align: middle;
}
.text-2 span {
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}
.text-below {
    font-size: 6.864vw;
    font-family: 'bold';
    background-color: white;
    color: #9631FF;
    padding: 1.8vw 1vw;
    margin-top: 0vw;
    margin-right: 4.708vw;
}

.form {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 11vw;
}
.top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 2.781vw;
}
.text-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6.25vw;
}

.text-header-below {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.text-3 {
    font-family: 'extraBold';
    font-size: 8vw;
    background-color:#F4FE7E ;
    color: #9631FF;
    padding: 0.2vw 1vw;
    direction: rtl;
}
.highlight{
    font-size: 12vw;
}
.text-4 {
    font-family: 'extraBold';
    font-size:7vw;
    background-color: white;
    color: #9631FF;
    margin-bottom: 3.75vw;
    padding: 0.565vw 1.465vw;
    direction: rtl;
    margin-bottom: 7vw;
}

.text-5 {
    font-family: 'extraBold';
    font-size: 7vw;
    /* color: #9631FF; */
    color: #9631FF;
    direction: rtl;
    text-align: center;
    margin-top: 4vw;
    display: block;
}
.text-6 {
    margin-top: 6vw;
    color: #9631FF;
    font-family: 'extraBold';
    background-color: #F4FE7E; 
    font-size: 7vw;
    direction: rtl;
    text-align: center;
}
.text-6 + .text-6 {
    margin: 0.5vw 0 0 0;
}

form {
    margin-top: 3.75vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fields {
    display: flex;
    flex-direction: column-reverse;
    gap: 3vw;
    margin-bottom: 3.75vw;
}

.fields input {
    width: 88.3vw;
    height: 12.5vw;
    border: 1px solid #BDBCBE;
    border-radius: 1.7vw;
    direction: rtl;
    padding-right: 3.75vw;
    font-family: 'regular';
    font-size: 3.75vw;
}

.checkbox-container {
    display: flex;
    flex-direction: row;
    align-self: center;
    text-align: center;
    width: 85%;
}

.checkbox-container label {
    font-size: 3.13vw;
    font-family: 'extralight';
    direction: rtl;
    color: #716F73;
}

.checkbox-container label a {
    color: inherit;
}

.checkbox2-container {
    direction: rtl;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-self: center;
    text-align: center;
    width: 88.3%;
    padding: 4vw;
    gap: 2vw;
}
.checkbox2-container label {
    font-size: 5vw;
    font-family: 'semibold';
    direction: rtl;
    color: #716F73;
}


.checkbox {
    min-width: 5.03vw;
    width: 5.03vw;
    height: 5.03vw;
    margin: 0 0.5em;
    position: relative;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    border: 0.5vw solid white;
    border-radius: 1vw;
    transition: all 0.2s ease;
}

.checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1vw;
    height: 2vw;
    border: solid rgb(255 255 255);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    transition: transform 0.2s ease;
    opacity: 0;
}

.checkbox:checked::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
    opacity: 1;
}

.connect-button {
    width: 88.44vw;
    height: 11.5vw;
    background-color: #9631FF;
    border: 0 transparent;
    border-radius: 10vw;
    margin-top: 3.75vw;
    margin-bottom: 3.75vw;
    direction: rtl;
    font-family: 'extraBold';
    font-size: 5vw;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    gap: 3.75vw;
}

.call-button {
    width: 88.44vw;
    color: black;
    height: 11.5vw;
    background-color: white;
    border: 0.3vw #9631FF solid;
    border-radius: 10vw;
    direction: rtl;
    font-family: 'extraBold';
    font-size: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    position: relative;
}

.arrow {
    width: 5vw;
}

.phone {
    width: 6vw;
}

.masqyoo {
    position: absolute;
    height: 100%;
    width: 100%;
    color: transparent;
}

.footer {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    background-color: white;
}

.formMessage {
    font-size: 4.5vw;
    color: #9631FF;
    margin-top: 5.727vw;
    font-family: 'extraBold';
}

.boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6.25vw;
    z-index: 1;
}

.box {
    text-align: center;
    width: 75vw;
}

.text-top {
    font-family: 'extraBold';
    font-size: 7.5vw;
    color: #9631FF;
    background-color: white;
    border-top-left-radius: 2vw;
    border-top-right-radius: 2vw;
    padding: 3vw 1vw;
    direction: rtl;
}

.text-bottom {
    font-family: 'extraBold';
    font-size: 12.5vw;
    color: #F4FE7E;
    background-color: #9631FF;
    border-bottom-left-radius: 2vw;
    border-bottom-right-radius: 2vw;
    padding: 4vw 1vw;
    direction: rtl;
}

.terms-text {
    color: #716F73;
    font-family: 'regular';
    text-align: center;
    font-size: 4.907vw;
    line-height: 124%;
    margin-top: 2.424vw;
    margin-bottom: 1.818vw;
    margin-right: 1.5vw;
    margin-left: 1.5vw;
}

.terms-text a {
    color: #716F73;
}

.terms-link {
    color: black;
    text-decoration: underline;
}

.error {
    outline: 1px solid tomato ;
}

.error::placeholder {
    color: tomato;
}

.leadThankMessage {
    color: white;
    display: none;
    position: relative;
    top: 40%;
    font-size: 1.5vw;
    text-align: center;
}

.thanksMessage {
    margin-top: 3vw;
    font-size: 8vw;
    font-family: 'extraBold';
    color: #9631FF;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 9vw;
}

.mobile {
    display: flex;
}

.desktop {
    display: none;
}

@media screen and (min-width: 768px) {


    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
      
        grid-template-areas:
            "form header"
            "form footer";

        min-height: 100vh;
        grid-template-rows: 1fr auto;

    }


    .header {
        grid-area: header;
        width: 65vw;
        background-image: url("./assets/images/bg-desk.jpg");
        background-size: 100% auto;
        aspect-ratio: 1225 / 836;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        aspect-ratio: unset;
        align-items: center;
        gap: 25vw;
    }

    .text-header-container {
        align-items: flex-end;
        justify-content: flex-end;
        margin-top: 3vw;
        padding-right: 3vw;
        padding-bottom: unset;
    }

    .text-header-below {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-self: flex-start;
        margin-left: 2vw;
        padding-bottom: 0.4vw;
    }

    .text-1 {
        font-size: 3.297vw;
        line-height: 100%;
        padding: 0vw 1vw;
    }

    .text-2 {
        font-size: 4.24vw;
        font-family: 'extraBold';
        padding: 0vw 1vw;
        text-align: center;      
        display: inline-block;
    }
    .text-3{
        font-size:3.293vw;
        padding:0 1vw;
        line-height: 0.8; 
    }
    .highlight {
        vertical-align: baseline;
        font-size: 6.585vw; 
    }
    .text-4{
        font-size: 3.293vw;
        padding: 0vw 1vw;
        margin-bottom: 0vw;
       
    }
    .form {
        grid-area: form;
        aspect-ratio: unset;
        padding: unset;
        background-color: white;
    }

    .logo {
        width: 20.042vw;
        margin-top: unset;
        margin-right: unset;
        padding-right: unset;
    }

    .top {
        margin-top: 7.24vw;
        flex-direction: row;
        gap: 8.5vw;
        justify-content: center;
    }

    .bravo {
        width: 8.073vw;
        position: static
    }

    .text-form-container {
        margin-top: 1vw;
        
    }

  

    .text-5 {
        font-size: 2.5vw;
        padding: 0.5vw;
        font-family: 'extraBold';
        margin: 1vw 0 0 0;
    }
    .text-6 {
        margin: unset;
        margin: 1vw 0;
        font-size: 2.5vw;
    }
    .text-6 + .text-6 {
        margin: -0.5vw 0 0 0;;
    }

    form {
        margin-top: 1.25vw;
    }

    .fields {
        flex-direction: column-reverse;
        gap: 0.621vw;
        margin-bottom: 0.83vw;
    }

    .formMessage {
        font-family: 'extraBold';
        font-size: 1.238vw;

        margin-top: -1vw;
        color: #9631FF;
    }


    .fields input {
        width: 25.333vw;
        height: 3.506vw;

        border-radius: 0.5vw;
        direction: rtl;
        padding-right: 1.25vw;
        font-family: 'regular';
        font-size: 1.25vw;
    }

    .checkbox-container {
        display: flex;
        flex-direction: row;
        width: 82%;
    }

    .checkbox-container label {
        font-size: 1.04vw;
        font-family: 'extralight';
        direction: rtl;
        color: #716F73;
    }
    .checkbox2-container {
        align-items: center;
        width: 25.333vw;
        padding: 1vw 0 0.5vw 0;
        gap: 0.5vw;
    }
    .checkbox2-container label {
        font-size: 1.25vw;
        cursor: pointer
    }

    .checkbox {
        min-width: 1.5vw;
        width: 1.5vw;
        height: 1.5vw;
        border: 0.17vw solid white;
        border-radius: 0.3vw;
        margin: 0 0.4em;
    }

    .checkbox::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.3vw;
        height: 0.6vw;
        border: solid rgb(255 255 255);
        border-width: 0 2px 2px 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
        transition: transform 0.2s ease;
        opacity: 0;
    }

    .checkbox:checked::after {
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
        opacity: 1;
    }

    .connect-button {
        width: 26.48vw;
        height: 4vw;
        background-color: #9631FF;
        border: 0 transparent;
        border-radius: 10vw;
        margin-top: 0.83vw;
        margin-bottom: 0.83vw;
        direction: rtl;
        font-family: 'extraBold';
        font-size: 1.67vw;
        display: flex;
        color: white;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .call-button {
        width: 29.48vw;
        height: 4.32vw;
        background-color: transparent;
        border: 0 transparent;
        border-radius: 10vw;
        direction: rtl;
        font-family: 'regular';
        font-size: 1.67vw;
        display: flex;
        align-items: center;
        gap: 0.5vw;

        justify-content: center;
        color: #504F4E;
        margin-bottom: 3.47vw;
    }

    .masqyoo {
        width: unset;
        height: unset;
        position: unset;
    }

    .call-button a {
        color: #504F4E;
        text-decoration: underline;
        font-family: inherit;
    }

    .arrow {
        width: 2vw;
        margin-right: -3vw;
    }

    .footer {
        width: 100%;
        grid-area: footer;
        aspect-ratio: unset;
        background: unset;
        background-color: #9631FF;
        align-items: flex-end;
        
        align-self: flex-start;
    }

    .text-top {
        font-family: 'extraBold';
        font-size: 1.25vw;
        color: #F4FE7E;
        background-color: #9631FF;
        border-top-left-radius: 1vw;
        border-top-right-radius: 1vw;
        padding: 1vw 0;
    }

    .text-below {
        font-size: 3.021vw;
        background-color: white;
        color: #9631FF;
        font-family: 'extraBold';
        padding: 0.3vw 1.042vw;
        margin-top: 0vw;
        margin-right: 0vw;
    }

    .terms-text {
        width: 100%;
        color: white;
        margin-right: 1vw;
        font-size: 1.25vw;
        margin: unset;
        text-align: center;
        padding: 1.5vw 0 0.3vw 0;
    }

    .terms-text a {
        color: white;
    }

    .thanksMessage {
        font-size: 2.5vw;
        font-weight: bold;
        font-family: 'extraBold';
        color: #9631FF;
        text-align: center;
        padding: 0 2vw;
    }

    .leadThankMessage {
        display: none;
        position: relative;
        top: 0;
        font-size: 6vw;
        margin: 10vw 0;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: flex;
    }
}