/********** Template CSS **********/
:root {
    --primary: #2c81d6;
     --bs-primary: #2c81d6;
    --secondary: #16547a;
    --light:#e8e9f7 ;
    --dark: #102331;

}

.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;
}


/*** 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-primary {
    background: linear-gradient(90deg, rgb(12 216 253) 0%, rgb(143 185 59) 50%, rgb(0 99 117) 100%);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.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;
}


/* Force outline-primary button to use primary color */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Arrow circle styling */
.btn-outline-primary .btn-sm-square {
    background-color: var(--primary);
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Arrow hover effect */
.btn-outline-primary:hover .btn-sm-square {
    background-color: #ffffff;
    color: var(--primary);
}

/* Arrow icon color */
.btn-outline-primary .fa-arrow-right {
    color: inherit;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
   background: linear-gradient(90deg, rgb(12 216 253) 0%, rgb(143 185 59) 50%, rgb(0 99 117) 100%);
    color: white;
    display: flex;
    position: relative;
    z-index: 1001;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color:black !important;
    font-family: "Saira", sans-serif;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    font-family: "Saira", sans-serif;
}


@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;
    }
}

/* Custom styles for transparent on scroll */



.navbar  {
    background: rgba(218, 218, 195, 0.15); /* transparent black */
    transition: background 0.4s ease;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  background: linear-gradient(
    rgba(0, 29, 35, 0.4),
    rgba(0, 29, 35, 0.15)
);

    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(rgb(0 29 35 / 0%), rgb(0 29 35 / 47%)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** 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);
}


/*** Donate ***/
.donate-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
}

/* ===== QR Box ===== */
.qr-box {
    width: 356px;
    height: 355px;
    border: 2px dashed #cfd8e3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #9aa6b2;
    font-size: 14px;
}

/* ===== UPI Icons ===== */
.upi-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.upi {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}


/* ===== Bank Details ===== */
.bank-detail {
    margin-bottom: 15px;
}

.bank-detail small {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bank-detail p {
    margin: 0;
    font-weight: 500;
}



/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    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);
}



/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--secondary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--secondary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--secondary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** 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: rgba(255,255,255,0.5);
}

.footer .copyright a:hover {
    color: var(--primary);
}
/*** Footer end ***/

/*** Gallery ***/

.gallery-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
    font-size: 32px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0px 6px 16px rgba(0,0,0,0.25);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 550px;
    border-radius: 10px;
    border: 4px solid var(--primary);
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #c4afaf;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary);
}

.btn-outline-primary i,
.btn-primary i {
    color: inherit !important;
}
.text-primary {
    color: #2c81d6 !important;
}

/* Icons (Font Awesome, Bootstrap Icons) */
.text-primary i,
.text-primary svg,
.fa,
.fa-arrow-right {
    color: #2c81d6 !important;
}

/* Pills / labels */
.bg-secondary.text-primary {
    color: #2c81d6 !important;
}

/* Breadcrumbs */
.breadcrumb-item.active,
.breadcrumb-item.text-primary {
    color: #2c81d6 !important;
}

/* Links that were orange */
a,
a:hover {
    color: #2c81d6;
}
.btn-outline-primary:hover .btn-sm-square {
    background-color: #ffffff !important;
}

.btn-outline-primary:hover .btn-sm-square i {
    color: #2c81d6 !important;
}
.border-primary {
    border-color: #2c81d6 !important;
}

/* Fix primary text */
.text-primary {
    color: #2c81d6 !important;
}
/*Donate*/
.donate-content h1 {
font-weight: 700;
color: var(--secondary);
}


/*Program*/
/* ===== Program Cards ===== */
.program-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 35px;
}

.program-content h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.program-content p {
    color: #555;
}

/* ===== Program Tags ===== */
.program-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.program-tag.education {
    background: #e7f0ff;
    color: #2c81d6;
}

.program-tag.skill {
    background: #f3e8ff;
    color: #7c3aed;
}

.program-tag.livelihood {
    background: #e8f7ef;
    color: #198754;
}

/* ===== Lists ===== */
.program-content ul {
    padding-left: 18px;
    margin-bottom: 12px;
}

.program-content ul li {
    margin-bottom: 6px;
}

/* ===== Goal ===== */
.program-goal {
    background: #f8f9fa;
    padding: 10px 14px;
    border-left: 4px solid #2c81d6;
    border-radius: 6px;
    margin-top: 10px;
}
    

