/* Conference Section Styles */
.conference {
  position: relative;
  overflow: hidden;
}

/* Justify text in the overview section */
.overview-info p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* Image Collage Styles */
.image-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  perspective: 1000px;
}

.collage-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  transform: translateY(30px);
}

/* Individual image positioning */
.collage-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.collage-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.collage-item:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.collage-item:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover effects */
.collage-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.collage-item:hover img {
  transform: scale(1.1);
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .conference .row {
    gap: 2rem;
  }
  
  .image-collage {
    max-width: 500px;
    margin: 0 auto;
  }
}
