/********** Template CSS **********/
:root {
    --primary: #10eb22;
    --secondary: #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;
}

.spinner-grow {
    width: 3rem;
    height: 3rem;
    background-color: green !important;
}


.brand-green {
    color: #10eb22;
}

.custom-about-badge {
    background-color: #f0fdf4 !important; /* Light background */
    color: #10eb22 !important;              /* Green text */
    font-size: 1.25rem;                   /* Larger font size */
    padding: 0.5rem 1.5rem !important;    /* Larger padding */
    font-weight: 600;                     /* Semi-bold for emphasis */
}
.custom-badge {
    background-color: #e6ffed; /* Light greenish background */
    color: #10eb22;              /* Green text */
    font-size: 1.25rem;        /* Larger font size */
    font-weight: 600;          /* Bolder text */
}


/*** 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(41, 46, 44, 0.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;
}

.border-green {
    border-color: #28a745 !important; /* Bootstrap's default success green */
}
.border-green {
    border-color: #28a745 !important;  /* Custom deep green */
}
.bg-green {
    background-color: #28a745 !important;
    color: #fff;
}



/*** 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;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}




/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -20px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -50px;
    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);
}
.team-text p.text-primary {
    color: rgba(11, 223, 46, 0.822) !important; 
    font-weight: bold;
}

.team-text .team-social p {
    color: rgb(9, 86, 202) !important;  
}

.team-text .team-social span {
    color: black !important; 
}
@media (min-width: 992px) {
    .custom-col-5 {
        width: 20%;
        flex: 0 0 auto;
    }
}
.team-item .team-text {
    position: relative;
    padding: 15px 5px;
    transition: .5s;
    min-height: 100px; /* enough for name + designation + 2 lines email */
    overflow: visible;
}

.team-item:hover .team-text {
    margin-top: -15px; /* small lift effect */
}

/* Email styling */
.team-text .team-social p {
    color: rgb(9, 86, 202) !important;
    white-space: normal;      /* allow wrapping */
    overflow-wrap: break-word; /* break long words if needed */
    line-height: 1em;
    max-height: 4em;        /* restrict to ~2 lines */
}



/*** Donate ***/
.donate {
    background: rgba(1, 53, 33, 0.8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}

.donate-btn {
    background-color: #28a745 !important; /* Bootstrap green */
    border: none;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
}

.donate-btn:hover {
    background-color: #218838 !important;
    color: #fff;
}

.donate-btn .btn-sm-square {
    background-color: #ffffff !important;
    color: #28a745 !important;
}

.donate-btn:hover .btn-sm-square {
    background-color: #e6f4ea;
    color: #218838 !important;
}

/* Donation Modal */
  /* Submit Button */
  .submit-btn-custom {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 12px 36px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
  }

  .submit-btn-custom:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(33, 136, 56, 0.5);
  }

  /* Modal Background */
  .modal-content {
    background: #f5f9ff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }

  /* Input fields */
  .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
  }

  .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
  }

  /* Labels */
  .form-label {
    font-weight: 600;
    color: #333;
  }

  /* Header Styling */
  .modal-header {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .modal-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
  }




/*** 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);
}






/* CONTACT SECTION BEAUTIFICATION */
#contact {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
}

#contact .info-title {
    color: #28a745; /* Green heading color */
    font-weight: 600;
    font-size: 22px;
}

#contact .info-box {
    background-color: #fdfdfd;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;

    /* New: Wider size and center alignment */
    width: 600px;
    margin: 0 auto;
}


#contact .info-box:hover {
    transform: translateY(-5px);
}

#contact p {
    font-size: 20px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

#contact .email-text {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

#contact .email-text i {
    font-size: 22px;
    color: #dc3545; /* envelope icon in soft red */
}

@media (max-width: 768px) {
    #contact .info-box {
        margin-bottom: 30px;
    }
}





.back-to-top {
    background-color: #02640a !important;
    border-color: #02640a !important;
    font-weight: bold;
    font-size: 20px;
}







/* Focus Area Section */
#focus-area .custom-badge {
    background-color: #e6ffed;
    color: #10eb22;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    min-width: 350px;
    max-width: 450px;
    margin: 0 15px;
    flex: 0 0 auto;
    border: 3px solid #10eb22;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.5s ease;
}

.carousel-slide.active {
    transform: scale(1);
    opacity: 1;
}

.carousel-slide.prev,
.carousel-slide.next {
    opacity: 0.6;
    transform: scale(0.9);
}

.slide-content {
    padding: 25px;
}

.slide-icon {
    color: #10eb22;
    margin-bottom: 15px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #10eb22;
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #0db81c;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

@media (max-width: 991px) {
    .carousel-slide { min-width: 300px; }
}





