@use "../utilities" as *;

/**----------------------------------------
START: Home 6 CSS
----------------------------------------*/

// Hero CSS

.hero-7{
    background: #F0FEFF;
    position: relative;
    z-index: 1;
    .hero-img-wrap-7{
        @include breakpoint(lg){
            display: none;
        }
        .hero-img-1{
            position: absolute;
            top: 100px;
            right: 100px;
            max-width: 305px;
            height: 305px;
            @include breakpoint(xxl){
                right: 20px;
            }
            @include breakpoint(xl){
                max-width: 250px;
                height: 250px;
            }
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 15px;
            }
        }
        .hero-img-2{
            position: absolute;
            bottom: 100px;
            left: 100px;
            max-width: 305px;
            height: 305px;
            @include breakpoint(xxl){
                left: 20px;
            }
            @include breakpoint(xl){
                max-width: 250px;
                height: 250px;
            }
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 15px;
            }
        }
    }
}

.hero-content-7{
    padding: 120px 0;
    .section-heading{
        .section-title{
            br{
                display: block;
            }
        }
    }
    .hero-form{
        margin: 0 auto;
    }
    .about-counter-items{
        max-width: 908px;
        margin: 0 auto;
        margin-top: 70px;
        @include breakpoint(xxl){
            max-width: 850px;
        }
        @include breakpoint(lg){
            max-width: 900px;
        }
        @include breakpoint(md){
            max-width: 600px;
        }
        .about-counter-item{
            .content{
                p{
                    text-align: left;
                }
            }
            &:nth-child(3){
                @include breakpoint(md){
                    display: none;
                }
            }
        }
    }
}

// Category CSS

.category-wrap{
    &>div{
        padding: 0;
        @include breakpoint(md){
            padding: 0 15px;
        }
        &:nth-child(1){
            .category-item-2{
                padding-right: 40px;
                padding-bottom: 40px;
                border-right: 1px solid rgba(255, 255, 255, 0.06);
                @include breakpoint(lg){
                    padding-left: 20px;
                }
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
        &:nth-child(2){
            .category-item-2{
                padding-left: 40px;
                padding-right: 40px;
                padding-bottom: 40px;
                border-right: 1px solid rgba(255, 255, 255, 0.06);
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
        &:nth-child(3){
            .category-item-2{
                padding-left: 40px;
                padding-bottom: 40px;
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
        &:nth-child(4){
            .category-item-2{
                padding-right: 40px;
                padding-top: 40px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
                border-right: 1px solid rgba(255, 255, 255, 0.06);
                @include breakpoint(lg){
                    padding-left: 20px;
                }
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
        &:nth-child(5){
            .category-item-2{
                padding-right: 40px;
                padding-left: 40px;
                padding-top: 40px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
                border-right: 1px solid rgba(255, 255, 255, 0.06);
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
        &:nth-child(6){
            .category-item-2{
                padding-top: 40px;
                padding-left: 40px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
                @include breakpoint(md){
                    padding: 0;
                    border: none;
                }
            }
        }
    }
}

.category-item-2{
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-gap: 30px;
    @include breakpoint(lg){
        grid-template-columns: 1fr;
    }
    .icon{
        background-color: var(--ed-color-common-white);
        height: 70px;
        width: 70px;
        @include flex-center;
        border-radius: 50%;
        @include transition(all 0.3s ease-in-out);
        img{
            @include transition(all 0.3s ease-in-out);
        }
    }
    .content{
        .title{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        p{
            color: #6C706F;
        }
        .learn-more{
            color: var(--ed-color-theme-primary);
            @include flex-vertical-center;
            column-gap: 5px;
            i{
                font-size: 14px;
                margin-top: 2px;
            }
        }
    }
    &:hover{
        .icon{
            background-color: var(--ed-color-theme-primary);
            img{
                filter: invert(1) brightness(5);
            }
        }
    }
}


// Footer CSS

.footer-insta-area{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    max-width: 1760px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    padding-top: 80px;
    margin-bottom: 80px;
    @include breakpoint(lg){
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 24px;
    }
    @include breakpoint(md){
        grid-template-columns: repeat(3, 1fr);
    }
    @include breakpoint(sm){
        grid-template-columns: 1fr;
    }
    .footer-insta-item{
        position: relative;
        z-index: 1;
        height: 285px;
        max-width: 285px;
        width: 100%;
        border-radius: 10px;
        overflow: hidden;
        .insta-img{
            width: 100%;
            height: 100%;
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        .overlay{
            background-color: #07A698;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            visibility: hidden;
            opacity: 0;
            @include transition(all 0.3s ease-in-out);
        }
        .icon{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            @include transition(all 0.3s ease-in-out);
            a{
                background-color: var(--ed-color-common-white);
                color: var(--ed-color-theme-primary);
                height: 55px;
                width: 55px;
                @include flex-center;
                border-radius: 50%;
                &:hover{
                    background-color: var(--ed-color-theme-primary);
                    color: var(--ed-color-common-white);
                }
            }
        }
        &:hover{
            .overlay{
                visibility: visible;
                opacity: 0.64;
            }
            .icon{
                transform: translate(-50%, -50%) scale(1);
            }
        }
    }
}


/* !END: Home 6 CSS */
