.bg-lightpurple {
    background-color: var(--bs-lightpurple);
}

.font-size-lg {
    font-size: var(--font-size-lg);
}

.font-size-md {
    font-size: var(--font-size-md);
}

.font-weight-normal {
    font-weight: var(--font-weight-normal);
}

.font-wight-semiBold {
    font-weight: var(--font-weight-semiBold);
}

.leading-120 {
    line-height: var(--leading-120);
}

.leading-160 {
    line-height: var(--leading-160);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.pricing-card {
    border: 1px solid #814C9833;
    border-radius: 16px;
    padding: 10px;

    @media (min-width:1200px) {
        max-width: 513px;
        margin-inline: auto;
    }

    &:hover {
        box-shadow: 0px 0px 15.7px 0px #0000001A;
    }

    &.free {
        border: 1px solid var(--bs-deep-purple);

        >div {
            background-color: var(--bs-deep-purple);

            >*:not(button) {
                color: white;
            }
        }

        button {
            color: var(--bs-deep-purple);
            background-color: white;
        }

        .title {
            color: white;
        }
    }

    .title {
        margin-bottom: 16px;
        font-weight: var(--font-weight-semiBold);
        font-size: var(--font-size-4xl);
        line-height: var(--leading-120);
        color: var(--bs-charcoal);
    }

    .price {
        margin-bottom: 13.5px;
        font-weight: var(--font-weight-normal);
        font-size: 56px;
        line-height: var(--leading-120);
        color: var(--bs-charcoal);
        line-height: 100%;

        +span {
            font-weight: var(--font-weight-normal);
            font-size: var(--font-size-md);
            line-height: var(--leading-160);
            color: var(--bs-steel-gray);
        }
    }

    button {
        font-weight: var(--font-weight-semiBold);
        font-size: var(--font-size-md);
        line-height: var(--leading-100);
        text-transform: capitalize;
        border: 1px solid var(--bs-deep-purple);
        border-radius: 100px;
        padding-block: 16px;
        cursor: pointer;
        background-color: white;
        width: 100%;
        background-color: var(--bs-deep-purple);
        color: white;

        &:hover {
            box-shadow: 0px 4px 6px 2px #51156B33;
        }
    }

    ul {
        list-style-type: none;
        padding: 0;
        margin-bottom: 24px;
        padding-left: 24px;

        @media (max-width: 575.98px) {
            padding-left: 12px;
        }

        li {
            font-weight: var(--font-weight-normal);
            font-size: var(--font-size-md);
            line-height: var(--leading-160);
            color: #606060;

            background-image: url('../images/webp/tick-mark.webp');
            background-repeat: no-repeat;
            background-position: left center;
            padding-left: 40px;

            @media (max-width: 991.98px) {
                padding-left: 35px;
                background-position: left top;
            }
        }

        li:not(:last-child) {
            margin-bottom: 12px;
        }
    }

    p:last-child {
        font-weight: var(--font-weight-normal);
        font-size: var(--font-size-md);
        line-height: var(--leading-160);
        color: var(--bs-charcoal);
        padding: 16px 24px;
        border-radius: 8px;
        margin-bottom: 0;
    }

}

.bg-lightpurple {
    background-color: var(--bs-lightpurple);
}

/* Pricing section */
#pricing {
    padding-block: 100px;

    @media (max-width: 991.98px) {
        padding-block: 70px
    }

    .section-heading {
        font-weight: var(--font-weight-semibold);
        font-size: 28px;
        line-height: var(--leading-120);
        text-align: center;
        vertical-align: middle;
        color: var(--bs-charcoal);
        margin-bottom: 60px;
    }

    >p:last-of-type {
        margin-top: 60px;
        max-width: 758px;
        margin-inline: auto;
        font-weight: var(--font-weight-medium);
        font-size: var(--font-size-md);
        line-height: var(--leading-160);
        text-align: center;
        color: var(--bs-charcoal);
    }
}



.responsive-table {
    overflow-x: auto;
    padding-block: 40px;
}

