body {
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* =============================================================================
 * Gallery Heading Style (like "About Us" image)
 * ============================================================================= */
.gallery-heading {
  background-color: #34495e;
  color: white;
  font-weight: bold;
  font-size: 32px;
  text-align: center;
  padding: 20px 0;
  margin-bottom: 30px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*
 * =============================================================================
 * Responsive Photo Gallery CSS
 * =============================================================================
 */

h1 {
  text-align: center;
  background: linear-gradient(to right, #d2fffc, #2b7c7c); /* Soft gradient */
  color: #333;
  padding: 20px 0;
  margin: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.qt-photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px;
}

.qt-photo-gallery .qt-photo-gallery-item {
  width: 300px;
  min-height: 300px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link .qt-photo-gallery-item-image-wrapper {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  border: 5px solid #000;
  box-sizing: border-box;
}

.qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link .qt-photo-gallery-item-image-wrapper img {
  display: block;
  padding: 0;
  margin: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link:hover .qt-photo-gallery-item-image-wrapper {
  transform: scale(1.2);
}

.qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link:hover .qt-photo-gallery-item-image-wrapper .qt-photo-gallery-item-image-caption {
  opacity: 1;
}

@media (max-width: 600px) {
  .qt-photo-gallery .qt-photo-gallery-item {
    width: 100%;
    min-height: auto;
  }

  .qt-photo-gallery .qt-photo-gallery-item .qt-photo-gallery-item-link .qt-photo-gallery-item-image-wrapper img {
    height: auto;
  }
}
