// Hero Style Start //
.ai-hero-section {
    position: relative;
    &.ai-hero-pattern {
        background: url('../images/ai-banner-pattern.png') no-repeat center center / cover;
        .ai-banner-avtar {
            max-height: 445px;
            max-width: 100%;
            &.ai-bet-banner {
                max-height: 585px;
                @media only screen and (max-width: $lg_1199) {
                    max-height: 400px;
                }
            }
            @media only screen and (max-width: $lg_1199) {
                max-height: 350px;
            }
        }
        + {
            .ai-banner-half {
                margin-top: -100px;
            }
        }
    }
    &.ai-bottom-es {
        padding-bottom: 100px;
    }
    p {
        font-weight: $fontLight;
        margin-top: 12px;
        margin-bottom: 20px;
    }
    .ai-hero-fl {
        position: relative;
        z-index: 1;
        background: rgba($color: $bgWhite, $alpha: 0.1);
        border-radius: $borderRadius10;
        backdrop-filter: blur(8px);
        border: solid 1px rgba($color: $bgWhite, $alpha: 0.35);
        max-width: 455px;
        width: 100%;
        margin-left: 12px;
        padding: 12px 20px;
        position: absolute;
        bottom: 50px;
        left: 50px;
        @media only screen and (max-width: $lg_1199) {
            left: 15px;
            margin: 0;
            bottom: 30px;
        }
        @media only screen and (max-width: $xs_575) {
            max-width: calc(100% - 30px);
        }
        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            li {
                a { 
                    color: $textWhite;
                    text-decoration: none;
                    font-weight: $fontRegular;
                    @include aiDflexAlignItemsCenter;
                    line-height: normal;
                    padding: 12px 0;
                    @media only screen and (max-width: $xl_1400) {
                        padding: 10px 0;
                    }
                    @media only screen and (max-width: $xs_575) {
                        padding: 8px 0;
                    }
                    span {
                        width: 20px;
                        @include aiDflexJustifyContentCenter;
                    }
                }
                + {
                    li {
                        border-top: solid 1px rgba($color: $bgWhite, $alpha: 0.35);
                    }
                }
            }
        }
    }
    .ai-hero-inner {
        &::before {
            content: '';
            display: block;
            background: url('../images/hp-hero-banner.png') no-repeat center center / cover;
            position: relative;
            aspect-ratio: 1 / .95;
            max-height: 480px;
            width: calc(100% + 24px);
            left: -12px;
            @media only screen and (min-width: $lg_1200) {
                width: calc(50% - 12px);
                height: 100%;
                max-height: inherit;
                position: absolute;
                right: 0;
                top: 0;
                left: inherit;
            }
        }
    }
}
// Hero Style End //

// Process Style Start //
.ai-process {
    .ai-process-step {
        position: relative;
        margin-bottom: 16px;
        @include aiDflex;
        .ai-step-indicator {
            margin-right: 24px;
            @include aiDflexDirection;
            align-items: center;
            position: relative;
            @media only screen and (max-width: $xs_575) {
                margin-right: 16px;
            }
            .ai-step-number {
                @include aiStepNumber;
            }
            .ai-step-line {
                width: 4px;
                min-height: 60px;
                flex: 1 0 0;
                background-color: $bgLightBlueV6;
                margin-top: 8px;
                border-radius: $borderRadius10;
                @media only screen and (max-width: $md_991)  {
                    min-height: 45px;
                    margin-top: 5px;
                }
                @media only screen and (max-width: $sm_767) {
                    min-height: 30px;
                    width: 3px;
                }
            }
        }
        .ai-step-content {
            flex: 1 0 0;
            .ai-head-22 {
                font-size: $font20;
                @media only screen and (max-width: $md_991)  {
                    font-size: 18px;
                }
                @media only screen and (max-width: $xs_575) {
                    font-size: 16px;
                }
            }
            p {
                margin: 2px 0 0;
                @media only screen and (max-width: $sm_767)  {
                    margin-top: 0;
                }
            }
        }
        &:last-child {
            .ai-step-line {
                display: none;
            }
        }
    }
}
// Process Style End // 

