
/* Import your webfonts in the `<head>` (example using Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@400;700&family=Poppins:wght@400;600&display=swap');

body {
  margin: 0px;                  /* add units */
  padding: 0;
  font-family:
    'Montserrat',                 /* primary brand font */
    'Inter',                      /* clean modern fallback */
    'Poppins',                    /* friendly rounded fallback */
    'Roboto',                     /* neutral system-style fallback */
    'Segoe UI',                   /* Windows system font */
    'Helvetica Neue',             /* macOS system font */
    sans-serif;                   /* final generic fallback */
  line-height: 1.6;               /* improve readability */
  color: #333;                    /* sensible default text color */
  background-color: #fff;         /* ensure contrast */
}


/* Base Glass-Effect Navbar */
.navbar.glass-effect {
 
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
  }


/* When scrolled */
.navbar.glass-effect.scrolled {
  background-color: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.navbar.glass-effect.scrolled .nav-link  {
  color: #444444 !important;
}


/* Nav Link Styling */
.navbar .nav-link   {
  font-size: 1.2rem;
  font-weight: 400;
  transition: color 0.2s ease;
  
}




.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #56d364 !important;  /* light green highlight */
}




  /* ===== Logo Animation ===== */
  .logo-container {
    display: inline-block;
    position: relative;
    transition: var(--transition-normal);
  }
  
  .animate-logo {
    animation: float 6s ease-in-out infinite, 
               spin 20s linear infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(2deg); }
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .logo-img, .logo-img-small {
    transition: transform var(--transition-fast), 
                filter var(--transition-normal);
    filter: drop-shadow(var(--shadow-sm));
  }
  
  .logo-img:hover, .logo-img-small:hover {
    transform: scale(1.1);
    filter: drop-shadow(var(--shadow-md));
  }
  
  /* =====  Glassmorphism Offcanvas ===== */
