/********** Template CSS **********/
:root {
    --primary: #67bc45;  /**#FC8500;**/
    --secondary:#e3fdd9;   /**#FFF0E6;**/
    --light: #F8F8F9;
    --dark: #001D23;
}

.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: var(--primary);
    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 {
    transition: .5s;
}

.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: var(--primary);
}

@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);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-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/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.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: var(--primary);
    color: #FFFFFF;
}

.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;
}


/* Statement section */

.statement-section {
    position: relative;
    padding: 120px 0;
}

.statement-section .badge {
    position: absolute;
    left: -67px;
    top: 60px;
}

.statement-section .content {
    position: relative;
    margin: 60px 0 0;
    margin-left: -200px;
    background: #fff;
    padding: 60px 0;
    padding-left: 120px;
}

.statement-section .nav-tabs.tab-btn-style-one {
    position: relative;
    border: none;
}

.statement-section .nav-tabs.tab-btn-style-one li.nav-item {
    position: relative;
}

.statement-section .nav-tabs.tab-btn-style-one li.nav-item:before {
    position: absolute;
    content: '';
    right: 0;
    top: 23px;
    width: 40px;
    height: 2px;
    background-color: #dedbd5;
}

.statement-section .nav-tabs.tab-btn-style-one li.nav-item:last-child:before {
    display: none;
}

.statement-section .nav-tabs.tab-btn-style-one .nav-item .nav-link {
    border: 2px solid #dedbd5;
    border-radius: 0;
    margin-right: 40px;
    padding: 15.5px 26px;
    transition: .5s;
}

.statement-section .nav-tabs.tab-btn-style-one h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .5s;
}

.statement-section .nav-tabs.tab-btn-style-one .nav-item .nav-link i {
    margin-right: 8px;
    display: inline-block;
    transform: rotate(135deg);
    color: #cecac4;
    transition: .5s;
}

.statement-section .nav-tabs.tab-btn-style-one .nav-item .nav-link.active i,
.statement-section .nav-tabs.tab-btn-style-one .nav-item .nav-link:hover i {
    transform: rotate(90deg);
}

.statement-section .sec-title .sub-title {
    margin-bottom: 10px;
}

.statement-section .text {
    position: relative;
    margin-bottom: 35px;
}
/***end statements***/


/*** 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: var(--primary);
    border-color: var(--primary);
}


/*** 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;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** 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: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    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: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !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: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** Events ***/

