
section {
  padding: 10px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100vw;
}

.btn {
  display: inline-block;
  padding: 13px 40px;
  background: var(--primary-bg);
  color: var(--text-color);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.5s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateX(10px);
  border: 2px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
}

.donate-btn:hover {
  transform: translateX(10px);
  border: 2px solid var(--bg-color);
  background: transparent;
  color: var(--header-text-color);
}



.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  overflow: hidden;
}

.intro-card {
  margin: 16px;
}

.intro-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.intro-text-body h5 {
  font-size: 16px;
  margin: 16px 0%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.intro-text-body h2 {
  font-weight: 800;
  font-size: 22px;
  line-height: 32px;
  margin: 16px 0%;
}

.intro-text-body p {
  font-size: 16px;
  line-height: 24px;
  margin: 16px 0%;
}

.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.story-body {
  margin: 16px;
  display: flex;
  flex-direction: column;

  justify-content: space-around;
}

.story-body h2 {
  text-align: center;
}

.story-visuals {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  overflow: hidden;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.story-img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  border-radius: 15px;
  margin: 8px;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.story-text {
  display: flex;
  flex-direction: column;
  margin: 0 12px;
  text-align: left;
}

.story-text p {
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.recent-activities {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.activities-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 16px 2%;
}


#activities-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}


.activity-item {
  flex: 0 1 calc(100% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 16px 1%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  padding: 16px;
  height: 400px;
}


.activity-image {
  width: 100%;
  /* Set a fixed height */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  flex-shrink: 0;
  flex: 1;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header p {
  font-size: var(--p-font);
  color: #8f8f8f;
  margin: 0;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 0;
}


.activity-text {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-text p {
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 24px;
}

.activity-text h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.service-content {
  width: 100%;
  padding: 16px 5%;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  position: relative;
  display: flex;
  margin-bottom: 45px;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
}

.service-icon {
  position: relative;
  width: 60px;
  flex-shrink: 0;
}

.service-icon i {
  position: relative;
  display: block;
  font-size: 60px;
  line-height: 60px;
  margin-top: 5px;
}

.service-text {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.help {
  padding: 50px 20px;
  background: #20212b;
  text-align: center;
  margin: 30px 0;
}

.help-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.help-child h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--bg-color);
}

@media (min-width: 768px) {

  .intro {
    flex-direction: row;
    align-items: center;
    gap: 9rem;
    width: 100%;
    justify-content: center;
    align-items: center;
  }



  .intro-text-body p {
    font-size: 16px;
    line-height: 32px;
  }

  .story {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
  }

  .story-body {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    text-align: center;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
  .story h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
  }

  .story-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .story-text {
    max-width: 600px;
    margin: 0 12px;
    text-align: left;
  }

  .story-text p {
    font-size: 16px;
  }

  .story-img {
    width: 200px;
    height: auto;
  }


  .activity-item {
    flex: 0 1 calc(100% / 2 - 20px); /* For medium screens, 2 items per row */
    margin: 16px 10px;
  }
  

  .activity-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-shrink: 0;
    flex: 1;
  }

  .activity-text {
    text-align: center;
    flex: 1;
  }

  .service {
    position: relative;
  }

  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .service-content {
    margin: 0 auto;
  }

  .service-item {
    width: calc(33.333% - 10px);
  }

  .help-child {
    flex-direction: row;
  }
  .help-child h2 {
    font-size: var(--h2-font);
    margin-right: 25px;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {

  .intro {
    flex-direction: row;
    align-items: center;
    gap: 9rem;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .intro-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10%;
  }

  .intro-img {
    flex: 1;
    margin: 32px;
  }

  .intro-text-body {
    flex: 1;
    margin: 32px;
  }

  .intro-text-body p {
    font-size: 16px;
    line-height: 32px;
  }

  .story {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
  }

  .story-body {
    display: flex;
    flex-direction: row;
    text-align: center;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0px 10%;
  }
  .story h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
  }

  .story-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .story-text {
    max-width: 600px;
    margin: 0 12px;
    text-align: left;
  }

  .story-text p {
    font-size: 16px;
  }

  .story-img {
    width: 200px;
    height: auto;
  }

  .recent-activities {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100%;
    overflow: hidden;
  }

  .activities-content {
    margin: 16px 2%;
  }


  .activity-item {
    flex: 0 1 calc(25% - 20px); /* For large screens, 4 items per row */
  }

  .activity-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .activity-text {
    text-align: center;
  }

  .activity-text h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .activity-text p {
   
    font-size: 14px;
    line-height: 1.2;
  }

  

  .service {
    position: relative;
  }

  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .service-content {
    margin: 0 auto;
  }
  .service-item {
    width: calc(33.333% - 20px);
  }

  .help-child {
    flex-direction: row;
  }
  .help-child h2 {
    font-size: var(--h2-font);
    margin-right: 25px;
    margin-bottom: 0;
  }
}
