/* Apply Poppins font to entire website */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea {
    font-family: 'Poppins', sans-serif;
}




/* Donate button styles */
.donate-btn {
  background: linear-gradient(45deg, #FF9933, #FF6600);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.5rem 1.8rem;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
  transition: all 0.3s ease;
  border: none;
}






/* Ensure navbar is on top of hero section */
nav.navbar {
  position: sticky; /* or fixed if needed */
  top: 0;
  z-index: 1050;
}

/* Force brand and links to show */
.navbar .navbar-brand,
.navbar .nav-link {
  color: #333 !important;
}

/* Optional: navbar background */
.navbar {
  background-color: white !important;
}



/* Navbar link styles */
.navbar-nav .nav-link {
  color: #000;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #000;
}

.navbar-nav .nav-link.active {
  color: #000;
  font-weight: bold;
}

/* Large Heading for Hero Section */
.display-heading {
  font-size: 3.5rem;       /* big text */
  line-height: 1.2;
  letter-spacing: 1px;
  color: #FF9933;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); /* subtle depth */
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .display-heading {
    font-size: 2.2rem;
  }
}

/* Reuse saffron color */
.text-saffron {
  color: #FF9933 !important;
}

/* Reuse saffron button style */
.btn-saffron {
  background-color: #FF9933;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-saffron:hover {
  background-color: #e67e22;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}






/* Hero section background zoom */
.hero-section {
  background-image: url('/images/ramakrishna-math.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  overflow: hidden;
  animation: bgZoom 20s ease-in-out infinite alternate;
}

/* Background zoom keyframes */
@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Overlay mask */
.hero-mask {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fade-up animation for content */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 1s ease forwards;
}

/* Delays for sequential animation */
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

/* Glowing + floating animation */
.glowing-btn {
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

/* Floating effect (up-down movement) */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Glow effect */
@keyframes glow {
  0% { box-shadow: 0 0 10px #FF9933, 0 0 20px #FF6600; }
  50% { box-shadow: 0 0 20px #FF9933, 0 0 30px #FF6600; }
  100% { box-shadow: 0 0 10px #FF9933, 0 0 20px #FF6600; }
}



/* Fade in + slide up animation */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-profile {
  opacity: 0; /* Start hidden */
  animation: fadeSlideUp 0.8s forwards; /* Animate to visible */
}

/* Optional: stagger effect */
.animate-profile:nth-child(1) { animation-delay: 0.2s; }
.animate-profile:nth-child(2) { animation-delay: 0.4s; }
.animate-profile:nth-child(3) { animation-delay: 0.6s; }

/* Hover zoom effect */
.profile-img {
  transition: transform 0.3s ease;
}
.profile-img:hover {
  transform: scale(1.1);
}













/* Section heading style */
.section-heading {
  color: #000; /* heading color */
  font-weight: 700;
  text-align: center; /* centered */
  position: relative;
  opacity: 0; /* start hidden for fade-up animation */
  transform: translateY(20px);
}

/* Fixed saffron underline below heading */
.section-heading::after {
  content: '';
  display: block;
  width: 80px; /* length of underline */
  height: 4px;
  background-color: #FF9933; /* saffron color */
  margin: 10px auto 0; /* center underline and spacing below heading */
  border-radius: 2px;
}

/* Fade-up animation */
@keyframes fadeUpHeading {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-heading {
  animation: fadeUpHeading 1s ease forwards;
}

/* Optional: sequential delay for headings */
.animate-heading.delay-1 { animation-delay: 0.3s; }
.animate-heading.delay-2 { animation-delay: 0.6s; }
.animate-heading.delay-3 { animation-delay: 0.9s; }


/* About Us heading style */
#about .section-heading {
  color: #000; /* heading color */
  font-weight: 700;
  text-align: left; /* left aligned */
  position: relative;
  opacity: 0; /* start hidden for fade-up animation */
  transform: translateY(20px);
}

/* Fixed saffron underline below About Us heading */
#about .section-heading::after {
  content: '';
  display: block;
  width: 80px; /* length of underline */
  height: 4px;
  background-color: #FF9933; /* saffron color */
  margin: 10px 0 0; /* spacing below heading */
  border-radius: 2px;
}

/* Fade-up animation */
@keyframes fadeUpHeading {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

#about .animate-heading {
  animation: fadeUpHeading 1s ease forwards;
}
/*icons */

/* Activity icons above headings */
.activity-icon {
  color: #FF9933; /* saffron color */
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.feature-card:hover .activity-icon {
  transform: scale(1.2);
}








/* Sacred Lineage Section Styling */
#home {
  font-family: 'Poppins', sans-serif;
}

#home h2 {
  font-weight: 600;
  color: #222;
}

#home p {
  color: #555;
}

#home .col-md-4 {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 20px;
  background-color: #fff;
  padding: 20px;
}

#home .col-md-4:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Image hover zoom only (no border color change) */
#home img {
  transition: all 0.4s ease;
  border-radius: 50%;
}

#home .col-md-4:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Title — stays same color but smooth transition */
#home h5 {
  color: #222;
  transition: color 0.3s ease;
}

/* Make text consistent */
#home p.small {
  font-size: 0.9rem;
  line-height: 1.6;
}











