


 /* 1. Hero Container: full viewport height and relative positioning */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ensures full-screen cover */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;       /* shorthand for top:0; right:0; bottom:0; left:0 */
  z-index: 0;     /* below everything */
}

/* 2. Parallax Background Layer */
.parallax-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1px;
  overflow: hidden;

}
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* use transform for JS-driven parallax */
  will-change: transform;
}



/* 4. Glass-morphism Content Panel */
.bg-soft-glass {
  position: relative;
  z-index: 3;
  background: rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* 5. Typography Helpers */
.text-shadow {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.animated-gradient {
  background: linear-gradient(90deg, #ff1e00, #b5ff54, #8577ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s linear infinite;
}

/* 6. Ensure content sits above everything */
.hero-content {
  position: relative;
  z-index: 100; /* above overlay */
  color: #fff;
}

/* 7. Keyframe for text gradient */
@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}



  @keyframes gradientText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }
  
  /* Buttons */
  .btn-hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-hover-scale:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  
  .btn-hover-grow {
    transition: all 0.3s ease;
  }
  
  .btn-hover-grow:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Floating Shapes */
  .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1111;
  }
  
  .shape {
    position: absolute;
    opacity: 0.35;
  }
  
  .circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, #140f0f, #ffffff);
    top: 20%;
    left: 10%;
  }
  
  .triangle {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid #0e0d0d;
    top: 60%;
    right: 15%;
    opacity: 0.21;
  }
  
  .wave {
    width: 200px;
    height: 100px;
    background: linear-gradient(45deg, #140f0f, #080505);
    bottom: 10%;
    left: 20%;
  }
  
  /* Animations */
  .pulse-animation {
    animation: pulse 6s ease-in-out infinite;
  }
  
  .float-animation {
    animation: float 8s ease-in-out infinite;
  }
  
  .wave-animation {
    animation: wave 12s linear infinite;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
  }
  
  @keyframes wave {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(50px) rotate(2deg); }
  }
  
  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  
  .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
  }
  
  .wheel {
    width: 4px;
    height: 8px;
    background: rgba(19, 18, 18, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
  }
  
  .arrow-bounce {
    margin-top: 10px;
    animation: bounce 2s ease infinite;
  }
  
  @keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .hero-content {
      padding: 2.5rem !important;
    }
    
    h1.display-3 {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      min-height: 90vh;
    }
    
    .floating-shapes {
      display: none;
    }
  }






  /* Base Styles */
  .donation-module {
    background: #cdc;
    position: relative;
  }
  
  /* Background Shapes */
  .donation-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.05);
    filter: blur(60px);
  }
  .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
  }
  .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    background: rgba(52, 152, 219, 0.05);
  }
  .shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    background: rgba(155, 89, 182, 0.05);
  }
  
  /* Impact Circle */
  .impact-circle {
    width: 220px;
    height: 220px;
    position: relative;
    margin: 0 auto;
  }
  
  .progress-ring {
    transform: rotate(-90deg);
  }
  
  .progress-ring-circle {
    transition: stroke-dashoffset 1s ease;
    stroke-dashoffset: calc(628 - (628 * var(--progress)) / 100);
  }
  
  .impact-circle-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }
  
  /* Animated Icon */
  .icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ecc71;
    font-size: 1.5rem;
  }
  
  .icon-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #2ecc71;
    border-radius: 50%;
    animation: ripple 3s infinite;
    opacity: 0;
  }
  
  .ripple-1 {
    animation-delay: 0s;
  }
  
  .ripple-2 {
    animation-delay: 1s;
  }
  
  .ripple-3 {
    animation-delay: 2s;
  }
  
  @keyframes ripple {
    0% {
      transform: scale(0.5);
      opacity: 0.5;
    }
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  
  /* Text Gradient */
  .text-gradient-animated {
    background: linear-gradient(90deg, #2ecc71, #3498db, #2ecc71);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s linear infinite;
  }
  
  @keyframes gradientText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }
  
  /* Donation Tiers */
  .tier-card {
    transition: all 0.3s ease;
    border: 2px solid #dee2e6 !important;
    background: white;
    color: #495057;
  }
  
  .tier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2ecc71 !important;
    color: #2ecc71;
  }
  
  .tier-card.active {
    background: #2ecc71 !important;
    color: white !important;
    border-color: #2ecc71 !important;
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
  }
  
  /* Input Group */
  .hover-scale {
    transition: transform 0.3s ease;
  }
  
  .hover-scale:hover {
    transform: scale(1.01);
  }
  
  .input-group-text {
    color: #6c757d;
  }
  
  .form-control {
    border-radius: 0.5rem;
    padding: 1rem;
    border-color: #dee2e6;
  }
  
  .form-control:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
  }
  
  /* Buttons */
  .btn-primary {
    background: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    border: none;
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.3);
  }
  
  /* Modal Styles */
  .modal-content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none !important;
    overflow: hidden;
  }
  
  .modal-header {
    border-bottom: none;
    padding-bottom: 2rem;
  }
  
  /* Progress Steps */
  .donation-steps {
    margin-bottom: 1.5rem;
  }
  .step {
    text-align: center;
    z-index: 2;
    width: 33.33%;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
  }
  .step.active .step-circle {
    background: #2ecc71;
    color: white;
  }
  .step.completed .step-circle {
    background: #2ecc71;
    color: white;
  }
  .step.completed .step-circle:after {
    content: "✓";
  }
  .step-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
  }
  .step.active .step-label {
    color: #2ecc71;
    font-weight: 600;
  }
  .progress-bar {
    position: absolute;
    height: 2px;
    background: #2ecc71;
    top: 16px;
    left: 0;
    z-index: 1;
    transition: width 0.3s ease;
  }
  
  /* Payment Methods */
  .payment-methods {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
  }
  .btn-payment-method {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 90px;
    background: white;
    transition: all 0.2s ease;
  }
  .btn-payment-method:hover {
    border-color: #adb5bd;
  }
  .btn-payment-method.active {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.05);
    box-shadow: 0 0 0 1px #2ecc71;
  }
  
  /* Counter Animation */
  .counter {
    display: inline-block;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .hero-content {
      padding: 2.5rem !important;
    }
    
    h1.display-3 {
      font-size: 2.5rem;
    }
  }
  

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }
  

  @media (max-width: 768px) {
    .hero {
      min-height: 90vh;
    }
    
    .floating-shapes {
      display: none;
    }
    
    .impact-circle {
      width: 180px;
      height: 180px;
    }
  }

  /*initiative showcase*/


   /* Base Styles */
  .initiatives-section {
    
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  }
  
  /* Background Shapes */
  .initiatives-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.03);
    filter: blur(60px);
    z-index: -1;
  }
  .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
  }
  .shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: rgba(52, 152, 219, 0.03);
  }
  
  /* Section Header */
  .section-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  .header-divider {
    display: flex;
    align-items: center;
    max-width: 300px;
  }
  
  .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
  }
  
  .divider-icon {
    margin: 0 15px;
    color: #2ecc71;
    font-size: 1.2rem;
  }
  
  /* Mosaic Grid Layout */
  .mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .mosaic-grid .featured {
    grid-column: span 1;
  }
  
  @media (min-width: 992px) {
    .mosaic-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Program Cards */
  .program-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .program-card:hover {
    transform: translateY(-8px);
  }
  
  .card {
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
  }
  
  .program-card:hover .card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  }
  
  /* Card Image Container */
  .card-img-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
  }
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .program-card:hover .card-img {
    transform: scale(1.08);
  }
  
  .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  }
  
  /* Card Badge */
  .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
  }
  
  .badge-glow {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
  }
  
  /* Card Body */
  .card-body {
    padding: 1.5rem;
    background: white;
  }
  
  .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    transition: color 0.3s ease;
  }
  
  .program-card:hover .card-title {
    color: #2ecc71;
  }
  
  .card-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  
  /* Progress Bar */
  .progress-container {
    margin-bottom: 1.5rem;
  }
  
  .progress-info {
    font-size: 0.85rem;
  }
  
  .progress-label {
    color: #7f8c8d;
  }
  
  .progress-value {
    color: #2c3e50;
    font-weight: 600;
  }
  
  .progress {
    height: 6px;
    border-radius: 3px;
    background: #ecf0f1;
    overflow: visible;
  }
  
  .progress-bar {
    background: linear-gradient(90deg, #2ecc71, #3498db);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
  }
  
  .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 30%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0) 100%
    );
    animation: progressShine 2.5s infinite;
  }
  
  @keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* Card Stats */
  .card-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #7f8c8d;
  }
  
  .stat-icon {
    margin-right: 6px;
    color: #3498db;
    font-size: 0.9rem;
  }
  
  /* Hover Effect */
  .card-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .program-card:hover .card-hover-effect {
    transform: translateY(0);
  }
  
  .hover-text {
    font-weight: 600;
    margin-right: 8px;
  }
  
  .hover-icon {
    transition: transform 0.3s ease;
  }
  
  .program-card:hover .hover-icon {
    transform: translateX(4px);
  }
  
  /* More Programs Button */
  .btn-more-programs {
    position: relative;
    overflow: hidden;
    background: white;
    color: #2ecc71;
    border: 2px solid #2ecc71;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
  }
  
  .btn-more-programs:hover {
    color: white;
    transform: translateY(-3px);
  }
  
  .btn-more-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .btn-more-programs:hover::before {
    transform: translateY(0);
  }
  
  .btn-icon {
    transition: transform 0.3s ease;
  }
  
  .btn-more-programs:hover .btn-icon {
    transform: translateX(4px);
  }
  



