@use "../utilities" as *;

/**----------------------------------------
START: Home 18 CSS
----------------------------------------*/

.hero-section-18{
    background-color: var(--ed-color-grey-1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    .hero-text{
        position: absolute;
        bottom: -35px;
        left: 100px;
        z-index: -1;
        @include breakpoint(xxl){
            bottom: -25px;
        }
        @include breakpoint(xl){
            bottom: -20px;
        }
        @include breakpoint(lg){
            left: 0;
            bottom: -15px;
        }
        span{
            color: var(--ed-color-common-white);
            mix-blend-mode: soft-light;
            opacity: 0.5;
            font-size: 250px;
            font-weight: 600;
            line-height: 1;
            margin-bottom: 0;
            @include breakpoint(xxxl){
                font-size: 200px;
            }
            @include breakpoint(xxl){
                font-size: 180px;
            }
            @include breakpoint(xl){
                font-size: 150px;
            }
            @include breakpoint(lg){
                font-size: 135px;
            }
            @include breakpoint(md){
                display: none;
            }
        }

    }
    .shapes{
        .shape-1{
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            z-index: -2;
            @include breakpoint(sm){
                display: none;
            }
        }
        .shape-2{
            position: absolute;
            bottom: 150px;
            left: 0;
            z-index: -2;
            @include breakpoint(xl){
                display: none;
            }
        }
        .shape-3{
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: -2;
        }
    }
}

.hero-wrap-18{
    padding: 120px 0 145px 0;
    align-items: center;
    @include breakpoint(md){
        padding: 80px 0 80px 0;
    }
    .hero-content{
        padding: 0;
        .section-heading{
            .section-title{
                font-size: 60px;
                margin-bottom: 25px;
                @include breakpoint(lg){
                    font-size: 40px;
                }
                @include breakpoint(md) {
                    font-size: 40px;
                }
                @include breakpoint(sm) {
                    font-size: 32px;
                }
            }
        }
        p{
            @include breakpoint(xl){
                br{
                    display: none;
                }
            }
        }
    }
}

.hero-img-wrap-18{
    max-width: 587px;
    width: 100%;
    margin-left: auto;
    height: 484px;
    position: relative;
    @include breakpoint(md){
        margin: 0 auto;
        margin-top: 60px;
    }
    .hero-img-1{
        position: absolute;
        top: 0;
        right: 0;
        max-width: 507px;
        width: 100%;
        height: 100%;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            border-radius: 15px;
        }
    }
    .hero-img-2{
        max-width: 181px;
        width: 100%;
        height: 188px;
        border: 4px solid var(--ed-color-common-white);
        border-radius: 15px;
        position: absolute;
        bottom: 60px;
        left: 0;
        box-shadow: 0px 9px 44px rgba(12, 44, 41, 0.26);
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
        .video-btn{
            a{
                background-color: var(--ed-color-common-white);
                color: var(--ed-color-theme-primary);
                height: 50px;
                width: 50px;
                @include flex-center;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                &:hover{
                    background-color: var(--ed-color-theme-primary);
                    color: var(--ed-color-common-white);
                }
            }
        }
    }
}

// About CSS

