/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}




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

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

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

.fw-normal {
    font-weight: 400 !important;
}


/*** 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 {
    transition: .5s;
}

.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 Bar ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    outline: none;
}

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

.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 {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

@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 ***/
.header-carousel {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    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;
    margin-right: 10px;
}

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

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}


/*==========================
PROJECT SECTION
==========================*/

.project-box{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 .5rem 1.5rem rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.project-box:hover{

    transform:translateY(-8px);

    box-shadow:0 1rem 2rem rgba(0,0,0,.15);

}

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:.5s;

}

.project-box:hover img{

    transform:scale(1.08);

}

.project-content{

    padding:25px;

}

.project-content h4{

    font-size:22px;

    font-weight:700;

    margin-bottom:15px;

    color:#212529;

}

.project-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:20px;

}

.project-content .btn{

    font-size:14px;

}



/*==========================
        NEWS SECTION
===========================*/

.news-card{
    border-radius:15px;
    overflow:hidden;
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-8px);
    box-shadow:0 .8rem 2rem rgba(0,0,0,.15)!important;
}

.news-card .card-img-top{
    width:100%;
    height:180px;

    /* Show the complete image */
    object-fit:contain;

    background:#f5f5f5;

    padding:10px;
}

.news-card .card-body{
    min-height:170px;
}

.news-card h5{
    font-size:17px;
    font-weight:700;
    line-height:1.4;
}

.news-card p{
    font-size:14px;
}

.news-card .btn{
    font-size:13px;
}



/* =========================================
   PROJECT LISTING CARDS
========================================= */

.project-list-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.project-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.project-list-card img {
    transition: transform 0.5s ease;
}

.project-list-card:hover img {
    transform: scale(1.05);
}

.project-list-card .card-img-top {
    transition: transform 0.5s ease;
}

.project-list-card {
    overflow: hidden;
}


/* =========================================
   PROJECT DETAILS
========================================= */

.project-detail-image {
    position: relative;
    overflow: hidden;
}

.project-detail-image img {
    transition: transform 0.5s ease;
}

.project-detail-image:hover img {
    transform: scale(1.03);
}


/* =========================================
   PROJECT CONTENT
========================================= */

.project-description,
.project-content {
    color: #555;
    line-height: 1.9;
    font-size: 16px;
}

.project-description p,
.project-content p {
    margin-bottom: 20px;
}

.project-description ul,
.project-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.project-description li,
.project-content li {
    margin-bottom: 10px;
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 767px) {

    .project-list-card img {
        height: 220px !important;
    }

    .project-detail-image img {
        height: 300px !important;
    }

}



/* =========================================
   NEWS CARDS
========================================= */

.news-list-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.news-list-card img {
    transition: transform 0.5s ease;
}

.news-list-card:hover img {
    transform: scale(1.05);
}


/* =========================================
   NEWS ARTICLE
========================================= */

.news-article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
}

.news-article-content p {
    margin-bottom: 25px;
}

.news-article-content h1,
.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.news-article-content ul,
.news-article-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.news-article-content li {
    margin-bottom: 10px;
}


/* =========================================
   NEWS SUMMARY
========================================= */

.news-summary {
    line-height: 1.8;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .news-list-card img {
        height: 220px !important;
    }

    .news-article-content {
        font-size: 16px;
    }

}



.about-hero {
    padding: 120px 0;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url('../img/chrissy3.jpeg');

    background-size: cover;
    background-position: center;
    color: #fff;
}

.about-hero h1 {
    font-size: 55px;
    font-weight: 700;
}

.about-label {
    display: inline-block;
    background: #f5c400;
    color: #000;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-weight: 600;
    border-radius: 30px;
}

.about-card {
    background: #fff;
    padding: 45px 35px;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
}

.about-card i {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 15px;
}

.section-title {
    color: #f5c400;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 2;
}

.about-hero .container {
    position: relative;
    z-index: 3;
}

.min-vh-50 {
    min-height: 520px;
}

.about-hero-content {
    padding: 80px 0;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
}


/* =========================================================
   CONTENT
========================================================= */

.about-content {
    line-height: 1.9;
    color: #555;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   STATISTICS
========================================================= */

.about-stat-card {
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
}


/* =========================================================
   MISSION & VISION
========================================================= */

.mission-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.mission-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


/* =========================================================
   VALUES
========================================================= */

.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}


/* =========================================================
   OBJECTIVES
========================================================= */

.objective-card {
    transition: all 0.3s ease;
    background: #fff;
}

.objective-card:hover {
    transform: translateY(-5px);
    border-color: #0d6efd !important;
}

.objective-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {
    background: #f8f9fa;
}

.about-cta .text-center {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #084298
    );
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .about-hero {
        min-height: 450px;
    }

    .min-vh-50 {
        min-height: 450px;
    }

    .about-hero-content {
        padding: 60px 20px;
    }

    .about-hero h1 {
        font-size: 2.3rem;
    }

    .about-intro-image img {
        min-height: 300px;
    }

}