table#compare-plans-table {
    box-shadow: 0px 6.6px 26.39px 0px #18181B0F !important;
    max-width: 1142px;
    margin-inline: auto;
    border-radius: 16px;

    thead {
        tr {
            th:first-child {
                border-top-left-radius: 16px !important;

                span {
                    font-weight: var(--font-weight-normal);
                    font-size: var(--font-size-md);
                    line-height: var(--leading-160);
                    color: rgba(0, 0, 0, 0.9);
                    max-width: 235px;
                    display: inline-block;
                    white-space: wrap;
                }
            }

            th:nth-child(2) {
                border: 1px solid #00000014;
                border-top: none;

                span {
                    font-weight: bold;
                    font-size: 28px;
                    line-height: var(--leading-120);
                    text-align: center;
                    color: black;
                }
            }

            th {
                min-height: 191px;
                padding-inline: 20px;
                padding-block: 53px;

                &:not(:first-child) {
                    text-align: center;
                }

                &:last-child {
                    border-top-right-radius: 16px !important;
                    background-color: var(--bs-deep-purple);
                    position: relative;

                    #most-popular {
                        font-weight: var(--font-weight-semiBold);
                        font-size: var(--font-size-md);
                        line-height: var(--leading-100);
                        text-transform: capitalize;
                        color: var(--bs-deep-purple);
                        box-shadow: 0px 4px 30.3px 0px #814C9875;
                        background-color: white;
                        border-radius: 50px;
                        position: absolute;
                        padding: 10px 29.5px;
                        top: 0;
                        left: 50%;
                        transform: translate(-50%, -50%);
                    }

                    p {
                        color: white;
                    }
                }

                p {
                    font-weight: var(--font-weight-semiBold);
                    font-size: var(--font-size-3xl);
                    line-height: var(--leading-120);
                    text-transform: capitalize;
                    color: black;
                }
            }

            th:last-child {
                span {
                    font-weight: bold;
                    font-size: 28px;
                    line-height: var(--leading-120);
                    text-align: center;
                    color: white;
                }

                span:first-of-type {
                    font-size: 28px;
                }

                span:last-of-type {
                    font-size: var(--font-size-lg);
                }
            }
        }
    }

    tbody {
        tr {
            td {
                padding-block: 34px;
                padding-inline: 20px;
                border: 1px solid #00000014;

                p {
                    font-weight: var(--font-weight-medium);
                    font-size: var(--font-size-xl);
                    line-height: var(--leading-120);
                    text-transform: capitalize;
                }

                &:not(:first-child) {
                    text-align: center;
                }

                &:last-child {
                    border: 1px solid var(--bs-deep-purple);
                    background-color: var(--bs-deep-purple);

                    p {
                        color: white;
                    }
                }

                &:first-child {
                    p {
                        color: black;
                        position: relative;

                        &::after {
                            position: absolute;
                            content: url('../images/svg/i-icon.svg');
                            transform: translate(4px, 0);
                        }
                    }
                }
            }

            &:last-child {
                td:first-child {
                    border-bottom-left-radius: 16px;
                    border-bottom: none;
                    border-left: none;
                }

                td:last-child {
                    border-bottom-right-radius: 16px !important;
                    border-right: none !important;
                    border-bottom: none !important;
                }
            }
        }
    }
}

table#compare-plans-table tr th,
table#compare-plans-table tr td {
    white-space: nowrap;
    min-width: 380px;
}

.start-free-btn {
    padding-inline: 32px;
    padding-block: 16px;
    border: 1px solid transparent;
    font-size: var(---font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-100);
    color: white;
    cursor: pointer;
    text-transform: capitalize;
    border: 1px solid var(--bs-deep-purple);
    border-radius: 100px;
    background-color: var(--bs-deep-purple);
    margin-top: 60px;

    &:hover {
        box-shadow: 0px 4px 6px 2px #51156B33;
    }
}

