/* Hero Section */
.contributor-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: #B0DEF0;
  background: linear-gradient(rgba(176, 222, 240, 1) 2%, rgba(168, 220, 239, 1) 50%, rgba(193, 219, 226, 1) 100%, rgba(119, 211, 234, 1) 100%);

}

.hero-content {
    max-width: 800px;
}

/* .hero-content h1 {
    color: #07314a;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
} */

/* .hero-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #0a4d70;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
} */

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color:#07314a;
}

.stat-label {
    color: #0a4d70
    margin-top: 0.5rem;
}

/* Stories Section */
.stories-section {
    padding: 6rem 4rem;
    background: transparent;
}

@media (max-width: 1000px) {
    .stories-section {
        padding: 3rem 2rem;
    }
}
@media (max-width: 500px) {
    .stories-section {
        padding: 1rem;
    }
}

.stories-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.story-card {
    display: flex;
    margin: 0 auto 6rem;
    height: 50vh;
    gap: 4rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}


.story-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-card.right {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    min-width: 200px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    margin-bottom: 1rem;
}

.highlight {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .story-content h3 {
        font-size: 1.5rem;
    }
    .story-content p {
        font-size: 1rem;
    }
    .goal-tag{
        font-size: 1rem;
    }
}

.story-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.goal-tag {
    background: rgba(255, 158, 193, 0.1);
    color: #07314a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Contribute Section */
.contribute-section {
    padding: 6rem 2rem;
    background: transparent;
    text-align: center;
}

.contribute-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contribution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.contribution-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.contribution-card:hover {
    transform: translateY(-10px);
}

.contribution-card i {
    font-size: 2.5rem;
    color: #50cdff;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #50cdff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 158, 193, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
        gap: 2rem;
    }

    .contribute-section {
        padding: 3rem 2rem;
    }

    .story-card.right {
        flex-direction: column;
    }

    .stats-container {
        gap: 2rem;
    }

    .contribution-cards {
        grid-template-columns: 1fr;
    }
} 


/* Partnerships Section */
.partnerships-section {
  padding: 6rem 4rem;
  background: transparent;
}

.partnerships-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.partnerships-section .subheading {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4rem;
  line-height: 1.6;
}

/* Container for each partner */
.partnership-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

.partnership-container.left {
  flex-direction: row;
}

.partnership-container.right {
  flex-direction: row-reverse;
}

/* Visual Section (Image) */
.partnership-visual {
  flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.partnership-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.partnership-visual img:hover {
  transform: scale(1.02);
}

/* Textual Details */
.partnership-details {
  flex: 1;
}

.partnership-details h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.partnership-details .amount {
  color: #2ecc71;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.partnership-details p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* CTA Link Button */
.partner-link {
  display: inline-block;
  color: #fff;
  background-color: #50cdff;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.partner-link:hover {
  background-color: #3ab0e2;
  transform: translateY(-3px);
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .partnership-container {
    flex-direction: column !important;
    text-align: center;
  }

  .partnership-details {
    margin-top: 2rem;
  }

  .partnership-visual {
    width: 100%;
  }

  .partnership-visual img {
    border-radius: 1rem;
  }
}



/* Final Stats Grid Layout */
.contributor-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contributor-stat {
  text-align: center;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: #07314a;
}

.stat-label {
  font-size: 1rem;
  color: #0a4d70;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Make last stat span full row if needed */
.contributor-stat.wide {
  grid-column: auto; /* or just remove .wide entirely */
}


.contributors-container p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #0a4d70;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}


@media (max-width: 500px) {
    .contribute-section {
        padding: 1rem;
    }
    .contribution-card {
        padding: 1rem;
    }
}