body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background: #f8f8f8;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
}

.navbar .btn {
  padding: 0.5rem 1rem;
  background: #007bff;
  color: white;
  border-radius: 4px;
}

/* HERO */
.hero {
  position: relative;
  height: 70vh;
  background: url('../images/keys-and-a-padlock-sit-in-a-close-up-shot-sN66DocjGFQ.png')
              center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit; /* uses the same background image */
  background-size: cover;
  background-position: center;
  filter: blur(6px); /* this blurs ONLY the image */
  transform: scale(1.1); /* prevents blur edges from showing */
  z-index: 0;
}

/* Keep your content above the blur */
.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 1rem;
}

.cta-btn:hover {
  text-decoration: none;
  background: var(--btn-bg-hover);
}

/* FEATURES */
.features {
  padding: 3rem 2rem;
  background: white;
}

.features h2 {
  margin-bottom: 2rem;
  color: #333;
}

.features p {
  text-align: left;
  color: #333;
}

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

.feature-card {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* PRICING */
/* Base wrapper */
.pricing-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem auto;
  width: 100%;
}

/* Desktop layout */
@media (min-width: 768px) {
  .pricing-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;   /* KEY: make both cards equal height */
    gap: 1.5rem;
    max-width: 780px;
  }

  .pricing-card {
    flex: 1;
    max-width: 360px;
    display: flex;
    flex-direction: column; /* enables top/middle/bottom alignment */
  }

  .pricing-card ul {
    flex-grow: 1;           /* KEY: feature list expands to fill space */
  }

  .pricing-card .pricing-btn {
    margin-top: auto;       /* pushes button to bottom */
  }
}

.pricing {
  text-align: center;
  padding: 4rem 2rem;
  background: #eef3ff;
}

.pricing h2 {
  color: #333;
}

.pricing-subtitle {
  margin-top: -10px;
  margin-bottom: 2rem;
  color: #555;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.circle-decor {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: #ff9800;
  border-radius: 50%;
  opacity: 0.25;
}

.pricing-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.price {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.big {
  font-size: 2.5rem;
  font-weight: bold;
}

.price-small {
  margin-bottom: 1.5rem;
  color: #444;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  margin: 0.4rem 0;
}

/* FIXED BUTTON — now centered with proper margins */
.pricing-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 1rem;
}

/* DONATION SECTION */
.donation {
  position: relative;
  padding: 4rem 2rem;
  color: white;
  text-align: left; /* text left-aligned */
  background: url('../images/give-back.png') center/cover no-repeat;
}

/* Brighter overlay */
.donation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* was 0.55 → brighter */
}

.donation-content {
  position: relative;
  max-width: 1200px; /* slightly wider container */
  margin: auto;
}

/* Charity cards layout */
.charity-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* slightly more breathing room */
  margin: 2rem 0;
}

.charity-list p {
  text-align: left;
}

/* Wider, brighter cards with left-aligned text */
.charity-card {
  background: rgba(255, 255, 255, 0.25); /* brighter */
  padding: 2rem; /* more comfortable spacing */
  border-radius: 12px;
  width: 520px; /* wider card */
  text-decoration: none;
  color: white;
  text-align: left; /* left-align text */
  backdrop-filter: blur(6px); /* slightly stronger blur */
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.charity-card:hover {
  background: rgba(255, 255, 255, 0.35); /* brighter on hover */
  text-decoration: none;
}

.charity-card:hover h3 {
  text-decoration: underline;
}

.charity-card p {
  text-decoration: none;
}

.donation-note {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* CONTACT SECTION */
.contact {
  padding: 4rem 2rem;
  background: #f4f6ff; /* slightly brighter, soft blue-tinted neutral */
  color: #222;
  text-align: left;
}

.contact-content {
  max-width: 900px;
  margin: auto;
}

.contact h2 {
  margin-bottom: 1rem;
  color: #333;
}

.contact p {
  margin: 0.5rem 0;
  color: #444;
}

.contact-details {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
}

footer p {
  color: #333;
}