// Testimonial Start //
.ai-testimonial {
    &.ai-layout-space {
        @media only screen and (max-width: $lg_1199) {
            padding-top: 0;
        }
    }
    .carousel {
        @include aiDflex;
        flex-direction: column;
    }
    .ai-testimonial-card {
        .ai-layout-space {
            @media only screen and (min-width: $sm_768) {
                padding-bottom: 120px;
            }
        }
    }
    .ai-testimonial-arrow {
        @media only screen and (max-width: $sm_767) {
            @include aiDflexWrap;    
            margin-bottom: 20px;
            gap: 8px;
            margin-top: 20px;
            justify-content: center;
        }
    }
    .ai-carousel-arrow {
        opacity: 1;
        background: $bgPrimary;
        width: 35px;
        height: 35px;
        border-radius: 35px;
        position: relative;
        &.carousel-control-next {
            .carousel-control-next-icon {
                right: -1px;
                position: relative;
            }
        }
        @media only screen and (min-width: $sm_768) {
            top: calc(50% - 17px);
            position: absolute;
            &.carousel-control-prev {
                left: -40px;
            }
            &.carousel-control-next {
                right: -40px;
            }
        }
        @media only screen and (min-width: $lg_1200) {
            &.carousel-control-prev {
                left: -50px;
            }
            &.carousel-control-next {
                right: -50px;
            }
        }
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 20px;
        }
        @include aiDflexAlignItemsJustifyContentCenter;
        &:hover {
            background: $bgBlue;
            svg {
                path {
                    fill: $white;
                }
            }
        }
    }
    .ai-testimonial-dots {
        margin: 30px 0 30px;
        justify-content: flex-start;
        position: relative;
        order: 2;
        .ai-dot {
            width: 10px;
            height: 6px;
            background: $bgLightBlueV4;
            border-radius: 6px;
            opacity: 1;
            padding: 0;
            border: none;
            @include transition;
            &.active {
                width: 50px;
                background: $bgBlue;
            }
        }
        @media only screen and (max-width: $sm_767) {
           position: relative;
           justify-content: center;
           margin-top: 10px;
           margin-bottom: 20px;

        }
    }
    .ai-testimonial-card {
        .ai-head-24 {
            color: $textGray;
            font-weight: $fontMedium;
            @media only screen and (max-width: $sm_767) {
                position: relative;
                font-size: 18px;
            }
            @media only screen and (max-width: $xs_575) {
                font-size: 16px;
            }
        }
        .ai-testimonial-media {
            img {
                max-height: 400px;
                object-fit: cover;
                max-width: 100%;
                @media only screen and (max-width: $sm_767) {
                    max-height: 320px;
                }
                @media only screen and (max-width: $xs_575) {
                    max-height: 265px;
                }
            }
            @include aiDflexAlignItemsJustifyContentCenter;
            min-height: 265px;
            @media only screen and (min-width: $sm_768) {
                max-height: 320px;
            }
            @media only screen and (min-width: $lg_1200) {
                min-height: 400px;
            }
        }
    } 
}
// Testimonial End //

// Services Start //
.ai-services {
    .ai-services-column {
        @include aiColumnBrd;
        .ai-service-ci {
            @include aiColumnInnerbg;
            &.ai-image-blog {
                @include aiDflexDirection;
                justify-content: space-between;
                .ai-feature-img {
                    img {
                        aspect-ratio: 1 / .7;
                        object-fit: cover;
                    }
                }
                p {
                    margin: 4px 0 16px;
                }
                @media only screen and (min-width: $lg_1200) {
                    p {
                        margin: 4px 0 20px;
                    }
                }
            }
            p {
                margin: 8px 0 20px;
            }
        }
    }
    .ai-services-column-st2 {
        position: relative;
        .ai-service-ci {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba($color: $bgWhite, $alpha: 0.1);
            border: solid rgba($color: $bgWhite, $alpha: 0.35) 1px;
            backdrop-filter: blur(10px);
            width: calc(100% - 30px);
            border-radius: 10px;
            padding: 20px 20px 10px;
            z-index: 1;
            .ai-head-18 {
                color: $textWhite;
                margin-bottom: 8px;
                font-weight: $fontMedium;
            }
            p {
                color: $textWhite;
                font-weight: $fontLight;
            }
            .ai-common-btn {
                &.btn-transparent {
                    color: $textWhite;
                    border-color: rgba($color: $bgWhite, $alpha: 0.5);
                    svg {
                        height: 12px;
                        path {
                            fill: $bgWhite;
                        }
                    }
                }
            }
        }
    }
}
// Services End //

// Client Stories Start //
.ai-client-stories-slider {
    background: $bgWhite $bgBlueGradient;
    border: solid 1px $borderColor;
    border-radius: $borderRadius10;
    padding: 30px;
    position: relative;
    width: calc(100% - 160px);
    margin: 30px auto 0;
    &.ai-white-bg {
        background: $bgWhite;
    }
    @media only screen and (min-width: $lg_1200) {
        padding: 40px;
        margin: 40px auto 0;
    }
    @media only screen and (max-width: $sm_767) {
        width: calc(100% - 30px);
        margin: 20px auto 0;
    }
    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
        background: $borderColor;
        width: 35px;
        height: 35px;
        border-radius: 35px;
        position: absolute;
        top: calc(50% - 17px);
        @include aiDflexAlignItemsJustifyContentCenter;
        &:hover {
            background: $bgBlue;
            svg {
                path {
                    fill: $white;
                }
            }
        }
    }
    .carousel-control-prev {
        left: -45px;
        @media only screen and (min-width: $lg_1200) {
            left: -57px;
        }
    }
    .carousel-control-next {
        right: -45px;
        @media only screen and (min-width: $lg_1200) {
            right: -57px;
        }
    }
    &:before,
    &:after {
        width: 100%;
        content: "";
        position: absolute;
        top: 3%;
        background: transparent url('../images/ai-left-pattern.svg') no-repeat left center / 100% 100%;
        height: 95%;
        width: 85px;
        z-index: -1;
        filter: drop-shadow(0 0 10px rgba(0,0,0,.05));
        @media only screen and (max-width: $sm_767) {
           display: none;
        }
    }
    &:before {
        left: -75px;
    }
    &:after {
        right: -75px;
        transform: rotateY(180deg);
    }
    .ai-testimonial-card {
        .ai-qoute-icon {
            margin-bottom: 16px;
            @media only screen and (min-width: $lg_1200) {
                margin-bottom: 24px;
            }
        }
    }
}
// Client Stories End //

