.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 600px;
  color: white;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.impact-stats {
  background-color: #f8f9fa;
}
.impact-stats .stat-item {
  text-align: center;
  padding: 2rem 1rem;
}
.impact-stats .stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.impact-stats .stat-item .stat-label {
  font-size: 1.1rem;
  color: var(--bs-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-section .about-image {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.about-section .section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.about-section .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background-color: var(--bs-primary);
}

.programs-section {
  background-color: #f8f9fa;
}
.programs-section .program-card {
  height: 100%;
  border: none;
  overflow: hidden;
}
.programs-section .program-card .card-img-top {
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
.programs-section .program-card .card-body {
  padding: 1.5rem;
}
.programs-section .program-card .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.testimonials-section .testimonial-card {
  padding: 2rem;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
.testimonials-section .testimonial-card .testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonials-section .testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
}
.testimonials-section .testimonial-card .testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 1rem;
}
.testimonials-section .testimonial-card .testimonial-author .author-info h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.testimonials-section .testimonial-card .testimonial-author .author-info p {
  margin-bottom: 0;
  color: var(--bs-secondary);
  font-size: 0.9rem;
}
.testimonials-section .testimonial-card .rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.donation-section {
  background-color: var(--bs-primary);
  color: white;
}
.donation-section .donation-form {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--bs-dark);
}

.newsletter-section {
  background-color: #f8f9fa;
}
.newsletter-section .newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-section .newsletter-form .form-control {
  padding: 0.75rem 1.5rem;
  height: auto;
}
.newsletter-section .newsletter-form .btn {
  padding: 0.75rem 2rem;
}

.events-section .event-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.events-section .event-card .event-date {
  background-color: var(--bs-primary);
  color: white;
  text-align: center;
  padding: 0.75rem;
  width: 80px;
}
.events-section .event-card .event-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.events-section .event-card .event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.events-section .event-card .event-content {
  padding: 1.5rem;
}
.events-section .event-card .event-content .event-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.events-section .event-card .event-content .event-info {
  color: var(--bs-secondary);
  margin-bottom: 1rem;
}
.events-section .event-card .event-content .event-info i {
  margin-right: 0.5rem;
}

.partners-section .partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.partners-section .partner-logo img {
  max-height: 100%;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 500px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .impact-stats .stat-item .stat-number {
    font-size: 2.5rem;
  }
}
@media (max-width: 767.98px) {
  .hero {
    min-height: 400px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  section {
    padding: 3rem 0;
  }
  .impact-stats .stat-item {
    padding: 1.5rem 1rem;
  }
  .impact-stats .stat-item .stat-number {
    font-size: 2.25rem;
  }
}
@media (max-width: 575.98px) {
  .hero {
    min-height: 350px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  section {
    padding: 2.5rem 0;
  }
}
