.cta-wrapper {
    padding: 300px 90px 0;
    border-radius: 12px;
    position: relative;
    z-index: 9;

    .cta-shape-1 {
        position: absolute;
        z-index: -1;
        top: 40%;
        right: 15%;
    }


    @include breakpoint (max-xxl){
        padding: 120px 0 30px;
    }
    
    .section-title-area {

        @include breakpoint (max-xxl){
           flex-wrap: wrap;
           justify-content: center;
           gap: 30px;
           text-align: center;

           br {
            display: none;
           }
        }

        .call-box {
            display: flex;
            align-items: center;
            gap: 20px;
            max-width: 330px;
            border-radius: 12px;
            background: #FFF;
            box-shadow: 14px 18px 84px 82px rgba(6, 3, 48, 0.04);
            padding: 32px 36px;
        }
    }
}

.cta-wrapper-2 {
    padding: 80px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;

    @include breakpoint (max-xxl){
        padding: 50px 40px;
    }
    
    @include breakpoint (max-xl){
        flex-wrap: wrap;
        gap: 30px;
    }

     @include breakpoint (max-lg){
        padding: 40px 30px;
    }

    .cta-left-items {
        display: flex;
        gap: 50px;

         @include breakpoint (max-lg){
             display: block;
        }

        .icon {
            width: 124px;
            height: 124px;
            line-height: 124px;
            border-radius: 50%;
            background-color: $white;
            text-align: center;
            
             @include breakpoint (max-lg){
              margin-bottom: 20px;
            }
        }

        .content {
            max-width: 535px;

            h3 {
                font-size: 32px;
                font-weight: 500;
                color: $white;

                 @include breakpoint (max-md){
                   font-size: 26px;
                }
            }

            p {
                color: $white;
                margin-top: 10px;
            }
        }
    }

    .cta-right-items {

        .client-img {
            text-align: right;

             @include breakpoint (max-xl){
                text-align: left;
            }
        }
        .theme-btn {
            margin-top: 30px;
            background-color: transparent;
            color: $white;
            border: 1px solid $white;

            i {
                background-color: $white;

                width: 40px;
                height: 40px;
                line-height: 40px;
            }

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

                i {
                    background-color: $theme-color;
                    color: $white;
                }
            }
        }
    }
}

.cta-section-2 {
    position: relative;
    z-index: 9;

     &::before {
        @include before;
        z-index: -1;
        background: #051828;
        height: 40%;
    }
}

.cta-section {
    position: relative;
    z-index: 9;

    &.color-bg-1 {
        position: relative;

        &::before {
            @include before;
            background: #051828;
            height: 20%;
        }
    }

    .team-shape-2 {
        position: absolute;
        z-index: -1;
        bottom: 25px;
        left: 10%;
    }
}

.counter-section {
    position: relative;
    z-index: 9;

    &::before {
        @include before;
        background-color: $white;
        height: 50%;
        z-index: -1;
    }
}

