:root {
      --primary: #6c5ce7;
      --primary-dark: #5649c0;
      --primary-light: #a29bfe;
      --accent: #00cec9;
      --accent-dark: #00a8a3;
      --text: #2d3436;
      --text-light: #636e72;
      --bg: #fdfdff; /* Fix: Set a light background for the default theme */
      --card-bg: #ffffff;
      --success: #00b894;
      --warning: #fdcb6e;
      --error: #d63031;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
      --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --gradient: linear-gradient(135deg, var(--primary), var(--accent));

      --footer-bg: #f8f9fa;
      --footer-text: var(--text-light);
      --footer-heading: var(--text);
      --footer-link: var(--text);
      --footer-link-hover: var(--primary);
      --footer-social-bg: #e9ecef;
      --footer-social-hover-bg: var(--primary);
    }

    /* Utility class */
    .hidden {
      display: none !important;
    }

    * {
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent; /* Remove ugly tap highlight on mobile */
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px; /* Global offset for sticky header */
    }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }

    body.no-scroll {
      overflow: hidden;
    }

    /* =================================
    Improved Click & Focus Experience
    ================================= */
    /* Remove the default browser outline for a cleaner look on all focused elements */
    :focus {
      outline: none;
    }

    /* Apply a custom, branded focus style only when tabbing (keyboard navigation) */
    /* This provides a better experience than the default blue rectangle */
    .cta-btn:focus-visible,
    .icon-btn-header:focus-visible,
    .menu-toggle:focus-visible,
    .drawer-close:focus-visible,
    .modal-close:focus-visible,
    .modal-btn:focus-visible,
    .back-to-top:focus-visible,
    .project-link:focus-visible,
    .footer-nav-links a:focus-visible,
    .social-links a:focus-visible,
    .faq-item summary:focus-visible,
    .drawer-link:focus-visible {
      box-shadow: 0 0 0 3px var(--card-bg), 0 0 0 5px var(--primary);
      transition: box-shadow 0.2s ease-in-out;
    }

    /* Preloader Styles */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--bg);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease 0.2s, visibility 0.5s ease 0.2s; /* Add a small delay */
    }

    #preloader.loaded {
      opacity: 0;
      visibility: hidden;
    }

    .loader-spinner {
      width: 50px;
      height: 50px;
      border: 5px solid var(--primary-light);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 1s ease-in-out infinite;
    }

    /* Particle Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 400vh; /* Make the canvas extremely tall to prevent it from scrolling out of view. */
  top: 0;
  left: 0;
  z-index: -1;
  background-color: var(--bg);
}

#moon-container {
  position: fixed;
  top: 10.5vh;
  left: 5vw;
  width: 40px;
  height: 40px;
  z-index: 0;
}

.moon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  /* Day Time Moon: Faint and washed out, barely visible against the light sky. */
  background-color: rgba(220, 220, 220, 0.5); /* Very light, semi-transparent base */
  background-image: radial-gradient(circle at 40% 50%, rgba(245, 245, 245, 0.6) 50%, transparent 80%);
  /* No glow during the day, just a very subtle edge to define it from the sky */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
  opacity: 0.8; /* Make it slightly transparent during the day */
}

.moon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* Day Time Texture: Extremely subtle craters */
  background-image:
    radial-gradient(circle at 25% 70%, rgba(0,0,0,0.02) 0%, transparent 25%),
    radial-gradient(circle at 70% 30%, rgba(0,0,0,0.03) 0%, transparent 15%);
  transition: background-image 0.5s ease, opacity 0.5s ease;
}

/* Shooting Stars */
.star {
  position: absolute;
  top: -80px;
  width: 3px;
  height: 100px;
  /* नीचे मोटा, ऊपर fade */
  background: linear-gradient(to top, white 0%, rgba(255,255,255,0) 100%);
  border-radius: 50% 50% 0 0;
  animation: fall linear forwards;
  filter: drop-shadow(0 0 8px white);
}