.cardE-body {
    width: 80vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cardE {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 210px 210px 80px;
    grid-template-areas: "image" "text" "stats";
  
    border-radius: 18px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
    /*font-family: roboto;*/
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    margin:30px;
}

.cardE-image {
    grid-area: image;
    background: url("../img/courses-1.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardE-image1 {
    grid-area: image;
    background: url("../img/give-1.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardE-image2 {
    grid-area: image;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardE-text {
    grid-area: text;
    margin: 25px;
  }
.cardE-text .date {
    color:#67bc45;
    /*color: rgb(255, 7, 110);*/
    font-size:13px;
    font-weight: 700;
    
}
.cardE-text p {
    color: grey;
    font-size:15px;
    font-weight: 300;
}
.cardE-text h2 {
    margin-top:0px;
    font-size:28px;
}

.cardE-stats {
    grid-area: stats; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background:#023047; /*rgb(255, 7, 110);*/
}

.cardE-stats .stat {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 5px;
}

.cardE-stats .type {
    font-size: 11px;
    font-weight: 300;
    text-transform: capitalize;
}

.cardE-stats .value {
    font-size: 20px;
    font-weight: 400;
}

.cardE-stats .border {
    border-left: 1px solid rgba(11, 76, 47, 0.32);
    border-right: 1px solid rgba(11, 76, 47, 0.32);
}

.cardE-stats .value sup {
    font-size: 14px;
}

.cardE:hover {
    transform: scale(1.2);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
    .card-bodyE {
        width: 100%;
        margin: 10px 0;
    }
}
@media (min-width: 601px) and (max-width: 900px) {
    .card-bodyE {
        width: 48%;
        margin: 1%;
    }
}

/***Impact statistics***/

.card-bodyE {
    width: 100vw;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cardImpact {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 210px 250px 20px;
    grid-template-areas: "image" "text" "stats";
    border-radius: 18px;
    background: #1d1d1d;
    color: white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
    text-align: justify;
    transition: 0.5s ease;
    cursor: pointer;
    margin:30px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.rgb::after {
    content: "";
    background: linear-gradient(45deg,
    #ff0000 0%,
    #ff9a00 10%,
    #d0de21 20%,
    #4fdc4a 30%,
    #3fdad8 40%,
    #2fc9e2 50%,
    #2c7fee 60%,
    #5f15f2 70%,
    #ba0cf8 80%,
    #fb07d9 90%,
    #ff0000 100%)
    repeat 0% 0% / 300% 100%;
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    filter: blur(0px);
    transform: translateZ(-2px);
    animation: rgb 6s linear infinite;
}

@keyframes rgb {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.js-tilt-glare {
    border-radius: 18px;
}

.cardImpact1-image {
    grid-area: image;
    background: linear-gradient(#fff0 0%,#fff0 70%,#1d1d1d 0%), url("../img/give-4.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardImpact2-image {
    grid-area: image;
    background: linear-gradient(#fff0 0%,#fff0 70%,#1d1d1d 0%),url("../img/give-5.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardImpact3-image {
    grid-area: image;
    background: linear-gradient(#fff0 0%,#fff0 70%,#1d1d1d 0%),url("../img/give-3.jpg");
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
}

.cardImpact-text {
    grid-area: text;
    margin: 25px;
    transform: translateZ(30px);
  }
.cardImpact-text .date {
    color:#67bc45;
    /*color: rgb(255, 7, 110);*/
    font-size:13px;
}
.cardImpact-text p {
    color: grey;
    font-size:14px;
    font-weight: 300;
}
.cardImpact-text h2 {
    margin-top:0px;
    font-size:28px;
}

.cardImpact-stats {
    grid-area: stats; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background:#023047; /*rgb(255, 7, 110);*/
}

.cardImpact-stats .stat {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding:10px;
}

.cardImpact-stats .type {
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
}

.cardImpact-stats .value {
    font-size: 22px;
    font-weight: 500;
}

.cardImpact-stats .border {
    border-left: 1px solid rgba(11, 76, 47, 0.32);
    border-right: 1px solid rgba(11, 76, 47, 0.32);
}

.cardImpact-stats .value sup {
    font-size: 12px;
}

.cardImpact:hover {
    transform: scale(1.2);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}

/***Partners***/
.slider-area  {
    text-align: center;
    font-size: 18px;
    font-weight: 100;
    letter-spacing: 2px;
    margin: 100px 0 30px 0;
    color: #3fdad8;
}
.wrapper {
    width: 767px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    border-radius: 180px;
    padding: 2.5rem;
    background: #ddd;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}
.item {
    animation: animate 25s alternate linear infinite;
}
.wrapper:hover .item {
    animation-play-state: paused;
}
@keyframes animate {
    0%{
        transform: translate3d(0,0,0);
    }
    100%{
        transform: translate3d(-1100px,0,0);
    }
}
@media (max-width: 750px){
    .slider-area span {
        font-size: 20px;
    }
    .wrapper {
        width: 95%;
        border-radius: 0;
        padding: 0;
    }
}

/*** Gallery ***/
.slider-box {
    display: grid;
    place-items: center;
    min-height: 100vh;
}
/**.container{
    padding: 0;
    margin: 0;
}**/
.main-slider {
    position: relative;
    width: 640px;
    padding-top: 320px;
    margin: 20px auto;
    box-shadow: 0 10px 20px -6px rgba(0,0,0,0.8);
}
.main-slider> img {
    position: absolute;
    left: 0;
    top: 0;
    transition: all .6s;
}
.main-slider input[name="ani"]{
    display: none;
}
.main-slider label {
    margin: 50px 0 0 20px;
    border: 3px solid #888;
    float: left;
    cursor: pointer;
    transition: all .6s;
    opacity: 0.8;
}
.main-slider label img{
    display: block;
}
.main-slider input[name="ani"]:checked+label{
    border-color: #777;
    opacity: 1;
}
.main-slider input[name="ani"]~img{
    opacity: 0;
    transform: scale(1.1);
}
.main-slider input[name="ani"]:checked+label+img{
    opacity: 1;
    transform: scale(1);
}

/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    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: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}