.video-wrapper {
    padding: 300px 0;
    text-align: center;

    @include breakpoint (max-xl) {
        padding: 230px 0;
    }

     @include breakpoint (max-lg) {
        padding: 180px 0;
    }

    @include breakpoint (max-sm) {
        padding: 150px 0;
    }

    .video-btn {
        text-align: center;
        color: $theme-color;
        display: inline-block;
        text-align: center;
        font-size: 24px;
        z-index: 999;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 99;
        width: 84px;
        height: 84px;
        line-height: 84px;
        background-color: $white;
        border-radius: 100%;

        &::before {
            @include before;
            width: 158px;
            height: 158px;
            line-height: 158px;
            border-radius: 122px;
            background: rgba(255, 255, 255, 0.44);
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

         &::after {
            position: absolute;
            content: "";
            width: 122px;
            height: 122px;
            line-height: 122px;
            border-radius: 122px;
            background: rgba(255, 255, 255, 0.44);
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

        @include breakpoint (max-xxxl) {
            width: 80px;
            height: 80px;
            line-height: 80px;
    }

        i {
            z-index: 99;
            position: relative;
        }
    }
}

.video-play-section  {
    background-attachment: fixed;
}

.cta-wrapper-5 {

    .cta-image {
        margin-left: -54px;

        @include breakpoint (max-xl) {
            margin-left: 0;
        }

        img {
            @include imgw;
        }
    }

    .cta-content {
        margin-left: 60px;

        @include breakpoint (max-xl) {
            margin-left: 0;
         }

        .text {
            margin-top: 20px;
            color: $white;
            max-width: 574px;
        }

        .theme-btn {
           background-color: $theme-color-2;
           margin-top: 48px;

           @include breakpoint (max-xl) {
              margin-top: 30px;
           }

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

    .cta-image-2 {
        margin-right: -60px;
        margin-bottom: -120px;

        @include breakpoint (max-xl) {
           margin-right: 0;
           margin-bottom: 0;
        }

        img {
            @include imgw;
        }
    }
}

.cta-section-5 {
    position: relative;
    z-index: 9;

    &::before {
        @include before;
        z-index: -1;
        background: #1C235B;
    }

    .shape-1 {
        position: absolute;
        top: 30px;
        left: 20%;

         @include breakpoint (max-xl) {
           display: none;
        }
    }

    .shape-2 {
        position: absolute;
        bottom: 70px;
        right: 34%;

         @include breakpoint (max-xl) {
           display: none;
        }
    }

    .shape-3 {
        position: absolute;
        right: 152px;
        top: 130px;

         @include breakpoint (max-xl) {
           display: none;
        }
    }
}

.cta-newsletter-wrapper {
    background-color: $theme-color;
    padding: 30px 44px 0;
    border-radius: 12px;

    .section-title {
        span {
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.11);
            color: $white;
        }

        h2 {
            font-size: 32px;
            color: $white;

            @media (max-width: 767px) {
                font-size: 28px;
                line-height: 1.4;
            }
        }
    }

    .form-content {
        margin-left: 25px;
        margin-right: 25px;

        @include breakpoint (max-xl){
            margin-left: 0;
            margin-right: 0;
        }

        form {
            position: relative;

            input {
                width: 100%;
                background-color: $white;
                border-radius: 40px;
                background: #F7F9FB;
                padding: 20px 30px;
                border: none;
                outline: none;
                line-height: 1;
                color: $text-color;

                @media (max-width: 767px) {
                    padding: 15px 25px;
                    font-size: 16px;
                }
            }

            .arrow-icon {
                width: 44px;
                height: 44px;
                display: inline-block;
                background-color: $theme-color-2;
                line-height: 44px;
                color: $white;
                position: absolute;
                top: 10px;
                right: 10px;
                border-radius: 50%;

                @media (max-width: 767px) {
                    width: 36px;
                    height: 36px;
                    line-height: 36px;
                    top: 8px;
                }
                
                i {
                    transform: rotate(-45deg);
                }
            }
        }

        p {
            color: rgba(255, 255, 255, 0.80);
            margin-top: 15px;

            a {
                color: rgba(255, 255, 255, 0.80);
                text-decoration: underline;
            }
        }
    }

     @include breakpoint (max-xxl){
        .cta-image {
            max-width: 350px;
            margin: 0 auto;
        }

       img {
            @include imgw;
       }
    }

    &.style-2 {
        padding: 60px;
        position: relative;
        z-index: 9;

        @include breakpoint (max-sm){
            padding: 40px 30px;
        }

        .form-content {
            max-width: 685px;
            margin: 30px auto 0;
        }
        
        .cta-img {
            position: absolute;
            bottom: 0;
            right: 70px;

            @include breakpoint (max-xl){
                display: none;
            }
        }

        .left-shape {
            position: absolute;
            left: 65px;
            bottom: 20px;
            z-index: -1;
        }
    }
}

.cta-newsletter-section {
    position: relative;
    z-index: 9;

    &::before {
        @include before;
        background-color: $white;
        z-index: -1;
        height: 50%;
    }
}

.best-seller-wrapper {
    background-color: #2490EB;
    padding: 70px 120px;
    border-radius: 10px;
    position: relative;

    @include breakpoint (max-xxl){
        padding-right: 90px;
    }

    @include breakpoint (max-xl){
       padding: 60px 100px;
       text-align: center;
    }

    @include breakpoint (max-lg){
        padding: 50px 40px;
    }

    @include breakpoint (max-md){
        padding: 40px 30px;
    }

     .coming-soon-timer {
        @include flex;
        gap: 20px;
        margin-top: 30px;
        flex-wrap: wrap;
        margin-bottom: 40px;

        @include breakpoint (max-xl){
            justify-content: center;
            margin-bottom: 30px;
        }

        .timer-content {
            background-color: #fff;
            border-radius: 6px;

            h3 {
                color: $header-color;
                font-size: 33px;
                font-weight: 500;
                border-bottom: 1px solid rgba(230, 247, 252, .2);
                padding: 15px 30px;
                line-height: 1;
                
            }

            p {
                font-size: 14px;
                text-transform: uppercase;
                color: $text-color;
                font-weight: 400;
                text-align: center;
                padding: 5px;
            }
        }
    }

     .theme-btn {
        background-color: $theme-color-2;
        @include transition;
        i {
            background-color: $white;
            color: $theme-color-2;
        }

        &:hover {
            background-color: $header-color;

            i {
                color: $header-color;
            }
        }
    }

    .doctor-image {
        position: absolute;
        bottom: 0;
        right: 100px;

        @include breakpoint (max-xl){
            display: none;
        }
    }
}

.cooming-soon-items {
    text-align: center;

    p {
        color: $header-color;
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 10px;
        margin-top: 20px;

         @include breakpoint (max-sm) {
           font-size: 16px;
        }
    }

    .text {
        font-size: 100px;
        font-weight: 500;
        letter-spacing: -3px;
        text-transform: capitalize;
        margin-bottom: 20px;

         @include breakpoint (max-lg) {
           font-size: 50px;
        }

         @include breakpoint (max-sm) {
           font-size: 40px;
        }
    }

    .coming-soon-time {
        @include flex;
        gap: 50px;
        position: relative;
        justify-content: center;
        margin-bottom: 34px;
        
        @include breakpoint (max-lg) {
            flex-wrap: wrap;
            position: static;
            transform: translate(0);
            margin-top: 30px;
            justify-content: center;
            gap: 30px;
        }

        .timer-content {
            text-align: center;
            width: 146px;
            height: 146px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border: 1px solid $header-color;
            border-radius: 100%;
            position: relative;

           &.style-2 {
                &::before {
                    position: absolute;
                    content: ":";
                    top: 35%;
                    left: -22%;
                    font-size: 40px;
                    color: #28241F;

                    @include breakpoint (max-lg) {
                        display: none;
                    }
                }
           }

            @include breakpoint (max-md) {
                width: 100px;
                height: 100px;
            }
            
            h2 {
                font-size: 48px;
                font-weight: 500;
                line-height: 1;

                @include breakpoint (max-xl) {
                    font-size: 45px;
                }

                @include breakpoint (max-lg) {
                    font-size: 40px;
                }

                @include breakpoint (max-md) {
                    font-size: 34px;
                }

                @include breakpoint (max-sm) {
                    font-size: 28px;
                }
            }

            span {
                font-size: 18px;
                font-weight: 500;
                color: $header-color;
                text-transform: uppercase;

                @include breakpoint (max-xl) {
                    font-size: 16px;
                }

                @include breakpoint (max-sm) {
                    font-size: 14px;
                }
            }
        }
    }

     form {
        max-width: 872px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .form-clt {
        position: relative;

        input {
            width: 100%;
            outline: none;
            border-radius: 4px;
            border: 1px solid rgba(60, 60, 60, 0.30);
            color: rgba(64, 74, 61, 0.65);
            line-height: 1;
            padding: 20px;
            border-radius: 10px;
            max-width: 872px;
            font-weight: 500;

            &::placeholder {
                color: rgba(64, 74, 61, 0.65);
            }
        }

        
        .icon {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            padding: 12px 36px;
            background-image: none;
            background: $theme-color;
            border-radius: 4px;
            color: $white;

            &:hover {
                background-color: $header-color;
            }
            
            @include breakpoint (max-xxs){
                position: static;
                margin-top: 20px;
            }
        }
    } 

    .social-icon {
        gap: 16px;
        justify-content: center;
        margin-top: 30px;

        a {
            width: 48px;
            height: 48px;
            line-height: 48px;
            text-align: center;
            border-radius: 50%;
            border-radius: 4px;
            border: 1px solid rgba(32, 40, 45, 0.16);
            display: inline-block;
            color: $header-color;

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