// call to action area start

.cta-main-wrapper-one {
    display: flex;
    align-items: center;
    background: #17161B;
    padding: 60px;
    border-radius: 7px;
    position: relative;
    z-index: 1;

    @media #{$large-mobile} {
        padding: 25px;
    }

    &::after {
        position: absolute;
        left: 0;
        top: 0;
        content: '';
        background-image: url(../images/cta/01.png) !important;
        background-repeat: no-repeat;
        height: 100%;
        width: 100%;
        z-index: -1;
        background-size: contain;
    }

    .icon {
        margin-right: 20px;
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #17161B;
        position: relative;
        z-index: 1;
        border-radius: 50%;

        @media #{$small-mobile} {
            height: 90px;
            width: 90px;
        }

        &::after {
            width: 90px;
            height: 90px;
            position: absolute;
            content: '';
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            background: #212025;
            z-index: -1;
            border-radius: 50%;

            @media #{$small-mobile} {
                width: 60px;
                height: 60px;
            }
        }
    }

    .info-area {
        span {
            color: var(--color-primary);
            font-family: var(--font-secondary);
            font-weight: 500;
            font-size: 16px;
            line-height: 19px;
        }

        h4.title {
            font-weight: 700;
            font-size: 30px;
            line-height: 40px;
            font-family: "Exo", sans-serif;
            color: #fff;
            margin-top: 7px;
            margin-bottom: 8px;

            @media #{$sm-layout} {
                font-size: 22px;
                line-height: 34px;
            }

            @media #{$large-mobile} {
                font-size: 22px;
                line-height: 34px;
            }

            @media #{$small-mobile} {
                font-size: 16px;
                line-height: 26px;
            }
        }

        p {
            color: #676767;
            font-weight: 500;
            font-size: 16px;
            line-height: 19px;
        }
    }

    &.cta_primary {
        background: var(--color-primary);

        &::after {
            background-image: url(../images/cta/02.png);
        }

        .icon {
            background: var(--color-primary);

            svg {
                path {
                    fill: var(--color-primary);
                }
            }

            &::after {
                background: #FFFFFF;
            }
        }

        .info-area {
            span {
                color: #FFFFFF;
            }

            p {
                color: #FFFFFF;
            }
        }
    }
}

.bg-cta-two {
    background-image: url(../images/about/04.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-two-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media #{$sm-layout} {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .title-area-left {
        p {
            margin-bottom: 35px;
        }

        .title {
            color: #fff;
            margin-bottom: 0;
        }
    }

    .cta-button-area {
        display: flex;
        align-items: center;
        gap: 15px;

        @media #{$large-mobile} {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }
    }
}

// cta main warpper3

.cta-solari-wrapper {
    background-image: url(../images/cta/08.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 75px 81px;
    border-radius: 10px;
    display: flex;
    align-items: center;

    br {
        @media #{$laptop-device} {
            display: none;
        }

        @media #{$smlg-device} {
            display: none;
        }
    }

    @media #{$smlg-device} {
        flex-direction: column;
        align-items: flex-start;
    }

    @media #{$sm-layout} {
        padding: 30px;
    }

    .left-area {
        flex-basis: 43%;

        span.pre {
            color: #ffff;
            text-transform: uppercase;
            letter-spacing: 0.04em;

            span {
                background: #06add9;
                padding: 2px 5px;
                display: inline-block;
                border-radius: 4px;
                font-weight: 700;
                font-size: 15px;
                line-height: 20px;
            }
        }

        .title {
            font-weight: 700;
            font-size: 34px;
            line-height: 44px;
            color: #fff;
            margin-top: 25px;

            @media #{$sm-layout} {
                font-size: 24px;
                line-height: 35px;
            }
        }
    }

    .right-area {
        flex-basis: 57%;

        .cta-form {
            display: flex;
            align-items: center;
            gap: 10px;

            @media #{$sm-layout} {
                flex-direction: column;
                align-items: flex-start;
            }

            .single-input {
                input {
                    height: 55px;
                    border: 1px solid #373737;
                    border-radius: 4px;
                    min-width: 216px;
                    color: #fff;

                    &:focus {
                        border: 1px solid var(--color-primary);
                    }

                    &::placeholder {
                        font-weight: 400;
                        font-size: 14px;
                        line-height: 24px;
                        color: #f6f6f6;
                    }
                }
            }
        }
    }
}

.ml-dec-5 {
    margin-left: -11px;
}

.index-three {
    .cta-solari-wrapper .right-area .cta-form .single-input input {
        border-radius: 100px;
    }
}

.solar_energy {
    .cta-solari-wrapper {
        .cta-form {
            .single-input {
                input {
                    border-radius: 25px !important;
                }
            }

            .rts-btn.btn-primary {
                border-radius: 25px !important;

                &::before {
                    border-radius: inherit;
                }
            }
        }
    }
}

.cta-bg {
    position: relative;

    &::before {
        height: 110px;
        width: 100%;
        content: '';
        position: absolute;
        bottom: 0;
        background: #1B1B1B;
        z-index: 1;
    }

    .cta-solari-wrapper {
        border-radius: 0;
        position: relative;
        z-index: 2;
        background-image: url(../images/cta/09.jpg);

        .left-area {
            span {
                color: var(--color-heading-1);
                font-weight: 600;
                font-family: var(--font-secondary);
            }
        }
    }

    .cta-form .single-input input {
        border-radius: 0 !important;
        border-color: var(--color-white) !important;
    }

    .rts-btn.btn-primary {
        border-radius: 0;

        &::before {
            border-radius: 0;
            background: transparent;
        }

    }
}