Team Page Styles
.team-hero {
  width: 100%;
  overflow: hidden;
  margin-bottom: 60px;
}

.team-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.team-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 80px;
}

.team-main-image {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  border-radius: 8px;
}

.team-heading {
  color: var(--text-secondary);
  margin-bottom: 40px;
  text-align: center;
  font-size: calc(24px * var(--font-size-scale));
}

.team-text-columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.team-text-column {
  flex: 1;
}

.team-text-column p {
  margin-bottom: 20px;
  font-size: calc(16px * var(--font-size-scale));
}

.team-image-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 80px;
}

.team-image-row {
  display: flex;
  gap: 1%;
  margin-bottom: 20px;
}

.team-image-large {
  width: 60%;
}

.team-image-small {
  width: 39%;
}

.team-grid-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.team-quote-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 80px;
}

.team-quote {
  margin-bottom: 30px;
}

.team-quote-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: calc(16px * var(--font-size-scale));
}

.team-quote-author {
  color: var(--neutral-main);
  font-size: calc(16px * var(--font-size-scale));
}

.team-quote-images {
  display: flex;
  gap: 1%;
}

.team-quote-image {
  width: 49.5%;
  
  max-height: 390px;
}
.quote-video {
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.quote-image {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.team-donation-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 80px;
  text-align: center;
}

.team-donation-heading {
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: left;
  font-size: calc(24px * var(--font-size-scale));
}

.team-donation-text {
  margin-bottom: 40px;
  text-align: left;
  font-size: calc(16px * var(--font-size-scale));
}

.team-donation-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .team-content,
  .team-image-grid,
  .team-quote-section,
  .team-donation-section {
    max-width: 90.27vw;
    padding: 0 78px;
  }
}

@media (max-width: 1024px) {
  .team-content,
  .team-image-grid,
  .team-quote-section,
  .team-donation-section {
    max-width: 343px;
    padding: 0 40px;
  }

  .team-hero {
    margin-bottom: 40px;
  }

  .team-text-columns {
    flex-direction: column;
    gap: 20px;
  }

  .team-image-row {
    flex-direction: column;
    gap: 10px;
  }

  .team-image-large,
  .team-image-small {
    width: 100%;
  }

  .team-quote-images {
    flex-direction: column;
    gap: 10px;
  }

  .team-quote-image {
    width: 100%;
  }

  .team-donation-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .quote-image {
    width: 49.5%;
  }
 
  
}
/* Team Hero Section */
.team-hero {
  position: relative;
  height: 100vh;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.team-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}


/* Mobile Styles */
@media (max-width: 1024px) {
  .team-hero {
      margin-bottom: 40px;
  }

  .desktop-video {
      display: none;
  }

  .mobile-video {
      display: block;
  }

  .quote-image  {
    width: 100%;
  }
  .quote-video  {
    width: 100%;
  }
}

/* Desktop Styles */
@media (min-width: 1025px) {
  .desktop-video {
      display: block;
  }

  .mobile-video {
      display: none;
  }
}