.why-area {
    .th-container {
        --main-container: 1350px;

        @include lg {
            --main-container: 100%;
            max-width: 100%;
        }
    }
}

/* appointment 1 start ---------------------------------- */
.appointment-area {
    position: relative;
    padding: 100px;

    .title-area .sec-title {
        margin-bottom: 28px;
    }

    @include md {
        padding: 80px;
    }

    @include sm {
        padding: 80px 40px;
    }

    @include xs {
        padding: 80px 20px;
    }
}

.appointment-radio {
    position: relative;
    border-radius: 15px;
    background: #EFF0F4;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;

    @include xl {
        grid-template-columns: repeat(4, 1fr);
    }

    @include lg {
        grid-template-columns: repeat(3, 1fr);
    }

    @include md {
        grid-template-columns: repeat(2, 1fr);
    }

    @include xs {
        grid-template-columns: repeat(1, 1fr);
    }

    &-wrapper {
        margin: 14px 0 40px 0;

        .sec-title {
            font-size: 16px;
        }
    }

    label {
        font-size: 16px;
        color: $body-color;

    }

    .class-name {
        text-wrap: nowrap;

        &:last-child {
            input[type="radio"] {
                ~label {
                    &:after {
                        display: none;
                    }
                }
            }
        }
    }

    input[type="radio"] {
        ~label {
            z-index: 2;
            margin-top: 0;
            transition: 0.3s ease-in-out;

            &::before {
                top: 0px;
                left: 0px;
                border-radius: 0;
                border: none;
                height: 16px;
                width: 16px;
                background-color: transparent;
                border: 1px solid #9DA0A7;
                border-radius: 99px;
                line-height: 1.7;
                z-index: -1;
                transition: 0.4s ease;
            }
        }

        &:checked {
            ~label {
                color: $theme-color;

                &:before {
                    border: 1px solid $theme-color;
                    color: $theme-color;
                }
            }
        }
    }
}

.loadcontent {
    display: none;
}

.th-loader {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
}

.sec-desc {
    max-width: 470px;
}

/* Feature 1 end ---------------------------------- */
/* Why 1 ---------------------------------- */
.choose-feature {
    position: relative;
    display: flex;
    gap: 15px;
    max-width: 410px;

    @include lg {
        gap: 10px;
    }

    @include sm {
        display: block;
        max-width: 100%;
        margin: auto;
    }

    .box-icon {
        position: relative;
        z-index: 2;
        min-width: 80px;

        @include lg {
            min-width: 60px;
        }


        &:before {
            content: "";
            position: absolute;
            top: 5px;
            left: 0px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #E8ECF6;
            border-radius: 999px;
            z-index: -1;

            @include sm {
                top: 15px;
                left: 50%;
            }
        }

        img {
            transition: all 0.4s ease-in-out;
            margin-left: 10px;
        }
    }

    .box-title {
        margin-bottom: 7px;
        font-size: 20px;
        font-weight: 700;
    }

    &_text {
        margin-bottom: -0.3rem;
    }

    &:hover {
        .box-icon {
            img {
                transform: scale(-1) rotate(180deg);
            }
        }
    }
}

.why-checklist {
    border-bottom: 1px solid $border-color;
    padding-bottom: 40px;

    ul {

        li {
            position: relative;
            border-radius: 20px;
            border: 1px solid $smoke-color2;
            background: $white-color;
            padding: 10px;
            font-size: 20px;
            font-family: $title-font;
            color: $title-color;
            font-weight: 600;
            line-height: 30px;
            min-width: 300px;
            box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            margin: 0;

            @include md {
                min-width: 50%;
            }

            @include vxs {
                font-size: 16px;
                line-height: 26px;
            }

            &:before,
            &:after {
                content: "";
                position: absolute;
                width: 84px;
                height: 90px;
                background: $theme-color;
                transition: all 0.4s ease-in-out;
            }

            &:before {
                left: -10px;
                top: -10px;
                clip-path: path("M0 0H84L0 90V0Z");
            }

            &:after {
                left: -6px;
                top: 0;
                clip-path: path("M0 0H84L0 90V0Z");
                opacity: 0.2;

            }

            .check-img {
                position: relative;
                width: 60px;
                height: 60px;
                line-height: 60px;
                background-color: $white-color;
                border-radius: 50%;
                display: inline-block;
                text-align: center;
                z-index: 4;

                &:before {
                    content: "";
                    position: absolute;
                    inset: 10px;
                    background-color: rgba(41, 70, 184, 0.1);
                    z-index: 1;
                    border-radius: inherit;
                }
            }
        }
    }
}