// Bottom Banner Start //
.ai-bottom-banner {
    background: $bgBlueGradient;
    border-radius: $borderRadius10;
    position: relative;
    overflow: hidden;
    .ai-banner-img {
        position: relative;
        right: -5px;
        background: url('../images/hp-bb-img.png') no-repeat left center / cover;
        width: 100%;
        height: 100%;
        min-height: 450px;
        @media only screen and (max-width: $xl_1400) {
            min-height: 365px;
        }
        @media only screen and (max-width: $md_991) {
            background-position: top right;
            aspect-ratio: 1 / 0.54;
            min-height: auto;
        }
    }
    .ai-banner-img03 {
        position: relative;
        right: -5px;
        background: url('../images/ai-banner-img03.png') no-repeat left center / cover;
        width: 100%;
        height: 100%;
        min-height: 450px;
        @media only screen and (max-width: $xl_1400) {
            min-height: 365px;
        }
        @media only screen and (max-width: $md_991) {
            background-position: top right;
            aspect-ratio: 1 / 0.54;
            min-height: auto;
            right: 0;
        }
    }
    .ai-service-banner {
        text-align: end;
        img {
            max-height: 445px;
        }
    }
    > {
        * {
            position: relative;
            z-index: 1;
        }
    }
    &:after {
        background: url('../images/ai-banner-bg.png') no-repeat center center / cover;
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0.1;
    }
    .ai-banner-content {
        padding-left: 50px;
        .ai-title {
            .ai-head-32 {
                font-weight: $fontMedium;
            }
        }
        @media only screen and (min-width: $xl_1601) {
            padding-left: 90px;
        }
        @media only screen and (max-width: $md_991) {
            padding-left: 30px;
            padding-right: 30px;
        }
    }
    &.ai-dark-banner {
        background: $bgDarkBlue;
        .ai-banner-content {
            .ai-title {
                .ai-subtitle {
                    color: $textWhite;
                    &:before {
                        background: rgba($color: $bgWhite, $alpha: 0.5);
                    }
                    &:before {
                        background: $bgWhite;
                    }
                }
                .ai-head-32 {
                    color: $textWhite;
                    font-weight: $fontMedium;
                    @media only screen and (min-width: $xl_1400) {
                        font-size: $font30;
                    }
                }
            }
            p {
                color: $textWhite;
            }
            .ai-common-btn {
                &.ai-border-btn {
                    background: rgba($color: $bgWhite, $alpha: 0.1);
                    border-color: rgba($color: $bgWhite, $alpha: 0.3);
                    color: $textWhite;
                    svg {
                        path {
                            fill: $bgWhite;
                        }
                    }
                    &:hover {
                        background: $bgBlue;
                        border-color: $bgBlue;
                    }
                }
            }
        }
    }
}
// Bottom Banner End //

// Subscribe Start //
.ai-subscribe {
    margin-bottom: -40px;
    @media only screen and (min-width: $xl_1400) {
        margin-bottom: -50px;
    }
    @media only screen and (min-width: $xl_1601) {
        margin-bottom: -60px;
    }
    position: relative;
    z-index: 2;
    .ai-form-subscribe {
        border: solid $borderColor 1px;
        height: 60px;
        padding: 8px;
        background: $bgWhite;
        border-radius: 60px;
        @include aiDflexWrap;
        gap: 12px;
        position: relative;
        padding-right: 140px;
        @media only screen and (max-width: $xs_575) {
            padding-right: 125px;
        } 
        .ai-head-40 {
            font-size: $font35;
        }
        input {
            width: 100%;
            border: none;
            padding: 4px 0px 4px 16px;
            font-weight: $fontLight;
            color: $textGray;
            @media only screen and (max-width: $xs_575) {
                font-size: 12px;
            } 
            &:focus {
                outline: none;
            }
            &::placeholder {
                color: $textGray;
                opacity: 1;
            }
        }
        .ai-submit-btn {
            position: absolute;
            right: 8px;
            top: 8px;
            min-width: auto;
        }
    }
}
// Subscribe End //
