/* Global Styles */
body {
  font-family: Arial, sans-serif;
  padding-top: 80px; /* Prevent content from hiding under fixed navbar */
  background-color: #f8f9fa;
  color: #333;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #e36822;
}

.navbar-brand .logo {
  width: 90px;
  height: 90px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 50px;
}

.hero h1 {
  font-family: "Abril Fatface", cursive;
  font-size: 42px;
  color: #222;
}

.message-text {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

/* Buttons */
.btn-custom {
  background-color: #e36822;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.btn-custom:hover {
  background-color: #cf5a1b;
  transform: scale(1.05);
}

/* Scrollspy Sections */
.scrollspy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.scrollspy-container h2 {
  font-size: 28px;
  color: #e36822;
  margin-bottom: 15px;
}

.scrollspy-container p {
  font-size: 16px;
  color: #555;
}
/* Scrollspy Sections */
.scrollspy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.scrollspy-container h2 {
  font-size: 28px;
  color: #e36822;
  margin-bottom: 15px;
}

.scrollspy-container p {
  font-size: 16px;
  color: #555;
}
/* Responsive Design */
@media (max-width: 768px) {
  .navbar-brand .logo {
      width: 70px;
      height: 70px;
  }

  .hero h1 {
      font-size: 36px;
  }

  .message-text {
      font-size: 16px;
  }

  .btn-custom {
      font-size: 16px;
      padding: 8px 16px;
  }
}
/* Image Section */
.image-section {
    margin-top: 50px;
    text-align: center;
}

.image-box {
  width: 100%;
  height: 300px; /* You can tweak this height */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps image proportion while filling the box */
  display: block;
  border-radius: 10px; /* Optional: round image corners */
}

.image-box:hover {
    transform: scale(1.05);
}
/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Glowing + Pulsing Button Effect */
.btn-custom {
  background-color: #e36822;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(193, 103, 43, 0.5);
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0px rgba(255, 94, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 94, 94, 1);
  }
  100% {
    box-shadow: 0 0 0px rgba(255, 94, 94, 0.7);
  }
}

/* Floating on Hover */
.btn-custom:hover {
  transform: translateY(-4px);
  background-color: #e36822;
}
.team-card {
  border: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.card-img-container {
  position: relative;
}

.card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6); /* dark transparent background */
  color: white;
  text-align: center;
  padding: 15px 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease-in-out;
}

/* Hover Effect */
.card-img-container:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* For mobile tap */
.card-img-container:active .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  margin: 0;
  font-size: 0.9rem;
}
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.donate-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid #d6f5e1;
  transition: all 0.4s ease-in-out;
}

.stylish-title {
  font-family: 'Abril Fatface', cursive;
  font-size: 2.5rem;
  color: #2f8f46;
}

.upi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.upi-btn img {
  height: 24px;
}

.upi-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 255, 100, 0.3);
}

.upi-btn.google {
  background-color: #4285f4;
}

.upi-btn.phonepe {
  background-color: #4f2da8;
}

.upi-btn.paytm {
  background-color: #003c91;
}

.qr-img {
  width: 180px;
  border-radius: 8px;
  animation: zoomIn 0.5s ease;
}

.copy-btn:hover {
  background-color: #28a745;
  color: white;
}

.upi-text {
  font-family: monospace;
  background-color: #e6ffe6;
  padding: 3px 8px;
  border-radius: 6px;
}

.close-btn {
  transition: all 0.3s ease;
}

.close-btn:hover {
  background-color: #dc3545;
  color: white;
}

/* Animation */
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.team-scroll-horizontal {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #6c757d #e9ecef;
}

.team-scroll-horizontal::-webkit-scrollbar {
  height: 8px;
}

.team-scroll-horizontal::-webkit-scrollbar-thumb {
  background: #6c757d;
  border-radius: 4px;
}

.team-scroll-horizontal::-webkit-scrollbar-track {
  background: #e9ecef;
}
/* ============ Testimonials ============ */
.testimonial-card {
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ============ Stats Counter ============ */
/* Wrapper to hold marquee */
.marquee-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px; /* Increased for zoom effect */
  overflow-x: hidden; /* allow vertical overflow */
  overflow-y: visible; /* this is key */
}

/* Marquee content row */
.marquee-content {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 20px;
}

/* Image cards */
.image-box {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.4s ease, z-index 0.4s;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Image itself */
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Zoom effect on hover */
.image-box:hover {
  transform: scale(1.2);
  z-index: 2;
}

/* Keyframes for marquee scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .marquee-wrapper {
    height: 200px; /* More space for zoom */
  }
  .image-box {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .marquee-wrapper {
    height: 170px;
  }
  .image-box {
    width: 120px;
    height: 120px;
  }
}