@keyframes fall {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

    /* Floating Elements */
    .floating-elements {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
      overflow: hidden;
    }

    .floating-element {
      position: absolute;
      border-radius: 50%;
      opacity: 0.1;
      filter: blur(1px);
      animation: float 15s infinite ease-in-out;
    }

    .floating-element:nth-child(1) {
      width: 150px; height: 150px; background-color: var(--primary); top: 10%; left: 5%; animation-delay: 0s;
    }
    .floating-element:nth-child(2) {
      width: 200px; height: 200px; background-color: var(--accent); bottom: 15%; right: 10%; animation-delay: 2s;
    }
    .floating-element:nth-child(3) {
      width: 100px; height: 100px; background-color: var(--primary-light); top: 30%; right: 20%; animation-delay: 4s;
    }

    @keyframes float {
      0%, 100% {
        transform: translate(0, 0);
      }
      50% {
        transform: translate(20px, 20px);
      }
    }

    /* Header */
    header {
      background-color: rgba(255, 255, 255, 0.95);
      box-shadow: var(--shadow-sm);
      padding: 0.75rem 0;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(5px);
      animation: slideDown 0.5s ease-out;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
      }
      to {
        transform: translateY(0);
      }
    }

    .icon-btn-header {
      background: transparent;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 1.2rem;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      padding: 0.5rem;
    }

    .icon-btn-header:hover {
      color: var(--primary-dark);
      transform: scale(1.1);
    }

    .icon-btn-header:active {
      transform: scale(0.95);
      transition: transform 0.1s ease;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .cta-btn-small {
      background: var(--primary);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9rem;
      transition: var(--transition);
      white-space: nowrap;
    }

    .cta-btn-small:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }


    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-container {
  position: relative;
  padding: 4px; /* Border thickness */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.logo-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ffecd2,
    #fcb69f,
    #ffecd2
  );
  animation: slow-rotate 8s linear infinite;
  filter: blur(1px) brightness(1.1);
  z-index: 0;
}

.logo-container::after {
  content: '';
  position: absolute;
  inset: -4px; /* Outer glow size */
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes slow-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 6px rgba(255,255,255,0.4);
}

