:root {
    --primary-color: #6e4ea4;
    --body-color: #696969;
    --font-family: "Montserrat", sans-serif;
    --gradient: linear-gradient(160deg, #6E4EA4, #9D6BD2 50%, #6e30ac);
}
.calc-text-container a{
    color: var(--primary-color);
}
.header-container nav li a{
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
}
.heading {
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(160deg, #6e4ea4, #9d6bd2 50%, #6e30ac) !important;
    -webkit-background-clip: text !important;
     font-size: 36px;
  font-weight: 700;
    line-height: 120%;
    font-family: "Montserrat", Sans-serif;
    font-size: 35px;
    font-style: normal;
    padding-left: 10px;
    padding-right: 10px;
    margin: 35px 0 15px;
    padding-bottom: 20px;
}
.heading .sm-heading{
    display: block;
    background: transparent;
    box-shadow: inherit;
  font-size: 20px;
  font-weight: 400;
    -webkit-text-fill-color: var(--body-color) !important;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--body-color);
    position: relative;
    margin: 0;
}

.hidden,
.sticky {
    display: none;
}


.show-sticky {
    position: fixed;
    right: 5px;
    bottom: 5px;
    background: #6e4ea4;
    border-radius: 120%;
    width: 80px;
    height: 80px;
    text-align: center;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0px 2px 12px 6px #6e4ea4;
    display: flex;

}

.service {
    margin: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    background: #fff;
    /* padding: 0 20px; */

}

.sm-container {
    position: relative;
    padding-bottom: 10px;

}
.send-message-btn{
    z-index: 99;
    margin-top: 40px !important;
    height: 48px;
    line-height: 24px;
    text-transform: uppercase;
}
.sm-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;

    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 30%;
    border-bottom-left-radius: 30%;    
    background: #fff;

}

.calc-text-container {
    text-align: center;
    z-index: 9;
    position: relative;
}

.calc-text-container {
    margin: 0 auto;
    padding-bottom: 40px;
    display: block;
    padding-top: 40px;
}

.xs-container {
    position: relative;
    z-index: 99;
    padding: 20px 50px;
}

.calculator-container {
    background: #e9e8ea59;
    width: 80%;
    z-index: 99;
    position: relative;
    margin: 0 auto;
    padding: 20px;
    box-shadow:0px 0px 8px 1px #e4ddf0;
    border-radius: 2%;
}

header {
    display: flex;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.logo {
    /* Adjust the size as needed */
    width: 200px;
}

.contact a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 0;
}

.contact a:hover {
    background-color: #d1bff0;
}

nav ul li a {
    text-transform: uppercase;
    color: var(--body-color);
    font-family: var(--font-family);
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.service {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e8dbff6b;
    padding-bottom: 30px;
    padding-top: 16px;
}
.service:last-child{
    border-bottom: none;
    padding-bottom: 0;

}
.service:first-child{
    padding-top: 0;
}
#sendMessage:disabled{
    opacity: .7;
    cursor: auto;
}
.service .name,
.service .price,
.service .buttons {
    width: 100%;
}

.service .name {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--body-color);
    text-transform: capitalize;
}

.service .buttons {
    display: flex;
    justify-content: flex-end;
    justify-content: center;
    align-self: baseline;
}

.service .price {
    text-align: center;
    font-size: 20px;
    color: #6e4ea4;
    font-weight: bold;
    /* margin-bottom: 10px; */
    justify-content: center;
    align-self: baseline;
    margin: 17px 0 0 0;
}

.buttons button {
    border: #e8dbff;
    color: #6e4ea4;
    background: #e8dbff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    display: inline-flex;
    font-size: 26px;
    cursor: pointer;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0px;
}

.buttons button:hover {
    background: #935cf07a;
    color: #fff;
    border: #6e4ea4;
}

.icon-menu-mobile {
    display: none;
}
.services-a-list small,
.calc-text-container span {
    background: #e9e8ea59;
    box-shadow: 0px 0px 8px 1px #d1bff0;
    color: #6e4ea4;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
}
body .services-a-list{
    background: transparent;
    display: block;
    margin-top: 40px;
    box-shadow: inherit;
}
.services-a-list small{
   font-size: 12px;
   padding: 8px 15px;
   display: inline-block;
    margin-bottom: 13px;
}
nav span {
    display: flex;
}

.active-show-sticky {
    background: #fff;
    color: #6e4ea4;
}

.qty {
    display: flex;
    align-items: center;
    margin: 0 10px;
    background: #fff;
    box-shadow: 0px 0px 8px 1px #d1bff0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
}

.toast {
    position: fixed;
    top: 10px;
    /* position the toast at the top of the screen */
    right: 10px;
    padding: 10px 20px;
    background-color: #ff7a7a;
    color: #fff;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0px 2px 12px 6px #ff7a7a;
}

.calculate-form {
    display: none;
}