.video-box1 {
    position: relative;

    img {
        border-radius: 0 80px 0 80px;

        @include md {
            border-radius: 0 40px 0 40px;
        }
    }

    .play-btn {
        --icon-size: 130px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin: calc(var(--icon-size) / -2) 0 0 calc(var(--icon-size) / -2);

        @include md {
            --icon-size: 100px;
        }

        @include sm {
            --icon-size: 80px;
        }

        @include xs {
            --icon-size: 60px;
        }
    }
}


.appointment-img1 {
    position: relative;
    z-index: 2;
    width: 939.929px;
    height: 612px;
    margin-right: -30%;

    @media(max-width: 1699px) {
        margin-right: -20%;
    }

    @include xxl {
        margin-right: 0;
        width: 850px;
    }

    @include lg {
        width: 100%;
        height: 100%;
        margin: 50px 0 0 0;
    }
}

@include sm {
    .choose-feature {
        text-align: center;
        padding: 0px 20px;

        .box-icon {
            position: static;
            margin: 0 auto 20px auto;
            padding-top: 0;
            padding-left: 0;
        }
    }
}

@include xs {
    .choose-feature {
        max-width: 100%;
        width: 100%;

        .box-text {
            max-width: 250px;
            margin-left: auto;
            margin-right: auto;
        }
    }
}

/* Feature Box ------------------------------*/
.feature-box {
    background: $white-color;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.06);

    @include xs {
        display: block;
        text-align: center;
    }

    &:not(:first-child) {
        margin-top: 30px;
    }

    &:nth-child(2) {
        .feature-box {
            &_step {
                background-color: $theme-color;
            }
        }
    }

    &:nth-child(3) {
        .feature-box {
            &_step {
                background-color: $theme-color;
            }
        }
    }

    .box-title {
        margin-bottom: 5px;
    }

    &_step {
        width: 86px;
        height: 100px;
        background-color: #00A1DE;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

        @include xs {
            display: block;
            margin: auto auto 20px auto;
        }

    }

    &_text {
        margin-bottom: 0;
    }

    .box-number {
        font-size: 30px;
        line-height: 30px;
        color: $white-color;
        text-align: center;
        font-family: $title-font;
        font-weight: 600;
        display: block;
        padding: 15px 0;
        margin-bottom: 0;
    }

    .step {
        font-size: 16px;
        font-weight: 400;
        font-family: $body-font;
        display: block;
        text-align: center;
    }
}

.feature-image {
    width: 678.838px;
    height: 669px;
    margin-left: 50px;

    @include xl {
        width: 100%;
        height: 100%;
    }

    @include lg {
        margin: 0;
    }
}

/* Why 2 start---------------------------------- */
.why-content {
    max-width: 594px;

    .checklist {

        li {
            font-size: 16px;
            font-weight: 700;
            line-height: 26px;

            &:before {
                content: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect opacity='0.2' width='26' height='26' rx='5' fill='%23A0CE4E'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.4996 9.56685L9.60117 14.1326L9.60095 17.0845C9.60082 18.708 9.58812 20.2556 9.57267 20.5235C9.55364 20.8537 9.5589 21.0053 9.58906 20.9941C9.61349 20.985 12.699 17.4257 16.4458 13.0845C20.1926 8.74332 23.2977 5.14811 23.3461 5.09519C23.3946 5.04227 23.4261 4.99941 23.4161 5.00001C23.4061 5.00056 20.2937 7.05566 16.4996 9.56685Z' fill='%23A0CE4E'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.65376 12.5395L9.6311 14.1338V18.2077C9.63116 19.3671 9.59351 20.4723 9.59976 20.6636C9.60746 20.8994 9.60533 21.0077 9.59313 20.9997C9.58325 20.9932 8.33528 18.4513 6.8199 15.3511C5.3045 12.2509 4.0486 9.68341 4.02902 9.64562C4.00943 9.60783 3.99669 9.57721 4.00074 9.57764C4.00477 9.57804 4.40641 9.8771 7.65376 12.5395Z' fill='%23A0CE4E'/%3E%3C/svg%3E%0A");
                font-family: var(--icon-font);
                position: absolute;
                left: 0;
                top: 0px;
                font-size: 32px;
                font-weight: 600;
                color: var(--theme-color);
                margin-right: 10px;
            }
        }
    }
}