.about-img-wrap-18{
    position: relative;
    max-width: 628px;
    width: 100%;
    height: 492px;
    .about-img-1{
        max-width: 193px;
        width: 100%;
        height: 195px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
    .about-img-2{
        height: 100%;
        max-width: 411px;
        width: 100%;
        position: absolute;
        top: 0;
        right: 0;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
    .about-img-3{
        max-width: 242px;
        width: 100%;
        height: 242px;
        position: absolute;
        bottom: 25px;
        left: 40px;
        box-shadow: 0px 4px 44px rgba(0, 0, 0, 0.25);
        border-radius: 15px;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            border-radius: 15px;
            border: 6px solid var(--ed-color-common-white);
        }
    }
    .about-counter{
        height: 130px;
        width: 130px;
        border-radius: 50%;
        position: absolute;
        top: 120px;
        left: 120px;
        @include flex-center;
        z-index: 2;
        .about-counter-bg{
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            animation-name: spin;
            animation-duration: 15s;
            animation-iteration-count: infinite;
            animation-timing-function: linear;
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        span{
            color: var(--ed-color-common-white);
            font-size: 36px;
            font-weight: 700;
            display: block;
            position: relative;
            z-index: 5;
            line-height: 1;
        }
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about-content-18{
    padding-left: 30px;
    @include breakpoint(md){
        padding-left: 0;
        margin-top: 40px;
    }
    .about-list{
        margin-top: 20px;
        li{
            @include flex-vertical-center;
            column-gap: 15px;
            font-size: 16px;
            font-weight: 500;
            color: var(--ed-color-heading-primary);
            &:not(:last-of-type){
                margin-bottom: 10px;
            }
            span{
                font-size: 16px;
                font-weight: 600;
                color: var(--ed-color-theme-primary);
                height: 40px;
                width: 40px;
                @include flex-center;
                border: 1px solid #E0E5EB;
                border-radius: 50%;
                box-shadow: 0px 8px 19px rgba(13, 40, 38, 0.15);
            }
        }
    }
    .about-btn-wrap{
        @include flex-vertical-center;
        column-gap: 30px;
        flex-wrap: wrap;
        row-gap: 20px;
        margin-top: 20px;
        .about-contact{
            @include flex-vertical-center;
            column-gap: 15px;
            .icon{
                background-color: var(--ed-color-theme-primary);
                color: var(--ed-color-common-white);
                height: 50px;
                width: 50px;
                border-radius: 50%;
                @include flex-center;
            }
            a{
                font-size: 20px;
                font-weight: 600;
                color: var(--ed-color-heading-primary);
                &:hover{
                    color: var(--ed-color-theme-primary);
                }
            }
        }
    }
}


// Category CSS

.category-section{
    background-color: #F2F4F7;
    position: relative;
    z-index: 1;
    .shapes{
        .shape-1{
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }
        .shape-2{
            position: absolute;
            bottom: 0;
            right: 0;
            z-index: -1;
        }
    }
}

.category-btn-box{
    background-color: var(--ed-color-theme-primary);
    width: 100%;
    height: 100%;
    @include flex-center;
    border-radius: 10px;
    @include breakpoint(sm){
        padding: 20px;
    }
    .ed-primary-btn{
        background-color: var(--ed-color-common-white);
        color: var(--ed-color-theme-primary);
        &:before{
            background-color: var(--ed-color-heading-primary);
        }
        &:hover{
            color: var(--ed-color-common-white);
        }
    }
}

.category-item-18{
    background-color: var(--ed-color-common-white);
    display: grid;
    align-items: center;
    grid-template-columns: 65px 1fr;
    grid-gap: 20px;
    border-radius: 10px;
    padding: 20px;
    @include transition(all 0.3s ease-in-out);
    @include breakpoint(sm){
        grid-template-columns: 1fr;
    }
    .icon{
        background-color: #F2F4F7;
        height: 65px;
        width: 65px;
        @include flex-center;
        border-radius: 10px;
    }
    .content{
        .title{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 5px;
            line-height: 1;
            @include breakpoint(lg){
                font-size: 20px;
            }
        }
        span{
            font-size: 16px;
            font-weight: 400;
            line-height: 1;
        }
    }
    &:hover{
        transform: translateY(-5px);
    }
}

// Cta CSS

.cta-section-18{
    position: relative;
    z-index: 1;
    .cta-bg{
        @include background;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        filter: saturate(0);
    }
    .overlay{
        background: rgba(16, 54, 51, 0.79);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .shape{
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: -1;
    }
}

.cta-wrap-18{
    @include flex-vertical-center;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 30px;
    .cta-content{
        .title{
            font-size: 36px;
            font-weight: 600;
            @include breakpoint(sm){
                font-size: 28px;
            }
        }
        p{
            font-size: 18px;
            font-weight: 400;
            margin-bottom: 0;
            margin-top: 15px;
            @include breakpoint(sm){
                font-size: 16px;
            }
        }
    }
}

// Promo CSS
.promo-item-18{
    margin-bottom: 0;
    .promo-thumb{
        margin-bottom: 60px;
        .main-img{
            padding: 20px;
            border: 3px solid #E0E5EB;
            border-radius: 50%;
            @include transition(all 0.3s ease-in-out);
        }
        .icon{
            height: 96px;
            width: 96px;
            top: auto;
            bottom: -40px;
            border: 10px solid var(--ed-color-common-white);
            box-shadow: 0px 8px 16px rgba(14, 48, 45, 0.15);
        }
    }
    .title{
        font-size: 24px;
        font-weight: 600;
    }
    p{
        font-size: 16px;
    }
    &:hover{
        .promo-thumb{
            .main-img{
                padding: 0;
                border: 3px solid transparent;
            }
        }
    }
}

// Team CSS

.team-item-18{
    background-color: #122927;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    @include breakpoint(sm){
        padding: 10px;
    }
    .round-shape{
        background: #07A698;
        filter: blur(125px);
        position: absolute;
        width: 444px;
        height: 444px;
        top: -62%;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
    }
    .team-item-inner{
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
        border: 1px solid rgba(255, 255, 255, 0.09);
        backdrop-filter: blur(75px);
        border-radius: 15px;
        padding-top: 30px;
        overflow: hidden;
        .team-content{
            margin-bottom: 20px;
            position: relative;
            z-index: 5;
            .title{
                margin-bottom: 5px;
            }
        }
        .team-thumb{
            height: 300px;
            @include breakpoint(lg){
                width: 100%;
            }
            img{
                height: 100%;
                filter: saturate(0);
                @include breakpoint(lg){
                    width: 100%;
                    object-fit: cover;
                }
            }
        }
        .bg-overlay{
            background: linear-gradient(180deg, rgba(3, 64, 59, 0.11) 70.94%, rgba(3, 64, 59, 0.85) 100%);
            height: 120%;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }
        .team-social{
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            z-index: 5;
            .expand{
                i{
                    background-color: var(--ed-color-common-white);
                    width: 45px;
                    height: 45px;
                    @include flex-center;
                    color: var(--ed-color-theme-primary);
                    font-size: 15px;
                    cursor: pointer;
                    border-radius: 100px 100px 0 0;
                }
            }
            .social-list{
                position: absolute;
                bottom: 55px;
                left: 50%;
                transform: translateX(-50%);
                @include flex-vertical-center;
                li{
                    display: inline-flex;
                    visibility: hidden;
                    opacity: 0;
                    transition: all .5s cubic-bezier(.1, .75, .25, 1);
                    &:not(:last-of-type){
                        margin-right: 5px;
                    }
                    &:nth-child(4){
                        transition-delay: 250ms;
                    }
                    &:nth-child(3){
                        transition-delay: 200ms;
                    }
                    &:nth-child(2){
                        transition-delay: 150ms;
                    }
                    &:nth-child(1){
                        transition-delay: 100ms;
                    }
                    a{
                        background-color: var(--ed-color-common-white);
                        color: var(--ed-color-theme-primary);
                        width: 40px;
                        height: 40px;
                        @include flex-center;
                        font-size: 14px;
                        cursor: pointer;
                        transition: 0.3s all ease-in-out;
                        border-radius: 50%;
                        &:hover{
                            background-color: var(--ed-color-theme-primary);
                            color: var(--ed-color-common-white);
                        }
                    }
                }
            }
            &:hover{
                .social-list{
                    li{
                        visibility: visible;
                        opacity: 1;
                    }
                }
            }
        }
    }
}


// Request CSS

.request-section-18{
    background-color: var(--ed-color-theme-primary);
}

.request-content-18{
    p{
        color: var(--ed-color-common-white);
    }
    .request-form-wrapper{
        .form-items{
            .form-item{
                .form-control{
                    background-color: rgba(255, 255, 255, 0.1);
                    border-color: rgba(255, 255, 255, 0.6);
                }
            }
        }
    }
    .request-btn{
        .ed-primary-btn{
            background-color: var(--ed-color-common-white);
            color: var(--ed-color-theme-primary);
            &:before{
                background-color: var(--ed-color-heading-primary);
            }
            &:hover{
                color: var(--ed-color-common-white);
            }
        }
    }
}

// Event CSS

.event-wrap-18{
    @include flex-vertical-center;
    justify-content: space-between;
    column-gap: 20px;
    padding: 30px 30px 30px 50px;
    border: 1px solid #E0E5EB;
    position: relative;
    z-index: 1;
    border-radius: 15px;
    @include breakpoint(sm){
        padding: 30px 20px;
        flex-direction: column;
        row-gap: 30px
    }
    .bg-shape{
        @include background;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .event-content{
        .title{
            font-size: 30px;
            font-weight: 600;
            margin-bottom: 15px;
            @include flex-vertical-center;
            @include breakpoint(lg){
                font-size: 24px;
            }
            @include breakpoint(sm){
                font-size: 18px;
            }
            .live{
                color: #F20F10;
                @include flex-vertical-center;
                margin-left: 5px;
                .dot{
                    height: 21px;
                    width: 21px;
                    border: 2px solid #F20F10;
                    border-radius: 50%;
                    @include flex-center;
                    position: relative;
                    margin-top: 3px;
                    margin-left: 5px;
                    &:before{
                        background-color: #F20F10;
                        content: "";
                        height: 13px;
                        width: 13px;
                        position: absolute;
                        top: 2px;
                        left: 2px;
                        border-radius: 50%;
                    }
                }
            }
        }
        p{
            margin-bottom: 20px;
            @include breakpoint(lg){
                br{
                    display: none;
                }
            }
            @include breakpoint(sm){
                font-size: 14px;
            }
        }
        .event-list{
            list-style: none;
            margin-bottom: 30px;
            li{
                color: var(--ed-color-heading-primary);
                font-size: 16px;
                font-weight: 500;
                &:not(:last-of-type){
                    margin-bottom: 10px;
                }
                i{
                    color: var(--ed-color-theme-primary);
                    margin-right: 10px;
                }
            }
        }
        .event-author{
            @include flex-vertical-center;
            column-gap: 20px;
            flex-wrap: wrap;
            row-gap: 20px;
            .author-list{
                list-style: none;
                display: inline-flex;
                li{
                    height: 45px;
                    width: 45px;
                    border-radius: 50%;
                    @include flex-center;
                    &:not(:first-of-type){
                        margin-left: -20px;
                    }
                    img{
                        width: 100%;
                        height: 100%;
                        border: 2px solid var(--ed-color-common-white);
                        border-radius: 50%;
                        object-fit: cover;
                    }
                    &.plus{
                        background-color: #214340;
                        color: var(--ed-color-common-white);
                    }
                }
            }
        }
    }
    .event-img{
        max-width: 598px;
        width: 100%;
        height: 310px;
        @include breakpoint(lg){
            max-width: 500px;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
}

/* !END: Home 18 CSS */
