/* start global style */

:root{
    --main-color: #7f56d9;
    --color-text: #101828;
}
body{
    font-family: Poppins, sans-serif !important;
    overflow-y: auto!important;
}
h1, h2, h3, h4, h5, h6{
    font-family: Poppins, sans-serif !important;
}
a,a:hover{
    text-decoration: none;
}
button:focus{
    box-shadow: none!important;
    outline: 0;
}
input:focus{
    box-shadow: none!important;
}

/* scrollbar styling */

* {
  scrollbar-color: rgba(var(--second-color-rgb),.5) #1f2029 ;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 4px;
  border-radius: 50%;
}

*::-webkit-scrollbar-track {
  background: rgba(var(--second-color-rgb),.5);
  width: 12px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--second-color);
  width: 16px;
  height: 16px;
  border-radius: 16px;
  border-left: 1px solid rgba(var(--second-color-rgb),.5);
}


section{
    padding-top: 60px;
    padding-bottom: 60px;
}

/* z-index for modal */

.modal{
    z-index: 10000;
}
.modal-backdrop{
    background-color: #e5e5e5;
}

/* start header */

header{

}
header nav .logo{
    margin-right: 50px;
}
header nav .logo a.logo-link{
    text-transform: uppercase;
    color: var(--color-text);
    font-weight: 600;
}
header nav .logo a.logo-link img{
    width: 100px;
    margin-right: 5px;
}


/* navbar */

header nav{
    background: #fff!important;
    padding-top: 1.1rem!important;
    padding-bottom: 1.1rem!important;
    transition: all .45s;
}
header .navbar-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
header .navbar-wrapper .navbar-nav{
    width: 55%;
    justify-content: flex-start;
    align-items: center;
}
.navbar-inferior-lg{
    //padding-top: 5px!important;
    //padding-bottom: 5px!important;
}
.navbar-inferior-lg .btn-offcanvas{
    background: var(--main-color);
    border-radius: 0.5rem;
    border: 0;
    font-size: 1.25rem;
    padding: 0.25rem 0.75rem;
    transition: all .3s ease-in-out;
}
.navbar-inferior-lg .btn-offcanvas i{
    color: #fff;
    transition: all .3s ease-in-out;
}
nav.sticky .btn-offcanvas:hover{
    background: #fff;
}
nav.sticky .btn-offcanvas:hover i{
    color: var(--main-color);
}
.navbar-inferior-lg > .container-fluid{
    justify-content: flex-end;
}
.navbar-inferior-lg .offcanvas-header{
    justify-content: flex-end;
}
.navbar-light .navbar-nav .nav-link,
.search-signup-wrapper li.signup-item a{
    text-transform: capitalize;
    color: var(--color-text);
    font-weight: 500;
    margin-right: 10px;
    font-size: 0.95rem;
    transition: all .2s ease-in-out;
}
.search-signup-wrapper li.signup-item a{
    margin-right: 0;
}
.search-signup-wrapper li.signup-item a i{
    color: var(--main-color);
    margin-right: 5px;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-lg-superior .search-signup-wrapper li.signup-item a:hover{
    color: var(--main-color);
}
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover{
    color: var(--main-color);
    font-weight: 500;
}
.search-signup-wrapper{
    width: 45%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.navbar-lg-superior .search-signup-wrapper li.search-item{
    flex-grow: 1;
    margin-right: 8%;
}
.navbar-lg-superior .search-signup-wrapper li.signup-item{
    margin-right: 0;
}
.search-signup-wrapper .form-serach{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding-bottom: 7px;
}
.search-signup-wrapper .form-serach:focus-within{
    border-bottom-color: var(--main-color);
}
.search-signup-wrapper .form-serach input{
    width: 100%;
    border: 0;
    padding-left: 5px;
}
.search-signup-wrapper .form-serach input:focus{
    border: 0;
    box-shadow: none;
    outline: 0;
}
.search-signup-wrapper .form-serach input::placeholder{
    text-transform: capitalize;
    font-size: 0.9rem;
}
.search-signup-wrapper .form-serach button{
    border: 0;
    background: transparent;
    color: var(--main-color);
    opacity: .8;
    transition: all .2s ease-in-out;
}
.search-signup-wrapper .form-serach button:hover{
    color: var(--main-color);
    opacity: 1;
}
header nav.sticky{
    padding-top: 0.75rem!important;
    padding-bottom: 0.75rem!important;
    background: #fff!important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 0rem 1rem rgba(0,0,0,.25)!important;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 9999;
    transition: all .45s;
}

/* for tablet & mobile */

.navbar-inferior-lg-wrapper{
    width: 100%;
    align-items: center;
}
.navbar-inferior-lg-wrapper .search-signup-wrapper{
    margin-bottom: 0;
    justify-content: space-around;
    width: 60%;
    flex-direction: row-reverse;
}

/* end header */


/* button scroll to top */

.scroll-top{
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 100;
    border: 0;
    background: var(--main-color);
    display: none;
    outline: none;
    padding: 10px;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    border-radius: .25rem;
    box-shadow: 0 0 9px 2px rgba(255,255,255,.5);
    transition: all .2s ease-in-out;
}
.scroll-top i{
    color: #fff;
    margin-bottom: 0;
    font-size: 1.3rem;
    transition: all .2s ease-in-out;
}
.scroll-top:hover i{
    transform: translateY(-5px);
}
.scroll-top:focus{
    outline: 0;
    border: 0;
}

button,
button:focus{
    outline: 0;
    box-shadow: none;
}

p:first-letter{
    text-transform: capitalize;
}

/* scroll bar */

::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    background-color: #f5f5f5;
}
::-webkit-scrollbar{
    width: 8px;
    background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1);
    background-color: rgba(127, 86, 217, .75);
}

