// Container Width Start
.container-xl {
    max-width: 100%;

    @media only screen and (min-width: $xl_1301) {
        max-width: 1300px;
    }

    @media only screen and (min-width: $xl_1440) {
        max-width: 1400px;
    }

    @media only screen and (min-width: $xl_1660) {
        max-width: 1600px;
    }
}

.container-fluid {
    @media only screen and (min-width: $xl_1921) {
        max-width: 1900px;
    }
}

// Comman SCSS
p { 
    color: $textGray;
    font-weight: $fontLight;
    span {
        color: $textBlue;
        font-weight: $fontMedium;
        &.ai-gray-txt {
            color: $textGray;
        }
        a {
            color: $textBlue;
            font-weight: $fontSemiBold;
            &:hover,&:focus {
                color: $textSecondary;
            }
        }
    }
    &.ai-large {
        font-size: $font16;
        font-weight: $fontRegular;
        @media only screen and (max-width: $sm_767) {
            font-size: 15px;
        }
    }
    &.ai-black-cl {
        color: $textDark !important;
    }
    .ai-graylink {
        color: $textGray;
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }
}

.form-control {
    &:focus {
        box-shadow: none;
    }
}

.form-select {
    border-color: $borderGrey;
    border-radius: 4px;
    font-size: $font14;
    font-weight: $fontRegular;
    color: $textDark;
    &:focus {
        box-shadow: none;
        border-color: $borderGrey
    }
}

.ai-text-list {
    list-style: none;
    margin: 0;
    padding: 0;
    @include aiDflexWrap; 
    align-items: center;
    gap: 16px;
    li {
        @include aiDflex;
    }
}

hr {
    border-color: $bgGrey;
    opacity: 1;
}

.ai-blue-head {
    color: $textBlue;
    font-size: $font16;
    font-weight: $fontMedium;
    @media only screen and (max-width: $sm_767) {
        font-size: 15px;
    }
}

.ai-fw-medium {
    font-weight: $fontMedium !important;
}

.ai-dark-text {
    color: $textDark !important;
}

.ai-basic-link {
    color: $textBlue;
    text-decoration: underline;
    font-weight: $fontLight;
    &.ai-secondary-link {
        color: $textSecondary;
        text-decoration: none;
    }
    &.ai-grey-link {
        color: $textGray;
    }
    &:hover {
        text-decoration: none;
    }
}

// Common Button SCSS
.ai-common-btn {
    @include aiCommonBtn;
    &.ai-blue-btn {
        background: $bgBlue;
        &:hover {
            background: $bgSecondary;
        }
    }
    &.ai-border-btn {
        border-color: $bgBlue;
        background: $bgLightBlueV2;
        color: $textBlue;
        svg {
            path {
                fill: $bgBlue;
            }
        }
        &:hover {
            background: $bgBlue;
            color: $textWhite;
            svg {
                path {
                    fill: $bgWhite;
                }
            }
        }
        &.ai-sty-2 {
            border-radius: 5px;
            min-width: auto;
            padding: 4px 12px;
            height: 38px;
            min-height: auto;
            gap: 4px;
            &.ai-red {
                background: $bgLightRed;
                color: $textDark;
                border-color: $bgLightRedV2;
            }
            &.ai-blue {
                background: $bgLightBlueV2;
                color: $textDark;
                border-color: $bgLightBlueV6;
            } 
        }
        &.ai-border-btn-sc {
            border-color: $bgSecondaryLightv2;
            background: $bgSecondaryLight;
            color: $textSecondary;
            svg {
                path {
                    fill: $bgSecondary;
                }
            }
            &:hover {
                background: $bgSecondary;
                border-color: $bgSecondary;
                color: $textWhite;
                svg {
                    path {
                        fill: $bgWhite;
                    }
                }
            }
        }
    }
     &.ai-small-btn {
        border-radius: 40px;
        padding: 4px 12px;
        height: 40px;
        min-height: auto;
        border-radius: 40px;
        min-width: 105px;
    }
    &.btn-transparent,
    &.ai-btn-transparent {
        background: transparent;
        padding: 0;
        color: $textBlue;
        font-size: $font15;
        font-weight: $fontRegular;
        height: auto;
        min-width: auto;
        border-radius: 0;
        display: inline-flex;
        width: auto;
        border-width: 1px 0 0;
        border-style: solid;
        border-color: rgba($color: $bgDark, $alpha: .5);
        &.ai-secondary {
            color: $textSecondary;
            svg {
                path {
                    fill: $bgSecondary;
                }
            }
        }
        @media only screen and (min-width: $xl_1601) {
            font-size: 16px;
        }
        svg {
            path {
                fill: $bgBlue;
            }
        }
        &:hover {
            color: $textSecondary;
            svg {
                path {
                    fill: $bgSecondary;
                }
            }
        }
    }
    &.ai-white-btn {
        background: $bgWhite;
        color: $textBlue;
        svg {
            path {
                fill: $bgBlue;
            }
        }
    }
}

