/* banner */
.banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: linear-gradient(rgba(22, 22, 22, 0.8), rgba(19, 44, 79, 0.9)),
        url('/img/COMMUNITY\ 2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    padding-bottom: 30px;
}
body {
    
    color: #2c3e50;
    
    line-height: 1.7;
    margin: 0;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}
 
.impact-section1 {
    padding: 4rem 1rem;
    text-align: center;
}

.impact-container1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.impact-card1 {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blue-card {
    background: var(--primary);
    color: white;
}

.orange-card {
    background: var(--accent);
    color: white;
}

.white-card {
    background: white;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gradient-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.impact-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.impact-icon {
    font-size: 2rem;
    opacity: 0.2;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}
  /* Impact Section Styles */
  /* Community Impact Section */
  .impact-section {
      padding: 0;
      
  }

  .impact-container {
      max-width: 1200px;
      margin: 0 auto;
  }

  .impact-hero img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      object-position: center;
      display: block;
  }

  .impact-content {
      padding: 3rem 2rem;
      text-align: center;
  }

  .impact-content h2 {
      color: var(--primary);
      font-size: 2.2rem;
      margin-bottom: 1rem;
  }

  .impact-subtitle {
      color: var(--dark);
      font-size: 1.2rem;
      margin-bottom: 2.5rem;
      font-weight: 500;
  }

  .impact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto;
  }

  .impact-item {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding: 1rem;
      background: rgba(44, 89, 157, 0.05);
      border-radius: 8px;
      transition: var(--transition);
  }

  .impact-item:hover {
      background: rgba(44, 89, 157, 0.1);
      transform: translateY(-3px);
  }

  .impact-item i {
      color: var(--accent);
      font-size: 1.2rem;
      min-width: 24px;
  }

  .impact-item span {
      color: var(--dark);
      text-align: left;
      font-size: 1rem;
      line-height: 1.4;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
      .impact-hero img {
          height: 300px;
      }

      .impact-content {
          padding: 2rem 1rem;
      }

      .impact-content h2 {
          font-size: 1.8rem;
      }

      .impact-grid {
          grid-template-columns: 1fr;
          gap: 1rem;
      }
  }

/* Stories Section */
.stories-section {
    padding: 5rem 1rem;
    text-align: center;
    background: white;
}

.stories-section h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    display: block;
}

.stories-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    max-width: 1200px;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
}

.story-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 1.5rem;
    text-align: left;
}

.story-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.quote {
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
}
/* Join Section */
.join-section {
    position: relative;
    padding: 5rem 1rem;
    color: white;
    background: url('/img/MARKETPLACE.jpg') center/cover no-repeat;
}

.join-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 32, 47, 0.65);
}

.join-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.join-text {
    flex: 1 1 500px;
}

.join-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.join-benefits {
    text-align: left;
    margin: 2rem 0;
}

.join-benefits p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.join-benefits i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.join-form {
    flex: 1 1 500px;
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-form input {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.join-form button {
    padding: 0.8rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.join-form button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.join-form button i {
    transition: transform 0.3s ease;
}

.join-form button:hover i {
    transform: translateX(3px);
}
/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .community-content.three-column {
        flex-direction: column;
        
    }

    .community-text ul {
        text-align: center;
    }
    .community-text,
    .community-image {
        min-width: 100%;
    }
    .stories-container {
            grid-template-columns: 1fr;
        }
}