/********** Template CSS **********/
:root {
    --primary: #fcc635;
    --secondary: #525368;
    --light: #e8f5e9;
    --dark: #0f4229;
}

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

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

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

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

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

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}

/*** Top navbar btn ***/
.btn-navbar {
    color: #48994c;
    background-color: #fff;
    border: 2px solid #48994c;
}

.btn-navbar:hover {
    color: #48994c;
    background-color: #fcc635;
    border-color: #fcc635;
}

/*** Navbar ***/
.navbar {
    padding: 0px;
}

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

/*.navbar .navbar-brand,
.navbar a.btn {
    height: 80px;
}*/

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 5px 0px 5px 0px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    width: 50%;
}

.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: 15px 20px;
        color: white;
        border-bottom: 0.5px solid white;
    }

    .navbar .navbar-nav .nav-link.active {
        margin-right: 0;
        padding: 15px 20px;
        color: var(--primary);
        border-bottom: 0.5px solid white;
        width: 100%;
    }
}

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

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

.brand-logo {
    height: 115px;
    padding: 5px 0px;
}

@media (max-width: 650px) {
    .brand-logo {
        height: 90px;
        padding: 5px 0px;
    }
}

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

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@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 Start**/

.page-header-acumen {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-acumen.jpeg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-event {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-event.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-activity {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-activity.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-gallery {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-gallery.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-contact {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-contact.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-news {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-news.png) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-achieve {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-achieve.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-about {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-about.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-donate {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-donate.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header-join {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-join.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

@media (max-width: 700px) {
    .page-header-event,
    .page-header-activity,
    .page-header-contact,
    .page-header-achieve,
    .page-header-about,
    .page-header-news,
    .page-header-acumen,
    .page-header-donate,
    .page-header-join,
    .page-header-gallery {
        padding: 100px 0px;
    }
}

@media (max-width: 400px) {
    .page-header-event,
    .page-header-activity,
    .page-header-contact,
    .page-header-achieve,
    .page-header-about,
    .page-header-acumen,
    .page-header-news,
    .page-header-donate,
    .page-header-join,
    .page-header-gallery {
        padding: 60px 0px;
    }
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/*** Facts ***/
.facts {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/bg-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/***  Quote ***/

.quote {
    background: rgba(15, 66, 41, 0.6);
}

/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: 0.3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    background: rgba(15, 66, 41, 0.6);
}

.service-item:hover .service-text {
    // background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4 {
    color: var(--light);
}
.service-item .service-text p {
    color: var(--light);
}

.service-item:hover .service-text h4 {
    color: var(--primary);
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: var(--light);
    transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: 0.3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}

/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: 0.5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, 0.6);
    transition: 0.5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: 0.3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: 0.3s;
    opacity: 1;
}

/*** Event Start ***/

.event-carousel .owl-item img {
    width: 100%;
    // height: 100px;
}

.event-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.event-carousel .owl-nav {
    position: relative; /* Ensure the parent has relative positioning */
    height: 100%; /* Let the nav cover the entire height of the carousel */
}

.event-carousel .owl-nav .owl-prev,
.event-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%; /* Start at 50% from the top */
    transform: translateY(-50%); /* Shift the element up by 50% to center it */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: 0.5s;
    border: 0.5px solid var(--primary);
    margin-top: 10px;
}

/* Positioning the arrows on the left and right of the carousel */
.event-carousel .owl-nav .owl-prev {
    left: 45%; /* Adjust as necessary to move it left */
}

.event-carousel .owl-nav .owl-next {
    right: 45%; /* Adjust as necessary to move it right */
}

@media (max-width: 991px) {
    .event-carousel .owl-nav .owl-prev {
        left: 50%; /* Adjust as necessary to move it left */
        margin-left: 5px;
    }

    .event-carousel .owl-nav .owl-next {
        right: 50%; /* Adjust as necessary to move it right */
    }
}

/* Ensure the nav buttons are always visible */
.event-carousel {
    position: relative;
}

.event-carousel .owl-nav .owl-prev:hover,
.event-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border: 2px solid #0f4229;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

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

.footer .btn.btn-link:hover {
    color: var(--primary);
    // letter-spacing: 1px;
    box-shadow: none;
}

.footer .footer-gallery img {
    border-radius: 10px;
}

.copyright {
    color: var(--light);
    background: #072a19;
    padding: 20px 0px;
}

.copyright a {
    color: #ffffff;
}

.copyright a:hover {
    color: var(--primary);
}

/************  Fixed Footer Start ***************/

.footer-fixed-nav {
    height: 50px !important;
    position: fixed;
    bottom: -3px;
    display: none;
    z-index: 1000;
    padding-top: 10px;
    background: black;
    //border-top: 1px solid #0a5b6f;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    background: white;
}
.footer-fixed-nav i {
    margin-top: 2px;
    color: #0f4229;
    font-size: 20px;
}

@media (max-width: 991px) {
    .footer-fixed-nav {
        display: block;
    }
    .back-to-top {
        bottom: 60px;
        right: 15px;
    }
    .copyright {
        padding: 20px 0px 65px 0px;
    }
}
/************  Fixed Footer End ***************/

/*** Activity Detail Section Start**/
.activity-detail-more h5 {
    color: grey;
    font-weight: 300 !important;
}
/*** Activity Detail Section End**/

.news-carousel .owl-nav {
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
}

.news-carousel .owl-nav .owl-prev,
.news-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: 0.5s;
}

.news-carousel .owl-nav .owl-prev:hover,
.news-carousel .owl-nav .owl-next:hover {
    border: 1px solid var(--dark);
    color: var(--dark);
    background: white;
}

/**** Donor Start*****/
.donor-img {
    overflow: hidden;
    position: relative;
}

.zoom-img {
    transition: transform 0.3s ease;
}

.zoom-img:hover {
    transform: scale(1.2); /* Adjust scale as needed */
}

.donor-item {
    border: none;
}

.donor-item:hover {
    box-shadow: 0 4px 10px rgba(15, 66, 41, 0.7) !important;
}

/**** Donor End*****/

/*** Partner Section Start***/
.partner-section {
    background: linear-gradient(
            rgba(201, 209, 203, 0.7),
            rgba(201, 209, 203, 0.7)
        ),
        url(../img/bg-partner.jpg) center center no-repeat;
    background-size: cover;
    padding: 80px 0px;
}

@media (max-width: 850px) {
    .partner-section {
        padding: 50px 0px;
    }
}

@media (max-width: 400px) {
    .partner-section {
        padding: 20px 0px;
    }
}
/*** Partner Section End ***/