// Transparent Common Button SCSS
.ai-common-tbtn {
    @include aiDflexAlignItemsJustifyContentCenter;
    gap: 8px;
    font-weight: $fontRegular;
    color: $textDark;
    font-size: $font14;
    &:hover {
        color: $textBlue;
        svg {
            path {
                fill: $bgBlue;
            }
        }
    }
}

// Button Style Start
.ai-btn-group {
    @include aiDflexWrap;
    gap: 20px;
}

// Title Style Start
.ai-title {
    .ai-subtitle {
        position: relative;
        color: $textBlue;
        font-size: $font14;
        font-weight: $fontRegular;
        display: inline-block;
        padding-bottom: 8px;
        margin-bottom: 10px;
        min-width: 272px;
        @media only screen and (min-width: $xl_1660) {
            font-size: 15px;
        }
        &::before {
            width: 25%;
            background: $bgBlue;
            height: 2px;
            position: absolute;
            bottom: 0;
            content: '';
            left: 0;
            z-index: 1;
        }
        &::after {
            width: 65%;
            background: $bgLightBlueV3;
            height: 1px;
            position: absolute;
            bottom: 0;
            content: '';
            left: 0;
        }
    }
    &.ai-center-line {
        .ai-subtitle {
            &::before {
                left: 0;
                right: 0;
                margin: 0 auto;
            }
            &::after {
                left: 0;
                right: 0;
                margin: 0 auto;
            }
        }
    }
}

// Layout Space Start
.ai-layout-space {
    padding: 40px 0;
    @media only screen and (min-width: $xl_1400) {
        padding: 50px 0;
    }
    @media only screen and (min-width: $xl_1601) {
        padding: 60px 0;
    }
}

// Pattern Bg Start
.ai-pattern-sq-bg {
   background: url('../images/sq-pattern-bg.svg') no-repeat center center / cover;
}

.ai-bg-pattern {
    background: $bgBlueGradient;
    position: relative;
    .container-fluid {
        position: relative;
        z-index: 1;
    }
    &::before {
        @include aiPatternbg;
        left: 0;
        top: 0;
        background: url('../images/pattern-left.png') no-repeat left bottom / auto 100%;
    }
    &::after {
        @include aiPatternbg;
        right: 0;
        top: 0;
        background: url('../images/pattern-right.png') no-repeat right bottom / auto 100%;
    }
    .ai-client-stories-slider {
        background: $bgWhite;
    }
    .ai-btm-ws {
        > {
            * {
                position: relative;
                z-index: 2;
            }
        }
        &::after {
            content: '';
            width: 100%;
            height: 50px;
            background: $bgWhite;
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 1;
            @media only screen and (min-width: $md_992) {
                height: 100px;
            }
            @media only screen and (min-width: $lg_1200) {
                height: 120px;
            }
        }
    }
}

// Overlay Start
.ai-overlay {
    position: relative;
    img {
        border-radius: $borderRadius10;
        width: 100%;
        object-fit: cover;
    }
    &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: linear-gradient(0deg,rgba(17, 29, 51, 0.5) 0%, rgba(34, 34, 34, 0) 80%);
        z-index: 1;
        border-radius: $borderRadius10;
        pointer-events: none;
    }
}

