/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
  --signature-green: #7ed321;
  --primary-blue: #004a99;
  --success-green: #28a745;
  --dark-accent: #161616;
}

html {
  scroll-behavior: smooth; /* This makes the page slide down gently */
}


body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* --- 3. PARALLAX HERO SECTION --- */
.give-parallax-hero {
  margin: 0px;
  height: 100vh;
  min-height: 600px;
  background-attachment: scroll !important;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(240, 236, 236, 0.021); /* Darkens image for text clarity */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

/* --- 4. THE FONT DECREASE DOWNWARDS LOGIC --- */

/* LEVEL 1: BIGGEST (Fountain of Life) */
.badge-pill {
  background: var(--signature-green) !important;
  color: white !important;
  padding: 15px 45px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 3.5rem; /* LARGEST */
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 2px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* LEVEL 2: MEDIUM (Small Actions) */
.hero-title-main {
  font-size: 2.5rem !important; /* DECREASED */
  color: #ffffff !important;
  font-weight: 400;
  margin: 0;
  display: block;
}

/* LEVEL 3: SMALLEST (Big Impact) */
.text-accent {
  color: var(--signature-green) !important;
  font-size: 1.6rem !important; /* SMALLEST */
  font-weight: 900;
  text-transform: uppercase;
  display: block;
  margin-top: 5px;
}

/* --- 5. DONATION & ACTION CARDS --- */

.floating-donate-box {
  background: #ffffff; /* Changed from red to white for professional look */
  padding: 35px;
  border-radius: 15px;
  max-width: 500px;
  margin: 40px auto 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-top: 6px solid var(--signature-green);
}

.bg-accent {
  background: var(--signature-green) !important;
}

/* --- Ways to Give (Both M-Pesa & Bank now Dark) --- */
.method-card {
  background: var(--dark-accent) !important; /* Unified Dark Background */
  color: white !important;
  font-size: 0.9rem;
  padding: 30px 15px !important;
  text-align: center;
  border-radius: 12px;
  border-bottom: 6px solid var(--signature-green);
  height: 100%;
  transition: 0.3s;
}
.method-card:hover {
  transform: translateY(-10px);
  border-color: var(--signature-green);
}

.method-card h3 {
  color: var(--signature-green); /* Green titles for contrast */
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.method-card p {
  color: #e0e0e0; /* Clean light grey text */
  font-size: 1.1rem;
}

.method-card i {
  font-size: 3.5rem; /* Larger icons like JCC */
  margin-bottom: 20px;
  display: block;
  color: var(--signature-green) !important;
}

/* --- Action Grid (Remains White as requested) --- */
.action-card {
  background: #ffffff; /* Stays white */
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #eee;
  height: 100%;
  transition: transform 0.3s ease;
  border-top: 6px solid var(--signature-green);
}

.action-card:hover {
  transform: translateY(-10px);
  border-color: var(--signature-green);
}

.active-card {
  background: #fcfafa;
  color: rgb(5, 5, 5);
  border-top: 6px solid var(--signature-green);
}

.card-icon {
  font-size: 2.8rem;
  color: var(--signature-green);
  margin-bottom: 15px;
  border-top: 6px solid var(--signature-green);
}

.card-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--signature-green);
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

/* --- 6. MOBILE RESPONSIVENESS --- */
/* Desktop styles (min-width first, then override for smaller screens) */
@media (min-width: 992px) {
  .donate-page-header {
    margin-top: 40px;
    padding: 2rem 1rem;
  }
  .badge-pill {
    font-size: 2rem;
    padding: 10px 25px;
  }
  .hero-title-main {
    font-size: 1.5rem;
  }
  .text-accent {
    font-size: 1.1rem;
  }

  .give-parallax-hero {
    height: auto;
    min-height: 84vh;
    padding: 40px 0;
    background-attachment: scroll;
  }

    .col-lg-3 {
        display: flex;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
  .give-parallax-hero {
    height: auto;
    min-height: 80vh;
    padding: 40px 20px;
  }
  
  .badge-pill {
    font-size: 1.5rem;
    padding: 12px 30px;
  }
  
  .hero-title-main {
    font-size: 1.3rem;
  }
}

/* Tablet/mobile transition */
@media (max-width: 768px) {
  .give-parallax-hero {
    height: auto;
    min-height: 60vh;
    padding: 30px 15px;
    background-attachment: scroll;
  }
  
  .hero-overlay {
    padding: 20px 0;
  }
  
  .badge-pill {
    font-size: 1.2rem;
    padding: 10px 25px;
  }
  
  .hero-title-main {
    font-size: 1.1rem;
  }
  
  .text-accent {
    font-size: 1rem;
  }
  
  .method-cards,
  .action-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .floating-donate-box {
    width: 90%;
    padding: 1.5rem;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .give-parallax-hero {
    height: auto;
    min-height: 50vh;
    padding: 20px 10px;
  }
  
  .hero-overlay {
    padding: 15px 0;
  }
  
  .badge-pill {
    font-size: 1rem;
    padding: 8px 20px;
  }
  
  .hero-title-main {
    font-size: 0.95rem;
  }
  
  .text-accent {
    font-size: 0.9rem;
  }
  
  .donate-page-header {
    padding: 1.5rem;
  }
  
  .method-cards,
  .action-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem;
  }
  
  .floating-donate-box {
    width: 95%;
    padding: 1.2rem;
    position: fixed;
    bottom: 20px;
    right: 10px;
    left: 10px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .give-parallax-hero {
    height: auto;
    min-height: 45vh;
    padding: 15px 8px;
  }
  
  .badge-pill {
    font-size: 0.9rem;
    padding: 6px 16px;
  }
  
  .hero-title-main {
    font-size: 0.9rem;
  }
  
  .text-accent {
    font-size: 0.85rem;
  }
  
  .floating-donate-box {
    padding: 1rem;
    font-size: 0.85rem;
  }
}
