@use "../utilities" as *;

/**----------------------------------------
START: Theme Cta CSS
----------------------------------------*/
.cta-wrap {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 15px;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    @include breakpoint(sm) {
        border-radius: 0;
    }
    .overlay {
        background-color: rgba(37, 37, 45, 0.9);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .top-shape {
        background-color: var(--mt-color-common-white);
        width: 487px;
        height: 30px;
        position: absolute;
        top: 0;
        left: auto;
        right: 122px;
        z-index: -1;
        @include breakpoint(xxl) {
            right: 128px;
        }
        @include breakpoint(xl) {
            right: 82px;
        }
        @include breakpoint(lg) {
            display: none;
        }
    }
}

.cta-content {
    text-align: center;
    padding: 95px 0 90px 0;
    .video-btn {
        background-color: var(--mt-color-common-white);
        color: var(--mt-color-theme-primary);
        font-size: 25px;
        height: 60px;
        width: 60px;
        border-radius: 50%;
        display: block;
        @include flex-center;
        margin: 0 auto;
        margin-bottom: 35px;
        position: relative;
        z-index: 1;
    }
    .title {
        color: var(--mt-color-common-white);
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 20px;
        @include breakpoint(md) {
            font-size: 32px;
        }
    }
    p {
        color: var(--mt-color-common-white);
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 30px;
    }
}


.ripple,
.ripple:before,
.ripple:after {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    transform: translateX(-50%) translateY(-50%);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    -ms-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    -o-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    -webkit-animation: rippleOne 3s infinite;
    -moz-animation: rippleOne 3s infinite;
    -ms-animation: rippleOne 3s infinite;
    -o-animation: rippleOne 3s infinite;
    animation: rippleOne 3s infinite;
}
.ripple {
    z-index: -1;
    &:before {
        -webkit-animation-delay: 0.9s;
        -moz-animation-delay: 0.9s;
        -ms-animation-delay: 0.9s;
        -o-animation-delay: 0.9s;
        animation-delay: 0.9s;
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
    }
    &:after {
        -webkit-animation-delay: 0.6s;
        -moz-animation-delay: 0.6s;
        -ms-animation-delay: 0.6s;
        -o-animation-delay: 0.6s;
        animation-delay: 0.6s;
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

@-webkit-keyframes rippleOne {
    70% {
        box-shadow: 0 0 0 30px rgba(244, 68, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
    }
}

@keyframes rippleOne {
    70% {
        box-shadow: 0 0 0 30px rgba(244, 68, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
    }
}

.cta-section-2 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    padding: 240px 0 100px 0;
}

.cta-content-wrap {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    @include flex-vertical-center;
    justify-content: space-between;
    border-radius: 100px;
    flex-wrap: wrap;
    row-gap: 20px;
    padding: 30px 130px 30px 40px;
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid #5b7189;
    @include breakpoint(md) {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 0;
        border-radius: 0;
    }
    .cta-info {
        display: grid;
        align-items: center;
        grid-template-columns: 105px 1fr;
        grid-gap: 40px;
        @include breakpoint(md) {
            grid-template-columns: 1fr;
            text-align: center;
            grid-gap: 20px;
            margin-bottom: 20px;
        }
        .cta-icon {
            background-color: var(--mt-color-common-white);
            height: 105px;
            width: 105px;
            border-radius: 50%;
            @include flex-center;
            @include breakpoint(md) {
                margin: 0 auto;
            }
        }
        .title {
            color: var(--mt-color-common-white);
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 0;
            text-transform: capitalize;
            span {
                font-family: var(--mt-ff-body);
                font-size: 16px;
                font-weight: 400;
                display: block;
                margin-top: 10px;
                @include breakpoint(sm){
                    margin-top: 20px;
                    line-height: 1.4;
                }
            }
        }
    }
    .cta-btn {
        .mt-primary-btn {
            background-color: var(--mt-color-common-white);
            &:before,
            &:after {
                background-color: var(--mt-color-theme-secondary);
            }
            &:hover {
                color: var(--mt-color-heading-primary);
            }
        }
    }
}

/* !END: Theme Cta CSS */