.why-sec2 {

    @include lg {
        background-position: left center;
    }
}

.why-sec3 {
    background-position: top center;

    @include lg {
        background-position: right center;
    }
}

/* Why 2 end ---------------------------------- */

.history-item {
    background-color: $white-color;
    display: flex;

    @include vxs {
        display: block;
    }

    &-right {
        max-width: 596px;
        display: block;
        margin-left: auto;

        @include lg {
            max-width: 100%;
            margin-left: 0;
        }
    }

    &-wrap {
        display: flex;
        gap: 21px;

        @include sm {
            display: block;
        }

        &:not(:last-child) {
            margin-bottom: 30px;
        }
    }

    &-img {
        min-width: 140px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;

        }
    }

    .box-title {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    &-text {
        line-height: 26px;
        margin-bottom: -0.3rem;
    }

    &-details {
        padding: 30px;

        @media(max-width: 480px) {
            padding: 30px 30px 30px 20px;
        }
    }

    &-date {
        background: $white-color;
        display: inline-flex;
        align-items: center;
        text-align: center;
        color: $theme-color;
        font-size: 18px;
        font-weight: 600;
        font-family: $title-font;
        padding: 25px;
        margin-right: 20px;
        position: relative;
        max-width: 142px;
        flex: none;
        filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.05));

        @include sm {
            max-width: none;
            display: block;
            margin-right: 0;
            margin-bottom: 30px;


        }

        &:after {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translate(0, -50%);
            width: 20px;
            height: 20px;
            border-left: solid 20px $white-color;
            border-bottom: solid 17px transparent;
            border-top: solid 17px transparent;

            @include sm {
                bottom: -20px;
                top: auto;
                right: 50%;
                width: 20px;
                height: 20px;
                transform: translate(50%, 0);
                border-top: solid 20px var(--white-color);
                border-left: solid 17px transparent;
                border-right: solid 17px transparent;
                border-bottom: 0;
            }
        }
    }

    @include sm {


        .history-wrap-date {
            max-width: none;
            display: block;
            margin-right: 0;
            margin-bottom: 30px;

            &:after {
                bottom: -20px;
                top: auto;
                right: 50%;
                width: 20px;
                height: 20px;
                transform: translate(50%, 0);
                border-top: solid 20px $white-color;
                border-left: solid 17px transparent;
                border-right: solid 17px transparent;
                border-bottom: 0;

            }
        }
    }
}


.choose-content {
    .sec-title {
        font-weight: 500;
        letter-spacing: normal;
    }

    .box-text {
        font-size: 14px;
    }

    .checklist {
        margin-bottom: 35px;

        li {
            color: $body-color;
            font-size: 14px;
            line-height: 16px;

            &:after {
                color: $body-color;
            }
        }
    }
}

.why-content-area {
    background-color: $white-color;
    padding: 60px;
    box-shadow: 0px 10px 100px 0px rgba(0, 0, 0, 0.06);

    @include xl {
        padding: 40px;
    }

    @include md {
        padding: 30px;
    }

    @include sm {
        padding: 30px 10px;
    }
}

