/* 
 ################################################   CSS ####################################
*/


/*  ################################################ universal css #################################### */
    *{
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif;
    }

    body {
        color: #012f47;
        background-color: #fdfdff;
    
    }
    .py-50x {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .mt-50x {
        margin-top: 50px;
    }
    .pt-50x {
        padding-top: 50px;
    }
    .pb-50x {
        padding-bottom: 50px;
    }

    .heading {
        font-weight: 700;
        color: #222; /* dark for readability */
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .heading:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #00cba9, #20c997); /* teal/green underline */
        border-radius: 2px;
    }
        .btn:hover {
        color: inherit !important;
        background-color: inherit !important;
        border-color: inherit !important;
        }

    


/*  ################################################ header css #################################### */
    .top-bar {
      background-color: #72b85c;
      color: #fff;
      font-size: 14px;
      padding: 5px 0;
    }
    .top-bar i {
      margin-right: 5px;
    }
    .navbar-nav .nav-link {
      color: #001858 !important;
      font-weight: 500;
    }
    .navbar-nav .nav-link.active {
      color: #00bfa6 !important;
      font-weight: 600;
    }
    .btn-donate {
      background-color: #00c2a8;
      color: #fff;
      font-weight: 600;
    }
    .btn-books {
      background-color: #e8c547;
      color: #fff;
      font-weight: 600;
    }
    @media (max-width: 768px) {  
        .top-bar{
            display: none;
        }
    }

    
/*  ################################################ home-slider css #################################### */
    #heroCarousel .carousel-item {
        height: 100%; /* Full screen */
        min-height: 500px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .hero-content h1 {
        font-weight: 800;
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .btn-custom {
        background-color: #602e7c;
        color:#602e7c;
        padding: 12px 28px;
        border-radius: 30px;
        font-weight: 600;
        margin-right: 10px;
    }

    .btn-primary-custom {
        background-color: #602e7c;
        color: #fff;
        border: none;
    }

    .btn-outline-custome-active{
        color: #602e7c;
        background-color: #b883d72c;
        font-weight: 600;
    }

    .btn-outline-custome{
        color: #602e7c;
        font-weight: 600;
        border-color: #602e7c;
    }

    .btn-dark-custom {
        background-color: #000;
        color: #fff;
        border: none;
    }

    .stats {
        margin-top: 30px;
    }

    .stat-item h3 {
        font-weight: 800;
        font-size: 2rem;
        margin: 0;
    }

    .stat-item p {
        margin: 0;
    }

    .carousel-item > .container {
        position: relative;
        z-index: 2;
    }
    .carousel-fade .carousel-item {
        transition: opacity 1.5s ease-in-out; /* control speed */
    }

       
    @media (max-width: 768px) {  
        .hero-content h1{
            font-weight: 800;
            font-size: 1.8rem; 
        }
        #heroCarousel .carousel-item {
            height: 50vh; 
        }
    }

/*  ################################################ service & program css #################################### */

    .programmes-section h2 {
      font-weight: 800;
      margin-bottom: 40px;
      color: #222;
    }
    .programme-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      padding: 30px 20px;
      transition: all 0.3s ease-in-out;
      height: 100%;
    }
    .programme-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    }
    .programme-icon {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      margin: 0 auto 20px;
      color: #fff;
    }
    .programme-card h5 {
      font-weight: 700;
      margin-bottom: 15px;
    }
    .programme-card p {
      font-size: 15px;
      color: #555;
      min-height: 70px;
    }
    .programme-card a {
      font-weight: 600;
      color: #008374;
      text-decoration: none;
    }
    .programme-card a:hover {
      text-decoration: underline;
    }

       @media (max-width: 768px) {  
        .programme-card {
            padding:10px;
        }
    }