/*OUR ACTIVITIES*/


/* Circular Icon Styles */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Card Hover Effects */
.activity-card:hover .icon-circle {
  transform: scale(1.2);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.activity-card:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

/* Optional: fade-in animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}
.activity-card {
  animation: fadeInUp 0.8s ease forwards;
}



  .hover-scale:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
  }
  .activity-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }



/* Event Card Styles */
.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.event-img {
  transition: transform 0.5s ease;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.event-card:hover .event-img {
  transform: scale(1.1);
}

/* Event Badge */
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #FF9933, #FF6B6B);
  color: white;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Card body */
.card-body h5 {
  margin-top: 0.5rem;
}

.card-body p {
  margin-bottom: 0;
}

/* Optional fade-in animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}

.event-card {
  animation: fadeInUp 0.8s ease forwards;
}

/* Gallery Grid */
.gallery-grid .gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image zoom on hover */
.gallery-grid .gallery-item:hover .gallery-img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Overlay effect */
.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Overlay text */
.overlay p {
  font-size: 1.2rem;
  text-align: center;
}

/* Rounded images */
.gallery-img {
  border-radius: 0.75rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: subtle lift on hover */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}








/* Building Card Styles */
.building-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.building-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.25);
}

/* Circular Progress */
.progress-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(#FF9933 0% 0%, #e0e0e0 0% 100%);
  margin: 0 auto 10px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #FF9933;
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.progress-circle span {
  position: absolute;
}








/* Donor card styling */


/* Donor Card Styles */
.donor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: linear-gradient(145deg, #fff, #f7f7f7);
}
.donor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}

.donor-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FF9933;
}
.donor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.donor-card:hover .donor-img {
  transform: scale(1.1);
}

/* Optional: fade-in animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}
.donor-card {
  animation: fadeInUp 0.8s ease forwards;
}








/*GALLERY*/

#gallery {
  background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
}

.carousel-item img {
  transition: transform 1s ease-in-out, box-shadow 0.5s ease;
}

.carousel-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.5);
}

/* Smooth sliding effect */
.carousel-item {
  transition: transform 1.2s ease-in-out, opacity 1s ease-in-out;
}

/* Dots color */
.carousel-indicators [data-bs-target] {
  background-color: #ff9933;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}




/* Smooth slide animation for grouped images */
#galleryCarousel .carousel-item {
  transition: transform 1s ease-in-out;
}
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
/*GALLERY SEPERATE PAGE CSS*/
 
  
    body {
      font-family: 'Poppins', sans-serif;
    }

    /* Hero Section */
    .gallery-hero {
      background: url('images/math2.jpg') center/cover no-repeat;
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .gallery-hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
    }
    .gallery-hero h1 {
      position: relative;
      color: #FF9933;
      font-size: 2.5rem;
      font-weight: 700;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    }

    /* Gallery Cards */
    .gallery-card {
      overflow: hidden;
      border-radius: 1rem;
      transition: transform 0.4s, box-shadow 0.4s;
      cursor: pointer;
    }
    .gallery-card:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* Footer */
    footer p {
      font-size: 0.9rem;
    }
  









/* Testimonial Card */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.25);
}

/* Avatar */
.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid #FF9933;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.testimonial-card:hover .testimonial-avatar img {
  transform: scale(1.1);
}

/* Text Styling */
.testimonial-text {
  font-style: italic;
  color: #555;
  font-size: 1rem;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 1.5rem 1.5rem;
}

/* Carousel Indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  background-color: #FF9933;
  opacity: 0.7;
}
.carousel-indicators .active {
  opacity: 1;
}






/* Footer Modern Styling */
.footer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.footer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.footer-card h5 {
  letter-spacing: 1px;
}

.social-icon {
  transition: transform 0.3s ease;
}
.social-icon:hover {
  transform: scale(1.2);
}





















