
.footer-widgets-wrapper {
    padding: 90px 0 120px;
    position: relative;
    z-index: 9;


    @include breakpoint(max-xl){
        padding: 60px 0 90px;
    }

    @include breakpoint(max-lg){
        padding: 50px 0 70px;
    }

    .single-footer-widget {
        margin-top: 30px;

        .widget-head {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid transparent;
            border-image:linear-gradient(90deg, #F39F5F 4.85%, rgba(201, 203, 223, 0.00) 96.39%);
            border-bottom: 2px solid transparent;
            border-image-slice: 2;
            display: inline-block;

            @include breakpoint (max-sm){
               margin-bottom: 20px;
            }

            h3 {
                font-weight: bold;
                color: $header-color;
                font-size: 24px;
                display: inline-block;
            }
        }

        .footer-content {
            p {
                color: $header-color;
            }

            .social-icon {
                margin-top: 40px;
                gap: 15px;
                position: relative;
                z-index: 9;

                @include breakpoint (max-sm){
                    margin-top: 20px;
                }

            a {
                width: 36px;
                height: 36px;
                line-height: 36px;
                text-align: center;
                font-size: 16px;
                display: block;
                color: $header-color;
                transition: all .4s ease-in-out;
                text-align: center;
                background-color: transparent;
                border: 1px solid rgba(56, 84, 105, .2);

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

            &.style-two {
                .social-icon {
                    margin-top: 20px;
                    margin-bottom: 35px;
                }
            }

            .footer-input {
                position: relative;
                margin-top: 40px;

                input {
                    background: transparent;
                    border: none;
                    outline: none;
                    padding: 18px 20px;
                    width: 100%;
                    border-radius: 8px;
                    border: 1px solid rgba(92, 112, 126, .3);
                    color: $text-color;

                    &::placeholder {
                        color: $text-color;
                    }
                }

                .newsletter-btn {
                    position: absolute;
                    top: 5px;
                    right: 5px;
                    width: 60px;
                    height: 55px;
                    line-height: 60px;
                    border-radius: 4px;
                    text-align: center;
                    background-color: $theme-color;
                    color: $white;
                    bottom: 5px;

                    i {
                        font-size: 24px;
                    }
                }
            }

            .contact-info {
                margin-top: 20px;

                li {
                    color: $text-color;
                    font-weight: 500;

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

                   i {
                        font-size: 16px;
                        color: $theme-color;
                        margin-right: 10px;
                        font-size: 20px;
                   }

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

       .list-area {
            li {
                @include transition;
                font-weight: 500;

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

                a {
                    color: $header-color;

                    i {
                        margin-right: 5px;
                    }
                }

                &:hover {
                    margin-left: 5px;
                    a {
                        color: $theme-color;
                    }
                }
            }
       }

       .recent-post-area {
            .recent-post-items {
                @include flex;
                gap: 20px;
                margin-bottom: 25px;

                .thumb {
                    width: 80px;
                    height: 80px;

                    img {
                        @include imgw;
                    }
                }

                .content {
                    .post-date {
                        margin-bottom: 10px;

                        li {
                            color: $theme-color;
                        }
                    }

                    h6 {
                        font-size: 16px;
                        font-weight: 700;

                        a {
                            color: $header-color;

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

       .footer-post {
        .single-post-item {
            overflow: hidden;
            .thumb {
                width: 80px;
                height: 80px;
                float: left;
                margin-right: 20px;
            }

            .post-content {
                .post-date {
                    color: $theme-color;
                    margin-bottom: 10px;

                    i {
                        margin-right: 10px;
                    }
                }

                h6 {
                    font-size: 16px;

                    a {
                        color: $text-color;

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

       &.style-margin {
            @include breakpoint (xl){
                margin-left: 70px;
            }
       }

       &.style-margin-2 {
        @include breakpoint (xl){
            margin-left: 50px;
        }
   }

       .footer-gallery {
        .gallery-wrap {
            .gallery-item {
                @include flex;
                gap: 10px;

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

                .thumb {
                    position: relative;

                    @include breakpoint(max-sm){
                        width: 100px;
                    }

                    img {
                        @include imgw;
                        border-radius: 8px;
                    }

                    .icon {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        z-index: 1;
                        text-align: center;
                        transition: .3s;
                        opacity: 0;
                        width: 100%;
                        height: 100%;

                        &::after{
                            position: absolute;
                            content: "";
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            background-color: rgba(243, 159, 95, .85);
                            transition: .4s;
                            opacity: 0;
                            width: 100%;
                            height: 100%;
                            border-radius: 8px;
                        }

                        i {
                            color: $white;
                            font-size: 22px;
                            z-index: 99;
                            position: relative;
                            margin-top: 25px;
                        }
                    }

                    &:hover {
                        .icon {
                            opacity: 1;
                            &::after {
                                opacity: 1;
                            }
                        }
                    }
                }
            }
        }
    }
    }

    .footer-style-2 {
        background-color: rgba(122, 135, 255, .15);
        margin-top: 30px;
        padding: 20px 50px 50px 50px;
        position: relative;
        z-index: 9;

        .single-footer-widget {
            .footer-content {
                .contact-info-area-2 {
                    margin-top: 20px;

                    .contact-info-item-2 {
                        display: flex;
                        gap: 16px;

                        .icon {
                            font-size: 24px;
                            color: $white;
                        }

                        .content {
                            h6 {
                                font-weight: 700;
                                color: $white;
                                margin-bottom: 5px;
                            }

                            a {
                                color: $text-color-2;
                            }
                        }
                    }
                }

                .apps-image {
                    gap: 16px;
                    margin-top: 30px;
                }
            }
        }
    }
}

.footer-bottom {
    position: relative;
    z-index: 9;
    z-index: 9;

    .f-bottom-shape {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #C9DDE2;
        transition: all 500ms ease;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 92"><path d="M84.7504 27.2721C51.6574 -20.7819 14.4614 12.773 0 35.5572V92H1920V18.9869C1896.59 -9.59695 1871.91 7.07696 1862.49 18.9869C1844.33 45.0852 1828.02 37.4559 1822.13 30.379C1792.67 -11.4611 1766.47 2.24395 1757.06 14.3265C1734.46 44.1531 1718.38 37.4559 1713.17 30.379C1681.69 -9.38979 1655.66 3.10699 1646.58 14.3265C1626.8 44.1531 1612.11 37.4559 1607.23 30.379C1575.75 -11.0468 1551.07 2.41656 1542.66 14.3265C1523.69 43.7389 1504.49 37.2833 1497.26 30.379C1467.8 -9.38979 1440.59 3.10699 1430.67 14.3265C1410.89 48.71 1392.16 39.3546 1385.27 30.379C1357.42 -13.1181 1327.92 5.00568 1316.66 19.5047C1300.92 43.5317 1287.9 36.7655 1283.36 30.379C1252.29 -12.2896 1227.37 -0.862982 1218.79 10.1839C1198.61 47.4672 1178.43 39.182 1170.87 30.379C1140.2 -12.7039 1114.03 4.83308 1104.78 18.9869C1082.99 46.7422 1064.76 35.0395 1058.37 25.7187C1028.1 -14.0502 1001.03 4.66049 991.277 18.9869C976.748 46.7422 960.336 35.0395 953.946 25.7187C924.082 -13.2216 896.774 5.0057 886.852 18.9869C866.27 47.5708 849.017 35.3847 842.964 25.7187C816.732 -13.2216 786.295 5.0057 774.356 18.9869C757.003 50.4706 737.53 34.8668 729.963 23.1295C704.538 -11.6682 677.667 5.86872 667.409 18.9869C652.074 45.4995 635.124 34.5216 628.565 25.7187C606.369 -9.9076 580.305 1.20835 570.047 11.2196C548.658 46.4316 527.504 35.5573 519.601 25.7187C495.386 -10.7361 467.809 3.27964 457.047 14.8444C433.64 50.0564 415.681 36.7656 409.627 25.7187C387.834 -8.25056 361.534 1.89878 351.109 11.2196C334.562 49.3314 309.238 34.0038 298.644 21.576C271.605 -14.4645 245.003 6.55916 235.081 21.576C215.71 46.8458 199.096 32.1051 193.211 21.576C179.086 6.04134 151.34 -8.45772 127.126 21.576C107.754 45.603 90.804 35.3846 84.7504 27.2721Z" /></svg>');
        mask-repeat: no-repeat;
        mask-position: center center;
        mask-size: cover;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .footer-wrapper {
        position: relative;
        z-index: 9;
        padding-top: 50px;
        padding-bottom: 20px;

       @include breakpoint (max-lg){
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center !important;
            margin-top: 30px;
       }

        p {
            color: $header-color;

            a {
               color: $theme-color;
            }
        }
        
        .footer-menu {
            @include flex;
            gap: 20px;

            li {
                a {
                    color: $header-color;
                    background-image: linear-gradient($theme-color,$theme-color);
                    background-position: 0 95%;
                    background-repeat: no-repeat;
                    background-size: 0% 2px;
                    display: inline-block;
                    @include transition;

                    &:hover {
                        background-size: 100% 1px;
                        color: $theme-color;
                    }
                }
            }
        }
    
    }

    .scroll-icon {
        position: absolute;
        left: 90.2%;
        top: -40px;
        transform: translateX(-50%);
        width: 70px;
        height: 70px;
        line-height: 60px;
        background-color: $theme-color;
        border-radius: 50%;
        text-align: center;
        color: $white;
        border: 5px solid $white;
        display: inline-block;
        z-index: 99;

        @include breakpoint (max-xxl){
            left: 50%;
        }
    }

}

.footer-section {
    position: relative;

    .footer-top-shape {
        position: absolute;
        top: 0;
        left: 0;
    }

    .f-bottom-shape {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .frame-shape {
        position: absolute;
        top: 40%;
        left: 0;
        animation: rounded 5s linear infinite;

        &.style-2 {
            top: 35%;
        }

        @include breakpoint (max-xl){
            display: none;
        }
    }

    .zebra-shape {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .zebra-shape-2 {
        position: absolute;
        right: 0;
        bottom: 30%;

        @include breakpoint (max-xxl){
            display: none;
        }
    }

    .tree-shape {
        position: absolute;
        left: 0;
        bottom: 30%;

        @include breakpoint (max-xxl){
            display: none;
        }
    }

    .frame-shape-3 {
        position: absolute;
        top: 40%;
        right: 0;
        transform: translateY(-50%);

        @include breakpoint (max-xl){
            display: none;
        }
    }
}  