@use "../utilities" as *;

/**----------------------------------------
START: Home 9 CSS
----------------------------------------*/

// Header CSS

.header-9{
    background-color: transparent;
    position: absolute;
    top: 0;
    @include breakpoint(md){
        background-color: var(--ed-color-common-white);
        position: relative;
    }
    .primary-header{
        .primary-header-inner{
            padding: 0 30px;
            border-radius: 0 0 10px 10px;
            box-shadow: 0px 11px 39px rgba(15, 39, 37, 0.13);
            @include breakpoint(md){
                padding: 20px 0;
                box-shadow: none;
            }
            .header-menu-wrap{
                .sub-menu{
                    li{
                        a{
                            padding: 34px 0;
                        }
                        ul{
                            top: 94px;
                            li{
                                a{
                                    padding: 15px 0;
                                }
                                &:hover{
                                    a{
                                        padding-left: 12px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        &.fixed{
            .primary-header-inner{
                box-shadow: none;
            }
        }
    }
}

// Hero CSS

.hero-section-9{
    background-color: var(--ed-color-common-white);
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: hidden;
    @include breakpoint(lg){
        background-color: #dcf2f1;
        border-top: 1px solid var(--ed-color-border-1);
    }
    .shapes{
        .shape{
            @include breakpoint(md){
                display: none;
            }
            &.shape-1{
                top: 50px;
                right: 0;
                left: auto;
                bottom: auto;
                z-index: 4;
            }
            &.shape-2{
                bottom: auto;
                left: auto;
                right: 0;
                z-index: 1;
            }
            &.shape-4{
                top: 202px;
                left: 39%;
                z-index: -1;
                @include breakpoint(md){
                    display: none;
                }
            }
        }
    }
}

.hero-wrap-9{
    position: relative;
    z-index: 1;
    overflow: hidden;
    .hero-img-wrap-9{
        max-width: 755px;
        width: 100%;
        height: 989px;
        position: absolute;
        top: 0;
        right: 0;
        @include breakpoint(lg){
            position: relative;
            height: 880px;
            margin: 0 auto;
        }
        @include breakpoint(sm){
            display: none;
        }
        .hero-img{
            position: absolute;
            bottom: 30px;
            left: 0;
            max-width: 754px;
            width: 100%;
            height: 958px;
            z-index: 5;
            @include breakpoint(lg){
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
            }
            img{
                width: 100%;
                height: auto;
                object-fit: contain;
            }
        }
        .hero-img-shape-1{
            position: absolute;
            bottom: 98px;
            right: 0;
            z-index: -1;
        }
        .hero-img-shape-2{
            position: absolute;
            bottom: 59px;
            left: 149px;
            z-index: 2;
        }
    }
}

.hero-content-9{
    padding: 330px 0 230px 0;
    position: relative;
    z-index: 5;
    @include breakpoint(lg){
        padding: 200px 0 40px 0;
    }
    @include breakpoint(md){
        padding: 100px 0 40px 0;
    }
    @include breakpoint(sm){
        padding: 80px 0 80px 0;
    }
    .section-heading{
        @include breakpoint(sm){
            margin-bottom: 30px;
        }
        .section-title{
            @include breakpoint(sm){
                font-size: 32px;
            }
        }
    }
    .hero-btn-wrap{
        margin-bottom: 55px;
        @include breakpoint(sm){
            margin-bottom: 30px;
        }
    }
    .hero-list{
        list-style: none;
        @include flex-vertical-center;
        flex-wrap: wrap;
        row-gap: 15px;
        column-gap: 35px;
        margin-bottom: 0px;
        li{
            font-size: 20px;
            font-weight: 500;
            @include flex-vertical-center;
            column-gap: 10px;
            color: var(--ed-color-heading-primary);
            i{
                color: var(--ed-color-theme-primary);
            }
        }
    }
}


// Language Course CSS

.language-course{
    background-color: #143532;
    position: relative;
    z-index: 1;
    padding-top: 170px;
    margin-top: -160px;
    clip-path: polygon(0 15%, 100% 1%, 100% 100%, 0% 100%);
    @include breakpoint(lg){
        margin-top: 0;
        clip-path: inherit;
        padding-top: 120px;
    }
    @include breakpoint(md){
        padding-top: 80px;
    }
    .shapes{
        .shape{
            position: absolute;
            z-index: -1;
            &.shape-1{
                bottom: 0;
                right: 0;
            }
            &.shape-2{
                top: 60px;
                left: 0;
                @include breakpoint(md){
                    display: none;
                }
            }
            &.shape-3{
                top: -30px;
                right: 0;
                @include breakpoint(md){
                    display: none;
                }
            }
        }
    }
}

.lang-course-item{
    background-color: var(--ed-color-common-white);
    padding: 25px;
    border-radius: 15px;
    @include transition(all 0.3s ease-in-out);
    @include breakpoint(sm){
        padding: 20px 15px;
    }
    .course-thumb{
        height: 120px;
        width: 100%;
        margin-bottom: 20px;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
    .course-content{
        @include flex-vertical-center;
        justify-content: space-between;
        column-gap: 15px;
        flex-wrap: wrap;
        row-gap: 15px;
        .title{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 0;
            span{
                display: block;
                font-size: 16px;
                font-weight: 400;
                color: #6C706F;
                margin-top: 7px;
            }
        }
        .arrow-btn{
            a{
                background-color: #DFEFEE;
                color: var(--ed-color-theme-primary);
                height: 45px;
                width: 45px;
                @include flex-center;
                border-radius: 50%;
                &:hover{
                    background-color: var(--ed-color-theme-primary);
                    color: var(--ed-color-common-white);
                }
            }
        }
    }
    &:hover{
        transform: translateY(-5px);
    }
}


// Language Exam Area CSS

.lang-exam-area{
    position: relative;
    z-index: 1;
    .bg-shape{
        @include background;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
}

.lang-exam-carousel-wrap{
    position: relative;
    .swiper-arrow{
        @include breakpoint(md){
            display: none;
        }
        .swiper-nav{
            background-color: var(--ed-color-common-white);
            color: var(--ed-color-theme-primary);
            height: 60px;
            width: 60px;
            @include flex-center;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: -120px;
            transform: translateY(-50%);
            z-index: 1;
            @include breakpoint(xxl){
                left: -80px;
            }
            @include breakpoint(xl){
                left: 0;
            }
            &.swiper-prev{
                left: auto;
                right: -120px;
                @include breakpoint(xxl){
                    right: -80px;
                }
                @include breakpoint(xl){
                    right: 0px;
                }
            }
        }
    }
}

.lang-exam-item{
    display: grid;
    align-items: center;
    grid-template-columns: 617px 1fr;
    grid-gap: 50px;
    background: var(--ed-color-common-white);
    box-shadow: 0px 23px 62px rgba(40, 47, 55, 0.09);
    border-radius: 20px;
    padding: 20px;
    @include breakpoint(lg){
        grid-template-columns: 500px 1fr;
    }
    @include breakpoint(md){
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    .lang-exam-img{
        height: 354px;
        max-width: 617px;
        width: 100%;
        border-radius: 20px;
        @include breakpoint(md){
            max-width: 100%;
        }
        @include breakpoint(sm){
            height: 300px;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
        }
    }
    .content{
        .title{
            font-size: 30px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        span{
            color: var(--ed-color-heading-primary);
            font-size: 18px;
            font-weight: 500;
        }
        .lang-exam-list{
            margin: 20px 0;
            li{
                @include flex-vertical-center;
                column-gap: 10px;
                font-size: 16px;
                &:not(:last-of-type){
                    margin-bottom: 10px;
                }
                i{
                    color: var(--ed-color-theme-primary);
                }
            }
        }
    }
}

// Language Programe

.lang-prog-item{
    background: var(--ed-color-common-white);
    box-shadow: 0px 5px 40px rgba(15, 39, 37, 0.1);
    border-radius: 10px;
    padding: 20px;
    .lang-prog-img{
        height: 200px;
        border-radius: 10px;
        margin-bottom: 30px;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
    }
    .lang-prog-content{
        span{
            color: var(--ed-color-theme-primary);
            display: block;
            margin-bottom: 10px;
            line-height: 1;
        }
        .title{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
        }
        .lang-prog-list{
            list-style: none;
            margin-bottom: 20px;
            li{
                @include flex-vertical-center;
                column-gap: 10px;
                &:not(:last-of-type){
                    margin-bottom: 10px;
                }
                i{
                    color: var(--ed-color-theme-primary);
                }
            }
        }
    }
}


// About CSS

.about-section-9{
    background-color: #F2F4F7;
    position: relative;
    z-index: 1;
    .bottom-shape{
        background: rgba(7, 166, 152, 0.1);
        filter: blur(105px);
        width: 100%;
        height: 151px;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        border-top-left-radius: 20%;
        border-top-right-radius: 20%;
    }
    .shapes{
        @include breakpoint(sm){
            display: none;
        }
        .shape-1{
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }
        .shape-2{
            position: absolute;
            top: 0;
            right: 30px;
            z-index: -1;
        }
        .shape-3{
            position: absolute;
            bottom: 33%;
            right: 60px;
            z-index: -1;
        }
    }
}

.about-img-9{
    height: 485px;
    max-width: 483px;
    width: 100%;
    @include breakpoint(md){
        margin-bottom: 40px;
    }
    @include breakpoint(sm){
        height: 350px;
    }
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px
    }
}

.about-content-9{
    .about-items{
        @include flex-vertical-center;
        justify-content: space-between;
        column-gap: 20px;
        flex-wrap: wrap;
        row-gap: 20px;
        margin-top: 30px;
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px solid var(--ed-color-border-1);
        .about-item{
            display: grid;
            align-items: center;
            grid-template-columns: 60px 1fr;
            grid-gap: 15px;
            .icon{
                background-color: var(--ed-color-common-white);
                height: 60px;
                width: 60px;
                @include flex-center;
                border-radius: 50%;
            }
            .title{
                color: var(--ed-color-heading-primary);
                font-size: 18px;
                font-weight: 600;
                margin-bottom: 0;
            }
        }
    }
}

// Category CSS


.cat-item-2{
    background-color: var(--ed-color-common-white);
    padding: 60px 40px;
    @include breakpoint(sm){
        padding: 40px 20px;
    }
    .shape{
        top: -210px;
        right: -150px;
        height: 288px;
        width: 288px;
        background: #07A698;
        filter: blur(125px);
    }
    .icon{
        margin-bottom: 20px;
    }
    .title{
        font-size: 22px;
        margin-bottom: 15px;
    }
    &:hover{
        .shape{
            top: -185px;
            right: -150px;
        }
    }
}

// Testi CSS

.testi-9{
    background-color: var(--ed-color-theme-primary);
    position: relative;
    z-index: 1;
    .shape{
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
    }
}

.testi-item-9{
    background-color: var(--ed-color-common-white);
    .testi-top-content{
        grid-template-columns: 1fr;
        p{
            color: var(--ed-color-heading-primary);
            font-size: 20px;
            font-weight: 500;
        }
    }
    .testi-bottom{
        .author-info-wrap{
            display: grid;
            align-items: center;
            grid-template-columns: 50px 1fr;
            grid-gap: 15px;
            .author-img{
                height: 50px;
                width: 50px;
                border-radius: 50%;
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 50%;
                }
            }
            .author-info{
                .name{
                    font-size: 16px;
                    font-weight: 500;
                }
                span{
                    font-size: 14px;
                }
            }
        }
    }
}

// Blog CSS

.post-card-9{
    box-shadow: 0px 5px 40px rgba(15, 39, 37, 0.1);
    border: none;
    .post-content-wrap{
        .post-content{
            padding: 30px 30px;
        }
        .post-meta{
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px dashed var(--ed-color-border-1);
        }
        .read-more{
            color: var(--ed-color-heading-primary);
            font-size: 16px;
            font-weight: 600;
            @include flex-vertical-center;
            column-gap: 10px;
            i{
                background-color: var(--ed-color-theme-primary);
                height: 30px;
                width: 30px;
                color: var(--ed-color-common-white);
                border-radius: 50%;
                @include flex-center;
            }
        }
    }
}

.post-card-9-2{
    padding: 0;
    grid-gap: 0;
    box-shadow: 0px 5px 40px rgba(15, 39, 37, 0.1);
    border: none;
    .post-thumb{
        height: 215px;
    }
    .post-content-wrap{
        .post-content{
            padding: 30px;
            @include breakpoint(sm){
                padding: 30px 20px;
            }
            .title{
                padding-bottom: 0;
                border: none;
                margin-bottom: 15px;
            }
            p{
                margin-bottom: 20px;
            }
        }
        .ed-primary-btn{
            background-color: var(--ed-color-theme-primary);
            color: var(--ed-color-common-white);
            &:before{
                background-color: rgba(255, 255, 255, 0.2);
            }
        }
    }
}

// Subscribe Form

.subscribe-section{
    background-color: #E2F2F1;
    position: relative;
    z-index: 1;
    .shapes{
        .shape-1{
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }
        .shape-2{
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            z-index: -1;
            img{
                height: 100%;
            }
        }
    }
}

.subscrie-wrap{
    @include flex-vertical-center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    @include breakpoint(lg){
        justify-content: center;
    }
    .section-heading{
        .section-title{
            font-size: 36px;
            br{
                display: block;
            }
            @include breakpoint(lg){
                text-align: center;
                margin-bottom: 15px;
            }
            @include breakpoint(sm){
                font-size: 28px;
            }
        }
    }
    .subscribe-form-wrap{
        max-width: 628px;
        width: 100%;
        position: relative;
        @include breakpoint(sm){
            text-align: center;
        }
        .form-control{
            background-color: var(--ed-color-common-white);
            box-shadow: none;
            border: 1px solid var(--ed-color-border-1);
            border-radius: 100px;
            padding: 22px 250px 22px 30px;
            @include breakpoint(sm){
                padding-right: 30px;
            }
        }
        button{
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            @include breakpoint(sm){
                position: relative;
                top: 0;
                transform: inherit;
                right: 0;
                margin-top: 15px;
            }
        }
    }
}


/* !END: Home 9 CSS */