#calculator-section {
    padding-top: 80px;
    margin-bottom: 80px;

    @media (max-width: 991.98px) {
        padding-block: 70px
    }

    @media (min-width: 1200px) {
        padding-inline: 20px !important;
    }

    .section-heading {
        font-weight: var(--font-weight-semibold);
        font-size: 28px;
        line-height: var(--leading-120);
        text-align: center;
        vertical-align: middle;
        color: var(--bs-charcoal);
        margin-bottom: 16px;

    }

    >p {
        font-family: Poppins;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 160%;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;
        margin-bottom: 60px;
    }

    .responsive-table {
        overflow-x: auto;
        padding: 0;
        border-radius: 16px;
        box-shadow: 0px 1.97px 6.47px 0px #00000005;
        box-shadow: 0px 9px 18.2px 0px #00000008;
        box-shadow: 0px 22.78px 48.83px 0px #0000000A;
        box-shadow: 0px 45px 112px 0px #0000000F;
    }

    table {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0px 1.97px 6.47px 0px #00000005;
        box-shadow: 0px 9px 18.2px 0px #00000008;
        box-shadow: 0px 22.78px 48.83px 0px #0000000A;
        box-shadow: 0px 45px 112px 0px #0000000F;

        thead {
            tr:first-child {
                th {
                    background-color: var(--bs-deep-purple);
                    color: white;
                    text-align: center;
                    padding: 18px;
                    border-top-left-radius: 16px;
                    border-top-right-radius: 16px;
                    font-weight: 700;
                    font-size: var(--font-size-lg);
                    line-height: var(--leading-160);
                    letter-spacing: 0%;
                    vertical-align: middle;
                }
            }

            tr:last-child {
                th {
                    padding: 15px 40px;
                    border-bottom: 1px solid #0000001A;
                }
            }
        }

        th,
        td {
            font-weight: var(--font-weight-normal);
            font-size: var(--font-size-lg);
            line-height: var(--leading-100);
            vertical-align: middle;
            color: var(--bs-charcoal);
            max-width: 177px !important;
        }

        tbody {
            tr {
                td {
                    padding: 28px 40px;
                    border-bottom: 1px solid #0000001A;

                }

                &:last-child {
                    td {
                        border-bottom: none;
                    }
                }
            }
        }
    }

    form {
        padding: 40px;
        background-color: #FBFBFB;
        border: 1px solid #E6E6E6;
        border-radius: 12px;

        .info {
            background-color: var(--bs-deep-purple);
            color: white;
            padding: 24px;
            border-radius: 8px;
            text-align: center;

            h3 {
                font-weight: var(--font-weight-semibold);
                font-size: 50px;
                line-height: var(--leading-100);
                margin-bottom: 8px;
            }

            p {
                font-weight: var(--font-weight-medium);
                font-size: var(--font-size-2xl);
                line-height: var(--leading-120);
                text-align: center;
            }

            span {
                font-weight: var(--font-weight-normal);
                font-size: 12px;
                line-height: var(--leading160);
                text-align: center;
            }
        }

        #discount-toggle-switch {
            width: 35px;
            height: 20px;
            border-radius: 30px;
            background-color: #E1E1E1;
            padding: 2.5px;
            position: relative;
            cursor: pointer;
            margin-bottom: 0;

            span {
                width: 15px;
                height: 15px;
                background-color: white;
                border-radius: 50%;
                position: absolute;
                transform: translate(0, -50%);
                top: 50%;
                transition: all 200ms ease-in-out;
            }

            input:checked+span {
                background-color: var(--bs-deep-purple) !important;
                transform: translate(15px, -50%);
            }
        }

        h3.title {
            font-weight: var(--font-weight-semibold);
            font-size: var(--font-size-4xl);
            line-height: var(--leading-120);
            color: black;
            margin-bottom: 30px;
        }

        label {
            font-weight: var(--font-weight-normal);
            font-size: var(--font-size-lg);
            line-height: var(--leading-160);
            color: black;
            margin-bottom: 12px;
        }

        input {
            padding: 15px 20px;
            border-radius: 4px;
            border: 1px solid #0000001A;
            width: 100%;
            margin-bottom: 16px;

            &:focus {
                outline-color: var(--bs-deep-purple);
            }
        }
    }
}

/* faq */
.faq-bottom-padding {
    padding-bottom: 80px !important;
}

@media(min-width:992px) {
    .faq-bottom-padding {
        padding-bottom: 140px !important;
    }

}

/* hero */

.pink-ellipse-pricing {
    position: absolute;
    top: 0;
    rotate: 0deg;
    right: 0;

}

.yellow-ellipse-pricing {
    position: absolute;
    top: 0;
    left: 0;
    rotate: 0deg;

}

.blue-ellipse-pricing {
    position: absolute;
    rotate: 0deg;
    bottom: 0;
    left: 37%;
}



@media(max-width:768px) {
    .pink-ellipse-pricing {
        position: absolute;
        top: 0;
        rotate: 0deg;
        right: 0;
        width: 180px;

    }

    .yellow-ellipse-pricing {
        position: absolute;
        top: 0;
        left: 0;
        rotate: 0deg;
        width: 200px;

    }

    .blue-ellipse-pricing {
        position: absolute;
        rotate: 0deg;
        bottom: 0;
        left: 37%;
        width: 200px;
    }
}

@media(max-width:576px) {
    .pink-ellipse-pricing {
        position: absolute;
        top: 0;
        rotate: 0deg;
        right: 0;
        width: 120px;

    }

    .yellow-ellipse-pricing {
        position: absolute;
        top: 0;
        left: 0;
        rotate: 0deg;
        width: 120px;

    }

    .blue-ellipse-pricing {
        position: absolute;
        rotate: 0deg;
        bottom: 0;
        left: 37%;
        width: 180px;
    }
}



/* section-heading */

@media(min-width:768px) {
    .section-heading {
        font-size: var(--font-size-4xl) !important;
    }

}

@media(min-width:768px) {
    .section-heading {
        font-size: 40px !important;
    }

}
@media(min-width:1024px) {
    .section-heading {
        font-size: var(--font-size-6xl)!important;
    }

}