@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

:root {
    --primary: #2baf16;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}
.text-primary {
    color: #2baf16 !important;
}
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    transition: .5s;
}


.navbar a.btn {
 border-color: #000;
    padding: 0px;
    background-color: #000;
    border-radius:5px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: rgba(0, 0, 0, .75);*/
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .btn.homebaner {
    padding: 7px 15px !important;
}
    #header-carousel .carousel-item {
        position: relative;
           min-height: 200px;
    height: 200px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: 0px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses-item:hover {
    transition: transform 1s ease,opacity .5s ease .25s;
    transform: scale(1);
    -webkit-transform: scale(1);
}
.courses-item {
   -webkit-transition: transform .6s cubic-bezier(.24,1,.3,1),opacity .55s ease .25s;
   transition: transform .6s cubic-bezier(.24,1,.3,1),opacity .55s ease .25s;
   opacity: 1;
   height: 409px;
   background-position: center;
}
.overlimit {
    padding: 1px 29px;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.btn.homebaner{
    background-color: #2baf16!important;
    border-color:#2baf16;
}
.btn{
        border-color: #000;
    padding: 0px;
    background-color: #000;
    border-radius: 5px;
}
.carousel-control-prev, .carousel-control-next{
    background-color: transparent !important;
}
.backoption{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.btn-primary:hover, .btn:hover{
background-color: #2baf16!important;
    border-color: #2baf16;
}
.mainli img{
    width:100%;
}
.rates i{
  color: #2baf16;
  margin: 0px 1px;
}
.overlimit img, .courses-item .height0 img{
    filter: invert(100%);
}
.height0{
   padding: 68px 30px;
   position: absolute;
   bottom: 0;
}

.courses-item:hover .height0{
    height:0px;
    opacity: 0;
}
.courses-item{
    position: relative;
}
.courses-item:before{
  content: '';
  position: absolute;
  left:0;
  right: 0;
  top:0;
  bottom:0;
  background-color:#000;
  opacity: 0.4;  
}
.courses-item h5{
    font-size: 30px;
}

.carousel-item{
    height:700px;
}
.owl-dots {
    text-align: center;
}
.carosel_set .owl-dot span{
width:10px;
height:10px;
margin:0px 2px;
border-radius: 100%;
background-color: #000;
display: block;
}
.carosel_set .owl-dot{
display: inline-block;    
}
@media (max-width:767px){
    .mobile-pd{
        padding: 0px !important;
    }
    .rel, .relsd{
    text-align: center;
}
.navbar-brand{
    width: 143px;
}.navbar-brand img{
    width: 100%;
}
.navbar a.btn {
    padding: 7px 14px !important;
    font-size: 12px;
}
/*.navbar{
    display: block;
    text-align: center;
}*/
}