.offcanvas {
  position: fixed !important;
  inset: 0 !important;
  width: 480px !important; /* Increased width */
  max-width: 95% !important;
  
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(16px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    inset 10px 0 20px -10px rgba(255, 255, 255, 0.5) !important;
  
  /* styling */
  z-index: 2000 !important;
  transform: translateX(-100%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: 0 12px 12px 0 !important;
  overflow: hidden;
}

.offcanvas.show {
  transform: translateX(0);
}

.offcanvas-backdrop {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.4s ease-out !important;
}

/* Header with  accent */
.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.75rem 1.5rem !important;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/*  close button */
.btn-close {
  filter: brightness(0.7);
  transition: all 0.25s ease;
  opacity: 0.8;
  padding: 0.5rem;
  background-size: 1.25rem;
}

.btn-close:hover {
  filter: brightness(1);
  opacity: 1;
  transform: rotate(90deg);
}

/*  body styling */
.offcanvas-body {
  padding: 0.5rem !important;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

/*  navigation links */
.offcanvas-body .nav-link {
  position: relative;
  padding: 1.25rem 2rem !important;
  margin: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: #2d3748 !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Glass card effect */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

/* Hover and active states */
.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link:focus {
  background: rgba(255, 255, 255, 0.65);
  transform: translateX(6px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.1);
}

.offcanvas-body .nav-link::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background: linear-gradient(to bottom, #667eea, #764ba2);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Current/active item */
.offcanvas-body .nav-link.active {
  background: rgba(102, 126, 234, 0.15);
  border-left: 3px solid #667eea;
  color: #4a5568 !important;
}

/* Subtle scrollbar */
.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .offcanvas {
    width: 88% !important;
  }
  
  .offcanvas-body .nav-link {
    padding: 1.1rem 1.5rem !important;
  }
}
  
  /* ===== Floating Action Button ===== */
  .scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 2100;
  }
  
  .scroll-top-btn.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .scroll-top-btn:hover {
    background: var(--secondary);
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-xl);
  }
  
  .scroll-top-btn:active {
    transform: translateY(-2px) scale(0.98);
  }
  
  /* ===== Footer ===== */
  .site-footer {
    background: linear-gradient(160deg, var(--dark), #0a1018);
    backdrop-filter: var(--glass-blur);
    color: var(--light);
    position: relative;
    overflow: hidden;
  }
  
 /* ===== Glass Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 20, 40, 0.95) 0%, rgba(8, 12, 32, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.85);
  isolation: isolate;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle at 70% 50%, 
              rgba(107, 140, 255, 0.25) 0%, 
              transparent 70%);
  z-index: -1;
  animation: float 8s ease-in-out infinite alternate;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
              transparent 0%, 
              rgba(255, 255, 255, 0.15) 20%, 
              rgba(255, 255, 255, 0.15) 80%, 
              transparent 100%);
}

@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-20px) scale(1.05); opacity: 1; }
}

/* Footer Headings */
.site-footer h5 {
  position: relative;
  font-weight: 600;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 48px;
  height: 3px;
  background: var(--secondary, #ff5e7d);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.site-footer h5:hover::after {
  width: 64px;
}

/* Footer Links */
.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  padding: 0.25rem 0;
  width: fit-content;
}

.site-footer a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s ease;
}

.site-footer a:hover {
  color: var(--secondary, #ff5e7d) !important;
  transform: translateX(6px);
}

.site-footer a:hover::before {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--secondary, #ff5e7d);
  transform: translateY(-4px) rotate(5deg) scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 94, 125, 0.4);
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Enhancements */
@media (max-width: 992px) {
  .site-footer {
    text-align: center;
  }
  
  .site-footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .site-footer a {
    margin: 0 auto;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-footer::before {
    opacity: 0.4;
    right: -40%;
  }
  
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
}
    .donation-header {
      text-align: center;
      margin: 1rem auto 2rem;
      max-width: 800px;
    }
    .donation-header h1 {
      font-size: 2.25rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 0.5rem;
    }
    .donation-header .remaining {
      font-size: 1.25rem;
      color: #64748b;
      font-weight: 500;
      background: linear-gradient(45deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .donation-card {
      max-width: 600px;
      margin: 0 auto;
      border: 1px solid #e2e8f0;
      border-radius: 1.5rem;
      background: white;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease;
    }
    .donation-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    }

    .donation-card:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
    }

    .form-label {
      font-weight: 500;
      color: #1e293b;
      margin-bottom: 0.5rem;
    }
    .input-group-text {
      background: #f1f5f9;
      border-color: #e2e8f0;
      color: #64748b;
    }

    .btn-donate {
      background: #darkslategrey;
      border: none;
      padding: 1rem 2rem;
      border-radius: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: all 0.2s ease;
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    .btn-donate:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2);
    }
    .btn-donate:active {
      transform: scale(0.98);
    }

    .payment-loading {
      position: fixed;
      inset: 0;
      background: rgba(255, 255, 255, 0.95);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      backdrop-filter: blur(4px);
    }
    .loader {
      width: 48px;
      height: 48px;
      border: 3px solid var(--primary);
      border-bottom-color: transparent;
      border-radius: 50%;
      display: inline-block;
      animation: rotation 1s linear infinite;
    }
    @keyframes rotation {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .amount-input {
      font-size: 1.125rem;
      font-weight: 500;
      padding: 0.875rem 1rem;
    }
    .helper-text {
      font-size: 0.875rem;
      color: #64748b;
      margin-top: 0.5rem;
    }


/* Our Valued Donors Section */
#our-donors {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

/* Donor Card */
#our-donors .card {
  background-color: #fff;
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#our-donors .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Donor Logo */
#our-donors .donor-logo {
  max-height: 80px;
  object-fit: contain;
}

/* Donor Name */
#our-donors .card-title {
  font-family: 'Poppins', sans-serif;
  color: #49235A;
}

/* Donor Message */
#our-donors .card-text {
  font-family: 'Inter', sans-serif;
  color: #666;
}

/* Contact Info */
#our-donors .donor-contact {
  font-style: normal;
  font-size: 0.9rem;
  color: #444;
}
#our-donors .donor-email {
  font-size: 0.9rem;
  color: #007bff;
  text-decoration: none;
}
#our-donors .donor-email:hover {
  text-decoration: underline;
}


    