.show-form {
    display: block;
    background: #fff;
    box-shadow: 0px 0px 8px 1px #d1bff0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    height: auto; /* Adjust based on content */
    max-height: 90vh; /* Adjust to ensure it doesn't exceed the viewport height */
    overflow-x: hidden; /* Typically, horizontal scrolling isn't needed for forms */
    overflow-y: auto; /* Enables vertical scrolling if the content overflows */
    border-radius: 10px;
    padding: 20px; /* Add padding for internal spacing */
    box-sizing: border-box; /* Ensures padding doesn't affect the overall dimensions */

}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000b3;
    z-index: 99;
    display: none;
}

.active-overlay {
    display: block;
}

.close-form {
    float: right;
    background: #6e4ea4;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    border-radius: 100px;
    font-weight: bold;
    cursor: pointer;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 14px;
}

form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.send-message textarea,
.send-message select,
.send-message input {
    border-color: #e0d8d8;
    box-shadow: inherit;
    border-style: solid;
    border-width: 1px;
    box-shadow: inherit;
    border-radius: 5px;
    height: 45px;
    width: 100%;
    padding: 10px;
    font-family: var(--font-family);
    margin-bottom: 10px;
    box-sizing: border-box;
    color: #898989;
    font-size: 12px;
}
.send-message textarea{
    min-height: 100px;
    height: 100%;
    line-height: 150%;

}

.btn-style-custom {
    position: relative;
    text-align: center;
    border-radius: 100px !important;
    border-width: 0 !important;
    overflow: hidden;
    display: inline-block;
    position: relative;
    padding: 12px 30px 12px !important;
    background-color: inherit !important;
    color: #fff !important;
    cursor: pointer;
    text-align: center;
    float: none;
    display: flex;
    margin: 20px auto 35px;
}

.btn-style-custom span {
    color: #fff;
    position: relative;
    z-index: 99;
    font-family: var(--font-family);
    font-weight: 600;
}

.btn-style-custom::before {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    height: 100%;
    width: 0;
    opacity: 0;
    /* background-image: linear-gradient(to right, #c593f8, #7c2eca); */
    transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: -1;
}

.btn-style-custom:hover::after {
    left: -100%;
}

.btn-style-custom::after {
    display: block !important;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 100px;
    transition: all .3s ease-in-out;
    /* background-image: linear-gradient(to right, #6E4EA4, #9D6BD2, #2b1640) !important; */
    background-image: linear-gradient(to right, #6E4EA4, #9D6BD2, #6e30ac) !important;
    /* background-image: linear-gradient(to left, #c593f8, #7c2eca) !important; */

}
.send-message textarea:focus,
.send-message select:focus,
.send-message input:focus {
    box-shadow: 0px 0px 8px 1px #d1bff0;
    outline: transparent;
}

.form-offer h2 {
    text-align: center;
    padding-bottom: 25px;
    padding-top: 20px;
}

/* Hide the default checkbox input */
.input-hidden {
    visibility: hidden;
    position: absolute;
}

/* Custom Checkbox Styling */
.checkbox-label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

.checkbox-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--primary-color);
    border-radius: 100px;
    background-color: #fbf9f9;
}


.privacyPolicy-unchecked[type="checkbox"][required] {
    /* Custom styles for required checkboxes */
    accent-color: #ff7a7a; /* Example: changes the checkmark color in some browsers */
}

/* Custom checkbox appearance */
.privacyPolicy-unchecked[type="checkbox"][required] + label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #ff7a7a; 
    border-radius: 100px;
    vertical-align: middle;
}
/* When the checkbox is checked, add a custom graphic */
.privacyPolicy-unchecked[type="checkbox"][required]:checked + label::before ,
.input-hidden:checked+.checkbox-label:before {
    background: url('/calculate/check-com.svg') no-repeat center center;
    background-size: 100%;
    border: 1px solid var(--primary-color)
}
.checkbox-label sup{
    display: inline-block;
    font-size: 15px;
    position: absolute;
    right: -8px;
    color: #ff7a7a; 
}
.s-eerr{
    font-size: 11px;
    color: #ff7a7a; 
    font-style: italic;
    margin: 0;
    padding: 0;
}
.checkbox-label:hover,
.checkbox-label a:hover {
    color: var(--primary-color);
}
#selectedServicesList{
    width: 100%;
    text-align: left;
}
#selectedServicesList h3{
    padding-left: 10px;
}
#selectedServicesList{
    background: #d1bff07d;
    margin: 20px 0;
    padding: 10px 0;
}
.services-info ul,
#selectedServicesList ul{
    padding-left: 28px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    align-self: center;

}

.services-info ul li,
#selectedServicesList ul li{
    font-family: var(--font-family);
    position: relative;
    padding-left: 20px;
    text-transform: capitalize;
    font-weight: 400;
    color: var(--primary-color)
}
.services-info ul {
    padding-left: 0;
    margin: 0;
}
.services-info ul li{
    padding: 2px 0 0 0;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    line-height: 140%;
    padding-left: 10px;
}
.services-info ul li::before,
#selectedServicesList ul li::before{
    display: inline-block;
    content: "";
    background: var(--primary-color);
    border-radius: 100px;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 8px;
}
.services-info ul li::before{
    width: 6px;
    height: 6px;
}
.services-info ul li::marker,
#selectedServicesList ul li::marker{
    font-size:0;
}

