/* Website CSS File */
:root {
    --primary: #015198;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
    --blue: #0d6efd;
}

/* Organization Name Animation Text in Header */
h3 span
{
	display: inline-flex;
    color:var(--primary);
    overflow: hidden;
    font-weight: bold;
    font-size: 25px;
}
h3 span:nth-child(even)
{
	overflow:hidden;
    color: white;
    letter-spacing: -0.5em;
    font-size: 18px;
    font-weight: normal;
}
h3 span:nth-child(even)
{
    animation: expand 5s forwards;
    overflow:hidden;
}
h3 span:nth-child(2)
{
	animation-delay: 0s;
}


h3 span:nth-child(4)
{
	animation-delay: .4s;
}


h3 span:nth-child(6)
{
	animation-delay: 1s;
}


h3 span:nth-child(8)
{
	animation-delay: 1.4s;
}



h3 span:nth-child(10)
{
	animation-delay: 1.8s;
}


h3 span:nth-child(12)						
{	
	animation-delay: 2s;
}
@keyframes expand{
	0%{
		letter-spacing: -1em;
	}100%{
		letter-spacing: 0em;
		overflow: hidden;
	}
}

/* Back to Top Button i footer*/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 120;
}

/* Buttons */
.btn {
    font-weight: 500;
    transition: .5s;
}
.btn-outline-primary
{
    color: white;
    background: transparent;
    border-color: white;
}

.btn.btn-primary:hover {
    color:var(--primary);
    background:var(--light) ;
    border-color: var(--primary);
}
.btn.btn-primary {
    color: white;
    background:#015198 ;
    border-color: white;
}

.btn.btn-outline-primary:hover {
    color: white;
    background:#015198 ;
    border-color: white;
}

.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, 0.493);
}
/* navbar */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    vertical-align: middle;
    margin-left: 7px;
    transition: .1;
}

.navbar .navbar-nav .nav-link {
    margin-right: 15px;
    padding: 20px 0;
    color: White;
    font-weight: bold;
    font-size: 14.5px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    border-radius: 3px;
    transition: .1;
    text-decoration: underline 5px white;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #015198;
        background: #015198;
    }

    .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;
    }
}

.image-container {
    position: relative;
    text-align: center;
    color: white;
}

.image-container img {
    width: 100%;
    display: block;
       background-color: #0000005c;
}
.news-stories {
    margin-top: 50px;
}
.news-card {
    margin-bottom: 30px;
}
.news-image {
    max-width: 100%;
    height: auto;
}
.media-type {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #0000005c;
    text-align: center;
}
.description {
    text-align: justify;
}
.centered-text {
    position: absolute;
    top:40%;
    left:0;
    bottom:0;
    right:0;
    font-weight: bold;
    z-index: 2; /* Ensure text appears above the overlay */
    }

.img-link:hover .centered-text {
    color: var(--primary); /* Change to your preferred hover color */
}

.img-link:hover img {
    opacity: 0.8; /* Optional: slightly fade the image on hover */
}
/*** Header ***/

.carousel-caption {
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: left;
    justify-content: left;
    text-align: left;
    background: linear-gradient(to right, rgb(3, 119, 56),rgba(3, 119, 56, 0.828),rgba(3, 119, 56, 0));
    z-index: 1;
    
}

.sliderimg
{
  float: right;
  box-shadow: 0 4px 100px  rgb(0, 176, 80);
}
.bg
{
    background: rgba(0, 0, 0, 0.268);
    border-radius: 10%;
    border: none;
    box-shadow: 1px 5px 15px var(--primary);
}

.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;
    }
}
/* Headers */

.page-headera {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/aboutus.jpg) center center no-repeat;
    background-size: cover;
}
.page-headers {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/glenn-carstens-peters-npxXWgQ33ZQ-unsplash.jpg) center center no-repeat;
    background-size: cover;
}
.page-headert {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/Background\ Checks\ Image.png) center center no-repeat;
    background-size: cover;
}
.page-headerw {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/incent_ourwork-3_720x520_acf_cropped.jpg) center center no-repeat;
    background-size: cover;
}
.page-headerc {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/bg-contact.jpg) center center no-repeat;
    background-size: cover;
}
.page-header {
    padding-top: 12rem;
    padding-bottom: 12rem;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../Admin/img/donate.jpeg) center center no-repeat;
    background-size: cover;
}
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Projects ***/
.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-color:#015198;
    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;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.195);
}


/*** Donate ***/
.donate {
    background:#F8F8F9 ;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.17);
}
.cont{
    box-shadow: 0 0 55px rgba(9, 5, 120, 0.17);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: #015198;
    border-color: #015198;
}

/*** Team ***/
.team-sociali .btni {
    display: inline-flex;
    color: #015198;
    border-radius: 45px;
    background: white;
    margin-right: 5px;
}

.team-sociali .btni:hover {
    color: #FFFFFF;
    background: #015198;
    border-color: #FFFFFF;
}

/*** 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(--light);
}

.footer .copyright a:hover {
    color: #ffffff;
}
.bg-login{
    background: url(../Admin/img/login.jpg) center center no-repeat;
    background-size: cover;
}