

/* Gallery Section */
.gallery-section {
    padding: 20px;
  }
  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 2rem;
  }
  .filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'ScalaSans';
    color: #6a737b;
    font-size: 20px;
    font-weight: 500;
    padding-inline: 15px;
  }
  .filter-btn.active {
    color: #ff12a2;
    
  }
  .filter-btn:hover {
    color: #ff12a2;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto; /* Center the grid */
  }

  .project-tile {
    justify-self: center; /* Center tiles within their grid cells */
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden; /* Ensures image and overlay stay within bounds */
    aspect-ratio: 2 / 3;
  }
  .project-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .project-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Ensures the image covers the area without distortion */
  }

  .project-tile h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
  }

  @media (max-width: 768px) {
    .project-tile {
      justify-self: center; /* Center tiles within their grid cells */
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      overflow: hidden; /* Ensures image and overlay stay within bounds */
      aspect-ratio: 2 / 3;
    }
    .project-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin: 0 auto; /* Center the grid */
    }
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-bottom: 20px;
      margin-top: 20px;
    }
    .filter-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-family: 'ScalaSans';
      color: #6a737b;
      font-size: 15px;
      font-weight: 500;
      padding-inline: 10px;
    }



  }