@import 'global';

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

.swiper-container ,
.section {
    // pagination
    .swiper-pagination {
        bottom: 0;
        .swiper-pagination-bullet {
            width: 15px;
            height: 4px;
            border-radius: 25px;
            background-color: transparent;
            border: 1px solid var(--primary);
            transition: all .3s linear;
        }
        .swiper-pagination-bullet-active {
            width: 25px;
            background: var(--primary);
        }
    }
    // nav buttons
    .swiper-button-next, 
    .swiper-button-prev {
        background-image: unset;
        width: 40px;
        height: 40px;
        border: 1px solid transparent;
        border-radius: 50%;
        background-image: unset;
        // background-color: #f5f5f5;
        border: 1px solid var(--primary);
        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: 15px;
            color: var(--primary);
            transition: all .3s linear;
        }
        &:hover{
            background-color: var(--primary);
            opacity: 1;
            &::before{
                color: #fff;
            }
        }
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev{
        right: 2%;
        left: auto;
        &::before {
            content: '\f105';
        }
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next{
        left: 2%;
        right: auto;
        &::before {
            content: '\f104';
        }
    }
}

.butn {
    position: relative;
    padding: .9rem 2rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 25px;
    overflow: hidden;
    transition: all .8s linear;
    i {
        margin-inline-end: 7px;
    }
    span {
        position: relative;
        z-index: 5;
    }

    &::before ,
    &::after {
        position: absolute;
        top: 50%;
        content: "";
        width: 20px;
        height: 20px;
        background-color: #C08360;
        border-radius: 50%;
    }
    &::before {
        left: -20px;
        transform: translate(-50%, -50%);
    }
    &::after {
        right: -20px;
        transform: translate(50%, -50%);
    }

    &.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 {
        border-color:  #C08360;
        color: #fff !important;
        &::before {
            animation: criss-cross-left 0.8s both;
            animation-direction: alternate;
        }
        &:after {
            animation: criss-cross-right 0.8s both;
            animation-direction: alternate;
        }
    }

    @keyframes criss-cross-right {
        0% {
            right: -20px;
        }
        50% {
            right: 50%;
            width: 20px;
            height: 20px;
        }
        100% {
            right: 50%;
            width: 375px;
            height: 375px;
        }
    }

    @keyframes criss-cross-left {
        0% {
            left: -20px;
        }

        50% {
            left: 50%;
            width: 20px;
            height: 20px;
        }
        100% {
            left: 50%;
            width: 375px;
            height: 375px;
        }
    }
}

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

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

.border_bottom {
    position: relative;
    &::after {
        content: '';
        height: 10px;
        width: 100%;
        position: absolute;
        bottom: 0px;
        right: 0;
        left: 0;
        // background-color: #4474684f;
        background: url(../images/border.png) no-repeat center;
        background-size: contain;
        z-index: -1;
    }
}

.badge {
    position: relative;
    border-radius: 25px;
    padding: .5rem 1rem;
    font-size: 14px;
    &.orange_badge {
        background-color: #F65D4E;
        color: #fff;
    }
}
/**********************************************
   Start Edit Navbar & Footer
**********************************************/

//start Navbar
.navs-container {
    .top_nav {
        padding: .5rem 1rem;
        position: relative;

        .logo {
            width: 110px;
            object-fit: contain;
            display: block;
            margin: auto;
        }

        .search_box {
            position: relative;
            .form-control {
                border-radius: 25px;
                background-color: #fff;
                border-color: #f8f8f8;
                padding-inline-start: 45px;
                height: 55px !important;
                box-shadow: 3px 6px 15px 0 rgba(146 , 136 , 136 , .07);
            }
            .submit_butn {
                color: var(--primary);
                position: absolute;
                top: 17px;
                inset-inline-start: 15px;
            }
        }

        .nav_butns .butn {
            border-radius: 50%;
            width: 45px;
            height: 45px;
            i {
                margin: 0;
                font-size: 16px;
            }
        }
    }

    .navbar {
        background-color: #f9f9f9;
        padding: 0;
        z-index: 99;
        position: relative;

        .categs_box {
            position: relative;

            .main_categ_toggler {
                font-size: 16px;
                color: var(--primary);
                i {
                    margin-inline-end: 10px;
                }
            }

            .main_categ_box {
                position: absolute;
                top: 43px;
                opacity: 0;
                box-shadow: 3px 6px 15px 0 #0001;
                filter: blur(10px);
                visibility: hidden;
                transition: all .3s linear;
                z-index: 9;

                .item {
                    position: relative;

                    .main_link {
                        padding: .8rem 1.5rem;
                        font-size: 14px;
                        color: #777;
                        position: relative;
                        min-width: 300px;
                        white-space: nowrap;
                        display: block;
                        background-color: #fff;

                        .icon {
                            width: 25px;
                            height: 25px;
                            object-fit: contain;
                            margin-inline-end: 15px;
                        }

                        &:hover {
                            background-color: #d0e1dc;
                            color: var(--primary);
                        }
                    }

                    .sub_dropdown {
                        position: absolute;
                        inset-inline-start: calc(100% + 10px);
                        top: 0;
                        background-color: #fff;
                        box-shadow: -3px 6px 15px 0 rgba(104, 103, 103, 0.067);
                        opacity: 0;
                        filter: blur(10px);
                        visibility: hidden;
                        transition: all .3s linear;

                        .sub_links {
                            width: 400px;

                            .subLink {
                                font-size: 13px;
                                padding: .8rem 1rem;
                                color: #999;
                                background-color: #fff;
                                position: relative;

                                &::before {
                                    content: '';
                                    width: 6px;
                                    height: 6px;
                                    background-color: #ccc;
                                    border-radius: 50%;
                                    display: inline-block;
                                    margin-inline-end: 10px;
                                }
                            }
                        }
                    }

                    &.has_dropdown {
                        .main_link {
                            &::after {
                                content: '\f104';
                                font-family: "Font Awesome 6 Pro";
                                font-weight: 900;
                                display: inline-block;
                                position: absolute;
                                inset-inline-end: 14px;
                                top: 20px;
                                font-size: 9px;
                                color: #777;
                            }
                        }

                        &:hover {
                            .sub_dropdown {
                                opacity: 1;
                                filter: blur(0px);
                                visibility: visible;
                            }
                        }
                    }

                    &:hover {
                        .sub_dropdown {
                            opacity: 1;
                            filter: blur(0px);
                            visibility: visible;
                        }
                    }
                }
            }

            &:hover {
                .main_categ_box {
                    opacity: 1;
                    filter: blur(0px);
                    visibility: visible;
                }
            }
        }

        .nav-link {
            padding: 1.2rem 1.5rem;
            color: #666;
            &.active {
                font-weight: bold;
                color: var(--primary) !important;
            }
        }

        .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: #3f6b5e;
    .content{
        margin-bottom: 35px;
        .logo {
            width: 140px;
            object-fit: contain;
            display: block;
            margin: 0 auto 25px auto;            
        }
        .p {
            color: #fff;
        }
        .title {
            font-weight: bold;
            color: #fff;
            margin-bottom: 25px;
        }
        .links a {
            display: block;
            color: #eee;
            margin-bottom: 17px;
            font-size: 15px;
            &:hover {
                color: #fff !important;
            }
        }
        .contact_links .item {
            margin-bottom: 25px;
            display: flex;
            align-items: end;
            .icon {
                width: 35px;
                height: 35px;
                -o-object-fit: contain;
                object-fit: contain;
                margin-inline-end: 15px;
                position: relative;
                bottom: 8px;
                filter: var(--filterWhite);
            }
            .txt_cont {
                width: calc(100% - 40px);
                .label {
                    color: #B2C1C0;
                    font-size: 12px;
                    margin-bottom: 3px;
                }
                .data {
                    color: #fff;
                    font-size: 14px;
                    width: -moz-fit-content;
                    width: fit-content;
                }
            }
        }

        .branch_box{
            position: relative;
            .form-control {
                background-color: transparent;
                color: #F65D4E;
                font-weight: bold;
                border: none !important;
                box-shadow: none !important;
                background-image: unset;
            }
            &::after {
                content: '\f107';
                font-family: "Font Awesome 6 Pro";
                font-weight: 900;
                display: inline-block;
                position: absolute;
                inset-inline-end: 14px;
                top: 13px;
                font-size: 12px;
                color: #F65D4E;
            }
        }
    
    }
    .foot {
        padding-bottom: 25px;
        border-top: 1px solid #dee2e62e !important;
        .social_links a {
            color: #fff;
            margin-inline-end: 12px;
        }
    }

    .pattern {
        position: absolute;
        width: 40%;
        left: 50%;
        transform: translate(-50%);
        top: 0;
        opacity: .03;
    }
}


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

//start header
.header {
    padding: 0;
    .item {
        min-height: 80vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 70px 0;
        height: 100%;
        .img_box {
            position: relative;
            .waves {
                position: absolute;
                left: -10%;
                bottom: 0;
                width: 200px;
                object-fit: contain;
                animation: floatingX 1s 0s infinite alternate linear;  
            }
            .sun {
                position: absolute;
                inset-inline-end: 1%;
                top: 5%;
                width: 100px;
                animation: rotating 2s 0s infinite alternate;
            }
        }

        .txt_box {
            .title {
                line-height: 1.4;
                font-size: calc(1vw + 35px);
            }
        }
        .arrow {
            position: absolute;
            inset-inline-end: 41%;
            bottom: 50px;
            // transform: rotate(180deg);
            animation: rotating2 6s 0s infinite alternate;

        }

        .pattern{
            height: 100%;
            position: absolute;
            inset-inline-start: 0;
            top: 0;
            bottom: 0;
            filter: var(--primary);
            opacity: .08;
        }
    }
    
    .swiper-slide {
        height: auto;
    }

    .swiper-pagination {
        width: fit-content;
        color: #fff;
        font-size: 28px;
        left:  4%;
        bottom: 40px;
        direction: ltr;
        text-shadow: -1px 0 #447468, 0 1px #447468, 1px 0 #447468, 0 -1px #447468;
        .swiper-pagination-current {
            font-size: 40px;
            // color: #447468;
        }
    }

    .swiper-button-next, 
    .swiper-button-prev {
        border-color: #447468;
        background-color: transparent;
        // top: unset;
        // bottom: 100px;
        &::before {
            color: #447468;
        }
    }

    .swiper-slide-active .item {
        .txt_box {
            h6 {
                animation: fadeInUp 1s both ;
            }
            .title {
                animation: fadeInUp 1s both;
            }
            .butn {
                animation: zoomIn 1s both ;
            }
        }
    }

}

//start categ_sec
.categ_sec {
    .item {
        padding: 45px 15px 35px 15px;
        border-radius: 15px;
        position: relative;
        background-color: #44746817 ;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all .3s linear;
        .icon_box {
            width: 65px;
            height: 65px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #fff;
            border-radius: 10px;
            margin: 0 auto 30px auto;
            .icon {
                width: 40px;
                height: 40px;
                object-fit: contain;
            }
        }
        .title {
            font-size: 16px;
            font-weight: bold;
            color: #444;
            margin-bottom: 0;
            height: 39px;
            overflow: hidden;
        }
    }

    .swiper-button-next, 
    .swiper-button-prev {
        top: 65%;
    }

}

//start  prod_sec
.prod_sec {

    .prod_card {
        // background-color: #f9f9f9;
        border: 4px solid #f9f9f9;
        border-radius: 15px;
        position: relative;
        margin-bottom: 25px;
        padding: 15px;

        .img_box {
            height: 280px;
            position: relative;
            .secImg {
                border-radius: 15px;
            }
            .badge {
                position: absolute;
                top: 10px;
                left: 10px;
                font-size: 10px;
            }
            .fav_butn {
                width: 40px;
                height: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                background-color:#eee;
                color: #888;
                position: absolute;
                bottom: 10px;
                right: 10px;
                border: 1px solid #fff;
                box-shadow: 3px 3px 10px 0 rgba(167, 165, 165, 0.067);
                transform: scale(0);
                opacity: 0;
                filter: blur(10px);
            }
        }
        .card-body {
            padding: 1.4rem 1.3rem;
            padding-bottom: 10px;
            .categ {
                font-size: 14px;
                color: var(--primary);
            }
            .title {
                font-size: 16px;
                font-weight: bold;
                color: #444;
            }
            .ul li {
                position: relative;
                font-size: 12px;
                color: #777;
                &::before {
                    content: '';
                    width: 6px;
                    height: 6px;
                    background-color: #ccc;
                    border-radius: 50%;
                    display: inline-block;
                    margin-inline-end: 10px;
                }
            }

            .price {
                .prev {
                    position: relative;
                    color: #999;
                    .sar {
                        opacity: .4;
                    }
                    &::after {
                        content: '';
                        width: 100%;
                        height: 1px;
                        background-color: #999;
                        position: absolute;
                        inset-inline-start: 0;
                        top: 50%;
                        transform: translateY(-50%);
                    }
                }
            }

            .cart_butn {
                font-size: 15px;
            }
        }
        &:hover {
            .img_box .fav_butn {
                opacity: 1;
                transform: scale(1);
                filter: blur(0);
            }
        }
    }

}

//start banner_sec
.banner_sec {
    padding: 40px 0;
    .inner {
        background-color: #EEF2F2;
        border-radius: 15px;
        padding: 15px;
        position: relative;

        .vector_top{
            position: absolute;
            top: -40px;
            left: -25px;
            transform: rotateY(180deg);
            width: 100px;
            object-fit: contain;
            animation: rotating 10s alternate infinite;
        }
    }
}

//start partners_sec
.partners_sec {
    // padding-bottom: 0;
    padding-top: 40px;
    .partnerLogo {
        max-width: 70%;
        // height: 60px;
        object-fit: contain;
        margin: auto;
        filter: grayscale(100%);
        transition: all .3s linear;
        &:hover {
            filter: grayscale(0%);
        }
    }

    .swiper-container-free-mode > .swiper-wrapper{
        transition-timing-function : linear;
    }

    // .line {
    //     border-bottom: 1px solid #E6E6E6;
    //     margin-top: 70px;
    // }
}

//start  feedback_sec
.feedback_sec {
    background-color: #f5f5f5;

    .feedback_card {
        background-color: #fff;
        border: 2px solid #f5f5f5;
        border-radius: 15px;
        padding: 45px 2vw;
        padding-inline-end: 5vw;
        height: 100%;
        .prof_data {
            display: flex;
            align-items: center;
            .avatar {
                width: 45px;
                height: 45px;
                object-fit: cover;
                margin-inline-end: 25px;
                border-radius: 50%;
            }
            .name {
                font-weight: bold;
                font-size: 20px;
                color: #282C32;
                margin-bottom: 0 !important; 
            }
        }
        .stars i {
            color: #ccc;
            &.active {
                color: #FC791A;
            }
        }

        .txt_box {
            margin-top: 15px;
        }

        &::before {
            content: '';
            width: 30px;
            height: 30px;
            background: url(../images/icons/quote.svg) no-repeat center;
            position: absolute;
            inset-inline-end: 20px;
            bottom: 20px;
        }
    }

    .swiper-slide {
        height: auto;
    }
    .bg  {
        opacity: .09;
    }

}


//start 




/**********************************************
    Start Edit pg-header
**********************************************/




/**********************************************
    Start Edit another Page 
**********************************************/




/**********************************************
    Start Edit another Page 
**********************************************/



/**********************************************
    Start Edit another Page 
**********************************************/




/**********************************************
    Start Edit Media screens 
**********************************************/
@media screen and (max-width: 991px) {
    .order_md_1 {
        order: -1;
    }

    .navs-container .top_nav .logo {
        width: 90px;
    }

    .navs-container .navbar {
        padding: 1rem 0;
    }

    .navs-container .top_nav {
        z-index: 999;
    }

    .navs-container .top_nav .nav_butns {
        position: absolute;
        top: 102px;
        inset-inline-end: 0;
    }

    .navs-container .navbar .nav-link {
        padding: .5rem 1.5rem;
    }

    .navs-container .navbar .categs_box .main_categ_toggler {
        padding: 1rem 1.5rem;
        width: 100%;
        display: block;
        text-align: start;
    }

    .navs-container .navbar .categs_box .main_categ_box {
        display: none;
        position: static;
        opacity: 1 !important;
        filter: none !important;
        visibility: visible !important;
        box-shadow: none;
        width: 100%;
    }

    .navs-container .navbar .categs_box.active .main_categ_box {
        display: block;
    }

    .navs-container .navbar .categs_box .main_categ_box .item .sub_dropdown {
        display: none !important;
        position: static;
        inset-inline-start: 0;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        padding: 0.5rem 1rem;
        box-shadow: none;
    }

    .navs-container .navbar .categs_box .main_categ_box .item.active .sub_dropdown {
        display: block !important;
    }

    .navs-container .navbar .categs_box .main_categ_box .item .sub_dropdown .sub_links .subLink {
        padding-inline-start: 13vw;
    }

    .navs-container .navbar .categs_box:hover .main_categ_box,
    .navs-container .navbar .categs_box .main_categ_box .item:hover .sub_dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
    }


    .banner_sec .inner .txt_box {
        margin: 15px 0;
    }
    .banner_sec .inner .butn {
        margin-top: 15px;
    }

    .footer .foot .social_links  {
        justify-content: center !important;
        margin-bottom: 15px;
    }    
    .footer .foot .copyright {
        text-align: center !important;
    }


}


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

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


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

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

    body{
        direction: ltr;
        font-family: 'Poppins', sans-serif;
    }

}