.why-item {
    position: relative;
    background-color: $white-color;
    padding: 30px;
    border: 1.3px solid #E4E4E4;
    transition: 0.4s ease-in-out;

    @include xl {
        padding: 25px;
    }

    &_icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        text-align: center;
        border: 1.3px solid $theme-color;
        background-color: $white-color;
        border-radius: 50%;
        transition: 0.4s ease-in-out;


        img {
            transition: 0.4s ease-in-out;
        }
    }

    &_text {
        line-height: 26px;
        margin-bottom: -0.4rem;
    }

    .box-title {
        font-weight: 600;
        line-height: 34px;
        margin: 23px 0 13px 0;

        @include xl {
            font-size: 20px;
            line-height: 30px;
        }
    }

    .icon-btn {
        border-radius: 99px;
        background-color: $white-color;
        border: 1px solid $border-color;
        color: $title-color;
        position: relative;
        z-index: 3;
        display: block;
        text-align: center;
        margin: auto;
        transition: all 0.4s ease-in-out;

        &:hover {
            background-color: $theme-color;
            border-color: $theme-color;
            color: $white-color;
        }
    }


    &:hover {
        .why-item {
            &_img {
                img {
                    transform: scale(1.1);
                }
            }

            &_icon {
                border: 1px solid $theme-color;

                &:before {
                    transform: scaleX(1.0);
                }

                img {
                    transform: rotateY(180deg);
                }
            }
        }
    }

    &_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;

        @include xl {
            gap: 20px;
        }

        @media(max-width: 480px) {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

.why-img1 {
    position: relative;
    margin-left: 55px;

    @media(max-width: 480px) {
        margin-left: 0;
    }

    .img1 {
        @media(max-width: 480px) {
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

    .img2 {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;

        @media(max-width: 480px) {
            display: none;
        }

        &:before {
            content: "";
            position: absolute;
            top: 0;
            left: -20px;
            width: 275px;
            height: 336px;
            background-color: $white-color;
            z-index: -1;
        }
    }

    .img3 {
        position: relative;
        margin: -48px 0 0 50px;

        @media(max-width: 480px) {
            display: none;
        }

        &:before {
            content: "";
            position: absolute;
            top: -20px;
            left: -20px;
            width: 318px;
            height: 416px;
            background-color: $white-color;
        }

        img {
            clip-path: polygon(0 0, 58% 0, 100% 100%, 0% 100%);


        }
    }
}

.feature-wrapper {
    &.style3 {
        margin-bottom: 60px;

        .feature-icon {
            width: 75px;
            height: 75px;
            line-height: 75px;
            background-color: #1E2127;
            border: 1px solid rgba(255, 255, 255, 0.10);

            &:hover {
                background-color: $theme-color;
            }
        }

        .header-info {
            &_label {
                font-size: 16px;
                font-family: $body-font;
                color: $body-color;
                font-weight: 500;
                letter-spacing: -0.32px;
            }

            &_link {
                font-family: $body-font;
                font-size: 24px;
                font-weight: 600;
                line-height: 30px;
                letter-spacing: -0.48px;
            }
        }
    }
}

/* event card start -------------------------------*/

.event-card {
    position: relative;
    padding: 30px;
    margin-top: 45px; 
    display: flex;
    gap: 30px;
    background-color: #FEEDEA;
    border-radius: 50px 80px 50px 180px;
    z-index: 2;

    @media(max-width: 1399px) {
        gap: 15px;
    }

    @include lg {
        display: block;
        text-align: center;
        border-radius: 50px 80px 50px 120px;

    }

    @include md {
        border-radius: 50px 80px;
    }

    @include vxs {
        padding: 30px 18px;
    }

    &_wrapp {
        &:nth-child(2) {
            .event-card {
                background-color: #F1F9EA;
            }

            .th-btn {
                background-color: $theme-color4;
            }
        }

        &:nth-child(3) {
            .event-card {
                background-color: #F0F8FA;
            }

            .th-btn {
                background-color: $theme-color3;
            }
        }

        &:nth-child(4) {
            .event-card {
                background-color: #FFF6E8;
            }

            .th-btn {
                background-color: $theme-color2;
            }
        }

        &:nth-child(5) {
            .event-card {
                background-color: #E7E5F6;
            }

            .th-btn {
                background-color: #6416E3;
            }
        }

        &:nth-child(6) {
            .event-card {
                background-color: #E8F4FF;
            }

            .th-btn {
                background-color: #2184F9;
            }
        }
    }

    &_img {
        margin-top: -70px;
        min-width: 250px;

        @include xl {
            min-width: 180px;
        }

        @include lg {
            margin-bottom: 30px;
        }

        img {
            animation: morph2 10s ease-in-out infinite;
            animation-delay: 0.2s;
        }
    }

    .box-title {
        margin-bottom: 10px;
    }

    .th-btn {
        padding: 18.5px 22px;
        font-weight: 400;
        font-size: 14px;

        @media(max-width: 1399px) {
            padding: 18px 20px;
        }

        &:not(:last-child) {
            margin-right: 15px;

            @include vxs {
                margin-right: 10px;
            }

            @include vxs {
                margin-right: 0;
            }
        }

        i {
            margin-right: 8px;


        }
    }

}

/* event card end -------------------------------*/

/* event info start ---------------------------------*/

.event-info {
    background-color: $white-color;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 60px;
    padding: 40px;

}

/* event info end ---------------------------------*/