/* Contact*/
.contact-card {
      background: #fff;
      border-radius: 16px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      height: 100%;
    }

    .contact-card i {
      font-size: 32px;
      color: #01A4D6;
      margin-bottom: 15px;
    }
    .form-control:focus {
    border-color: #007BFF !important; /* Bootstrap blue */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important; /* optional subtle glow */
}

    /* Impact */


/* ================= Impact Cards ================= */
.impact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  max-width: 1100px;
  margin: 30px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #2f80ed;
 
}

.impact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.impact-icon {
  background: #eaf2ff;
  color: #2f80ed;
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
}

.impact-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.impact-intro {
  color: #555;
  font-size: 16px;
  margin-bottom: 20px;
}

.impact-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.impact-list li {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.6;
}

.impact-list strong {
  color: #2f80ed;
}

.impact-quote {
  margin-top: 28px;
  padding: 20px;
  background: #f3f8ff;
  border-radius: 12px;
  text-align: center;
  font-style: italic;
  color:var(--primary);
  font-size: 20px;
}
/* Purple Theme */
.impact-purple {
  border-left: 6px solid #8e44fd;
}
.impact-icon.purple {
  background: #f1e9ff;
  color: #8e44fd;
}
.purple-bg {
  background: #faf5ff;
  color: #8e44fd;
}
/* Green Theme */
.impact-green {
  border-left: 6px solid #27ae60;
}

.impact-icon.green {
  background: #eafaf1;
  color: #27ae60;
}

.green-list li::marker {
  color: #27ae60;
}

.green-bg {
  background: #eefaf3;
  color: #27ae60;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .impact-box {
    grid-template-columns: 1fr;
  }
}

 /* ================= APPROACH ================= */
.impact-approach {
  background: #f7f9fc;
  padding: 3.5rem 1rem 2.5rem;
}

.impact-approach h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1.8rem;
}

/* Pills */
.approach-pills {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}

.approach-pills span {
  background: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid #e3e8f0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* ================= STATS ================= */
.impact-stats-section {
  background: #f7f9fc;
  padding: 3rem 1rem 4rem;
}

/* Grid gives perfect symmetry */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
}


/* Stat cards */
.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 260px;
  text-align: center;
  border: 1px solid #e3e8f0;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5aa0;
  margin-bottom: 0.4rem;
}

.stat-card p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}
.impact-stats-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.6rem;
  flex-wrap: nowrap; /* THIS forces one line */
}

.social-media a i {
    background-color: white;
    padding: 10px;
    border-radius: 60px;
}
.navbar .navbar-brand img {
    width: 135px;
    position: relative;
    top: -21px;
    z-index: 99999;
}
.bg-dark .navbar .navbar-brand img {
    width: 88px;
    position: relative;
    top: -2px;
    z-index: 99999;
}
.navbar {
    background:rgb(255 255 255);
    transition: background 0.4s ease;
    height: 100px;
    border-bottom: 1px solid #ffffff59;
}
.slider-text p {
    font-family: "Saira", sans-serif;
    text-transform: capitalize;
    font-size: 40px;
    line-height: 70px;
}
.service-item h4{
    text-transform: capitalize;
}
/* Mobile */
@media (max-width: 767px) {
    .upi-icons {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}
    .qr-box {
    width: 233px;
    }
    .navbar-toggler {
        background-color: #e4e4e4;
        position: relative;
        bottom: 10px;
    }
    .bg-dark .navbar{
        height: 60px;
    }
    .bg-dark .navbar .navbar-brand img {
    width: 55px;
    position: relative;
    top: -14px;
    z-index: 99999;
}
    .slider-text p {
    font-family: "Saira", sans-serif;
    text-transform: capitalize;
    font-size: 25px;
    line-height: 32px;
}
    .navbar-toggler {
    padding: 10px 10px 0px 10px;
    }
    .navbar-toggler{
        background-color: #e4e4e4;
    }
  .navbar .navbar-brand img {
    width: 70px;
    position: relative;
    top: -11px;
    z-index: 99999;
}
}

.carousel {
    position: relative;
    top: 60px;
}

@media (max-width: 768px) {
  .impact-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-center {
    grid-column: auto;
  }
}
@media (max-width: 768px) {
  .impact-stats-grid {
    flex-wrap: wrap; /* or grid-template-columns: 1fr */
  }
}