/**********************************************
    Start Edit dark-mode
**********************************************/
.dark-mode {
    background-color: #151719;
    color: #ffffff;

    .footer {
        background-color: #151719;
    }

    .navs-container .navbar ,
    .navs-container .navbar .categs_box .main_categ_box .item .main_link ,
    .navs-container .navbar .categs_box .main_categ_box .item .sub_dropdown ,
    .navs-container .navbar .categs_box .main_categ_box .item .sub_dropdown .sub_links .subLink ,
    .banner_sec .inner ,
    .feedback_sec  ,
    .feedback_sec .feedback_card  {
        background-color: #22252b;
    }

    p , .p ,
    .navs-container .navbar .nav-link ,
    .navs-container .navbar .categs_box .main_categ_box .item .main_link,
    .navs-container .navbar .categs_box .main_categ_box .item .sub_dropdown .sub_links .subLink  ,
    .prod_sec .prod_card .card-body .ul li ,
    .feedback_sec .feedback_card .txt_box p {
        color: #eee;
    }

    .categ_sec .item .title ,
    .title ,
    .prod_sec .prod_card .card-body .title ,
    .feedback_sec .feedback_card .prof_data .name {
        color: #fff;
    }

    .prod_sec .prod_card .card-body .price .prev .sar {
        filter: var(--filterWhite);
    }

    .navs-container .top_nav .search_box .form-control {
        background-color: transparent;
        color: #fff;
        border-color: #22252b;
        &::placeholder {
            color: #999;
        }
    }

    .prod_sec .prod_card  ,
    .feedback_sec .feedback_card  {
        border-color: #22252b;
    }

    .partners_sec .partnerLogo {
        filter: grayscale(0%);
    }
}


.toggler_butn {
    width: 100px;
    height: 45px;
    background-color: #fff;
    border-radius: 25px;
    box-shadow: inset 0 0 20px 0px rgba(149 ,149 , 149, 0.14) !important;
    position: relative;
    padding: 5px;
    border: 3px solid #fff !important;
    display: flex;
    align-items: center;
    .icon_box {
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: #e7e7e7;
        color: #8e909c;
        transition: all .3s linear;

    }

    .state_mode {
        font-size: 10px;
        color: #888b99;
        line-height: 1.3;
        font-weight: bold;
        width: 45px;
        transition: all .3s linear;
        transform: translateX(-4px);
    }
    &.active {
        background-color: #3C414B;
        border-color: #282b32 !important;

        .icon_box {
            transform: translateX(-55px);
            background-color: #22252b;
            color: #fff ;
        }

        .state_mode {
            transform: translateX(25px);
            color: #fff ;
        }
    }

}