@import 'global';

/**********************************************
    Start Public Classes
**********************************************/
.section {
    position: relative;
    padding: 70px 0 ;
    overflow: hidden;
}

.swiper-container {
    // pagination
    .swiper-pagination {
        bottom: 0;
        .swiper-pagination-bullet {
            width: 16px;
            height: 16px;
            border-radius: 25px;
        }
        .swiper-pagination-bullet-active {
            // width: 30px;
            background: var(--primary);
        }
    }
    // nav buttons
    .swiper-button-next, 
    .swiper-button-prev {
        background-image: unset;
        width: 45px;
        // height: 40px;
        border: 1px solid transparent;
        border-radius: 50%;
        background-image: unset;
        // background-color: #f5f5f5;
        transition: all .3s linear;
        // opacity: .7;
        &::before {
            font-family: "Font Awesome 6 Pro";
            font-weight: 900;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 45px;
            color: #272727;
            transition: all .3s linear;
        }
        &:hover{
            // background-color: var(--primary);
            // opacity: 1;
            // &::before{
            //     color: #fff;
            // }
            color: var(--primary);
        }
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev{
        right: 2%;
        left: auto;
        &::before {
            content: '\f0da';
        }
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next{
        left: 2%;
        right: auto;
        &::before {
            content: '\f0d9';
        }
    }
}

.butn {
    position: relative;
    padding: .7rem 1.7rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 0;
    i {
        margin-inline-end: 7px;
    }
    &.sm_butn {
        padding: 0;
        width: 50px;
        height: 50px;
    }
    &.primary_butn {
        background-color: var(--primary);
        color: #fff;
    }
    &.primary_border_butn {
        border: 1px solid var(--primary);
        color: var(--primary);
        background-color: transparent;
    }
    &.secondary_butn {
        background-color: var(--secondary);
        color: #fff;
    }
    &.secondary_border_butn {
        border: 1px solid var(--secondary);
        color: var(--secondary);
        background-color: transparent;
    }
    &.white_butn {
        background-color: #fff;
        color: #333;
    }
    &.white_border_butn {
        background-color: #fff;
        border: 1px solid #D6D3D3;
    }

    &:hover {
        background-color: #202020;
        border: 1px solid #202020;
        color: #fff !important;
        .icon {
            filter: var(--filterWhite);
        }
    }
}

.icon18 {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon15 {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.main_butn {
    position: relative;
    width: fit-content;
    display: block;
    padding: 0.5rem 1.5rem;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-transform: uppercase;
    font-size: 17px;
    &::before {
        content: '';
        width: 50px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        transition: all .3s linear;
        z-index: 0;
        background-color: var(--primary);
    }
    &:hover {
        color: #fff !important;
        &::before {
            width: 100%;
        }
    }
}

.section .txt_box{
    .subtitle{
        font-size: 20px;
        font-family: "Caveat", cursive;
    }
    .title {
        line-height: 1.2;
        font-size: 39px;
        color: #3387FF !important;
    }
    .p {
        font-size: 18px;
        color: #272727;
    }
}
/**********************************************
   Start Edit Navbar & Footer
**********************************************/

//start Navbar
.navs-container {

    .navbar{
        flex-direction: column;
        flex-wrap: wrap;
        padding: 2rem 1rem ;
        z-index: 9;
        transition: all 0.5s ease;
        z-index: 99;
        &.home_nav {
            padding-top: 70px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }
        &.scrolled {
            background-color: #fff;
            box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            transition: transform 0.5s;
            .logo_box {
                margin-bottom: 5px !important;
                padding-bottom: 0px !important;
                .logo {
                    width: 60%;
                }
            }
            .drop_down {
                top: 106px;
            }
        }
        .logo_box .logo {
            width: 100%;
            object-fit: contain;
            display: block;
            margin: auto;
        }
        .nav-link {
            font-weight: 600;
            font-size: 16px;
            color: #000;
            // margin: 0 1.8vw;
            text-transform: uppercase;
            position: relative;
            &::after {
                content: '';
                width: 0;
                height: 2px;
                background-color: var(--primary);
                transition: all .3s linear;
                opacity: 0;
                position: absolute;
                left: 0;
                bottom: 0;
            }
            &:hover{
                &::after {
                    width: 100%;
                    opacity: 1;
                }
            }
        }

        .has_dropdown {
            position: relative;
          
        }
        .drop_down {
            padding: 30px 10px;
            background-color: #fff;
            position: absolute;
            top: 205px;
            left: 0;
            right: 0;
            width: 100%;
            transition: all .3s linear;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            &.active {
                opacity: 1;
                visibility: visible;
            }
            .box {
                .item {
                    display: block;
                    margin-bottom: 20px;
                    .icon {
                        width: 35px;
                        height: 35px;
                        object-fit: contain;
                        // filter: var(--filterPrimary);
                    }
                    .title {
                        font-size: 16px;
                        margin-bottom: 5px;
                        transition: all .3s linear;
                        text-transform: capitalize;
                    }
                    .p {
                        color: #959595;
                        font-size: 12px;
                        line-height: 1.5;
                    }
                    &:hover .item {
                        color: var(--primary);
                    }
                }
            }
            .secImg {
                height: 237px;
            }
        }
        .navbar-toggler
        {
            width: 40px;
            height: 40px;
            cursor: pointer;
            background-color: rgba($color: #ddd, $alpha: .3);
            border: none;
            position: relative;
            &.active{
                .navbar-toggler-icon {
                    box-shadow: 0px 0px 0px grey;
                    background: rgba(0, 0, 0, 0);
                    &::before {
                        top: 0px !important;
                        transform: rotate(45deg);
                    }
                    &::after {
                        top: 0px !important;
                        transform: rotate(135deg);
                    }
                }
            }
            .navbar-toggler-icon
            {
                width: 25px;
                height: 2px;
                background: var(--primary);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s;
                &::after,
                &::before
                {
                    content: "";
                    position: absolute;
                    width: 25px;
                    height: 2px;
                    background: var(--primary);
                    transition: 0.5s;
                }
                &::after{
                    top: -6px;
                    right: 0px;
                }
                &::before{
                    top: 6px;
                    right: 0px;
                }
            }
        }
    }
}


//start Footer
.footer {
    background-color: #272727;
    .content {
        margin-bottom: 25px;
        .logo {
            width: 245px;
            object-fit: contain;
            display: block;
            margin-bottom: 4rem ;
        }
        .social_links a {
            color: #fff;
            margin-inline-end: 10px;
            &::after {
                content: '|';
                color: #999999;
                opacity: .61;
                display: inline-block;
                margin: 0 10px;
            }
            &:last-child {
                &::after {
                    display: none;
                }
            }
        }
        .title {
            font-size: 20px;
        }
        .links .item {
            color: #999999;
            font-size: 13px;
            margin-bottom: 7px;
            font-family: 'Poppins', sans-serif;
            text-transform: capitalize;
            display: block;
            i {
                margin-inline-end: 7px;
            }
        }
    }
    .foot {
        border-top: 1px solid #707070;
        padding-top: 30px;
        margin-top: 10px;
        .copyright_p {
            color: #999999;
            font-family: 'Poppins', sans-serif;
            font-size: 15px;
        }
        .links a {
            color: #999999;
            font-size: 15px;
            margin-inline-end: 10px;
            &::after {
                content: '|';
                color: #999999;
                display: inline-block;
                margin: 0 10px;
            }
            &:last-child {
                &::after {
                    display: none;
                }
            }
        }
    }
}

/**********************************************
    Start Edit Home Page 
**********************************************/

//start header
.header {
    .item {
        padding: 250px 0 200px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        .title {
            font-size: 53px;
            letter-spacing: 3px;
        }
        &::before {
            @include overlay;
            background-color: transparent;
            background-image: linear-gradient(to bottom, #ffffffd4, #ffffffe1, #ffffff00);
            height: 60%;
            z-index: 3;
        }
        &::after {
            @include overlay;
            background-image: linear-gradient( to right , #a795ff , #7bd7eb);
            opacity: .3;
            z-index: 2;
    
        }
    }
    .swiper-pagination-bullet {
        background-color: #fff4;
        opacity: 1;
        &.swiper-pagination-bullet-active {
            background-color: #fff;
        }
    }
}

//start about_sec
.about_sec{
    .img_box {
        overflow: hidden;
        height: 485px;
        position: relative;
        .secImg {
            width: 98%;
        }
    }
    .txt_box .p {
        height: 136px;
        overflow: hidden;
    }
}

.impact_sec {
    .img_box {
        height: 400px;
    }
    .txt_box .p {
        height: auto;
        overflow: unset;
    }
}

//start  services_sec
.services_sec {
    .txt_box {
        background-color: #272727;
        padding: 100px 6vw;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: c;

    }
    .serv_card {
        position: relative;
        height: 555px;
        overflow: hidden;
        .txt_content {
            background-color: #272727;
            padding: 20px ;
            text-align: center;
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            transition: all .3s linear;
            transform: translateY(65px);
            .title {
                font-size: 16px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .p {
                font-size: 12px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .more_butn {
                position: relative;
                width: fit-content;
                margin: auto;
                transition: all .3s linear;
                display: block;
                &::after {
                    content: '\f178';
                    font-family: "Font Awesome 6 Pro";
                    font-weight: 900;
                    display: inline-block;
                    position: absolute;
                    right: -25px;
                    transform: translateY(50px) rotate(40deg);
                    opacity: 0;
                    transition: all .3s linear;
                }
                &:hover {
                    transform: translateX(-15px);
                    &::after {
                        transform: translateY(0) rotate(0deg);;
                        opacity: 1;
                    }
                }
            }
        }
        &:hover {
            .txt_content {
                transform: translateY(0px);
            }
        }
    }
}

//start projects_sec
.projects_sec {
    background-color: #F1F3F3;
    .item {

        .img_box {
            position: relative;
            overflow: hidden;
            width: 90%;
            height: 300px;
            
        svg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
  
        }
        .box {
            background-color: #fff;
            margin-top: -175px;
            padding: 70px 4vw;
            .logo_proj_1 {
                height: 100px;
                object-fit: contain;
                max-width: 200px;
                margin-inline-start: 1vw;
            }
            .logo_proj_2 {
                height: 75px;
                max-width: 100%;
                object-fit: contain;
            }
            .p {
                font-size: 15px;
                color: #272727;
                line-height: 1.5rem;
                padding-inline-start: 2vw;
            }
        }
    }

    .arrows {
        display: flex;
        position: absolute;
        right: 37%;
        top: 50px;

        .swiper-button-next, .swiper-button-prev {
            position: relative;
            top: unset;
            left: unset;
            right: unset;
            margin: unset;
        }
    }
    .container-fluid {
        padding-inline-start: 6vw;

    }
}

//start features_sec
.features_sec {
    padding: 70px 0 40px 0;
    .item {
        margin-bottom: 60px;
        text-align: center;
        .icon {
            // width: 90px;
            height: 90px;
            object-fit: contain;
            margin: 0 auto 25px auto;
            transform: scale(.9);
        }
        .title {
            font-size: 18px;
            width: 67%;
            margin: auto;
            font-family: helvetica_neue;
            color: #2D81FD !important;
        }
    }
}


/**********************************************
    Start Edit pg-header
**********************************************/
.pg_header {
    .item {
        height: 670px;
        h5 {
            font-family: "Caveat", cursive !important;

        }
        .title {
            letter-spacing: 0;
    
        }
    }

    &.no_overlay .item{
        &::after , &::before {
            display: none;
        }
    }

}


/**********************************************
    Start Edit Who We Are Pages
**********************************************/
.about_pg {
    .txt_box {
        padding: 70px 3vw;
    }
    &::after {
        @include overlay;
        background-color: #272727;
        height: calc(100% - 280px);
        top: 50%;
        transform: translateY(-50%);
    }
}

.content_sec {
    background-color: #F1F3F3;
    margin-bottom: 100px;
    .p {
        font-size: 18px;
        color: #272727;
    }
}

.story_pg {
    .img_box {
        overflow: hidden;
    }
    &::after {
        background-color: #F1F3F3;
    }
}

.ceo_pg {
    .img_box {
        position: relative;
        &::after {
            @include overlay;
            background-image: linear-gradient(to right , #2d81fd85, #fff);
            opacity: .51;
        }
    }
}

.drives_pg {
    .box {
        height: calc(100% - 25px);
        padding: 45px 30px;
        position: relative;
        margin-bottom: 25px;
        // padding-inline-end: 11vw;

        .title {
            font-size: 30px;
            font-weight: bold;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            height: 62px;
            overflow: hidden;
            .icon {
                margin-inline-end: 15px;
                object-fit: contain;
            }
        }
        .p {
            font-size: 18px;
            color: #272727;
        }
    }

    .col-lg-6:nth-child(1) .box {
        background-color: #E8F7FC;
    }
    .col-lg-6:nth-child(2) .box {
        background-color: #EAF3FF;
    }
}

.values_sec {
    .item {
        padding: 100px 0;
        .txt_box{
            padding: 45px 3.5vw;
            background-color: #fff;
            .p {
                height: 109px;
                overflow: hidden;
            }
        }
    }

    .swiper-container .swiper-button-next::before, 
    .swiper-container .swiper-button-prev::before {
        color: #fff;
    }

}

.drives_txt_sec .txt_box {
    .p {
        font-size: 19px;
    }
    .subtitle {
        font-size: 20px;
    }
    .title {
        font-size: 56px;
        color: #2D81FD !important;
    }
}


/**********************************************
    Start Edit WHAT WE DO Pages 
**********************************************/
.do_pg {
    .txt_box .title {
        color: #3387FF !important;
    }
}

.turnkey_proj_sec {
    background-color: #F1F3F3;
    padding-top: 170px;
    margin-bottom: 100px;

    .proj_card {
        position: relative;
        background-color: #fff;
        padding: 45px 15px ;
        text-align: center;
        margin-bottom: 25px;
        height: calc(100% - 25px);
        transition: all .3s linear ;

        .logo {
            width: 83px;
            height: 83px;
            object-fit: contain;
            display: block;
            margin: 0 auto 25px auto;
            transition: all .3s linear;
        }

        .title {
            font-size: 23px;
            color: #707070;
            margin-bottom: 10px;
            transition: all .3s linear;
        }
        .p {
            font-size: 14px;
            color: #808080;
            line-height: 1.5;
            transition: all .3s linear;
        }
        &:hover {
            .logo {
                filter: invert(143%) sepia(0%) saturate(47%) hue-rotate(100deg) brightness(827%) contrast(96%);
            }
            .title , .p {
                color: #fff;
            }
        }
    }

    .col-lg-3 {
        &:nth-child(1) .proj_card:hover {
            background-color: #667A8F;
        }
        &:nth-child(2) .proj_card:hover {
            background-color: #1FC4B3;
        }
        &:nth-child(3) .proj_card:hover {
            background-color: #2A7DE1;
        }
        &:nth-child(4) .proj_card:hover {
            background-color: #70D44B;
        }

    }

    &::before {
        content: '';
        width: 200px;
        height: 100px;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

.turnkey_proj_pg {
    padding: 100px 0;
    .logo {
        width: 250px;
        object-fit: contain;
    }

    .p {
        font-size: 20px;
    }
}

.tech_sys_pg {
    padding: 100px 0;
    margin-bottom: 100px;
    background-color: #E6F9F8;
    .item {
        margin-bottom: 25px;
        .secImg {
            height: 185px;
            margin-bottom: 25px;
        }
        .title {
            font-size: 16px;
            font-weight: bold;
        }
    }
}

.catering_pg .inner {
    padding: 70px 3vw;
    background-color: #EAF2FC;
    .txt_box .title {
        font-size: 29px;
    }
}

.landscaping_pg .inner {
    padding: 70px 3vw;
    background-color: #F0FBEF;
    .txt_box .title {
        font-size: 40px;
        color: #3387FF !important;
    }
    .landscapingImg {
        height: 215px;
    }
}

.agriculture_pg {
    .txt_box .p {
        font-size: 18px;
    }
    .img_box {
        .secImg {
            height: 190px;
            margin-bottom: 15px;
            height: calc(100% - 15px);
        }
    }
}


/**********************************************
    Start Edit impact Pages 
**********************************************/
.vision_pg {
    .vision_logo {
        width: 70%;
        object-fit: contain;
        display: block;
        margin: 0 auto 35px auto;
    }
}

.partners_pg {
    .content_box {
        background-color: #F1F3F3;
        padding: 50px 4vw;
        position: relative;
        text-align: center;
        .p {
            font-size: 25px;
            line-height: 1.6;
        }
    }

    .logos_box {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        .logo {
            object-fit: contain;
            margin: 5px 20px;
        }
    }

    .box {
        position: relative;
        overflow: hidden;
        margin-top: 100px;
        padding: 70px 3vw;
        .p {
            font-size: 20px;
        }
        &::before {
            @include overlay;
            background-image: linear-gradient(to right , #fff , #ffffffe7, #ffffff00);
            z-index: 1;
        }
    }
}


/**********************************************
    Start Edit media Pages 
**********************************************/
.media_pg {
    .sec_title {
        color: #3387FF !important;
    }
    .sm_items_box {
        padding: 10px 25px;
        height: 655px;
        overflow-y: auto;
        border-right: 1px solid #707070;
        border-left: 1px solid #707070;
        
        .item {
            border: 1px solid #707070;
            position: relative;
            padding: 25px 25px;
            margin-bottom: 30px;
            .date {
                font-family: helvetica_neue;
                font-size: 18px;
                color: #707070;
            }
            .logo {
                height: 50px;
                max-width: 170px;
                object-fit: contain;
            }
            .title {
                font-weight: bold;
                font-family: helvetica_neue;
                font-size: 18px;
                color: #707070;
                height: 60px;
                overflow: hidden;
                font-style: italic;
            
            }
        }


        &::-webkit-scrollbar {
            width: 15px;
        }
        &::-webkit-scrollbar-track {
            background-color: transparent;
        }
        &::-webkit-scrollbar-thumb {
            background: #F1F3F3; 
            border-radius: 25px;
        }
    }

    .box {
        background-color: #F1F3F3;
        padding: 35px;
        position: relative;
        .logo {
            height: 50px;
            object-fit: contain;
            display: block;
            margin-inline-start: auto;
        }
        .secImg {
            height: 315px;
            margin: 35px 0;
        }
        .txt_box {
            .title {
                font-weight: bold;
                font-family: helvetica_neue;
                font-size: 20px;
                color: #707070;
            }
            .p {
                font-family: helvetica_neue;
                font-size: 16px;
                height: 109px;
                overflow: hidden;
            }
        }
    }
}

.kit_sec {
    background-color: #F1F3F3;
    padding-top: 170px;
    margin-bottom: 100px;

    .item {
        text-align: center;
        margin-bottom: 25px;
        .icon {
            height: 100px;
            object-fit: contain;
            display: block;
            margin: 0 auto 25px auto;
        }
        .p {
            font-family: helvetica_neue;
            font-size: 20px;
        }
    }

    &::before {
        content: '';
        width: 200px;
        height: 100px;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}


/**********************************************
    Start Edit contact Pages 
**********************************************/
.contact_pg {
    .form_box {
        .form-group {
            margin-bottom: 20px;
        }
        .submit_butn {
            border-radius: 10px;
            width: 145px;
            height: 50px;
            background-color: #F1F3F3;
            // font-weight: bold;
            font-size: 18px;
            &:hover {
                background-color: var(--primary);
                color: #fff;
            }
        }
    }
}


/**********************************************
    Start Edit Media screens 
**********************************************/
@media screen and (max-width: 991px) {
    .order_md_1 {
        order: -1;
    }
    .navs-container .navbar {
        position: absolute !important;
 
        .navbar-collapse {
            background: #fff;
        }
        .logo_box .logo {
            margin: 0;
            width: 250px;
        }
        .nav-link {
            margin: 0 5px;
        }
        .drop_down {
            left: 50%;
            right: unset;
            transform: translateX(-50%);
            width: 86%;
            background-color: #f9f9f9;
            &#dropdown_1 {
                top: 180px;
            }
            &#dropdown_2 {
                top: 220px;
            }
            &#dropdown_3 {
                top: 260px;
            }
            &#dropdown_4 {
                top: 300px;
            }
            &#dropdown_5 {
                top: 340px;
            }
        }
        .navbar-toggler {
            position: absolute;
            inset-inline-end: 10px;
            top: 5px;
        }
    }

    .header .item .title {
        font-size: 25px;
    }

    .about_sec .img_box {
        height: 300px;
        margin-bottom: 25px;
    }

    .services_sec {
        .txt_box {
            padding: 50px 5vw;
            margin-bottom: 25px;
        }
        .serv_card {
            height: 400px;
            margin-bottom: 25px;
        }
    }

    .projects_sec {
        .item {
            .secImg {
                width: 100%; 
            }
            .box .logo_proj_1 {
                margin-top: 120px;
            }

        }
    
        .arrows {
            right: 3%;
            top: 45%;
        }
    }

    .features_sec .item .title {
        font-size: 15px;
        width: 95%;
    }


    .footer .foot {
        .copyright_p {
            font-size: 13px;
        }
        .links a {
            font-size: 10px;
            margin-inline-end: 5px;
            &::after {
                margin: 0 5px;
            }
        }
    }
}

@media screen and (max-width: 787px) {
    .container, .container-fluid {
        padding: 0 10px !important;
    }

}

@media screen and (max-width: 480px) {
    
}


/**********************************************
    Start Edit EN direction 
**********************************************/
html[dir="rtl"]{


    body{
        direction: rtl;
    }

}