/* Make header logo smaller for a more compact look */
header .logo-img {
  width: 30px;
  height: 30px;
}
header .logo-container {
  padding: 2px;
}

    .logo-text {
      transition: max-width 0.4s ease, opacity 0.4s ease, margin-left 0.4s ease;
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      vertical-align: middle;
      text-overflow: ellipsis;
      font-weight: 600;
      color: var(--primary);
      font-size: 1.25rem;
    }

    .menu-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--primary);
      cursor: pointer;
      padding: 0.5rem;
      line-height: 1;
    }

    /* Drawer Menu */
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 101;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: 300px;
      gap: 0;
      max-width: 80%;
      height: 100%;
      background-color: #fdfdff;
      box-shadow: var(--shadow-lg);
      z-index: 102;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .drawer.active {
      transform: translateX(0);
    }

    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.5rem;
      border-bottom: 1px solid var(--bg);
    }

    .drawer-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--text-light);
      cursor: pointer;
      transition: var(--transition);
    }

    .drawer-close:hover {
      color: var(--primary);
    }

    .drawer-content {
      flex-grow: 1;
      gap: 0;
      overflow-y: auto;
      padding: 0;
      /* Use a cleaner, solid background that matches the page */
      background-color: var(--bg);
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 0; /* Removed gap between options */
    }

    .drawer-link {
      color: var(--text-light);
      text-decoration: none;
      font-size: 1.05rem;
      font-weight: 500;
      padding: 0.85rem 1.5rem;
      /* border-radius: 8px; */
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 1rem;
      /* Reset for button elements */
      background: none;
      border: none;
      cursor: pointer;
      width: 100%;
      text-align: left;
      font-family: inherit;
    }

    .drawer-link:hover {
      background-color: transparent;
      color: var(--primary);
    }

    .drawer-link.active {
      background-color: transparent;
      color: var(--primary);
      font-weight: 600;
    }

    .drawer-link i {
      transition: var(--transition);
      color: currentColor;
      font-size: 1.1rem;
    }

    .drawer-divider {
      border: none;
      height: 1px;
      background-color: #eef0f3;
      /* Give it some vertical and horizontal space */
      margin: 0.5rem 1.5rem;
    }

    .drawer-section {
      padding: 0;
    }

    .drawer-section-title {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1rem;
    }

    .drawer-footer {
      padding: 0.75rem 1.5rem;
      border-top: 1px solid #eef0f3;
      background-color: var(--bg);
    }

    .drawer-footer .social-links {
      display: flex;
      gap: 1.25rem;
      margin: 0 auto 1rem;
      justify-content: center;
    }

    .drawer-footer .social-links a {
      color: var(--text-light);
      font-size: 1.1rem;
      transition: var(--transition);
    }

    .drawer-footer .social-links a:hover {
      color: var(--primary);
      transform: translateY(-2px);
    }

    .drawer-legal {
      text-align: center;
      margin-top: 1.5rem;
      font-size: 0.8rem;
    }

    .drawer-legal a {
      color: var(--text-light);
      text-decoration: none;
      margin: 0 0.5rem;
      transition: var(--transition);
    }

    .drawer-legal a:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    .drawer-footer .copyright {
      font-size: 0.8rem;
      color: var(--text-light);
      text-align: center;
      margin-top: 0;
    }

    /* Transaction ID in Modal */
    .modal .transaction-id {
      font-size: 0.9rem;
      color: var(--text-light);
      margin-top: -1rem;
      margin-bottom: 2rem;
      word-break: break-all;
    }

    /* FAQ Section */
    .faq-section {
      padding: 4rem 0;
      text-align: center;
    }

    .faq-section h2 {
      font-size: 1.8rem;
      margin-bottom: 2.5rem;
      color: var(--primary);
    }

    .faq-container {
      max-width: 650px; /* Made it thinner for better readability */
      margin: 0 auto;
      text-align: left;
    }

    .faq-item {
      /* Removed card-like styles for a cleaner, Google-like list */
      border-bottom: 1px solid #eef0f3;
      transition: var(--transition);
    }

    .faq-item:first-of-type {
      border-top: 1px solid #eef0f3;
    }

    .faq-item[open] {
      /* Remove the open state box-shadow and border change */
      box-shadow: none;
    }

    .faq-item summary {
      font-weight: 500; /* Slightly less bold */
      padding: 1.25rem 0.5rem; /* Reduced padding for a tighter look */
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--text);
      transition: color 0.3s ease;
    }

    .faq-item summary:hover {
      color: var(--primary);
    }

    .faq-item summary::after {
      content: '\f078'; /* Font Awesome chevron-down */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .faq-item[open] > summary {
      font-weight: 600; /* Make it a bit bolder when open */
      color: var(--primary);
      border-bottom-color: transparent; /* No bottom border on summary */
    }

    .faq-item .faq-content {
      /* Animation styles for accordion effect */
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s ease-out, padding 0.4s ease-out;
      padding: 0 0.5rem; /* Match horizontal padding of summary */
      color: var(--text-light);
    }

    .faq-item[open] .faq-content {
      max-height: 20rem; /* Adjust if content is longer */
      padding: 0 0.5rem 1.5rem; /* Add bottom padding when open */
      transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    }

    /* Main Content */
    main {
      padding: 3rem 0 0; /* Removed bottom padding to avoid double-spacing with footer */
    }

    .hero {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 3rem;
      position: relative;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    h1 {
      font-size: clamp(1.8rem, 5vw, 2.5rem);
      margin-bottom: 1.5rem;
      line-height: 1.3;
      background: linear-gradient(45deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      position: relative;
      display: inline-block;
    }

    h1::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient);
      border-radius: 2px;
    }

    .hero p {
      font-size: clamp(1rem, 2vw, 1.1rem);
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    /* Enhanced Hero CTA Button */
    .hero .cta-btn {
      display: inline-flex; /* Align icon and text */
      align-items: center;
      gap: 0.75rem; /* Space between icon and text */
      border: none; /* Ensure no default border */
      padding: 1rem 2.5rem;
      font-size: 1.1rem;
      font-weight: 600;
      border-radius: 50px; /* Pill shape */
      background: var(--gradient);
      background-size: 200% auto; /* For gradient animation */
      color: white;
      box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
    }
    .hero .cta-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(108, 92, 231, 0.5);
      background-position: right center; /* Animate gradient on hover */
    }
    .hero .cta-btn:active {
      transform: translateY(0) scale(0.98); /* "Pressed" effect */
      box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4); /* Slightly smaller shadow */
    }

    /* Animate the icon inside the button */
    .hero .cta-btn i {
      transition: transform 0.3s ease;
    }

    .hero .cta-btn:hover i {
      transform: scale(1.15) rotate(-10deg); /* Make icon pop and tilt a bit */
    }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin: 2.5rem 0;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      min-width: 100px;
    }

    .stat-number {
      font-size: clamp(2rem, 5vw, 2.5rem);
      font-weight: 700;
      color: var(--primary);
      display: block;
    }

    .stat-label {
      font-size: 0.9rem;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Donation Options */
    .donation-options {
      display: flex;
      justify-content: center;
      gap: 0.5rem; /* A small gap between buttons */
      margin: 2rem auto;
      /* Removed flex-wrap to keep buttons in a single row */
    }

    .donation-amount {
      position: relative;
      flex: 1; /* Each button container will take equal space */
      display: flex; /* To make the label/button inside fill the height */
    }

    .donation-amount input[type="radio"] {
      position: absolute;
      opacity: 0;
    }
    
  .donation-amount label {
      width: 100%; /* Make the button fill its container */
      display: flex;
      align-items: center;
      justify-content: center;
    color: white;
      padding: 0.8rem 0.5rem;
      border-radius: 0;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: 2px solid transparent; /* For smooth transition on selection */
      box-shadow: var(--shadow-sm);
      white-space: nowrap; /* Prevent text from wrapping inside button */
    }

    label[for="amount-50"]  { background-color: var(--success); }
    label[for="amount-100"] { background-color: var(--primary); }
    label[for="amount-500"] { background-color: var(--error); }

    .donation-amount input[type="radio"]:checked + label {
      transform: translateY(-3px) scale(1.05);
      box-shadow: var(--shadow-lg);
      border-color: white;
    }

    /* Custom focus for radio buttons - style the label when the input is focused */
    .donation-amount input[type="radio"]:focus-visible + label {
      box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 4px var(--primary);
    }


    .donation-amount label:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
      filter: brightness(1.1);
    }

    /* New Transforming Input Button */
    .custom-entry-wrapper {
      position: relative;
      margin-top: 1rem;
      width: 100%;
      padding: 0.9rem;
      background: var(--card-bg);
      color: var(--primary);
      border: 1px solid var(--primary-light);
      border-radius: 0;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .custom-entry-wrapper:hover {
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .custom-entry-placeholder {
      font-size: 1.05rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .custom-entry-input {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 1rem 1rem 1rem 2.5rem; /* Padding for rupee icon */
      border: 2px solid var(--primary);
      border-radius: 0;
      font-size: 1rem;
      font-family: inherit;
      background-color: var(--card-bg);
      color: var(--text);
      /* Hide the input by default */
      opacity: 0;
      visibility: hidden;
      transform: scale(0.95);
      transition: var(--transition);
    }

    /* Rupee icon using a pseudo-element */
    .custom-entry-wrapper::before {
      content: '\f156'; /* Font Awesome Rupee sign */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      top: 50%;
      left: 1rem;
      transform: translateY(-50%);
      color: var(--text-light);
      z-index: 2;
      /* Hide icon by default */
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    /* --- Input Mode Active State --- */
    .custom-entry-wrapper.input-mode {
      background: transparent;
      border-color: transparent;
      cursor: default;
    }

    .custom-entry-wrapper.input-mode .custom-entry-placeholder {
      opacity: 0;
      visibility: hidden;
    }

    .custom-entry-wrapper.input-mode .custom-entry-input {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
    }

    .custom-entry-wrapper.input-mode::before {
      opacity: 1;
    }

    /* Error state for input */
    .custom-entry-input.error {
      border-color: var(--error);
      animation: shake 0.4s;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      75% { transform: translateX(5px); }
    }

    .custom-entry-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    }

    .payment-action-wrapper {
      margin-top: 1.5rem; /* Added consistent space above the pay button */
    }

    /* Specific styling for the payment button inside the modal */
    .cta-modal .payment-action-wrapper .cta-btn {
      width: 90%;
      padding: 0.9rem;
      font-size: 1.05rem;
      font-weight: 600;
      background: var(--primary);
      color: white;
    }

    /* Disabled state for CTA button */
    .cta-btn:disabled {
      background: var(--text-light);
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .cta-btn.loading:disabled {
      background: var(--primary); /* Keep color when loading */
    }

    .spinner {
      display: none;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
      margin-left: 10px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .cta-btn.loading .spinner {
      display: inline-block;
    }

    .security-note {
      font-size: 0.9rem;
      color: var(--text-light);
      margin-top: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    /* Value Props */
    .value-props {
      margin: 4rem auto;
      text-align: center;
    }

    .value-props .section-title {
      font-size: 1.8rem;
      margin-bottom: 2.5rem;
      color: var(--primary);
    }

    .value-cards-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .value-card {
      background-color: var(--card-bg);
      border-radius: 12px;
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .value-card[data-animation="fade-in-up"]:nth-child(2) {
      transition-delay: 0.1s;
    }

    .value-card[data-animation="fade-in-up"]:nth-child(3) {
      transition-delay: 0.2s;
    }

    .value-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }

    .value-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient);
      opacity: 0;
      transition: var(--transition);
      z-index: -1;
    }

    .value-card:hover::before {
      opacity: 0.05;
    }

    .value-icon {
      width: 60px;
      height: 60px;
      background: var(--gradient);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin: 0 auto 1.5rem;
      box-shadow: 0 4px 10px rgba(108, 92, 231, 0.2);
    }

    .value-card h3 {
      font-size: 1.25rem;
      margin-bottom: 0.75rem;
      color: var(--primary);
      text-align: center;
    }

    .value-card p {
      color: var(--text-light);
      font-size: 0.95rem;
      text-align: center;
    }

    /* Projects Section */
    .projects-section {
      padding: 4rem 0;
      text-align: center;
    }

    .projects-section .section-title {
      font-size: 1.8rem;
      margin-bottom: 2.5rem;
      color: var(--primary);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    .project-card {
      background-color: var(--card-bg);
      border-radius: 12px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: var(--transition);
      text-align: left;
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }

    .project-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .project-content {
      padding: 1.5rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .project-content h3 {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
      color: var(--primary);
    }

    .project-content p {
      color: var(--text-light);
      font-size: 0.95rem;
      margin-bottom: 1rem;
      flex-grow: 1;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .project-tags span {
      background-color: var(--primary-light);
      color: var(--primary-dark);
      padding: 0.25rem 0.75rem;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 500;
    }

    .project-links {
      display: flex;
      gap: 1rem;
      margin-top: auto; /* Pushes links to the bottom */
    }

    .project-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
    }

    .project-link:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    .project-link.disabled {
      color: var(--text-light);
      cursor: not-allowed;
      pointer-events: none;
    }

    .project-link.disabled:hover {
      color: var(--text-light);
      text-decoration: none;
    }
    /* Testimonials */
    .testimonials {
      margin: 4rem auto;
      text-align: center;
    }

    .testimonials h2 {
      font-size: 1.8rem;
      margin-bottom: 2rem;
      color: var(--primary);
    }

    .testimonial-card {
      background: var(--card-bg);
      border-radius: 8px; /* Sharper corners for a modern look */
      padding: 1.5rem; /* Uniform padding */
      box-shadow: var(--shadow-sm);
      text-align: left;
      position: relative;
      border: 1px solid #eef0f3;
      height: 100%; /* Ensure cards in a row have same height */
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }

    .testimonial-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }

    /* Skeleton Loader for Testimonials */
    .skeleton-card {
      pointer-events: none;
    }

    .skeleton-line {
      background-color: #eef0f3;
      border-radius: 4px;
      height: 1em;
      margin-bottom: 0.75em;
      animation: shimmer 1.5s infinite linear;
    }

    .skeleton-card .skeleton-line-long { width: 90%; }
    .skeleton-card .skeleton-line-short { width: 60%; }

    .skeleton-author {
      display: flex;
      align-items: center;
      margin-top: 1.5rem;
    }

    .skeleton-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #eef0f3;
      margin-right: 0.75rem;
      animation: shimmer 1.5s infinite linear;
    }

    .skeleton-author-info {
      flex-grow: 1;
    }

    .skeleton-line-author { width: 50%; height: 0.9em; }
    .skeleton-line-role { width: 70%; height: 0.8em; }

    @keyframes shimmer {
      0% { background-color: #eef0f3; }
      50% { background-color: #f8f9fa; }
      100% { background-color: #eef0f3; }
    }

    .testimonial-card::before {
      /* Removed the large quote icon for a cleaner, more professional look */
      display: none;
    }

    .testimonial-content {
      margin-top: 0;
      font-style: italic; /* Classic, clean look for testimonials */
      color: var(--text-light);
      position: relative;
      z-index: 1;
      flex-grow: 1; /* Allow content to take up space */
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      margin-top: 1rem;
    }

    .author-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 0.75rem;
      border: 2px solid var(--primary-light);
    }

    .author-info h4 {
      font-size: 0.9rem;
      color: var(--primary);
      margin-bottom: 0.2rem;
    }

    .author-info p {
      font-size: 0.8rem;
      color: var(--text-light);
    }

    /* Testimonial Slider (Swiper) */
    .testimonial-slider {
      padding: 1rem 0 3rem; /* Add padding for pagination */
      margin: 0 -1rem; /* Negative margin to allow buttons to be outside */
    }

    .swiper-slide {
      height: auto; /* Allow slides to determine their height */
      padding: 0 1rem;
    }

    .swiper-pagination-bullet {
      background-color: var(--primary-light);
      opacity: 0.8;
    }

    .swiper-pagination-bullet-active {
      background-color: var(--primary);
    }

    .swiper-button-next,
    .swiper-button-prev {
      color: var(--text-light); /* More subtle color */
      background-color: transparent;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      box-shadow: none;
      transition: var(--transition);
      border: none;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
      background-color: var(--bg); /* Subtle background on hover */
      color: var(--primary);
      transform: scale(1.1);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
      font-size: 1.5rem; /* Make the arrow a bit bigger */
      font-weight: 900;
    }

    /* Success Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      backdrop-filter: blur(5px);
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      background: white;
      border-radius: 16px;
      padding: 3rem;
      text-align: center;
      max-width: 500px;
      width: 90%;
      position: relative;
      transform: translateY(20px);
      transition: var(--transition);
      box-shadow: var(--shadow-lg);
      animation: modalEnter 0.5s ease-out forwards;
    }

    .cta-modal {
      padding: 2rem;
      padding-top: 1.5rem;
    }

    .cta-modal-header {
      display: flex;
      flex-direction: column; /* Stack vertically */
      align-items: center;
      gap: 0.75rem; /* Reduced gap */
      margin-bottom: 1.5rem;
    }

    .cta-modal-header .logo-img {
      width: 60px; /* Make DP larger */
      height: 60px;
      /* The modal background is var(--card-bg), so the logo needs to match */
      background-color: var(--card-bg);
    }

    .cta-modal-header .logo-container {
      padding: 4px; /* Slightly thicker border for the larger DP */
    }

    .footer .logo-img {
      background-color: var(--footer-bg);
    }

    .cta-modal-header-text h2 {
      font-size: 1.5rem;
      margin: 0;
      color: var(--text);
      text-align: center; /* Center text */
    }

    .cta-modal-header-text p {
      font-size: 0.9rem;
      margin: 0;
      color: var(--text-light);
      text-align: center; /* Center text */
    }

.modal-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 1.5rem 0; /* Add space around it */
  line-height: 1.6;
  text-align: center;
}

    @keyframes modalEnter {
      0% {
        transform: translateY(20px);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-light);
      transition: var(--transition);
    }

    .modal-close:hover {
      color: var(--primary);
      transform: rotate(90deg);
    }

    .checkmark {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--success);
      margin: 0 auto 1.5rem;
      animation: checkmarkScale 0.5s ease-out;
      box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    }

    @keyframes checkmarkScale {
      0% {
        transform: scale(0);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

    .checkmark i {
      color: white;
      font-size: 2.5rem;
    }

    .modal h2 {
      color: var(--success);
      margin-bottom: 1rem;
      font-size: 1.8rem;
    }

    .modal p {
      color: var(--text-light);
      margin-bottom: 2rem;
      line-height: 1.6;
    }

    .modal-btn {
      background: var(--success);
      color: white;
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: var(--transition);
      box-shadow: 0 4px 10px rgba(0, 184, 148, 0.3);
    }

    .modal-btn:hover {
      background: #00a884;
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 184, 148, 0.4);
    }

    /* Contact Form in Modal */
    #contact-modal h2 {
      color: var(--text); /* Override success color from other modals */
    }

    .contact-form {
      margin-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      text-align: left;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--text-light);
      font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 0.8rem 1rem;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      font-size: 1rem;
      font-family: inherit;
      transition: var(--transition);
      background-color: var(--bg);
      color: var(--text);
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }

    /* Style the contact form's submit button specifically */
    #contact-modal .modal-btn {
      background: var(--primary);
      box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
      margin-top: 1rem;
    }

    @keyframes fall {
      from {
        transform: translateY(0) rotate(var(--start-rot));
        opacity: 1;
      }
      to {
        transform: translateY(105vh) rotate(var(--end-rot));
        opacity: 0;
      }
    }

    #confetti-container .confetti {
      position: absolute;
      top: -20px; /* Start off-screen */
      left: var(--x-pos);
      width: var(--size);
      height: var(--size);
      background-color: var(--color);
      border-radius: var(--radius);
      opacity: 0; /* Start invisible, animation will make it visible */
      animation: fall var(--duration) var(--delay) linear forwards;

    }

    /* Footer */
    footer {
      /* Make footer transparent like the header */
      background-color: rgba(248, 249, 250, 0.9); /* Transparent version of light --footer-bg */
      backdrop-filter: blur(5px);
      color: var(--footer-text);
      padding: 4rem 0 2rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      font-size: 0.9rem;
      border-top: 1px solid rgba(45, 52, 54, 0.08); /* Subtle border for separation */
    }

    .footer-content {
      position: relative;
      z-index: 1;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      text-align: left;
      margin-bottom: 2rem;
      gap: 2rem;
      align-items: flex-start;
    }

    .footer-brand,
    .footer-nav-links,
    .footer-social {
      flex: 1;
    }

    .footer-brand {
      max-width: 300px;
    }

    .footer-brand .logo {
      margin-bottom: 1rem;
    }

    .footer-brand p {
      color: var(--footer-text);
      font-size: 0.9rem;
    }

    .footer-brand h4 {
      color: var(--text);
      margin-bottom: 1rem;
      font-weight: 600;
      font-size: 1.5rem;
    }

    .footer-top h4 {
      color: var(--footer-heading);
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .footer-nav-links .links-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-top: 1rem;
    }

    .footer-nav-links a {
      display: inline-block;
      color: var(--footer-link);
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-nav-links a:hover {
      color: var(--footer-link-hover);
      text-decoration: underline;
    }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
      margin: 0;
      align-items: center;
    }

    .social-links a {
      color: var(--footer-link);
      font-size: 1.1rem;
      transition: var(--transition);
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--footer-social-bg);
      text-decoration: none; /* Ensure no underline for icons */
    }

    .social-links a:hover {
      color: white;
      transform: translateY(-3px);
      background: var(--footer-social-hover-bg);
    }

    .footer-divider {
      border: none;
      height: 1px;
      background-color: var(--text);
      opacity: 0.1;
      margin: 2rem 0;
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--footer-text);
    }

    .footer-legal-links a {
      color: var(--footer-text);
      text-decoration: none;
      margin-left: 1.5rem;
      transition: var(--transition);
    }

    .footer-legal-links a:hover {
      color: var(--footer-link-hover);
      text-decoration: underline;
    }

    .copyright {
      color: var(--footer-text);
      opacity: 0.8;
    }

    /* Tooltip for copy link */
    .copy-tooltip {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--text);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }
    .copy-tooltip.show {
      opacity: 1;
      visibility: visible;
    }

    /* Back to top button */
    .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background: var(--card-bg);
      color: var(--primary);
      border: 2px solid var(--primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      text-decoration: none;
      box-shadow: var(--shadow-md);
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: var(--transition);
    }
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .back-to-top:hover {
      background: var(--primary-dark);
      transform: scale(1.1);
    }

    /* Dark Mode Styles */
    body.dark-mode {
      --bg: #1e272e;
      --card-bg: #2c3a47;
      --text: #f5f6fa;
      --text-light: #b0bec5;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
      --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
      --shadow-lg: 0 10px 25px rgba(0,0,0,0.3);

      --footer-bg: #1e272e;
      --footer-text: #b0bec5;
      --footer-heading: #f5f6fa;
      --footer-link: #f5f6fa;
      --footer-link-hover: var(--accent);
      --footer-social-bg: #2c3a47;
      --footer-social-hover-bg: var(--primary);
    }

    body.dark-mode footer {
      /* Dark mode transparent footer */
      background-color: rgba(30, 39, 46, 0.9); /* Transparent version of dark --footer-bg */
      border-top-color: rgba(245, 246, 250, 0.1);
    }

    body.dark-mode header {
      background-color: rgba(30, 39, 46, 0.9);
    }

    body.dark-mode .drawer {
      background-color: #2c3a47;
    }

    body.dark-mode .drawer-header,
    body.dark-mode .drawer-footer {
      border-color: rgba(255, 255, 255, 0.1);
      background-color: #1e272e;
    }

    body.dark-mode .cta-section,
    body.dark-mode .value-card,
    body.dark-mode .testimonial-card,
    body.dark-mode .faq-item,
    body.dark-mode .faq-item:first-of-type {
      border-color: rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .swiper-button-next:hover,
    body.dark-mode .swiper-button-prev:hover {
      background-color: #1e272e; /* Dark mode subtle hover background */
      color: var(--primary-light);
      border-color: rgba(255, 255, 255, 0.15);
    }

    body.dark-mode .faq-item[open] > summary {
      border-bottom-color: transparent;
    }

    body.dark-mode .skeleton-line,
    body.dark-mode .skeleton-avatar {
      background-color: #3b4a59;
      animation-name: shimmer-dark;
    }

    @keyframes shimmer-dark {
      0% { background-color: #3b4a59; }
      50% { background-color: #4a5a69; }
      100% { background-color: #3b4a59; }
    }

    body.dark-mode .donation-amount label {
      background-color: #2c3a47;
      border-color: var(--primary-light);
      color: var(--primary-light);
    }

    body.dark-mode .donation-amount input[type="radio"]:checked + label {
      background: var(--gradient);
      color: white;
      border-color: var(--primary);
    }

    body.dark-mode .custom-amount input {
      background-color: #2c3a47;
      border-color: var(--primary-light);
      color: var(--text);
    }

    body.dark-mode .custom-amount input:focus {
      background-color: #1e272e;
    }

    body.dark-mode .logo-img {
      /* Default logo background in dark mode */
      background-color: var(--bg);
    }

    body.dark-mode .modal {
      background: #2c3a47;
    }

    body.dark-mode .form-group input,
    body.dark-mode .form-group textarea {
      background-color: #1e272e;
      border-color: #3b4a59;
      color: var(--text);
    }

    body.dark-mode .form-group input:focus,
    body.dark-mode .form-group textarea:focus {
      background-color: #1e272e;
      border-color: var(--primary);
    }

    /* Night Time Moon: Bright, detailed, and glowing */
    body.dark-mode .moon {
      opacity: 1;
      background-color: #D6D6D6; /* Base rock color */
      background-image: radial-gradient(circle at 40% 50%, #f5f5f5 50%, transparent 80%); /* Sunlit part */
      box-shadow:
        /* Atmospheric Glow */
        0 0 80px rgba(173, 216, 230, 0.3),
        /* Standard Glow */
        0 0 15px rgba(240, 240, 240, 0.9),
        0 0 30px rgba(240, 240, 240, 0.7),
        /* Limb Darkening for 3D effect */
        inset 0 0 15px rgba(0, 0, 0, 0.2);
    }

    body.dark-mode .moon::after {
      opacity: 1;
      /* Realistic texture simulating lunar maria (seas) and craters */
      background-image:
        /* Mare Imbrium (large dark area top-left) */
        radial-gradient(circle at 30% 35%, rgba(0,0,0,0.25) 0%, transparent 30%),
        /* Mare Serenitatis & Tranquillitatis (middle-right) */
        radial-gradient(circle at 65% 45%, rgba(0,0,0,0.2) 0%, transparent 25%),
        /* Oceanus Procellarum (large area on the left) */
        radial-gradient(ellipse at 25% 50%, rgba(0,0,0,0.2) 0%, transparent 40%),
        /* Tycho crater (small bright spot bottom) */
        radial-gradient(circle at 50% 85%, rgba(255,255,255,0.1) 0%, transparent 5%),
        /* Copernicus crater (another bright spot) */
        radial-gradient(circle at 40% 55%, rgba(255,255,255,0.08) 0%, transparent 4%);
    }

    /* Animation on Scroll */
    [data-animation] {
      opacity: 0;
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    [data-animation="fade-in"] {
      transform: translateY(20px);
    }

    [data-animation="fade-in-up"] {
      transform: translateY(30px);
    }

    [data-animation="fade-in-left"] {
      transform: translateX(-30px);
    }

    [data-animation="fade-in-right"] {
      transform: translateX(30px);
    }

    [data-animation].is-visible {
      opacity: 1;
      transform: translate(0, 0);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      footer {
        padding: 2.5rem 0 2rem; /* Minimal padding for mobile */
      }

      .footer-brand {
        display: none; /* Hide brand section on mobile to save space */
      }

      .cta-section {
        padding: 2rem;
      }
      
      .value-card {
        padding: 1.5rem;
      }

      .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
      }

      .footer-nav-links .links-row,
      .social-links {
        gap: 1rem; /* Reduce gap for both link rows */
        justify-content: center; /* Center the icons */
      }
      
      .modal {
        padding: 2rem;
      }

      .donation-options {
        gap: 0.75rem;
      }

      .donation-amount label {
        padding: 0.6rem 1rem;
      }

      .hero h1 {
        font-size: 1.9rem; /* Adjust hero heading for mobile */
      }

      .hero-stats {
        gap: 1rem;
        justify-content: space-around;
      }

      .stat-.item {
        min-width: 0; /* Allow items to shrink */
        flex: 1; /* Distribute space evenly */
      }

      .stat-number {
        font-size: clamp(1.6rem, 6vw, 2rem);
      }

      .value-props .section-title,
      .projects-section .section-title,
      .testimonials h2,
      .faq-section h2 {
        font-size: 1.6rem; /* Prevent heading from wrapping on small screens */
        margin-bottom: 2rem; /* Standardize margin for mobile */
      }
    }

    @media (max-width: 480px) {      
      .footer-bottom {
        flex-direction: column;
        gap: 1rem;
      }

      .hero p {
        font-size: 1rem;
      }
    }