.footer-wrapper {
    --border-color: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;

    .th-social {
        a {
            background-color: transparent;
            color: $white-color;
            border: 1px solid $white-color;

            &:hover {
                background-color: $theme-color;
                border-color: $theme-color;
            }
        }
    }
}

.widget-area {
    padding-top: $space;
    padding-bottom: 66px;
}

.footer-menu {
    margin: 0;
    padding: 0;

    @include md {
        text-align: center;
    }

    li {
        display: inline-block;
        margin-right: 30px;

        @include xs {
            margin-right: 5px;
        }

        a {
            position: relative;
            font-weight: 400;
            font-family: $body-font;
            font-size: 16px;
            line-height: 24px;
            color: $white-color;
            text-transform: capitalize;

            @include xs {
                font-size: 14px;
            }

            &:hover {
                color: $theme-color;
            }

        }
    }
}

.footer-links {
    ul {
        padding: 0;
        margin: 0;
    }

    li {
        font-family: $body-font;
        display: inline-block;
        padding-right: 15px;
        margin-right: 10px;
        position: relative;

        &:after {
            content: "";
            height: 20px;
            width: 1px;
            background-color: $body-color;
            position: absolute;
            top: 50%;
            right: 0;
            margin: -10px 0;
        }

        &:last-child {
            margin-right: 0;
            padding-right: 0;

            &:after {
                display: none;
            }
        }
    }

    a {
        font-family: inherit;
        color: $body-color;

        &:hover {
            color: $theme-color;
        }
    }
}

.footer-info {
    display: flex;
    min-width: 170px;
    margin-top: -0.4rem;
    margin-bottom: 0;

    &:not(:last-child) {
        margin-top: 0;
        margin-bottom: 10px;
    }

    &_title {
        font-size: 18px;
        color: $white-color;
        display: block;
        margin-bottom: 7px;

    }

    &_icon {
        @include equal-size(26px);
        min-width: 26px;
        line-height: 26px;
        font-size: 14px;
        background-color: $theme-color;
        color: $white-color;
        text-align: center;
        border-radius: 5px;
        gap: 8px;
        margin-right: 10px;
    }

    &_text {
        display: block;
        color: $body-color;
        margin-top: -0.45em;
        margin-bottom: -0.45em;
        align-self: center;
    }

    &_link {
        display: inline-block;
        color: $body-color;

        &:hover {
            color: $theme-color;
        }
    }
}

.copyright-wrap {
    padding: 22px 0;
    background-size: 100% auto;
}

.copyright-text {
    margin: 0;

    a {
        color: $theme-color;

        &:hover {
            color: $white-color;
        }
    }
}

.th-widget-contact {
    max-width: 265px;
}

