
    /* =========================================
       Community Section
       ========================================= */
    .community-section {
      padding: 2rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .community-section h1 {
      font-size: 2.5rem;
      color: #1a1a1a;
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .community-desc {
      font-size: 1.125rem;
      color: #555;
      max-width: 700px;
      margin: 0 auto 3rem auto;
    }


    /* =========================================
       Gallery (CSS Grid for Responsiveness)
       ========================================= */
       .gallery img {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
    .gallery {
      display: grid;
      /* Automatically creates columns based on available space. 
         Desktop: larger images. Mobile: automatically shrinks and stacks. */
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .gallery img {
      width: 100%;
      height: 250px;
      object-fit: cover; /* Ensures images don't stretch weirdly */
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .gallery img:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    /* =========================================
       Mobile Adjustments
       ========================================= */
    @media (max-width: 768px) {
      .community-section, .contact-section {
        padding: 4rem 1.5rem;
      }

      .community-section h1 { font-size: 2rem; }
      .contact-section h2 { font-size: 1.75rem; }

      .gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
      }

      .gallery img {
        height: 180px; 
      }
    }