// Icon Circle Start
.ai-icon-circle {
    background: $bgWhite;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    border: solid $borderColor 1px;
    margin-bottom: 16px;
    @include aiDflexAlignItemsJustifyContentCenter;
    &.ai-icon-gr-circle {
        border: none;
        background: linear-gradient(25deg, rgba($color: $bgExLightBlue, $alpha: 0.9) 25%, rgba($color: $bgLightBlue, $alpha: 0.9) 100%);
    }
    svg {
        height: 40px;
    }
    &.ai-icon-small {
        width: 60px;
        height: 60px;
        border-radius: 60px;
        margin-bottom: 12px;
        &.ai-ex-small {
            width: 50px;
            height: 50px;
            border-radius: 50px;
        }
    }
}
.ai-icon-column {
    p {
        margin: 8px 0 24px;
    }
}

// White Column Start
.ai-white-column {
    @include aiCmnColumn;
    &.ai-question-icon {
        position: relative;
        &::after {
            content: '';
            max-width: 55px;
            max-height: 55px;
            height: 100%;
            background: url("../images/icons/ai-question-circle.svg") no-repeat center center / 100% 100%;
            position: absolute;
            right: 20px;
            bottom: 20px;
            width: 100%;
            opacity: .5;
            @media only screen and (max-width: $xs_575) {
                max-width: 50px;
                max-height: 50px;
                right: 10px;
                bottom: 10px;
            }
        }
    }
}
// White Column End

.ai-lb-column {
    background: $bgLightBlueV5;   
    border-radius: $borderRadius10;
    padding: 12px 16px;
    color: $textBlue;
    font-size: $font16;
    font-weight: $fontMedium;
    @media only screen and (min-width: $md_992) {
        font-size: 18px;
        padding: 20px 24px;
    }
    @media only screen and (min-width: $xl_1920) {
        font-size: 20px;
    }
}

.ai-patter-image1 {
    &:after {
        @media only screen and (min-width: $lg_1200) {
            content: '';
            background: url('../images/ai-filing-pr.png') no-repeat right center / 100% auto;
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 48%;
        }
        @media only screen and (min-width: $xl_1400) {
            background-position: right center;
        }
    }
    &.ai-image-2 {
        &:after {
            @media only screen and (min-width: $lg_1200) {
                content: '';
                background-image: url('../images/ai-our-value.png');
            }
        }    
    }
    &.ai-image-3 {
        &:after {
            @media only screen and (min-width: $lg_1200) {
                content: '';
                background-image: url('../images/ai-our-partners.png');
            }
        }    
    }
    &.ai-image-4 {
        &:after {
            @media only screen and (min-width: $lg_1200) {
                content: '';
                background-image: url('../images/ai-ac-matters.png');
            }
        }    
    }
    &.ai-image-5 {
        &:after {
            @media only screen and (min-width: $lg_1200) {
                content: '';
                background-image: url('../images/ai-rh-ir1.png');
            }
        }    
    }
}

.ai-form-section {
    background: $bgWhite;
    padding: 30px;
    border-radius: $borderRadius10;
    border: solid $borderColor 1px;
    margin-top: 12px;
}

.ai-banner-half {
    margin-top: -100px;
}

.ai-bottom-es {
    padding-bottom: 150px;
}

.ai-column-white {
    @include aiCmnColumn;
    padding: 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: grid;
    @media only screen and (min-width: $xl_1601) {
        padding: 32px;
    }
    .ai-tag {
        @include aiBadge;
        position: absolute;
        top: 12px;
        right: 12px;
        display: inline-block;
        @media only screen and (max-width: $xs_575) {
            top: -1px;
            right: -1px;
            border-radius: 0 6px 0 6px;
        }
    }
    .ai-column-sm {
        padding: 20px;
    }
}

.ai-column-shadow {
    @include aiCmnColumn;
    padding: 24px;
    position: relative;
    display: grid;
}

// Common List 
.ai-cmn-list {
    list-style: none;
    margin: 0;
    padding: 0;
    li {
        position: relative;
        @include aiDflexAlignItemsCenter;
        gap: 12px;
        + {
            li {
                margin-top: 4px;
            }
        }
        p {
            margin: 0;
            font-weight: $fontLight;
        }
        &:before {
            content: '';
            width: 4px;
            height: 4px;
            border-radius: 4px;
            background: $textGray;
            display: inline-block;
        }
    }
}

// Menu Overflow Hidden
.ai-menu-open {
    overflow: hidden;
}
