.cta-wrapper {
    &.style1 {
        position: relative;
        background-image: url(../../assets/img/bg/ctaBG1_1.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

        .shape1 {
            position: absolute;
            top: 0;
            left: 0;
        }

        .shape2 {
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .shape3 {
            position: absolute;
            bottom: 0;
            right: 0;
        }

    }

    &.style2 {
        position: relative;
        background-image: url(../../assets/img/bg/ctaBG2_1.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

        .shape1 {
            position: absolute;
            top: 0;
            left: 0;
        }

        .shape2 {
            position: absolute;
            bottom: -54px;
            left: 0;
        }

        .shape3 {
            position: absolute;
            bottom: 0;
            right: 0;
        }

        .shape4 {
            position: absolute;
            top: 0;
            right: 0;
        }

        .shape5 {
            position: absolute;
            bottom: 0;
            left: 40%;
        }

        .shape6 {
            position: absolute;
            bottom: 25%;
            left: 40%;
        }

        .shape7 {
            position: absolute;
            bottom: 136px;
            left: 50%;
            z-index: 4;
        }
    }


}

.cta-wrap {
    &.style1 {
        .cta-content {
            h6 {
                color: $theme-color;
                font-family: $title-font;
                font-size: 20px;
                font-style: normal;
                font-weight: 900;
                line-height: 105px;
                text-transform: uppercase;
            }

            h3 {
                color: $white;
                font-family: $title-color;
                font-size: 48px;
                font-style: normal;
                font-weight: 900;
                line-height: 32px;
                text-transform: uppercase;

                @include breakpoint (max-xxl) {
                    line-height: 65px;
                }

                @include breakpoint (max-xl) {
                    line-height: 35px;
                }

                @include breakpoint (max-md) {
                    line-height: 65px;
                }
            }

            p {
                color: $theme-color-2;
                font-family: $title-font;
                font-size: 24px;
                font-style: normal;
                font-weight: 700;
                line-height: 105px;
                text-transform: capitalize;
            }
        }
    }

    &.style2 {
        .cta-content {
            h6 {
                color: $theme-color;
                font-family: $title-font;
                font-size: 20px;
                font-style: normal;
                font-weight: 900;
                line-height: 80px;
                text-transform: uppercase;
            }

            h3 {
                color: $white;
                font-family: $title-color;
                font-size: 48px;
                font-style: normal;
                font-weight: 900;
                line-height: 25px;
                text-transform: uppercase;

                @include breakpoint (max-xxl) {
                    line-height: 65px;
                }

                @include breakpoint (max-xl) {
                    line-height: 35px;
                }

                @include breakpoint (max-md) {
                    line-height: 65px;
                }
            }

            p {
                color: $theme-color-2;
                font-family: $title-font;
                font-size: 24px;
                font-style: normal;
                font-weight: 700;
                line-height: 105px;
                text-transform: capitalize;
                margin-bottom: 5px;
            }
        }
    }

    &.style3 {
        position: relative;
        overflow: hidden;
        background-image: url(../../assets/img/bg/ctaBG3_1.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 50px 0px 50px 0px;
        -webkit-border-radius: 50px 0px 50px 0px;
        -moz-border-radius: 50px 0px 50px 0px;
        -ms-border-radius: 50px 0px 50px 0px;
        -o-border-radius: 50px 0px 50px 0px;


        .shape1 {
            position: absolute;
            top: 0;
            left: 0;
        }

        .shape2 {
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .shape3 {
            position: absolute;
            bottom: -30px;
            right: 0;
        }

        .shape4 {
            position: absolute;
            top: 0;
            right: 0;
        }

        .shape5 {
            position: absolute;
            bottom: 0;
            left: 40%;
        }

        .shape6 {
            position: absolute;
            bottom: 186px;
            left: 48%;
            z-index: 4;
        }

        .shape7 {
            position: absolute;
            top: 20px;
            left: 39%;
            z-index: 4;
        }

        .cta-content {
            padding-top: 96px;
            padding-bottom: 76px;
            max-width:  496px;;

            @include breakpoint (max-xxl) {
                padding-top: 0;
                padding-bottom: 0;
            }

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

            h6 {
                color: $theme-color;
                font-family: $title-font; 
                font-size: 16px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                text-transform: uppercase;
                margin-bottom: 20px;
            }

            h3 {
                color: $white;
                font-family: $title-color; 
                font-family: $title-font;
                font-size: 40px;
                font-style: normal;
                font-weight: 900;
                line-height: 50px; 
                text-transform: capitalize; 
                margin-bottom: 40px;
            }

            .btn-wrapper { 
                max-width: 496px;
                .apple-btn {
                    display: inline-block;
                    position: relative;
                    padding: 8px 25px;
                    background-color: $theme-color; 
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24px;
                    z-index: 1;
                    overflow: hidden;
                    border: 1px solid transparent;
                    transition: all 0.3s ease-in-out;
                    border-radius: 5000px;
                    -webkit-transition: all 0.3s ease-in-out;
                    -moz-transition: all 0.3s ease-in-out;
                    -ms-transition: all 0.3s ease-in-out;
                    -o-transition: all 0.3s ease-in-out;
                    span {
                        color: $white;
                        font-family: $title-font;
                        font-size: 15px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                    }

                    h6 {
                        color: $white;
                        font-family: $title-font;
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                        margin-bottom: 0;
                    }

                    &:hover { 
                        background-color: transparent; 
                        border: 1px solid $white; 
                        span {
                            color: $white; 
                        }
    
                        h6 {
                            color: $white; 
                        }
                    }
                }

                .google-btn {
                    display: inline-block;
                    position: relative;
                    padding: 8px 25px;
                    background-color: transparent; 
                    border: 1px solid $white;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24px;
                    z-index: 1;
                    overflow: hidden; 
                    transition: all 0.3s ease-in-out;
                    border-radius: 5000px;
                    -webkit-transition: all 0.3s ease-in-out;
                    -moz-transition: all 0.3s ease-in-out;
                    -ms-transition: all 0.3s ease-in-out;
                    -o-transition: all 0.3s ease-in-out;
                    span {
                        color: $white;
                        font-family: $title-font;
                        font-size: 15px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                    }

                    h6 {
                        color: $white;
                        font-family: $title-font;
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: normal;
                        margin-bottom: 0;
                    }


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

        .cta-thumb {
            margin-bottom: -50px;

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

.cta-section {
    position: relative;

    &.style-white {
        &::before {
            @include before;
            background-color: $white;
            top: 50%;
        }
    }
}