.calc-text-container p {
    font-size: 16px;
    line-height: 150%;
}
.col-name-p{
    width: 100%;
    align-items: center;
    display: flex;
}
.service .buttons{
    width: auto;
    margin: 13px 0 0 0;
}
.service .buttons .button-plus::after,
.service .buttons .button-minus::after{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
.service .buttons .button-minus::after{
    background: url('/calculate/minus.svg');
}
.service .buttons .button-plus::after{
    background: url('/calculate/plus.svg');
}
.services-info{
    display: block;
    padding-top: 8px;
}
#success-message{
    background: #229a41;
    display: block;
    position: relative;
    z-index: 99;
    text-align: center;
    color: #fff;
    padding: 3px;
    margin: 0 auto 25px;
    border-radius: 100px;
    width: 80%;
}
#success-message p{
    color: white;
    display: block;
    font-size: 16px;
    z-index: 999;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}
.warning-materiale{
    font-size: 13px;
    background: #ff7a7a;
    color: #fff;
    padding: 10px;
    margin-top: 16px;
}
.warning-materiale::before{
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(/calculate/warning.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0;
    background-position: center center;
    vertical-align: middle;
}
@media only screen and (max-width: 998px) {
    .xs-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .calc-text-container{
        padding-top: 40px;
    }
    .heading{
        line-height: 100%;
    }
    .icon-menu-mobile {
        display: block;
        background-image: url('/calculate/menu-icon.svg');
        background-size: contain;
        margin-right: 10px;
        width: 30px;
        height: 30px;
        background-repeat: no-repeat;
        cursor: pointer;

    }
    .calc-text-container .heading{
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 0;
        padding-bottom: 20px;
        padding-top: 15px;
        font-size: 50px;
    }
    .calc-text-container p {
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container {
        padding: 0;
    }

    nav {
        display: none;

    }

    .contact {
        display: inline-flex;
        align-items: center;
    }

    .active {
        display: block;
    }

    .icon-menu-mobile.close {
        background-image: url(/calculate/close.svg);
        background-size: contain;
        margin-right: 0;
        width: 25x;
        height: 25px;
        background-repeat: no-repeat;
        z-index: 99999999;
        position: absolute;
        display: block;
        cursor: pointer;
        right: 20px;
        top: 19px;
    }

    .active ul {
        display: block;
        background: #5c359ae8;
        padding: 0;
        position: fixed;
        height: 100vh;
        z-index: 9999999;
        width: 100vw;
        left: 0;
        right: 0;
        text-align: 0;
        top: 0;
        margin: 0;
    }
    .col-name-p .name{
        text-transform: capitalize;
    }
    .nav,
    .icon-menu-mobile {
        transition: all 0.3s ease;
    }

    .active ul span {
        position: absolute;
        top: 10%;
        width: 100%;
        display: block;
        padding-left: 32px;
        padding-top: 30px;

    }

    .hide-desk {
        display: block;
        width: 100%;
        padding: 20px 40px;
        background: transparent;
        bottom: 9px;
        align-items: center;
        position: absolute;

    }

    .active span a,
    .active span li {
        display: block;
        padding-left: 0;
        width: 100%;
        color: #fff;
    }

    .active span a:hover {
        color: #e8dcff;
    }

    .ic {
        display: inline-flex;
        width: 30px;
        height: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.3s ease;
    }

    .ic:hover {
        opacity: .6
    }

    .facebook {
        background-image: url('/calculate/fb.svg');
        margin-left: 20px;
        margin-right: 20px;
    }

    .linkedin {
        background-image: url('/calculate/ln.svg');

    }

    .insta {
        background-image: url('/calculate/in.svg');

    }

    .calculator-container {
        z-index: 9;
    }
}

@media (max-width:650px) {
    .calc-text-container p{
        font-size: 15px;
    }
    .calc-text-container{
        line-height: 130%;
    }
    .calc-text-container{
        padding-bottom: 30px;
    }
    .calc-text-container .heading{
        font-size: 35px;
    }
    .heading .sm-heading{
        font-size: 30px;
        line-height: 120%;
    }
    .form-offer {
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;
        display: block;
        float: none;
    }

    .calculator-container {
        padding-top: 0;
        padding-bottom: 0;

    }

    .service {
        padding-bottom: 25px;
        padding-top: 0;
    }
    .service:first-child{
        padding-top: 10px;

    }
    .service:last-child{
        padding-bottom: 14px;
    }

    .sticky {

        width: 60px;
        height: 60px;
        font-size: 14px;
    }
    .col-name-p{
        width: 85%;
        flex-direction: column;
    }
    .col-name-p .name{
        margin-bottom: 6px;
    }
    .services-info{
        padding-bottom: 20px;
    }
    .col-name-p .price{
        margin-top: 0;
        text-align: left;
        font-weight:bold;
    }
    .service .buttons{
        width: 40%;
        justify-content: right;
        align-self: flex-end;
    }

}

@media (max-width:500px) {
    .show-form {
        width: 90%;
    }

    .service .name,
    .service .price,
    .service .buttons button {
        font-size: 18px;
    }
   
    .contact{
        padding-left: 20px;
    }

}