/*  ################################################ about section  css #################################### */
    .about-section {
        background: linear-gradient(to right, #ffffff, #f7fdfc);
    }

  
    .about-content h2 {
        font-size: 2.2rem;
    }
    .about-content h5 {
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .about-image img {
        border-radius: 20px;
        transition: transform 0.3s ease;
    }
    .about-image img:hover {
        transform: scale(1.05);
    }

/*  ################################################ reach section  css #################################### */

    .reach-section {
        background: linear-gradient(to right, #ffffff, #f7fdfc); /* soft clean background */
        padding: 5rem 0;
    }



    .stats-card {
        background: #fff;
        border-radius: 14px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: 100%;
        border-top: 4px solid transparent;
        border-image: linear-gradient(to right, #00cba9, #20c997);
        border-image-slice: 1;
    }

    .stats-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(to right, #00cba9, #20c997); /* gradient number */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 10px;
    }

    .stat-label {
        font-size: 1.1rem;
        color: #555;
        font-weight: 600;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(0, 203, 169, 0.12); /* light teal background */
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }

    .icon-wrapper i {
        font-size: 30px;
        color: #00cba9; /* teal icons */
    }

/*  ################################################ volunteer section  css #################################### */

    .volunteer-section {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
        background-size: cover;
        background-position: center;
        padding: 5rem 0;
        color: white;
    }
    
    .section-title {
        font-weight: 700;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 15px;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70px;
        height: 4px;
        background: #00c2a8;
        border-radius: 2px;
    }
    
    .btn-volunteer {
        background: #00c2a8;
        border: none;
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        margin-top: 20px;
    }
    
    .btn-volunteer:hover {
        background: #00c2a8;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    }
    
    .icon-box {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .icon-box i {
        background: #00c2a8;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }


.btn {
    vertical-align: text-top;
}

.prel {
    position: relative;
}

.pabs {
    position: absolute;
}

.pabs.stretch {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide {
    padding-bottom: calc( (100% * (4/9)));
}

.slide > img {
    object-fit: cover;
}

.content-box {
    z-index: 1050;
}

.imgdrop {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    position: absolute;
    background: radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}


.btn-orange {
    color: white;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    background-color: #f07317;
    /* background-color: #e8750b; */
}
.bg-orange{
    background-color: #f07317;
}

.text-orange{
    color: #f07317;
}
.btn-orange:hover {
    color: white;
    background-color: #e8750b;
}

.btn-themg {
    color: #fff;
    transition: all 500ms ease-in;
    font-weight: 600;
    background-color: #d2a23e;
}

.btn-themg:hover {
    color: #fff;
    background-color: #d99913;
}

.ini-block {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.ini-block .img-thumb {
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px 10px 0 0;
    padding-bottom: calc(100% * (9/16));
    background-color: #ccc;
}

.ini-block .img-thumb > img {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.ini-block h4 {
    color: #0a101c;
	min-height: 60px;
    font-weight: 700;
}

.content .info {
    margin-top: 15px
}

.content .info .progb {
	height: 4px;
	position: relative;
	border-radius: 4px;
	background-color: #e2e2e2;
}

.content .info .prog {
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	position: absolute;
	border-radius: 4px;
	background-color: #c59a31;
}

.howiw span.bi {
    color: white;
    width: 64px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    font-size: 24px;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    background-color: navy;
}
.works-card {
    transition: all 0.3s ease;
}
.works-card:hover{
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 4px;
    padding:10px;
}

.prog-box {
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}

.prog-box > .thumb {
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding-bottom: calc(100% * (7/16));
    background-color: #ccc;
}

.prog-box .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mem-img {
	width: 280px;
	height: 280px;
	background: #ccc;
	box-shadow: inset 0 0 5px;
	border-radius: 8px;
}

section.empow {
    padding: 100px 0;
    position: relative;
    background: url(../img/empow_bg.jpg) no-repeat;
    background-size: cover;
}

section.empow .col-12 {
    z-index: 1;
    position: relative;
}

section.empow .bgds {
    top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	background: linear-gradient(#fff 0%, rgba(0, 0, 0, 0.25) 60%);
}

section.empow  .h1 {
	color: navy;
	font-size: 4rem;
	font-weight: bold;
}

section.empow  .h1 > span {
	color: orangered;
}

section.empow  p {
    color: white;
	font-size: 24px;
}

section.madona .madona-item {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
}

section.madona .madona-item > .thumb {
    width: 100%;
    padding-bottom: calc(100% * (8 / 16));
}

section.madona .madona-item > .thumb > img {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    object-fit: cover;
}

section.initiatives .init-box {
    height: 100%;
    padding: 2rem 1.5rem;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    background-color: #fdf3e9;
}

.init-box img {
    width: 42px;
    height: auto;
}

section.makead {
    background-color: #f9f5ea;
}


/*  ################################################ footer css #################################### */
 .footer-top {
      background-color: #72b85c;
      color: #fff;
      padding: 10px 0;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }
    .footer-top .btn-donate {
      background-color: #e8c547;
      color: #fff;
      font-weight: 600;
      padding: 5px 15px;
      border-radius: 5px;
      margin-left: 15px;
    }
    .footer-main {
      padding: 40px 0;
    }
    .footer-main h5 {
      color: #7a1b63;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .footer-main ul {
      list-style: none;
      padding: 0;
    }
    .footer-main ul li {
      margin-bottom: 8px;
    }
    .footer-main ul li a {
      color: #000;
      text-decoration: none;
    }
    .footer-main ul li a:hover {
      color: #72b85c;
    }
    .footer-main ul li i {
      color: #7a1b63;
      margin-right: 8px;
    }
    .footer-social a {
      font-size: 22px;
      margin-right: 12px;
      color: #72b85c;
    }
    .footer-bottom {
      background-color: #72b85c;
      color: #fff;
      padding: 10px 0;
      font-size: 14px;
      text-align: center;
    }
    .footer-bottom a {
      color: #fff;
      font-weight: 600;
      text-decoration: none;
    }

    .input-group>.form-control:not(:focus).is-invalid,.input-group>.form-control:focus{
    z-index:2 !important;
}