:root {
  --primary-color: #22c55e;
  --secondary-color: #eab308;
  --accent-color: #16a34a;
  --light-gray: #f8f9fa;
  --dark-gray: #1e293b;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero-section .tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-custom {
  padding: 12px 30px;
  margin: 0 10px;
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-light-custom {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-light-custom:hover {
  background-color: transparent;
  color: white;
}

.btn-outline-light-custom {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light-custom:hover {
  background-color: white;
  color: var(--primary-color);
}

.vision-timeline {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.timeline-item {
  text-align: center;
  padding: 30px 20px;
}

.timeline-item .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-item h4 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.mission-section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-gray);
}

.footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 40px 0;
  margin-top: 80px;
}

.footer h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Modern Donation Cards */
.donation-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.donation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
  border-color: var(--primary-color);
}

.donation-card.featured {
  border: 2px solid var(--secondary-color);
  transform: scale(1.02);
}

.donation-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
}

.featured-badge {
  z-index: 10;
}

.donation-badge {
  font-weight: 600;
  font-size: 0.9rem;
}

.impact-highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(234, 179, 8, 0.05));
  border-radius: 10px;
  padding: 15px;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.donation-card .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.donation-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.donation-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.donation-card .btn:hover::before {
  left: 100%;
}

/* Card animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.donation-card {
  animation: fadeInUp 0.6s ease forwards;
}

.donation-card:nth-child(1) { animation-delay: 0.1s; }
.donation-card:nth-child(2) { animation-delay: 0.2s; }
.donation-card:nth-child(3) { animation-delay: 0.3s; }
.donation-card:nth-child(4) { animation-delay: 0.4s; }
.donation-card:nth-child(5) { animation-delay: 0.5s; }

/* Modern Green & Yellow Theme Enhancements */
.btn-success {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3);
  color: white;
}

/* Enhanced card styling */
.card {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.1);
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .tagline {
    font-size: 1.1rem;
  }
  
  .btn-custom {
    display: block;
    margin: 10px auto;
    width: 200px;
  }
  
  .donation-card {
    margin-bottom: 20px;
  }
  
  .donation-card.featured {
    transform: none;
  }
  
  .donation-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* Enhanced Logo Placeholders */
.logo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content-center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
}

.logo-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.logo-placeholder-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content-center;
  font-size: 1rem;
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
}

.logo-placeholder-small:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* Gallery Styles */
.gallery-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

.gallery-image-container {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-placeholder {
  text-align: center;
  color: #6c757d;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(234, 179, 8, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  text-align: center;
  padding: 20px;
}

.upload-area {
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  background-color: rgba(34, 197, 94, 0.05);
  border-color: var(--primary-color) !important;
}

.border-dashed {
  border-style: dashed !important;
}

/* Lightbox styles */
.lightbox-content {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-placeholder {
  text-align: center;
}

/* Filter buttons */
.btn-outline-success.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-outline-success:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* News & Updates Styles */
.news-card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.15);
}

.news-icon {
  transition: all 0.3s ease;
}

.news-card:hover .news-icon {
  transform: scale(1.1);
}