body {
    overflow-x: hidden;
}
/* :root {
    --primary:#8DC63F;
  


    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
} */
.btn-primary {
    color: #000;
    background-color: #8DC63F;
    border-color: #8DC63F;
}
.bg-secondary {
    background-color: #ddffc170 !important;
}
.btn.btn-primary:hover {
    color: #8DC63F;
    border-color: #8DC63F;
    background: transparent;
}
.text-primary {
    color: #8DC63F !important;
}
.border-primary {
    border-color: #8DC63F !important;
}
.bg-primary {
    background-color: #8DC63F !important;
}
.btn-outline-primary {
    color: #8DC63F;
    border-color: #8DC63F;
}
.btn-outline-primary:hover {
    color: #000;
    background-color: #8DC63F;
    border-color: #8DC63F;
}
/* .bg-dark {
    background-color: #0d1415 !important;
} */
.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.btn-primary:hover {
    color: #8DC63F;
    background: transparent;
}

.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 ***/
.fixed-top {
    /* margin-top:40px;
    transition: .5s; */
}
@media only screen and (max-width: 768px) {
    /* .fixed-top {
        margin-top:0px;
        transition: .5s;
    }
    a.h-btn {
        margin-left: -54px;
    } */
}
.top-bar {
   
    /* height: 45px; */
    /* border-bottom: 1px solid rgba(255, 255, 255, .07); */
}

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

/* .navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
} */

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    /* color: #8DC63F; */
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        /* margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07); */
        /* background: var(--dark); */
    }

    /* .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    } */
}

@media (min-width: 992px) {
   
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        /* transform-origin: 0% 0%; */
        transition: .5s;
        /* opacity: 0; */
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        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, 29, 35, .8); */
    background: rgba(13, 13, 14, 0.637);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}
/* .carousel-item {
  
    width: 100%;
    height: 100vh;
   
} */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    /* background-color: #ddffc170 ; */
    border-radius: 3rem;
}
#header-carousel .carousel-item{
height: 100vh;
}
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    /* background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/page-header.jpg) center center no-repeat; */
    /* background:url(../img/page-header.jpg) center center no-repeat; */
    background: linear-gradient(rgba(13, 13, 14, 0.637), rgba(13, 13, 14, 0.637)), url(../img/page-header.jpg) center center no-repeat;
    background-position: center;
    background-size: cover;
}
@media only screen and (max-width: 768px) {
.page-header {
    padding-top: 7rem;
    padding-bottom: 3rem;
}
}
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #2b3024;
    color: #0000;
}

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

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}
.causes-item img{
    height: 200px;
    width: 100%;
}
/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: #8DC63F;
    border-color: #8DC63F;
}

.donate-form {
    /* border: 2px solid #8DC63F; */
    /* background: #fee8cc; */
    background: #b3eba8;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.13);
    border-radius: 12px;
}
.donate-form.h-100.p-4 {
    width: 410px;
    margin: 0px auto;
}
@media only screen and (max-width: 768px) {
    .donate-form.h-100.p-4 {
        width: 100%;
        margin: 0px auto;
    }
  }
/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    /* background: #8DC63F; */
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    /* background: #8DC63F; */
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #8DC63F !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: #8DC63F !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: #8DC63F;
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #8DC63F;
}
.contact-info,
.contact-form {
  flex: 1;
}

.item {
  margin-bottom: 24px;
  font-size: 16px;
  color: #322;
}

.icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #8DC63F;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  margin-right: 16px;
}
.contact-info .fas {
    font-weight: 900;
    line-height: 57px;
}

/*** Footer ***/

.footer a{
    color:#ffff;
}

.footer a:hover{
    color:#8DC63F;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color:#ffff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:#ffff;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
color:#8DC63F;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color:#ffff;
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color:#fff;
    border-color: #8DC63F;
    background: #8DC63F;
}

.footer .copyright {
    padding: 25px 0;
    color: #fff;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color:#8DC63F;
}



/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
    cursor:pointer;
}

.team-item:hover {
 
    cursor:pointer;
}
.team-item .team-social .btn {
    display: inline-flex;
    color: #8DC63F;
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: #8DC63F;
}


/* our work */
.gallery-item{
    margin-bottom:30px;
}
.gallery-image {
display: block;
width: 100%;
height: 300px;

object-fit: cover;
transition: transform 400ms ease-out;
}

.gallery-image:hover {
transform: scale(1.10);
cursor: pointer;
}

#con-form{
    width: 400px;
    background: #b3eba8;
    /* border: 2px solid #8DC63F; */
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.13);
    padding: 20px;
    margin: 0px auto;
}
.form-floating input{
    border-color:#ffff;
}
@media only screen and (max-width: 768px) {
    #con-form{
        width: 100%;
        
        background: #b3eba8;
        padding: 20px;
        margin: 0px auto;
    }
  }