/* Desktop Styles (Default Overlapping Layout) */
.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.image-gallery img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

/* Overlapping and rotation for desktop */
.image-gallery img:nth-child(1) {
    transform: rotate(-10deg);
    z-index: 1;
}

.image-gallery img:nth-child(2) {
    transform: rotate(8deg);
    z-index: 2;
    margin-left: -40px;
}

.image-gallery img:nth-child(3) {
    transform: rotate(-6deg);
    z-index: 3;
    margin-left: -40px;
}

.image-gallery img:nth-child(4) {
    transform: rotate(5deg);
    z-index: 2;
    margin-left: -40px;
}

.image-gallery img:nth-child(5) {
    transform: rotate(-8deg);
    z-index: 1;
    margin-left: -40px;
}

.image-gallery img:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1280px) {
  .image-gallery {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      max-width: 100%;
  }

  .image-gallery img {
      width: 33.33%;
      aspect-ratio: 5 / 6;
      object-fit: cover;
  }


  .image-gallery img:nth-child(4) {
      margin-left: 0%;
  }

  .image-gallery img:nth-child(5) {
      margin-left: 0%;
  }
}


/* About Text */
.about-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

/* Button */
.about-button {
  display: block;
  width: 280px;
  margin: 0 auto;
  padding: 10px 20px;
  background: #007BFF;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-size: 1rem;
}
.about-button:hover {
  background: #0056b3;
}
