/* Toggler Custom Style For Navbar*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

/* Ensure navbar is sticky */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  margin-bottom: 20px;
}


.navbar-toggler {
  padding: 5px 10px;
  border: none;
}

/* Mobile styles For Navbarg hamburger icon*/
@media (max-width: 991.98px) {
  .navbar-toggler {
    position: relative;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-nav {
    gap: 1rem !important;
    padding-top: 1rem;
    align-items: flex-start;
  }


}

/* Active nav-link style */
.nav-link {
  color: #666777;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: green;
  visibility: hidden;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
  visibility: visible;
}

/* Donate Now button CSS */

@media (max-width: 991.98px) {
  .donate-social-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    /* <-- align to left */
    width: 100%;
    margin-top: 1rem;
    padding-left: 0;
    /* Optional: little left padding */
  }

  .donate-social-wrapper .btn {
    width: auto;
    /* Or 80% if you want */
    text-align: left;
  }
}

/* icon hover */
/* Hover effect for social media icons Top */
.icon-hover {
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-hover:hover {
  color: #f39c12;
  /* Change this to any color you prefer */
  transform: scale(1.2);
  /* Slight zoom effect */
}

/* Hover effect for Donate Now button */
.donate-button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-button:hover {
  background-color: #ff9900;
  /* Darker color on hover */
  transform: scale(1.05);
  /* Slight zoom effect */
}


/* 
Hover effect for menu icons */
.icon-hover {
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-hover:hover {
  color: #f39c12;
  /* Change this to any color you prefer */
  transform: scale(1.2);
  /* Slight zoom effect */
}

/* Hover effect for Navbar menu items */
.navbar-nav .nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #090618;
  /* Change this to your desired hover color */
  transform: scale(1.1);
  /* Slight zoom effect on hover */
}

/* Hover effect for Donate Now button */
.donate-button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-button:hover {
  background-color: #ff9900;
  /* Darker color on hover */
  transform: scale(1.05);
  /* Slight zoom effect */
}

/* Footer Start */
.footer-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.footer-heading {
  color: #ffd700;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li,
.footer p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links li a:hover,
.footer-link:hover {
  color: #ffd700;
  text-decoration: underline;
}
.footer-links li {
  position: relative;
  cursor: pointer;
}


.footer-links li:hover{
  width: 100%;
  color: #ffd700;
  text-decoration: underline;
}


.footer-link {
  color: #bbb;
  text-decoration: none;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  border-color: #ffd700;
  color: #ffd700;
  background-color: transparent;
}

.footer-bottom {
  font-size: 20px;
  color: #999;
  padding-bottom: 20px;
}
/* Footer End */

/* image start */
.flow{
  max-width: 55rem;
  padding: 2 rem 1.5 rem;
  margin: 0 auto;
}
h1{
 font-weight: 900;
 font-size: xx-large;
 text-align: center;
}

a{
  color: currentColor;
}
.auto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 1.5rem; /* gap between images */
  padding: 1rem;
}


.flow > *+*{
  margin-top: var(--flow-space, 1rem);
}
.work{
  --flow-space:2em;
}

.work ul{
  list-style: none;
}
.profile {
  display: flex;
  flex-direction: column; /* Text at bottom */
  justify-content: flex-end; /* Push text to bottom */
  aspect-ratio: 1 / 1;
  position: relative;
  padding: 1.5rem;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border-radius: 1rem; /* Adjust the curve here */
  overflow: hidden; /* Ensure corners are clipped */
}


.profile::before, .profile::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.profile::before{
  background: linear-gradient(
    to top
    hsl(0 0% 0% / 0.79) 0%
    hsl(0 0% 0% /0.787) 7.8%
    hsl(0 0% 0% /0.779) 14.4%
    hsl(0 0% 0% /0.765) 20.2%
    hsl(0 0% 0% /0.744) 25.3%
    hsl(0 0% 0% /0.717) 29.9%
    hsl(0 0% 0% /0.683) 34.3%
    hsl(0 0% 0% /0.641) 38.7%
    hsl(0 0% 0% /0.592) 43.3%
    hsl(0 0% 0% /0.534) 48.4%
    hsl(0 0% 0% /0.468) 54.1%
    hsl(0 0% 0% /0.393) 60.6%
    hsl(0 0% 0% /0.31) 68.3%
    hsl(0 0% 0% /0.216) 77.3%
    hsl(0 0% 0% /0.113) 87.7%
    hsl(0 0% 0% / 0) 100%
  );
  transition: 300ms opacity linear;
}

.profile::after{
  background: linear-gradient(
    45 drg,
    hsl(5 95% 63% / 0.7) 0,
    hsl(5 97% 63% / 0) 100%
  );
  opacity: 0;
  transition: 300ms opacity linear;
}
.profile > * {
  z-index: 1;
}
.profile img{
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 1rem;
  top: 0;
  left: 0;
  margin: 0;
  z-index: -1;
  object-fit: cover;
  transition: filter 200ms ease, transform 250ms linear;
}
.profile h4 {
  text-align: center;
  font-size: 1.2rem; /* Fixed typo: was 1.7ren */
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.03ch;
  transform: translateY(0); /* remove previous transform */
  transition: 300ms transform ease;
  z-index: 2;
  margin: 0;
}


.profile:focus{
  outline: 0.5rem solid white;
  outline-offset: -0.5rem;
}
.profile:hover:is(h4),.profile:focus:is(h4){
    transition: none;
}
.profile:hover::after,  .profile:focus::after,
.profile:hover::before,  .profile:focus::after{
  opacity: 0.7;
}
.profile:hover img,
.profile:focus img{
  transform: scale(1.05) rotate(1deg)
}
@media (max-width: 500px) {
  .auto-grid {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}
/* image end */

/* donation section start */

.donation-section {
  background-color: #1f9c35;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1000px;
}

.donation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-image {
  flex: 1 1 50%;
  max-height: 100%;
  min-height: 300px;
}

.donation-form {
  flex: 1 1 50%;
  padding: 150px 30px;
}

.donation-form a {
  text-decoration: none;
}

.donation-form h2 {
  font-weight: bold;
  margin-bottom: 20px;
}

.donation-form input {
  margin-bottom: 15px;
}

.note {
  font-size: 12px;
  color: #666;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .donation-image,
  .donation-form {
    flex: 1 1 100%;
  }
}
/* donation section end */

/* milestone css start */
.auto-scroll-gallery {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.scroll-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

.scroll-items {
  display: flex;
  gap: 20px;
}
.scroll-item img {
  width: 150px; /* ya jitni size chahiye */
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc; /* optional: for a visible border */
}
.scroll-item p {
  font-weight: bold;
  font-size: 16px; /* optional - adjust size as needed */
  margin-top: 10px; /* spacing from image */
}

.scroll-item {
  min-width: 200px;
  text-align: center;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* milestone css end */


/* testimonial css start */
.testimonial-section {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100%;
  padding: 30px 5px;
  background: linear-gradient(120deg, #89f7fe 0%, #0feb2d 100%);
  text-align: center;
  position: relative;
}
.slider-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
} 
.testimonial {
  display: none;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: all 0.6s ease;
}

.testimonial.active {
  display: block;
  animation: fadeSlide 1s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.img-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #0c1ae4;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote {
  font-size: 50px;
  color: #66a6ff;
  margin-bottom: 5px;
}

.text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

.name {
  font-weight: bold;
  color: #0077cc;
}

.controls {
  margin-top: 20px;
}

.controls button {
  background-color: rgba(255,255,255,0.7);
  border: none;
  font-size: 15px;
  padding: 8px 16px;
  margin: 0 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.controls button:hover {
  background-color: rgba(255,255,255,1);
}

.dots {
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
  transition: 0.3s;
}

.dot.active {
  opacity: 1;
  background-color: #0077cc;
}

@media (max-width: 600px) {
  .text {
    font-size: 1rem;
  }

  .quote {
    font-size: 40px;
  }
}

/* testimonial css end */
