/* Donate Page Styles */

.donate-main {
  padding: 0;
  flex: 1;
}

/* Page Intro Section */
.page-intro {
  background: linear-gradient(135deg, #2a071f 0%, #4a1a3a 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/african_kids.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.page-intro h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  font-weight: 300;
  color: #f1b8d0;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.page-intro p {
  position: relative;
  z-index: 2;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects Grid Section */
.projects-grid {
  padding: 4rem 2rem;
  background: #1a0515;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(241, 184, 208, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f1b8d0, #d4a5b8);
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(241, 184, 208, 0.15);
}

/* Card Media */
.card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover .card-media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}

/* Card Body */
.card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.5rem;
  color: #f1b8d0;
  margin: 0 0 1rem 0;
  font-weight: 400;
  line-height: 1.3;
}

.card-body p {
  color: #fff;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  opacity: 0.9;
  font-size: 1rem;
  flex: 1;
}

/* Progress Bar */
.progress {
  position: relative;
  height: 8px;
  margin: 1rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
}

.fill {
  position: absolute;
  inset: 0;
  right: auto;
  width: var(--progress);
  background: linear-gradient(90deg, #f1b8d0, #d4a5b8);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(241, 184, 208, 0.4);
  transition: width 0.3s ease;
}

/* Stats */
.stats {
  display: flex;
  gap: 2rem;
  margin: 1rem 0 1.5rem 0;
}

.stat {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stat .label {
  font-size: 0.85rem;
  color: #f1b8d0;
  margin: 0 0 0.25rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat .value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

/* Donate Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f1b8d0, #d4a5b8);
  color: #2a071f;
  text-decoration: none;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(241, 184, 208, 0.3);
}

.btn-primary i {
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-intro h1 {
    font-size: 2.5rem;
  }
  
  .page-intro p {
    font-size: 1.1rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-intro {
    padding: 3rem 1rem;
  }
  
  .page-intro h1 {
    font-size: 2rem;
  }
  
  .page-intro p {
    font-size: 1rem;
  }
  
  .projects-grid {
    padding: 3rem 1rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-body h3 {
    font-size: 1.25rem;
  }
  
  .stats {
    gap: 1.5rem;
  }
  
  .stat .value {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-intro {
    padding: 2rem 1rem;
  }
  
  .page-intro h1 {
    font-size: 1.75rem;
  }
  
  .projects-grid {
    padding: 2rem 1rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .card-body h3 {
    font-size: 1.1rem;
  }
  
  .card-body p {
    font-size: 0.9rem;
  }
  
  .stats {
    gap: 1rem;
  }
  
  .stat .label {
    font-size: 0.8rem;
  }
  
  .stat .value {
    font-size: 1rem;
  }
  
  .btn-primary {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}