// for firefox

*{
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 86, 217, .75) #f5f5f5;
}


.btn-effects{
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.btn-effects:hover {
    color: #fff;
    //padding: 12px 25px;
}
.btn-effects:before,
.btn-effects:after{
    content: "";
    font-weight: 900;
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    transition: all 0.5s;
}
.btn-effects:after{
    content: "";
    background-color: var(--main-color);
    height: 0px;
    width: 0px;
    border-radius: 50%;
    transform: translateY(-50%) translateX(-50%);
    position: absolute;
    left: 3%;
    top: 50%;
    z-index: -1;
    transition: all 0.8s;
}
.btn-effects:hover:before{ display: none; }
.btn-effects:hover:after{
    height: 500px;
    width: 500px;
}

.section-title{
    color: var(--color-text);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}
.section-title:first-letter{
    text-transform: capitalize;
}

.owl-carousel .owl-stage-outer{
    padding: 15px 0;
}
.owl-theme .owl-dots .owl-dot span{
    background: #d9d9d9;
    transition: all .2s ease-in-out;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{
    width: 30px;
    background: var(--main-color);
}

/* box course */

.box-course{
    background-color: #fff;
    height: 100%;
    border-radius: .5rem;
    padding: 15px;
    border: 1.068px solid rgba(216, 216, 216, 0.40);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.09);
    transition: all .3s ease-in-out;
}
.box-course:hover{
    transform: scale(1.04);
}
.box-course-link{
    display: block;
    width: 100%;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    text-align: left;
}
.box-course-header{
    position: relative;
    height: 180px;
}
.box-course-header img{
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: .5rem;
}
.box-course-header .course-duration{
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #667085;
    border-radius: .25rem;
    padding: 5px;
    position: absolute;
    top: 5%;
    right: 3%;
    z-index: 2;
}
.box-course-header .course-duration i{
    margin-right: 5px;
    font-weight: 600;
}
.box-course-header .course-duration .course-duration-val{
    font-size: .8rem;
}
.box-course-body{
    margin-top: 25px;
    margin-bottom: 30px;
}
.box-course-body .course-category{
    text-transform: capitalize;
    color: var(--main-color);
    font-weight: 600;
    font-size: 1rem;
}
.box-course-body .course-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.box-course-body .course-title .course-title-text{
    font-weight: 600;
    font-size: 1.1rem;
    white-space: break-spaces;
}
.box-course-body .course-title .course-title-text:first-letter{
    text-transform: capitalize;
}
.box-course-body .course-title i{
    display: inline-block;
    font-weight: 500;
    transform: rotate(45deg);
}
.box-course-body .course-desc{
    color: #646464;
    line-height: 1.6;
    font-size: .9rem;
}
.box-course-body .reviews-link{
    display: flex;
    align-items: center;
}
.box-course-body .reviews-link .rate-val{
    color: var(--main-color);
}
.box-course-body .reviews-link .rate-stars{
    margin-left: 5px;
    margin-right: 5px;
}
.box-course-body .reviews-link .rate-stars i{
    color: #ff9b26;
}
.box-course-body .reviews-link .notes-num{
    color: #969696;
}
.box-course-body .reviews-link .notes-num:before{
    content: '(';
    margin-right: 2px;
}
.box-course-body .reviews-link .notes-num:after{
    content:')';
    margin-left: 2px;
}
.box-course-body .progress-percentage-course{
    margin-top: 40px;
}
.box-course-body .progress-percentage-course .progress{
    height: 6px;
    border-radius: 25px;
}
.box-course-body .progress-percentage-course .progress .progress-bar{
    background-color: var(--main-color);
}
.box-course-body .progress-percentage-course .progress-percentage-course-val{
    display: inline-block;
    color: var(--main-color);
    font-weight: 600;
    margin-top: 10px;
}
.box-course-body .progress-percentage-course .progress-percentage-course-val:after{
    content: '%';
    margin-left: 2px;
}
.box-course-footer{
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.box-course-footer .former{
    display: flex;
    align-items: center;
}
.box-course-footer .former img{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
}
.box-course-footer .former .formerName-enrolled{
    
}
.box-course-footer .former .formerName-enrolled .former-name{
    text-transform: capitalize;
    font-size: .9rem;
    font-weight: 600;
}
.box-course-footer .former .formerName-enrolled .former-name a{
    color: var(--color-text);
    font-weight: 600;
    transition: all .2s ease-in-out;
}
.box-course-footer .former .formerName-enrolled .former-name a:hover{
    text-decoration: underline;
}
.box-course-footer .former .formerName-enrolled .enrolled-num{
    color: #667085;
    font-size: .85rem;
}
.box-course-footer .former .formerName-enrolled .enrolled-num:after{
    content: 'Inscrits';
    text-transform: capitalize;
    margin-left: 3px;
}
.box-course-footer .course-price{
    color: var(--main-color);
    font-weight: 700;
    font-size: 1.35rem;
}
.box-course-footer .course-price:after{
    content: 'DZ';
    margin-left: 3px;
}

/* pagination */

.nav-pagination{
    margin-top: 60px;
}
.nav-pagination .active > .page-link,
.nav-pagination .page-link.active{
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.nav-pagination .page-link{
    color: var(--color-text);
}
.nav-pagination .page-link:hover{
    background-color: rgba(127, 86, 217, .35);
    border-color: var(--main-color);
    color: #fff;
}

/* start footer */

footer{
    background-color: #101828;
    padding-top: 60px;
    padding-bottom: 40px;
}
footer .container{
    max-width: 90%!important;
}
footer .logo-link-footer{
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
}
footer .logo-link-footer svg{
    margin-right: 5px;
    width: 3.5vw;
}
footer .logo-link-footer svg g circle:last-child{
    stroke: #eee!important;
}
footer p.slogan{
    color: #eaecf0;
    line-height: 1.6;
    font-size: 0.95rem;
}
footer .quick-links{
    margin-bottom: 30px;
}
footer .quick-links h5{
    text-transform: capitalize;
    color: #98a2b3;
    font-size: 1rem;
    margin-bottom: 20px;
}
footer .quick-links ul{
    margin-bottom: 0;
}
footer .quick-links ul li{
    margin-bottom: 10px;
}
footer .quick-links ul li a{
    color: #eaecf0;
    font-size: 0.9rem;
    text-transform: capitalize;
    transition: all .2s ease-in-out;
}
footer .quick-links ul li a:hover{
    color: #fff;
    text-decoration: underline;
}
footer .copyright-socialMedia{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}
footer .copyright-socialMedia p{
    color: #98a2b3;
    margin-bottom: 0;
    font-size: 0.95rem;
}
footer .copyright-socialMedia ul{
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
footer .copyright-socialMedia ul li:not(:last-child){
    margin-right: 10px;
}
footer .copyright-socialMedia ul li i{
    color: #98a2b3;
    font-size: 1.25rem;
    transition: all .3s ease-in-out;
}
footer .copyright-socialMedia ul li a:hover i{
    color: #fff;
    transform: rotate(360deg);
}

/* end footer */


/* ==== Media Query ==== */

@media (max-width: 991px){
    header nav .logo{
        margin-right: 0;
    }
    .offcanvas ul.menu-items li a{
        padding: 10px 15px;
        display: flex;
        color: var(--color-text);
        align-items: center;
        text-transform: capitalize;
        transition: all 0.3s ease;
    }
    .offcanvas ul.menu-items li a:hover,
    .offcanvas ul.menu-items li a:focus{
        color: var(--main-color);
    }
    
}

@media (min-width: 575px) and (max-width: 991px){
    header nav .logo a.logo-link svg{
        width: 4.5vw;
    }
}

@media (max-width: 767px){
    header nav .search-item button{
        border: 0;
        background: transparent;
        color: #aaa;
        transition: all .2s ease-in-out;
    }
    header nav .search-item button:hover{
        color: var(--main-color);
    }
    header nav .search-item button i{
        font-size: 1.5rem;
    }
    header #searchModal .modal-title{
        font-weight: 600;
        text-transform: capitalize;
    }
    header .form-serach-modal{
        display: flex;
        flex-direction: column;
    }
    header .form-serach-modal input{
        width: 100%;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
    }
    header .form-serach-modal input::placeholder{
        text-transform: capitalize;
        color: #888;
    }
    header .form-serach-modal input:focus{
        box-shadow: none;
        outline: 0;
    }
    header .form-serach-modal button{
        background: var(--main-color);
        width: max-content;
        color: #fff;
        padding: 8px 20px;
        border: 1px solid var(--main-color);
        border-radius: 10px; 
        margin: 10px auto 0;
        text-transform: capitalize;
        transition: all .2s ease-in-out;
    }
    header .form-serach-modal button:hover{
        background: transparent;
        color: var(--main-color);
    }
    .box-course-header{
        height: auto;
    }
    footer{
        text-align: center;
    }
    footer .logo-slogan{
        margin-bottom: 35px;
    }
    footer .logo-link-footer{
        justify-content: center;
        margin-bottom: 15px;
    }
    footer .logo-link-footer svg{
        width: 6.5vw;
    }
    footer .quick-links-wrapper{
        justify-content: center;
    }
}


@media (max-width: 575px){
    .navbar{
        padding-top: 7px!important;
        padding-bottom: 7px!important;
    }
    header nav .logo a.logo-link svg{
        width: 6.5vw;
    }
    header nav .search-item button i{
        font-size: 1.25rem;
    }
    .btnToggler-logo{
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .navbar-inferior-lg .btn-offcanvas {
        border-radius: 0.35rem;
        font-size: 1rem;
        padding: 0.1rem 0.5rem;
    }
    /*.navbar-inferior-lg .btn-offcanvas{
        border-color: transparent;
        background: transparent;
        border-width: 1px;
    }
    .navbar-inferior-lg .btn-offcanvas i{
        color: var(--main-color);
    }*/
    footer .copyright-socialMedia{
        flex-direction: column;
        align-items: center;
    }
    footer .copyright-socialMedia p{
        margin-bottom: 15px;
    }

}

/* end global style */