.footer-contact {
    &-wrap {
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    display: flex;
    align-items: center;
    gap: 20px;

    &_icon {
        @include equal-size-lineHeight(70px);
        min-width: 70px;
        font-size: 30px;
        background-color: $white-color;
        color: $theme-color;
        border-radius: 5px;
        text-align: center;
        position: relative;

        &:before {
            content: "";
            height: 100%;
            width: 100%;
            background-color: $title-color;
            border-radius: inherit;
            position: absolute;
            top: -10px;
            left: -10px;
            z-index: -1;
            transition: 0.3s ease-in-out;
        }

        &:hover {
            &:before {
                top: 0;
                left: 0;
            }
        }
    }

    &_text {
        display: block;
        color: $body-color;
        margin-bottom: 5px;
    }

    &_link {
        display: inline-block;
        color: $body-color;
        font-size: 20px;
        font-weight: 600;

        &:hover {
            color: $title-color;
        }
    }
}

.info-box {
    display: flex;
    margin-bottom: 21px;

    &:last-child {
        margin-bottom: -5px;
    }

    &_icon {
        @include equal-size(30px);
        min-width: 30px;
        line-height: 29px;
        font-size: 14px;
        background-color: transparent;
        color: $theme-color;
        border: 1px solid $theme-color;
        border-radius: 999px;
        text-align: center;
        margin-right: 10px;
    }

    &_text {
        display: block;
        color: $body-color;
        margin-top: -0.45em;
        margin-bottom: 0;
    }

    &_link {
        display: inline-block;
        color: $body-color;

        &:hover {
            color: $theme-color;
        }
    }
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-left: 60px;

    .newsletter-title {
        max-width: 425px;
        margin-bottom: 0;
    }
}

.footer-layout1 {
    background-color: #080e1c;
    --body-color: #fff;
    overflow: hidden;

    .footer-top {
        background-color: $theme-color;
        position: relative;
        z-index: 2;
        border: none;
        --border-color: none;
    }

    .footer-logo {
        padding: 45px 45px 45px 0;
    }

    .shape-left,
    .shape-right {
        position: absolute;
        z-index: -1;
    }

    .shape-left {
        top: 0;
        left: 0;
    }

    .shape-right {
        bottom: 65px;
        right: 0;
    }

    .logo-bg {
        position: absolute;
        left: 0;
        top: 0;
        background-color: $white-color;
        height: 100%;
        width: 33%;
        z-index: -1;
        clip-path: polygon(100% 0,
                calc(100% - 60px) 50%,
                100% 100%,
                0 100%,
                0 0);

        &:before {
            content: "";
            height: 100%;
            width: calc(100% - 10px);
            background-color: $title-color;
            position: absolute;
            top: 0;
            left: 0;
            clip-path: polygon(100% 0,
                    calc(100% - 60px) 50%,
                    100% 100%,
                    0 100%,
                    0 0);
        }
    }
}

@include hd {
    .footer-layout1 .logo-bg {
        width: 37%;
    }
}

@include xxl {
    .footer-layout1 {
        .logo-bg {
            width: 27%;
        }

        .shape-right {
            bottom: -20px;
            right: -70px;
        }
    }
}

@include xl {
    .footer-layout1 .shape-left {
        max-width: 65%;
    }
}

@include lg {
    .footer-layout1 {
        .logo-bg {
            width: 100%;
            height: 170px;
            clip-path: polygon(100% 0,
                    100% 100%,
                    50% calc(100% - 40px),
                    0 100%,
                    0 0);

            &:before {
                width: 100%;
                height: calc(100% - 10px);
                clip-path: polygon(100% 0,
                        100% 100%,
                        50% calc(100% - 40px),
                        0 100%,
                        0 0);
            }
        }

        .footer-logo {
            padding: 40px 15px 60px 15px;
            text-align: center;
        }
    }

    .footer-contact-wrap {
        padding: 40px 0 30px 0;
    }
}

@include md {
    .footer-wrapper {
        .widget-area {
            padding-top: $space-mobile;
            padding-bottom: 30px;
        }
    }

    .footer-contact-wrap {
        grid-template-columns: auto auto;
        gap: 30px;
    }

    .copyright-text {
        text-align: center;
    }
}

@include xs {
    .copyright-wrap {
        background-size: cover;
    }

    .footer-contact {
        &-wrap {
            grid-template-columns: auto;
        }

        margin-left: 10px;
    }
}

/* footer 2 ---------------------------------- */
.footer-layout2 {
    background-color: $smoke-color2;

    &.bg-transparent {
        background-color: transparent;
        border-top: 1px solid #d9e0f3;
    }

    .footer-widget {

        .widget_title,
        .recent-post .post-title {
            color: $title-color;
            font-weight: 700;
        }
    }

    .copyright-wrap {
        --body-color: #fff;
        background-color: $theme-color;

        a {
            color: $white-color;

            &:hover {
                color: $title-color;
            }
        }
    }

    .th-social a {
        color: $body-color;
        box-shadow: none;
        border: 1px solid $body-color;

        &:hover {
            color: $white-color;
        }
    }

    .newsletter-form .form-group {
        @include xs {
            width: 75%;
        }
    }

    .newsletter-form .form-control {
        @include xs {
            width: 75%;
        }
    }
}

.footer-widget {
    .contact-feature {
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        gap: 15px;

        &:not(:last-child) {
            margin-bottom: 28px;
        }

        .icon-btn {
            --btn-size: 44px;
            font-size: 16px;
        }

        &_label {
            margin-top: -0.4em;
            font-size: 14px;
            text-transform: uppercase;
            line-height: 1.5;
        }

        &_link {
            font-size: 18px;
            margin-bottom: -0.4em;
            display: block;
        }
    }
}

.newsletter-widget {
    .newsletter-form {
        gap: 0;
    }

    .form-group {
        margin-bottom: 0;
    }

    input {
        border-radius: 5px 0 0 5px;
    }

    .icon-btn {
        border: none;
        background-color: $theme-color;
        color: $white-color;
        border-radius: 0 5px 5px 0;
        min-width: 56px;
        padding: 0;

        &:hover {
            background-color: $title-color;
        }
    }

    .footer-text {
        margin-bottom: 30px;
    }
}

/* footer 3 ---------------------------------- */
.footer-layout3 {
    background-color: $black-color2;
    background-size: cover;
    --body-color: #fff;

    .widget-area {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .th-btn {
        box-shadow: none;
    }

    .footer-top {
        padding-top: 80px;
        padding-bottom: 80px;
        border-bottom: 1px solid rgba($color: #fff, $alpha: 0.15);
        background-color: transparent;
    }

    .copyright-wrap {
        --body-color: #fff;
        background-color: $theme-color;

        a {
            color: $white-color;

            &:hover {
                color: $title-color;
            }
        }
    }
}

.newsletter-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 2px solid $theme-color;
    padding-left: 25px;

    .newsletter-title {
        margin-top: -0.3em;
        margin-bottom: 5px;
        max-width: 400px;
        color: $white-color;
    }

    .newsletter-text {
        margin-bottom: -0.5em;
        max-width: 400px;

        @include sm {
            text-align: center;
        }
    }
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 465px;
    gap: 15px;

    .form-group {
        margin-bottom: 0;
        width: 100%;

        >i {
            color: $theme-color;
        }
    }

    input {
        background-color: transparent;
        border: 1px solid #323232;
        width: 100%;

        &:focus {
            background-color: transparent;
            color: $body-color;
        }
    }

    .th-btn {
        min-width: 150px;
    }

    .newsletter-btn {
        display: inline-block;
        border: none;
        background-color: $theme-color;
        color: $title-color;
        @include equal-size-lineHeight(55px);
        min-width: 55px;
    }
}

@include lg {
    .footer-top {
        .footer-logo {
            text-align: center;
            margin: 0 auto 35px auto;
        }
    }
}

@include md {
    .footer-layout3 {
        .widget-area {
            padding-top: 80px;
            padding-bottom: 40px;
        }

        .footer-top {
            padding-top: 60px;
            padding-bottom: 60px;
        }
    }

    .footer-wrapper {
        .newsletter-form {
            max-width: 400px;
        }
    }

    .newsletter-wrap {
        .newsletter-title {
            font-size: 24px;
        }

        .newsletter-text {
            font-size: 14px;
        }
    }
}

@include sm {
    .newsletter-wrap {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
        border-left: none;
        gap: 20px;

        .newsletter-title {
            text-align: center;
        }
    }

    .footer-wrapper .newsletter-form {
        max-width: 550px;
        gap: 15px;
        justify-content: center;
    }
}

@include xs {
    .footer-wrapper .newsletter-form {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* footer 5 ---------------------------------- */
.footer-layout5 {
    background-color: #F7F8FB;

    .footer-newsletter {
        padding-left: 0;

        .newsletter-title {
            color: $title-color;
            max-width: 500px;
        }

        .newsletter-form {
            position: relative;
            max-width: 560px;

            i {
                position: absolute;
                top: 22px;
                left: 30px;
                color: $theme-color;
            }

            .form-control {
                border-radius: 100px;
                min-height: 60px;
                padding-left: 55px;
                padding-right: 200px;
                background-color: $white-color;
                border: 1px solid transparent;
                transition: all 0.3s ease-in-out;

                @include xs {
                    min-width: 100%;
                }

                &:hover {
                    border: 1px solid $theme-color;
                }
            }

            .th-btn {
                min-width: 188px;
                padding: 22px 40px;
                text-transform: capitalize;
                position: absolute;
                top: 0px;
                right: 0px;
                border-radius: 100px;

                @include xs {
                    max-width: 100%;
                    padding: 16px 20px;
                    position: relative;
                    margin-top: 10px;
                    display: block;
                    width: 100%;
                }
            }
        }
    }

    .footer-top {
        padding: 105px 0 75px 0;
        border-bottom: 1px solid #E4E7EE;

        @include md {
            padding: 80px 0 75px 0;
        }
    }

    .widget-area {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .widget_title {
        font-weight: 600;
        color: $title-color;
    }

    .footer-widget .recent-post .post-title {
        color: $title-color;
    }

    .th-social {
        a {
            --icon-size: 40px;

            &:not(:hover) {
                background: $white-color;
                color: $title-color;
                box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.06);
            }
        }
    }

    .copyright-wrap {
        padding: 18px 0;
        background-size: 100% auto;
        background-color: transparent;
        border-top: 1px solid rgba(121, 129, 150, 0.35);

        .copyright-text {
            color: $title-color;

            a {
                color: $theme-color;
            }
        }
    }
}

@include lg {
    .footer-newsletter {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-layout5 .footer-newsletter .newsletter-title {
        margin-top: -0.3em;
    }
}

/* footer 6 ---------------------------------- */
.footer-layout6 {
    background-color: #F7F8FB;

    .newsletter-widget {
        position: relative;
        overflow: hidden;
        max-width: 350px;

        i {
            position: absolute;
            top: 22px;
            left: 30px;
            color: $theme-color;
        }

        .form-control {
            border-radius: 100px;
            min-height: 60px;
            padding-left: 55px;
            padding-right: 130px;
            background-color: $white-color;
            border: 1px solid transparent;
            transition: all 0.3s ease-in-out;

            @include xs {
                min-width: 100%;
            }

            &:hover {
                border: 1px solid $theme-color;
            }
        }

        .th-btn {
            padding: 23px 30px;
            text-transform: capitalize;
            position: absolute;
            top: 0px;
            right: 0px;
            border-radius: 100px;
            min-width: auto;

            @include xs {
                max-width: 100%;
                padding: 16px 20px;
                position: relative;
                margin-top: 10px;
                display: block;
                width: 100%;
            }
        }
    }

    .widget-area {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .widget_title {
        font-weight: 600;
        color: $title-color;
        text-transform: capitalize;
    }

    .footer-widget .recent-post .post-title {
        color: $title-color;
    }

    .th-social {
        a {
            --icon-size: 40px;

            &:not(:hover) {
                background: $white-color;
                color: $title-color;
                box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.06);
            }
        }
    }

    .copyright-wrap {
        padding: 29.5px 0;
        background-size: 100% auto;
        background-color: transparent;
        border-top: 1px solid rgba(121, 129, 150, 0.35);

        .copyright-text {
            color: $title-color;

            a {
                color: $theme-color;
            }
        }
    }
}

@include lg {
    .footer-newsletter {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-layout6 .footer-newsletter .newsletter-title {
        margin-top: -0.3em;
    }
}

/* footer 7 ---------------------------------- */
.footer-layout7 {
    background-color: #EFF1F9;

    .footer-newsletter {
        padding-left: 0;

        .newsletter-title {
            color: $title-color;
            max-width: 500px;
        }

        .newsletter-form {
            position: relative;
            overflow: hidden;
            max-width: 560px;

            i {
                position: absolute;
                top: 22px;
                left: 30px;
                color: $theme-color;
            }

            .form-control {
                border-radius: 100px;
                min-height: 60px;
                padding-left: 55px;
                padding-right: 200px;
                background-color: $white-color;
                border: 1px solid transparent;
                transition: all 0.3s ease-in-out;

                @include xs {
                    min-width: 100%;
                }

                &:hover {
                    border: 1px solid $theme-color;
                }
            }

            .th-btn {
                min-width: 188px;
                padding: 22px 40px;
                text-transform: capitalize;
                position: absolute;
                top: 0px;
                right: 0px;
                border-radius: 100px;

                @include xs {
                    max-width: 100%;
                    padding: 16px 20px;
                    position: relative;
                    margin-top: 10px;
                    display: block;
                    width: 100%;
                }
            }
        }
    }

    .footer-top {
        padding: 105px 0 75px 0;
        border-bottom: 1px solid #D0D3DA;
    }

    .widget-area {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .widget_title {
        font-weight: 600;
        text-transform: capitalize;
        color: $title-color;
    }

    .footer-widget .recent-post .post-title {
        color: $title-color;
    }

    .th-social {
        a {
            --icon-size: 40px;

            &:not(:hover) {
                background: $white-color;
                color: $title-color;
                box-shadow: 0px 9px 20px 0px rgba(0, 0, 0, 0.06);
            }
        }
    }

    .copyright-wrap {
        padding: 35.5px 0;
        background-size: 100% auto;
        background-color: transparent;
        border-top: 1px solid rgba(121, 129, 150, 0.35);

        .copyright-text {
            color: $title-color;

            a {
                color: $theme-color;
            }
        }
    }
}

@include lg {
    .footer-newsletter {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-layout7 .footer-newsletter .newsletter-title {
        margin-top: -0.3em;
    }
}

/* footer 8  start ---------------------------------- */
.footer-layout8 {
    --body-color: #8D929C;

    .footer-widget {
        &.style2 {
            max-width: 561px;
            background-color: #16181D;
            padding: 40px;
            border-radius: 20px;

            @include lg {
                max-width: 100%;
            }

            @include vxs {
                padding: 30px;
            }

            .widget_title {
                color: $white-color;

                &:after {
                    border: 2px solid #16181D;
                }
            }
        }
    }

    .newsletter-widget {
        position: relative;
        overflow: hidden;
        max-width: 100%;

        .newsletter-form {
            max-width: 481px;

            @include lg {
                max-width: 100%;
            }

            &.style2 {
                i {
                    background: linear-gradient(180deg, var(--theme-color) 0%, var(--theme-color) 100%);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                    text-fill-color: transparent;
                    top: 18px;
                }
            }
        }

        .footer-text {
            margin-bottom: 20px;
        }

        i {
            position: absolute;
            top: 18px;
            left: 30px;
            font-weight: 400;
            font-size: 18px;
            background: linear-gradient(180deg, $theme-color 0%, $theme-color2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;


        }

        .form-control {
            border-radius: 100px;
            min-height: 56px;
            padding-left: 55px;
            padding-right: 130px;
            background-color: $black-color !important;
            border: 1px solid transparent;
            transition: all 0.3s ease-in-out;

            @include xs {
                min-width: 100%;
                padding-right: 30px;
            }

            &:hover {
                border: 1px solid $theme-color;
            }
        }

        .th-btn {
            padding: 20px 30px;
            text-transform: capitalize;
            position: absolute;
            top: 0px;
            right: 0px;
            border-radius: 100px;
            min-width: auto;

            @include xs {
                max-width: 100%;
                padding: 16px 20px;
                position: relative;
                margin-top: 10px;
                display: block;
                width: 100%;
            }
        }
    }

    .widget-area {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .widget_title {
        font-weight: 600;
        color: $title-color;
        font-size: 20px;
        text-transform: none;
    }

    .footer-widget .recent-post .post-title {
        color: $title-color;
    }

    .th-social {
        a {
            --icon-size: 40px;
            background-color: #292E38;
            border-color: #292E38;
            box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.06);

            &:hover {
                background: linear-gradient(180deg, $theme-color 0%, $theme-color2 100%);
                color: #292E38;
                border-color: $theme-color;
            }
        }
    }

    .copyright-wrap {
        background-color: #16181D;

        .copyright-text {
            color: $white-color;

            a {
                font-family: $body-font;
                background: linear-gradient(180deg, #02CE80 0%, #7BD706 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                text-fill-color: transparent;


            }
        }
    }
}

/* footer 8  end ---------------------------------- */

/* footer 9  start ---------------------------------- */
.footer-layout9 {
    .th-social {
        a {
            --icon-size: 40px;
            background-color: #292E38;
            border-color: #292E38;
            box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.06);

            &:hover {
                background: $theme-color;
                border-color: $theme-color;
            }
        }
    }

    .copyright-wrap .copyright-text a {
        background: transparent;
        color: $theme-color;
        -webkit-text-fill-color: $theme-color;
    }
}

/* footer 9  end ---------------------------------- */
/*footer 11 start -----------------------------------*/
.footer-layout11 {
    background-color: $black-color;
    --body-color: #A1A6B0;

    .footer-top {
        border-bottom: 1px solid #2C3248;
    }

    .footer-newsletter {
        .newsletter-title {
            color: $white-color;
        }

        .newsletter-form {

            .form-control {
                background-color: #16181D;
            }

            .th-btn {
                padding: 23px 40px;

                &:hover {
                    color: $title-color;

                    &:before,
                    &:after {
                        background-color: $white-color;
                    }
                }
            }
        }
    }

    .footer-widget {
        .widget_title {
            text-transform: none;
        }

        &.widget_nav_menu a {
            margin-bottom: 14px;
        }
    }


    .copyright-wrap {
        background-color: #16181D;
        border-top: none;

        .copyright-text {
            color: $white-color;
        }
    }

    .th-widget-about {
        &.style2 {
            max-width: 290px;
        }
    }


    .th-social {
        a {
            border: none;

            &:not(:hover) {
                background: #1C1C25;
                box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.06);
                border-radius: 100px;
                color: $white-color;
            }
        }
    }
}

/* footer 11  end ---------------------------------- */

/* footer 12 start ---------------------------------*/

.footer-layout12 {
    background-color: #000C2C;
    border-radius: 30px 30px 0 0;
    --body-color: #797E88;

    .footer-top {
        border-bottom: 1px solid #2C3248;
    }

    .footer-newsletter {
        .newsletter-title {
            color: $white-color;
        }

        .newsletter-form {

            .th-btn {
                padding: 23px 40px;

                &:hover {
                    color: $white-color;

                    &:before,
                    &:after {
                        background-color: $title-color;
                    }
                }
            }
        }
    }

    .footer-widget {
        .widget_title {
            text-transform: none;
        }

        &.widget_nav_menu a {
            margin-bottom: 14px;
        }
    }


    .copyright-wrap {
        background-color: transparent;



        .copyright-text {
            color: $white-color;
        }
    }

    .th-widget-about {
        &.style2 {
            max-width: 290px;
        }
    }


    .th-social {
        a {
            border: none;

            &:not(:hover) {
                background: $white-color;
                box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.06);
                border-radius: 100px;
                color: $title-color;
            }
        }
    }
}

/* footer 12 end ---------------------------------*/
/* footer 12 start ---------------------------------*/
.footer-layout13 {
    background-color: #000;


}

/* footer 13 end ---------------------------------*/
/* footer 14 start ---------------------------------*/
.footer-layout14 {
    position: relative;
    z-index: 2;

    &:before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(6, 7, 7, 0.93);
        border-radius: 30px 30px 0 0;
        z-index: -1;
    }

    .footer-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    }

    .footer-widget .widget_title.style2:after {
        border: 2px solid #060707ed;
    }
}

/* footer 14 end ---------------------------------*/
/* footer 15 start ---------------------------------*/
.footer-layout15 {

    .footer-widget {
        .widget_title.style2 {

            &:before {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 61px;
                height: 2px;
                background: $theme-color;
            }
        }
    }

    .newsletter-widget {
        i {
            background: $theme-color;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }
    }

    .copyright-wrap {
        .copyright-text {
            a {
                background: $theme-color;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                text-fill-color: transparent;
            }
        }
    }

    .th-social {
        a {
            &:hover {
                background: $theme-color;
            }
        }
    }
}

/* footer 14 end ---------------------------------*/

.footer-layout16 {
    background-color: #16181D;

    .footer-widget .widget_title.style2:after {
        border: 2px solid #16181D;
    }
}

.footer-layout17 {
    background-color: #10131C;
    border-radius: 40px 40px 0 0;

    .widget-area {
        padding-top: 120px;
        padding-bottom: 80px;

        @include md {
            padding-top: 80px;
        }


    }

    .info-box {
        display: flex;
        margin-bottom: 30px;

        &:last-child {
            margin-bottom: 0;
        }

        &_icon {
            @include equal-size(65px);
            min-width: 65px;
            line-height: 65px;
            font-size: 20px;
            background-color: $theme-color;
            color: $white-color;
            border-radius: 50%;
            text-align: center;
            margin-right: 20px;

            @include xs {
                @include equal-size(55px);
                min-width: 55px;
                line-height: 55px;
            }
        }

        &_subtitle {
            font-family: $title-font;
            font-size: 14px;
            color: $body-color;
            font-weight: 500;
            text-transform: uppercase;
            display: block;
            margin-bottom: 6px;
        }

        &_text {
            display: block;
            color: $white-color;
            font-size: 16px;
            font-weight: 400;
            line-height: 26px;
            margin-top: -0.45em;
            margin-bottom: -0.45em;
            align-self: center;
        }

        &_link {
            display: block;
            color: $white-color;

            &:hover {
                color: $theme-color;
            }
        }
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        padding: 60px;

        @include md {
            display: block;
            padding: 40px;
        }

        @include sm {
            padding: 30px;
        }

        .footer-logo {
            min-width: 185px;

            @include md {
                display: block;
                text-align: center;
                margin-bottom: 30px;
            }
        }

        .footer-text {
            width: 752px;
            margin-left: auto;
            margin-bottom: -0.3rem;
            color: #797E88;

            @include lg {
                width: 100%;
            }

            @include md {
                text-align: center;
            }
        }

        &-area {
            border-bottom: none;
            background: #051234;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0px 19px 53px rgba(0, 0, 0, 0.05);
            border-radius: 30px;
            margin: 80px 0 0px 0px;
        }
    }

    .footer-menu-area {
        background: #051234;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0px 19px 53px rgba(0, 0, 0, 0.05);
        border-radius: 30px;
        padding: 10px 10px 10px 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        @include md {
            display: block;
            padding: 10px;
            text-align: center;
        }

        .footer-menu {
            margin: 0;
            padding: 0;

            @include md {
                margin-bottom: 20px;
            }

            li {
                display: inline-block;
                margin-right: 35px;

                @include xs {
                    margin-right: 10px;
                }

                a {
                    position: relative;
                    font-weight: 600;
                    font-family: $title-font;
                    font-size: 16px;
                    line-height: 24px;
                    color: var(--white-color);
                    text-transform: capitalize;

                    @include xs {
                        font-size: 14px;
                    }

                    &:hover {
                        color: $theme-color;
                    }

                }
            }
        }
    }

    .th-social {
        a {
            --icon-size: 35px;
            background-color: transparent;
            border: 1px solid #36393F;
            color: $white-color;
            font-size: 14px;
            transition: all 0.4s ease-in-out;

            &:hover {
                background-color: $theme-color;
                border-color: $theme-color;
                color: $white-color;
            }
        }
    }

    .th-widget-contact {
        max-width: 265px;
    }

    .copyright-wrap {
        text-align: center;
        border: 1px solid #2C2E34;
    }

    .copyright-text {
        color: $white-color;

        a {
            color: $white-color;
        }
    }
}

/*footer-layout15 start ---------------------------- */
.footer-layout18 {
    --body-color: #A1A6B0;
    border-radius: 30px 30px 0 0;

    .footer-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-newsletter {
        .newsletter-title {
            color: $white-color;
        }

        .newsletter-form {
            .form-control {
                border-radius: 100px;
                min-height: 60px;
                padding-left: 55px;
                padding-right: 200px;
                background-color: transparent;
                border: 1px solid rgba(255, 255, 255, 0.2);
                transition: all 0.3s ease-in-out;
            }

            .th-btn {
                top: 5px;
                right: 5px;
                padding: 18px 40px;
                min-width: 130px;
                background: linear-gradient(180deg, #3E66F3 0%, #0031DD 100%);


                &:hover {
                    color: $title-color;

                    &:before,
                    &:after {
                        background-color: $white-color;
                    }
                }
            }
        }
    }

    .footer-widget {
        .widget_title {
            text-transform: none;
        }

        &.widget_nav_menu a {
            margin-bottom: 14px;
        }
    }


    .copyright-wrap {
        background-color: transparent;



        .copyright-text {
            color: $white-color;
        }
    }

    .th-widget-about {
        &.style2 {
            max-width: 290px;
        }
    }


    .th-social {
        a {
            border: none;

            &:not(:hover) {
                background: $white-color;
                box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.06);
                border-radius: 100px;
                color: $title-color;
            }
        }
    }
}

/*footer-layout15 start ---------------------------- */

.footer-layout20 {
    position: relative;
    z-index: 2;

    &:before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 8, 37, 0.96);
        z-index: -1;
    }
}

//
.footer-layout21 {
    background-color: #16181D;
    border-radius: 0;

    .footer-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-widget .widget_title.style2:after {
        border: 2px solid #16181D;
    }

    .footer-newsletter .newsletter-form {
        max-width: 423px;

        .form-control {
            border-radius: 100px;
            min-height: 56px;
            padding-left: 55px;
            padding-right: 200px;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        i {
            top: 20px;
        }

        .th-btn {
            min-width: 130px;
            padding: 16px 35px;
            top: 5px;
            right: 5px;

            &:hover {
                color: $title-color;

                &:before,
                &:after {
                    background-color: $white-color;
                }
            }
        }

    }

    .copyright-wrap {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* footer layout 22 start ---------------------*/
.footer-layout22 {
    background-color: rgba(6, 7, 7, 0.90);

    .footer-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .copyright-wrap {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-newsletter .newsletter-form {
        max-width: 423px;

        .form-control {
            border-radius: 100px;
            min-height: 56px;
            padding-left: 55px;
            padding-right: 200px;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        i {
            top: 20px;
        }

        .th-btn {
            background-color: transparent;
            background: var(--Theme-color, linear-gradient(180deg, $theme-color 0%, $theme-color2 100%));
            min-width: 130px;
            padding: 16px 35px;
            top: 5px;
            right: 5px;

            &:hover {
                color: $title-color;

                &:before,
                &:after {
                    background-color: $white-color;
                }
            }
        }


    }

    .th-social a {
        transition: all 0.4s ease-in-out;

        &:hover {
            background-color: transparent;
            background: var(--Theme-color, linear-gradient(180deg, $theme-color 0%, $theme-color2 100%));
            border-color: var(--theme-color);
        }
    }
}

/* footer layout 22 end ---------------------*/

.footer-layout23 {

    --body-color: #fff;

    .widget_title {
        text-transform: capitalize;
    }

    .footer-top {
        border-bottom: 1px solid rgba(121, 129, 150, 0.35);
        // border: 1px solid;
        // border-image-slice: 1;
        // border-width: 1px;
        // border-left: 0;
        // border-right: 0;
        // border-top: 0;
        // border-image-source: linear-gradient(89.96deg, #5484FF 17.55%, #642CDC 87.6%);
    }

    .footer-newsletter {
        .newsletter-form {
            .form-control {
                color: #797E88;

                @include inputPlaceholder {
                    color: #797E88;
                }

            }


            .th-btn {
                min-width: 180px;
                padding: 18px 33px;
                text-transform: capitalize;
                position: absolute;
                top: 4px;
                right: 4px;
                border-radius: 100px;

                @include xs {
                    max-width: 100%;
                    padding: 16px 20px;
                    position: relative;
                    margin-top: 0px;
                    display: block;
                    width: 100%;

                }
            }
        }
    }

    .copyright-wrap .copyright-text {
        color: $white-color;
    }
}

.footer-layout19 {
    position: relative;
    z-index: 2;
    background-color: transparent;
    --body-color: #fff;

    @include sm {
        margin-top: 30px;
    }

    .widget-area {
        padding: 165px 0 10px 0;

        @include sm {
            padding: 100px 0 10px 0;
        }
    }

    .about-text {
        color: $white-color;
        margin-bottom: 10px;
    }

    .working-time {
        .title {
            font-weight: 500;
            font-size: 18px;
            color: #00E3DB;

        }

        .desc {
            font-family: $title-font;
            font-weight: 400;
            font-size: 16px;
            color: #FFFFFF;

        }
    }

    .widget_title {
        color: $white-color;
        font-size: 22px;
        text-transform: capitalize;
        padding: 0 0 30px 0;

        &.style2 {
            &:before {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 89px;
                height: 13px;
                background-image: url("../img/theme-img/title_shape_6.svg");
            }
        }

        &:before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 89px;
            height: 13px;
            background-image: url("../img/theme-img/title_shape_6.svg");
        }

        &:after {
            display: none;
        }
    }

    .copyright-wrap {
        background-color: #F2F6FF;
    }

    .footer-widget.widget_nav_menu a {
        padding-left: 0;

        &:before {
            display: none;
        }

        &:hover {
            color: $theme-color2;
        }
    }

    &:before {
        content: "";
        position: absolute;
        inset: 0;
        mask-image: url('../img/bg/footer_bg_shape.png');
        background-color: $theme-color;
        mask-repeat: no-repeat;
        mask-size: cover;
        z-index: -1;

        @include lg {
            mask-size: 100% 100%;
        }

        @include sm {
            mask-image: none;
        }
    }

    &:after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../img/bg/footer_bg_19.png");
        mask-repeat: no-repeat;
        mask-size: cover;
        z-index: -1;
    }

    .footer-links a {
        &:not(:hover) {
            color: $theme-color;
        }

        &:hover {
            color: $title-color;
        }
    }

    .shape-mockup.footer-shape {
        z-index: -2;
    }
}

.footer-layout5.footer-layout19 {
    .th-social a {
        --icon-size: 40px;
        background-color: $white-color;
        position: relative;
        box-shadow: none;
        border-radius: 0;
        mask-image: url("../img/shape/polygon.png");
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
        border: none;
        color: $white-color;
        margin-right: 10px;
        transition: all .4s ease-in-out;

        &:before {
            content: '';
            position: absolute;
            inset: 2px;
            background-color: $theme-color;
            mask-image: url("../img/shape/polygon.png");
            mask-repeat: no-repeat;
            mask-size: 100% 100%;
            z-index: -1;
            transition: all .4s ease-in-out;
        }

        &:hover {
            background-color: #00E3DB;
            color: $title-color;

            &:before {
                background-color: #00E3DB;
            }
        }
    }
}

.newsletter-wrapper {
    text-align: center;
    max-width: 809px;
    display: block;
    margin: auto;
}

.newsletter-form3 {
    position: relative;
    display: flex;
    width: 100%;

    @include vxs {
        display: block;
    }

    i {
        position: absolute;
        top: 20px;
        left: 30px;
        color: $white-color;
        z-index: 9;
    }

    select,
    .form-control,
    .form-select,
    textarea,
    input {
        border: 1px solid $theme-color;
        color: $white-color;
        background-color: $theme-color;
        border-radius: 4px;
        font-size: 16px;
        width: 100%;
        padding-left: 55px;
        mask-image: url("../img/shape/newsletter-shape.png");
        mask-repeat: no-repeat;
        mask-size: 100% 100%; 

        @include inputPlaceholder {
            color: $white-color;
        }
    }

    .th-btn2 {
        position: absolute;
        top: 5px;
        right: 5px;
        padding: 15px 30px;
        clip-path: none;
        mask-image: url('../img/shape/shape-5.png');
        mask-repeat: no-repeat;
        mask-size: 100% 100%;

        @include vxs {
            position: relative;
            right: 0;
            width: 100%;
        }

        &:hover {
            color: $title-color;

            &:before,
            &:after {
                background-color: $white-color;
            }
        }
    }

}

/* footer-layout20 ------------------------*/
.footer-layout20 {
    background-color: #000;

    &:before {
        display: none;
    }

    .footer-newsletter {
        .newsletter-title {
            color: $white-color;
            max-width: 500px;
        }

        .newsletter-form .th-btn {
            padding: 23px 40px;
        }
    }

    .footer-top {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .widget_title.style2:before,
    &:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 61px;
        height: 2px;
        background: $theme-color;
    }
}

/*footer-layout24 ---------------------*/
.footer-layout24 {
    background-color: transparent;
    margin-top: -50px;

    @media(min-width: 1930px) {
        background-size: cover;
    }

    @include ml {
        background-size: cover;
    }

    @include lg {
        margin-top: 50px;
    }

    @include xs {
        margin-top: 0; 
    }

    .footer-image {
        text-align: right;
        margin-right: -60px;

        @media(max-width: 1799px) {
            margin-right: 0;
        }

        @include lg {
            display: none;
            margin-top: 0px;
        }
    }

    .footer-top {
        border: none;
        padding: 0;

        @include lg {
            padding: 50px 0;
            text-align: center;
        }

    }

    .footer-newsletter {
        display: block;
        padding-top: 90px;

        @media(max-width: 1699px) {
            padding-top: 40px;
        }

        @media(min-width: 1930px) {
            padding-top: 0;
        }

        @include ml {
            padding: 0 0 20px 0;
        }


        @include lg {
            text-align: center;
            padding: 0;
        }

        .newsletter-title {
            color: $white-color;
            margin-bottom: 35px;
            max-width: 786px;

            @include lg {
                text-align: center;
                display: block;
                margin: auto auto 35px auto;
            }
        }

        .newsletter-form {
            @include lg {
                display: block;
                margin: auto;
            }

            input {
                height: 63px;
            }

            i {
                top: 24px;
                color: $title-color;
            }

            .th-btn {
                text-transform: uppercase;
                color: $title-color;
                padding: 24px 40px;

                &:hover {
                    color: $white-color;
                }
            }
        }
    }

    .copyright-wrap {
        background-color: $white-color;

        .copyright-text {
            a {
                color: $title-color;
            }
        }

        .footer-menu li a {
            &:not(:hover) {
                color: $title-color;
            }
        }

        .th-social {
            @include md {
                text-align: center;
                padding: 5px 0;
            }

            a {

                &:hover {
                    color: $title-color;
                }
            }
        }
    }

}