/* Style for the photo gallery section */
.photo-gallery {
    padding: 20px;
    text-align: center;
  }
  
  .photo-gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  /* Grid layout for the gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
    gap: 20px;
  }

  .gallery-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Two columns of equal width */
    gap: 20px;
  }
  
  /* Each gallery item (image and caption) */
  .gallery-item {
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .gallery-item p {
    font-size: 1rem;
    margin-top: 10px;
  }
  
  /* Hover effect for images */
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* Media query for responsiveness */
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: 1fr 1fr; /* Still two columns on tablets */
    }
  }
  
  @media (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr; /* Single column on very small screens */
    }
  }

   /* Media query for responsiveness */
   @media (max-width: 768px) {
    .gallery-grid2 {
      grid-template-columns: 1fr 1fr; /* Still two columns on tablets */
    }
  }
  
  @media (max-width: 480px) {
    .gallery-grid2 {
      grid-template-columns: 1fr; /* Single column on very small screens */
    }
  }
  